Touch screen application remote control method and device of network set top box, equipment and storage medium
By simulating the mouse mode on the network set-top box, using the remote control to control the position of the mouse and trigger the sliding event, the problem of inconvenient sliding and page turning operations in the existing technology is solved, and a more intuitive user interaction experience is achieved.
Patent Information
- Application Number
- CN202510253233.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-07-25
AI Technical Summary
The Android system of existing network set-top boxes cannot intuitively realize the sliding and page turning of touch screen applications through physical remote control, resulting in poor user experience.
By simulating the mouse mode on the network set-top box, the remote control's key value control simulates the position of the mouse, and triggers a sliding event in the boundary area, the sliding and page turning operations of the touch screen application are realized.
Optimizes the user's experience of using set-top boxes, allowing touch screen applications to slide and page turn more intuitively and smoothly, improving the convenience of user interaction.
Smart Images

Figure CN120378659A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of application control based on a network set-top box, and in particular to a touch screen application remote control method, device, equipment and storage medium for a network set-top box. Background Art
[0002] The current network set-top boxes usually use the Android system of AOSP (Android on Steroids Protection, Android Open Source Project). Although this system supports the operation of some applications, it has certain limitations in supporting the convenience of touch-screen applications. Specifically, in some application scenarios, for the sake of user experience, there may be situations where users turn to remote control for touch applications, while the traditional OTT (Over The Top, providing various application services to users through the Internet) system cannot be operated as intuitively as mobile devices through a physical remote control due to its strict AOSP architecture.
[0003] Specifically, when a single APK (Android application package) application needs to support the remote control focus and page turning functions, the remote control function in the system cannot work properly because some APK applications need to be operated on the touch interface. To solve this technical problem, the existing technology proposes to simulate a mouse on the system and use the direction buttons of the infrared remote control to control the position of the simulated mouse and perform click operations, thereby realizing some operation functions of the touch-screen application. However, this solution only simulates the mouse click of the touch-screen application. When sliding events such as page turning are required, users still cannot get a good user experience in such cases.
[0004] Based on this, how to realize the sliding of touch screen applications on the network set-top box, so as to optimize the user experience of the user using the set-top box, is a technical problem to be solved urgently. Summary of the invention
[0005] In order to overcome the deficiencies of the prior art, the present application provides a touch screen application remote control method, device, equipment and storage medium for a network set-top box to realize the sliding of the touch screen application on the network set-top box, thereby achieving the effect of optimizing the user experience of the user using the set-top box.
[0006] The technical solution adopted by this application to solve its technical problem is: In a first aspect, the present application provides a touch screen application remote control method for a network set-top box, which is applied to a target set-top box, and the method comprises: Enter the simulated mouse mode when a preset condition is triggered; in the simulated mouse mode, a simulated mouse is generated in the target application corresponding to the target set-top box, and the target remote control corresponding to the target set-top box is waited for to send a mouse key value to control the simulated mouse; Send a movement control key value to the target set-top box through the first preset button of the target remote control to control the movement of the simulated mouse in the first preset area; If the simulated mouse moves to the boundary area of the first preset area, a corresponding simulated sliding event is triggered.
[0007] Optionally, the step of entering the simulated mouse mode when a preset condition is triggered includes: Obtain application running information, and determine whether the current foreground application is any preset application based on the application running information; If the current foreground application is any preset application, determine the current foreground application as the target application and enter the simulated mouse mode.
[0008] Optionally, the step of generating a simulated mouse in the target application corresponding to the target set-top box and waiting for the target remote control corresponding to the target set-top box to send a mouse key value to control the simulated mouse includes: Judge the remote control type of the target remote control; If the target remote control is a Bluetooth remote control, set the mouse button setting of the target remote control to the key value reporting mode so that the target remote control can send a mouse key value to the target set-top box.
[0009] Optionally, the boundary area includes four azimuth boundaries, and the step of triggering a corresponding simulated sliding event if the simulated mouse moves to the boundary area of the first preset area includes: When the simulated mouse moves to the boundary area, obtain the coordinate value corresponding to the simulated mouse; Determine the current azimuth boundary where the simulated mouse is located according to the coordinate value, determine the sliding direction based on the azimuth boundary, and execute a corresponding simulated sliding event in the sliding direction.
[0010] Optionally, the step of determining the sliding direction based on the azimuth boundary and executing a corresponding simulated sliding event in the sliding direction includes: Obtain the simulated sliding key value sent by the target remote control to the target set-top box through the second preset button; the second preset button is a preset control button or the azimuth button corresponding to the sliding direction; Based on the simulated sliding key value, execute a corresponding simulated sliding event in the sliding direction.
[0011] Optionally, in the step of sending a movement control key value to the target set-top box through the first preset button of the target remote control to control the movement of the analog mouse in the first preset area, the method further includes: By simultaneously triggering the first preset button and the third preset button of the target remote control, send the movement combination key value; the third preset button is a preset control button; According to the movement combination key value, control the analog mouse to flash to the boundary area.
[0012] Optionally, after the step of entering the analog mouse mode when a preset condition is triggered, the method further includes: Send an interface selection key value to the target set-top box by long-pressing the fourth preset button of the target remote control, and select a second preset area based on the interface selection key value; the second preset area is the smallest sliding area where the analog mouse is located; Send the movement control key value through the first preset button, and execute a corresponding analog sliding event in the second preset area based on the movement control key value.
[0013] In a second aspect, the present application provides a touch-screen application remote control device for a network set-top box, including: An auxiliary mouse module, configured to enter the analog mouse mode when a preset condition is triggered; in the analog mouse mode, generate an analog mouse in the target application corresponding to the target set-top box, and wait for the target remote control corresponding to the target set-top box to send a mouse key value to control the analog mouse; A movement control module, configured to send a movement control key value to the target set-top box through the first preset button of the target remote control to control the movement of the analog mouse in the first preset area; An analog sliding module, configured to trigger a corresponding analog sliding event if the analog mouse moves to the boundary area of the first preset area.
[0014] In a third aspect, the present application provides an electronic device, including: One or more processors; One or more memories; And one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions, when the instructions are executed by the one or more processors, cause the electronic device to execute the above method.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium, in which a program or instructions are stored, and when the program or instructions are run, the above method is implemented.
[0016] The beneficial effects of the present application are as follows: When the touch screen application of the touch device triggers a preset condition, first, it is determined whether the detected key press triggers the simulated mouse mode. In this mode, a simulated mouse icon related to the current interface of the application is created, and the position of the simulated mouse is controlled by receiving the key values sent by the user through the up, down, left, and right arrow keys or the confirmation key. When the user performs a moving operation on the touch device, the system generates corresponding planar sliding operations according to the movement results of the simulated mouse to simulate the actual effect of the user sliding on the touch screen, and triggers corresponding sliding trigger effects in the boundary area, such as automatically sliding or triggering a page turning operation when sliding to the edge to simulate the real page turning effect, and completing the page turning or sliding operation of the application. The whole process simulates real mouse operations and moving operations, enabling the touch screen application to more intuitively and smoothly achieve sliding and page turning operations without the need for physical button operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic flowchart of a method for remotely controlling a touch screen application of a network set-top box provided by an embodiment of the present application; Figure 2 is a first page schematic diagram of a method for remotely controlling a touch screen application of a network set-top box provided by an embodiment of the present application; Figure 3 is a second page schematic diagram of a method for remotely controlling a touch screen application of a network set-top box provided by an embodiment of the present application; Figure 4 is a schematic virtual structure diagram of a device for remotely controlling a touch screen application of a network set-top box provided by the present application; Figure 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] The present application will be further described below in conjunction with the drawings and embodiments.
[0019] Hereinafter, the concept, specific structure, and technical effects generated by the present application will be clearly and completely described in conjunction with the embodiments and the drawings to fully understand the purpose, features, and effects of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application. In addition, all connection / connection relationships involved in the patent do not refer to direct connection of components alone, but refer to the formation of a more optimal connection structure by adding or reducing connection accessories according to specific implementation situations. Each technical feature in the present invention can be combined interactively without conflicting with each other.
[0020] Refer to Figure 1 ,Figure 1 1 is a flow chart of a touch screen application remote control method for a network set-top box provided in an embodiment of the present application, which specifically includes the following steps, and each step is specifically described below: In step S1, when a preset condition is triggered, the simulated mouse mode is entered.
[0021] Specifically, the preset conditions are set by the user or the relevant manufacturer according to actual needs. The optional preset conditions include but are not limited to when the machine is turned on, when a certain button on the target remote control is pressed, when a preset application is opened, when a preset application is detected in the background, etc. When the preset conditions are triggered, the display device (such as a TV) connected to the target set-top box will switch from the original infrared remote control or Bluetooth remote control mode to the simulated mouse mode. In the simulated mouse mode, an auxiliary simulated mouse is generated in the target application of the corresponding display device (which can be the desktop or any preset application). The auxiliary simulated mouse has at least the functions of moving and clicking. Then, the simulated mouse will perform operations according to the mouse key value sent by the user to the target set-top box through the target remote control.
[0022] Among them, when the simulated mouse mode is turned on, the user can choose whether to turn on the touch screen control simultaneously through a preset method to meet the needs of multiple users operating in conferences, etc., and further optimize the user experience.
[0023] More specifically, a method for triggering a mouse mode is proposed in an embodiment of the present application to optimize the user experience. Specifically, the step of entering the simulated mouse mode when a preset condition is triggered includes: Acquire application running information, and determine whether the current foreground application is any preset application based on the application running information.
[0024] Specifically, the target set-top box identifies all currently enabled applications through its background task manager or other means to find out whether there is any preset application among the currently enabled applications, and the preset application is any application that needs to enable the simulated mouse mode auxiliary operation. Among them, the foreground application refers to the application that the user is currently interacting with the target set-top box, that is, the application displayed on the display screen and receiving the user's input through the remote control.
[0025] Among them, the preset applications can be a group of specific applications that are preset through user customization, system adaptive recognition, manufacturer preset, etc., and can include the homepage itself. The specific settings can be appropriately adjusted according to user usage habits and actual application needs.
[0026] In summary, when it may be necessary to enable the simulated mouse mode (for example, when powering on or launching any application), the target set-top box can obtain application running information by scanning background tasks, and determine whether the foreground application that is currently directly interacting with the user is one of the preset applications. If so, proceed to the next step; otherwise, maintain remote control operation, or the target user can also actively control to enter the simulated mouse mode.
[0027] Furthermore, if the current foreground application is any one of the preset applications, determine that the current foreground application is the target application, and enter the simulated mouse mode.
[0028] Specifically, in this embodiment, when it is recognized that the current foreground application is one of the preset applications, the simulated mouse mode is automatically turned on. This process can also be judged and assisted by the framework in the Android system. In addition, the user can also actively control the opening or closing of the simulated mouse mode to adapt to the user's usage habits. The user's active control can use the corresponding button on the infrared remote control (or a Bluetooth remote control with modified key values) to send the corresponding key value for turning on the simulated mouse mode to the target set-top box. After receiving the key value, the target set-top box will turn on or off the simulated mouse mode accordingly.
[0029] More specifically, since the remote controls for set-top box control currently mainly include infrared remote controls and Bluetooth remote controls, and because when the mouse button of the infrared remote control is pressed, it will send a specific key value to the set-top box. This means that when you operate the mouse buttons on the infrared remote control (such as the buttons corresponding to the up, down, left, right movement and confirmation of the simulated mouse), these button actions will be converted into corresponding key value signals that the set-top box can recognize and understand, and then transmitted to the set-top box to achieve various control functions of the set-top box. Due to its own characteristic of sending key values to the set-top box, relevant methods can be directly used to control the set-top box with the infrared remote control without additional complex settings or modifications.
[0030] However, there is a problem with using the same method for Bluetooth remote controls. That is, by default, it may not automatically send a signal with a clear key value when the mouse button is pressed, like an infrared remote control. That is to say, in the initial state, the press operation of the mouse button on the Bluetooth remote control may not be converted into a key value signal with a specific meaning that can be recognized by the set-top box. Therefore, if you want the Bluetooth remote control to also send key values to the set-top box through the mouse button to achieve the control function like an infrared remote control, it needs to be modified or set so that its mouse button can send a signal with a key value when pressed, so that the set-top box can receive and recognize these signals and then achieve the corresponding control operations.
[0031] For the above reasons, in order to adapt to the use of a Bluetooth remote control in the embodiments of the present application, the step of generating a simulated mouse in the target application corresponding to the target set-top box and waiting for the target remote control corresponding to the target set-top box to send a mouse key value to control the simulated mouse further includes: Determine the remote control type of the target remote control; If the target remote control is a Bluetooth remote control, modify the mouse button setting of the target remote control to the key value reporting mode, so as to send the mouse key value from the target remote control to the target set-top box.
[0032] Specifically, during the process of enabling the simulated mouse mode, if it is recognized that the target remote control is a Bluetooth remote control, modify the mouse button setting of the Bluetooth remote control to the key value reporting mode. That is, originally, when the mouse button of the Bluetooth remote control is pressed, it may only simply trigger some regular operations or not work in the way of reporting key values. Through such a setting modification, when the mouse button is pressed, it can generate and report key values with specific meanings. After completing the above setting modification, the Bluetooth remote control can, like an infrared remote control, send mouse key values to the target set-top box through these mouse buttons with key values. In this way, when the user operates the mouse button on the Bluetooth remote control, the set-top box can receive corresponding and recognizable key value signals, and thus execute corresponding functions according to these signals, realizing the effective control of the set-top box through the Bluetooth remote control.
[0033] In step S2, send a movement control key value to the target set-top box through the first preset button of the target remote control to control the movement of the simulated mouse in the first preset area.
[0034] Specifically, the first preset button is the orientation button of the target remote control, usually including four orientation controls: up, down, left, and right. When the first preset button of the target remote control is pressed, the remote control will send a set of specific key values representing movement control information to the target set-top box. These key values are predefined, and the set-top box can recognize and understand the meanings represented by these key values, such as the key values corresponding to different direction movement instructions like up, down, left, and right. Immediately after the set-top box receives the movement control key values sent by the remote control, it will move the simulated mouse in the first preset area set on its interface according to these key values. The actions such as moving the cursor on the set-top box interface originally controlled by manually operating the mouse can now be achieved by pressing the first preset button of the remote control and using the sent key values, which is convenient for the user to perform relevant operations on the set-top box at a certain distance or when it is inconvenient to directly operate the mouse.
[0035] Among them, referring to Figure 2 , Figure 2FIG. 0 is a schematic diagram of the first page of the touch - screen application remote control method for a network set - top box provided by an embodiment of the present application, specifically showing the first preset area (i.e., the entire area including the display device corresponding to the target set - top box) in the first page. By using the up, down, left, and right buttons of the target remote control, it can be moved arbitrarily within the shown first preset area until a corresponding sliding event is executed when reaching the boundary of the first preset area.
[0036] Furthermore, in the present application, it is also proposed that in some usage scenarios, the enabled touch applications may have scrolling options. Such scrolling options can be scrolled and selected by touch - direction sliding during touch - screen control. If no specific scrolling button is set, it is difficult to complete the scrolling - selection positioning only by simulating mouse clicks. Based on this, the present application further proposes an optimization solution. Specifically, after the step of entering the simulated mouse mode when a preset condition is triggered, the method further includes: Sending an interface selection key value to the target set - top box by long - pressing the fourth preset button of the target remote control, and selecting a second preset area based on the interface selection key value.
[0037] Among them, the second preset area is the smallest sliding area where the simulated mouse is located. Refer to Figure 3 , Figure 3 FIG. 12 is a schematic diagram of the second page of the touch - screen application remote control method for a network set - top box provided by an embodiment of the present application, which shows an example of the second preset area proposed by the embodiment of the present application. The second preset area is an arbitrary slidable area within the first preset area, and the displayed content can be switched left - right and up - down through a sliding event.
[0038] Among them, the fourth preset button is a control button set in advance by the user or the manufacturer. To reduce the learning cost of the user, a commonly used confirmation button can be selected.
[0039] Specifically, after entering the simulated mouse mode, if the mouse cursor is within the second preset area, the user can long - press the fourth preset button (such as the confirmation button), and at the same time, switch the content displayed in the currently located second preset area up - down or left - right through the first preset button (azimuth button). Further, the user can also select any blank area and long - press the fourth preset button, so as to use the entire first preset area as the currently controlled second preset area, and then control through the first preset button to achieve the sliding page - turning operation.
[0040] Furthermore, send the movement control key value through the first preset button, and execute the corresponding simulated sliding event within the second preset area based on the movement control key value.
[0041] More specifically, when the user long-presses the fourth preset button, the smallest slidable area where the user is currently located is first locked as the second preset area. In this case, when the user selects the right button, the system will simulate a left-to-right slide to achieve a page turn to the right; when the user selects the left button, the system will simulate a right-to-left slide to achieve a page turn to the left. If there is a page turn up or down, the description of the left and right slides can be referred to and will not be elaborated here.
[0042] During the process of controlling the simulated mouse to move in the first preset area, an auxiliary function of an adsorption effect can be added to enhance the accuracy and convenience of the simulated mouse operation. When the simulated mouse approaches a certain target position (such as a function button) during the movement, the adsorption effect will make the simulated mouse automatically "adsorb" to the target position, rather than just staying at a position close to but not exactly aligned.
[0043] Specifically, during the process of using the remote control to move the simulated mouse to a certain function button, due to factors such as human operation errors, the sensitivity settings of the remote control, or external environment interference, the simulated mouse may not accurately move to the target function button but stay near it. For example, the user may intend to move the simulated mouse to a certain button, but due to a slight tremor of the hand or signal delay of the remote control, the simulated mouse finally stops at a position next to the button.
[0044] To solve this problem, the user can trigger the adsorption effect by pressing a preset button (such as the confirmation button). After the user presses the confirmation button, the system will detect the current position of the simulated mouse and search for whether there is a preset function button nearby. If there is a qualified function button, the simulated mouse will quickly "adsorb" to the nearest function button to achieve fast and accurate positioning. This adsorption function greatly improves the convenience and efficiency of the user operation and reduces the trouble of repeatedly adjusting the position of the simulated mouse due to inaccurate positioning. Especially in some scenarios that require frequent operation of function buttons, such as game control and multimedia playback control, the adsorption effect can help the user complete the operation more quickly and enhance the user experience.
[0045] In step S3, if the simulated mouse moves to the boundary area of the first preset area, a corresponding simulated sliding event is triggered.
[0046] Specifically, the boundary area refers to the boundary part of the first preset area, specifically the edge area adjacent to the outside of this area. It can be a line (such as the four sides of a rectangle) or a specific range around this area (such as the circumference of a circle). When the simulated mouse moves to this boundary area, the condition for implementing the simulated sliding event is met, and the specific operation of the simulated sliding event needs to be determined according to the specific azimuth boundary where the mouse cursor is located.
[0047] Further, this embodiment further proposes that the step of triggering a corresponding simulated sliding event if the simulated mouse moves to the boundary area of the first preset area includes: When the simulated mouse moves to the boundary area, obtain the coordinate value corresponding to the simulated mouse.
[0048] Specifically, the boundary area includes multiple azimuth boundaries. Different azimuth boundaries can be correspondingly set for different sliding methods of the target application. For example, for a target application that can only slide left and right, only the left boundary and the right boundary can be set. When the cursor of the simulated mouse moves to any boundary of the target application, the coordinate value of the cursor in the first preset area can be obtained, and based on its coordinate situation, it can be determined which azimuth boundary the cursor is specifically located at.
[0049] Further, determine the current azimuth boundary where the simulated mouse is located according to the coordinate value, determine the sliding direction based on the azimuth boundary, and execute a corresponding simulated sliding event in the sliding direction.
[0050] Specifically, the coordinate value is a value used to determine a position in a specific coordinate system. In a screen or graphical interface, a two-dimensional coordinate system (such as a rectangular coordinate system) is usually adopted, and the position of a point can be uniquely determined by the abscissa (x-axis) and the ordinate (y-axis). Here, "the coordinate value" refers to the specific position information where the simulated mouse is currently located, such as coordinate data in the form of (x, y). Subsequently, based on these coordinate values, it can be determined which azimuth boundary of a preset area the simulated mouse is near. For example, if there is a rectangular preset area, by comparing the coordinate values with the coordinate ranges of the four sides of the rectangle, it can be determined whether the simulated mouse is near the upper boundary, lower boundary, left boundary or right boundary of the rectangle.
[0051] More specifically, different azimuth boundaries correspond to different sliding directions. For example, when the simulated mouse is on the upper boundary of a preset rectangular area, the determined sliding direction may be downward; if it is on the left boundary, the sliding direction may be rightward. This correspondence can be adjusted according to specific application scenarios and requirements. For example, in some page scrolling scenarios, when the mouse moves to the top boundary of the page, a downward scrolling operation can be triggered so that the user can continue to view the page content. The simulated sliding event refers to the effect generated by a program simulating a real mouse sliding operation. When the sliding direction is determined, the corresponding simulated sliding behavior will be executed in this direction. For example, if the sliding direction is downward, the simulated mouse will move downward on the screen at a certain speed and distance, thereby triggering a series of related operations, such as page content scrolling, menu expansion or contraction, etc. This process is implemented through program code, making the behavior of the simulated mouse similar to the effect of a real mouse when sliding.
[0052] Furthermore, there may also be a situation where the user simply moves the mouse excessively rather than needing to perform a page-turning operation. To avoid this situation, the present application proposes that further determination can be made before executing the simulated sliding event. Specifically: The step of determining the sliding direction based on the boundary of the current position and performing the corresponding simulated sliding event in the sliding direction includes: Obtain the simulated sliding key value sent by the target remote control to the target set-top box through the second preset button; based on the simulated sliding key value, perform the corresponding simulated sliding event in the sliding direction.
[0053] Among them, the second preset button is a preset control button or the azimuth button corresponding to the sliding direction; the preset control button can be the confirmation button, and the azimuth button corresponding to the sliding direction refers to the azimuth button corresponding to the boundary direction. For example, for turning the page to the right, it is the azimuth button for moving to the right. In this step, even if the simulated mouse has moved to the boundary area of a certain azimuth, the simulated sliding event will not be directly executed at this time. Instead, the user needs to further verify through the second preset button, that is, the subsequent simulated sliding event will be executed only when the key value corresponding to the second preset button in the current situation is obtained.
[0054] Furthermore, the present application also proposes that quick page-turning can be performed through a combination of buttons. Specifically, in the step of sending a movement control key value to the target set-top box through the first preset button of the target remote control to control the movement of the simulated mouse in the first preset area, the method further includes: By simultaneously triggering the first preset button and the third preset button of the target remote control, send the movement combination key value.
[0055] Among them, the third preset button is a preset control button, including but not limited to the confirmation button or any other button on the target remote control.
[0056] Specifically, when the first preset button and the third preset button are simultaneously triggered, a specific "movement combination key value" will be generated, which can be regarded as a kind of signal or instruction for telling the receiving device (such as the simulated mouse control system) that the user has performed a specific combination operation.
[0057] Furthermore, control the simulated mouse to flash to the boundary area according to the movement combination key value.
[0058] Specifically, according to the received movement combination key value, the system will make a corresponding reaction. When a specific movement combination key value is received, the simulated mouse will immediately move quickly from one position to the predefined "boundary area". This quick positioning operation can help the user quickly move the mouse pointer to a specific position on the screen and improve the operation efficiency.
[0059] Referring to Figure 4 , Figure 4 which is a schematic diagram of the virtual structure of the touch screen application remote control device of the network set-top box provided by the present application. The second aspect of the present application provides a touch screen application remote control device for a network set-top box, including: An auxiliary mouse module 100, configured to enter an analog mouse mode when a preset condition is triggered; in the analog mouse mode, an analog mouse is generated in the target application corresponding to the target set-top box, and waits for the target remote control corresponding to the target set-top box to send a mouse key value to control the analog mouse; A movement control module 200, configured to send a movement control key value to the target set-top box through a first preset button of the target remote control to control the movement of the analog mouse in a first preset area; An analog sliding module 300, configured to trigger a corresponding analog sliding event if the analog mouse moves to the boundary area of the first preset area.
[0060] The touch screen application remote control device of the network set-top box described in the embodiments of the present application can execute the touch screen application remote control method of the network set-top box provided in the above embodiments. The touch screen application remote control device of the network set-top box has the corresponding functional steps and beneficial effects of the touch screen application remote control method of the network set-top box described in the above embodiments. For details, please refer to the embodiments of the touch screen application remote control method of the network set-top box. The embodiments of the present application will not be elaborated herein.
[0061] The embodiments of the present application also provide an electronic device. Please refer to Figure 5 , Figure 5It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include a processor and a memory, where the processor and the memory may be connected through a bus or other means. The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. chips, or a combination of the above types of chips. The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the touch screen application remote control method of the network set-top box in the embodiment of the present application. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory, that is, implements the touch screen application remote control method of the network set-top box in the above method embodiment.
[0062] The memory may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created by the processor, etc. In addition, the memory may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage devices. The one or more modules are stored in the memory and, when executed by the processor, execute the touch screen application remote control method of the network set-top box in the above method embodiment. The specific details of the above electronic device can be understood corresponding to the relevant descriptions and effects in the above method embodiment, and will not be elaborated here. Those skilled in the art can understand that to implement all or part of the processes in the above method embodiments, it can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. Among them, the storage medium may be a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk drive (HDD), or a solid-state drive (SSD), etc.; the storage medium may also include a combination of the above types of memories.
[0063] In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the present application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail so as not to obscure an understanding of the description.
[0064] Similarly, it should be understood that in order to streamline the present disclosure and assist in understanding one or more of the various inventive aspects, in the foregoing description of the exemplary embodiments of the present application, various features of the present application are sometimes grouped together in a single embodiment, figure, or description thereof. However, the disclosed method should not be construed as reflecting an intention that the claimed subject matter of the present application requires more features than are expressly recited in each claim. Rather, the inventive aspects lie in less than all of the features of the single foregoing disclosed embodiment, as reflected in the claims. Thus, the claims following the detailed description are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate embodiment of the present application.
[0065] It should be noted that the above embodiments are illustrative of the present application rather than limiting thereof, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims.
Claims
1. A touch screen application remote control method for a network set-top box, characterized in that, Applied to a target set-top box, the method includes: Enter the simulated mouse mode when a preset condition is triggered; in the simulated mouse mode, a simulated mouse is generated in a target application corresponding to the target set-top box, and the target remote control corresponding to the target set-top box is waited for to send a mouse key value to control the simulated mouse; Send a movement control key value to the target set-top box through a first preset button of the target remote control to control the simulated mouse to move in a first preset area; If the simulated mouse moves to a boundary area of the first preset area, a corresponding simulated sliding event is triggered.
2. The touch screen application remote control method of the network set-top box according to claim 1, wherein The step of entering the simulated mouse mode when a preset condition is triggered includes: Obtain application running information, and determine whether the current foreground application is any preset application based on the application running information; If the current foreground application is any preset application, determine the current foreground application as the target application and enter the simulated mouse mode.
3. The touch screen application remote control method of the network set-top box according to claim 1, characterized in that, The step of generating a simulated mouse in a target application corresponding to the target set-top box and waiting for the target remote control corresponding to the target set-top box to send a mouse key value to control the simulated mouse includes: Judge the remote control type of the target remote control; If the target remote control is a Bluetooth remote control, set the mouse button setting of the target remote control to the key value reporting mode so as to send a mouse key value to the target set-top box through the target remote control.
4. The touch screen application remote control method of the network set-top box according to claim 1, wherein, The boundary area includes four azimuth boundaries. The step of triggering a corresponding simulated sliding event if the simulated mouse moves to the boundary area of the first preset area includes: When the simulated mouse moves to the boundary area, obtain the coordinate value corresponding to the simulated mouse; Determine the current azimuth boundary where the simulated mouse is located according to the coordinate value, determine the sliding direction based on the azimuth boundary, and execute a corresponding simulated sliding event in the sliding direction.
5. The touch screen application remote control method of the network set-top box according to claim 4, characterized in that, The step of determining the sliding direction based on the azimuth boundary and executing a corresponding simulated sliding event in the sliding direction includes: Obtain the simulated sliding key value sent by the target remote control to the target set-top box through a second preset button; the second preset button is a preset control button or an azimuth button corresponding to the sliding direction; Based on the simulated sliding key value, execute a corresponding simulated sliding event in the sliding direction.
6. The touch screen application remote control method of the network set-top box according to claim 1, characterized in that, In the step of sending a movement control key value to the target set-top box through a first preset button of the target remote control to control the simulated mouse to move in a first preset area, the method further includes: Send a movement combination key value by simultaneously triggering the first preset button and a third preset button of the target remote control; the third preset button is a preset control button; Control the simulated mouse to flash to the boundary area according to the movement combination key value.
7. The touch screen application remote control method of the network set-top box according to claim 1, characterized in that, After the step of entering the simulated mouse mode when a preset condition is triggered, the method further includes: Send an interface selection key value to the target set-top box by long-pressing the fourth preset button of the target remote control, and select a second preset area based on the interface selection key value; the second preset area is the smallest sliding area where the simulated mouse is located. Send the movement control key value through the first preset button, and execute the corresponding simulated sliding event in the second preset area based on the movement control key value.
8. A touch screen application remote control device for a network set-top box, characterized in that, Comprising: An auxiliary mouse module, configured to enter the simulated mouse mode when a preset condition is triggered; in the simulated mouse mode, a simulated mouse is generated in the target application corresponding to the target set-top box, and waits for the target remote control corresponding to the target set-top box to send a mouse key value to control the simulated mouse. A movement control module, configured to send a movement control key value to the target set-top box through the first preset button of the target remote control to control the movement of the simulated mouse in the first preset area. A simulated sliding module, configured to trigger a corresponding simulated sliding event if the simulated mouse moves to the boundary area of the first preset area.
9. An electronic device, characterized in that, Comprising: One or more processors; One or more memories; And one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the electronic device to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A program or instructions are stored in the storage medium, and when the program or instructions are run, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Terminal equipment and remote control method thereof
CN105472424A
Displaying method and device of airport information, computer equipment and storage medium
CN110322775A
Method for controlling webpage cursor by remote controller and display equipment
CN111757154A
Simulated mouse control method, device and equipment and computer readable storage medium
CN112351324A
Method and device for selecting elements in primitives, electronic equipment and storage medium
CN113204297A