CN113194345A - Signal processing method and device, set top box and storage medium - Google Patents

Signal processing method and device, set top box and storage medium Download PDF

Info

Publication number
CN113194345A
CN113194345A CN202110544609.5A CN202110544609A CN113194345A CN 113194345 A CN113194345 A CN 113194345A CN 202110544609 A CN202110544609 A CN 202110544609A CN 113194345 A CN113194345 A CN 113194345A
Authority
CN
China
Prior art keywords
control
focus
determining
mode
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110544609.5A
Other languages
Chinese (zh)
Inventor
秦林
王�锋
李文响
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Xuanjia Network Technology Co ltd
Original Assignee
Nanjing Xuanjia Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Xuanjia Network Technology Co ltd filed Critical Nanjing Xuanjia Network Technology Co ltd
Priority to CN202110544609.5A priority Critical patent/CN113194345A/en
Publication of CN113194345A publication Critical patent/CN113194345A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42224Touch pad or touch panel provided on the remote control

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a signal processing method, a signal processing device, a set top box and a storage medium. The method comprises the following steps: receiving an operation signal sent by a user, and determining the mode switching condition of the set top box; if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing a focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode; responding to the operation signal based on the focus control. The method and the device solve the problem that when the set top box is switched from the touch mode to the key mode to process the event generated by triggering the key for the first time by the user, the page is disordered and cannot be normally used due to uncertainty of the focus falling of the key mode, realize seamless switching of the touch mode and the key mode of the set top box, and improve user experience.

Description

Signal processing method and device, set top box and storage medium
Technical Field
Embodiments of the present invention relate to information processing technologies, and in particular, to a signal processing method and apparatus, a set top box, and a storage medium.
Background
With the development of the technology, more and more set top boxes are provided with touch screens, so that a user can control the set top boxes in a short distance by touching and can control the set top boxes in a long distance by a remote controller.
In general, when a user sends a signal to a set-top box by using a key remote controller, the set-top box is in a key mode to receive and process the signal; when a user touches a touch screen of the set top box to control the set top box, the set top box is in a touch mode to receive and process signals. When the set top box starts a touch mode, shielding a key mode; when the key mode is started, the touch mode is shielded, which is a compromise pseudo-dual control mode. When a user switches from using a remote controller to controlling the touch screen, the set top box is switched from a key mode to a touch mode, and at the moment, the set top box can normally process a touch signal of the user as long as a control on the touch screen can be clicked; however, when a user switches from controlling the touch screen to using the remote controller, the set-top box switches from the touch mode to the key mode, and when the set-top box processes an event generated by triggering a key for the first time by the user, there are many uncertainties in the focus falling of the key mode, especially for a page with a list, and focus logic after switching the mode may not be executed normally, resulting in a disordered page and abnormal use, and a seamless switching of dual modes may not be achieved at all, resulting in a very poor user experience.
Disclosure of Invention
The invention provides a signal processing method, a signal processing device, a set top box and a storage medium, which are used for realizing seamless switching of a touch mode and a key mode of the set top box.
In a first aspect, an embodiment of the present invention provides a signal processing method, including:
receiving an operation signal sent by a user, and determining the mode switching condition of the set top box;
if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing a focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode;
responding to the operation signal based on the focus control.
Optionally, the operation signal includes a signal type and an operation type, the signal type includes a touch signal and a key signal, and the operation type includes a focus moving operation, a determining operation, and/or a returning operation.
Optionally, the determining the mode switching condition of the set top box includes:
and if the currently received operation signal is a key signal and the last received operation signal is a touch signal, determining that the mode switching condition is that the touch mode is switched to the key mode.
Optionally, the obtaining current page information and determining a focus control according to the current page information include:
acquiring current page information and determining alternative controls in the current page;
and determining a focus control in each alternative control according to the control position of each alternative control.
Optionally, the determining a focus control in each of the alternative controls according to the control position of each of the alternative controls includes:
and determining the control middle point of each alternative control, and determining the alternative control corresponding to the control middle point closest to the page coordinate origin as the focus control.
Optionally, the responding to the operation signal based on the focus control includes:
determining a target control corresponding to the operation signal by combining the focus control according to the operation type of the operation signal;
and pointing the focus to the target control, and displaying a display page where the target control is located.
Optionally, the determining, according to the operation type of the operation signal and in combination with the focus control, a target control corresponding to the operation signal includes:
when the operation type of the operation signal is focus moving operation, determining the focus moving direction, and determining the next control of the focus control as a target control along the focus moving direction;
when the operation type of the operation signal is a return operation, determining that a parent control of the focus control is a target control;
and when the operation type of the operation signal is determined operation, if the focus control has the sub-control, determining the sub-control with the minimum control sequence number as the target control, and otherwise, determining the focus control as the target control.
In a second aspect, an embodiment of the present invention further provides a signal processing apparatus, where the apparatus includes:
the mode switching determining module is used for receiving an operation signal sent by a user and determining the mode switching condition of the set top box;
the focus control determining module is used for acquiring current page information if the mode switching condition is that the touch mode is switched to the key mode, determining a focus control according to the current page information, and pointing a focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode;
and the signal response module is used for responding to the operation signal based on the focus control.
In a third aspect, an embodiment of the present invention further provides a set top box, where the set top box includes:
one or more controllers;
a memory for storing one or more programs;
the touch screen is used for receiving a touch signal generated by the touch of a user;
when the one or more programs are executed by the one or more controllers, the one or more controllers are caused to implement the signal processing method according to any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a signal processing method according to any of the embodiments of the present invention.
The method determines the mode switching condition of the set top box by receiving the operation signal sent by the user; if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing the focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode; based on the focus control, the operation signal is responded, the problem that when the set top box is switched from the touch mode to the key mode to process an event generated by triggering a key by a user for the first time, the page is disordered and cannot be normally used due to uncertainty existing in the focus falling of the key mode is solved, seamless switching between the touch mode and the key mode of the set top box is achieved, and user experience is improved.
Drawings
Fig. 1 is a flowchart of a signal processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a signal processing method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a signal processing apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a set-top box according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only a part of the structures related to the present invention, not all of the structures, are shown in the drawings, and furthermore, embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
Example one
Fig. 1 is a flowchart of a signal processing method according to an embodiment of the present invention, where the embodiment is applicable to a case where a set top box is controlled by a remote controller and a touch screen, and the method may be executed by a signal processing apparatus, and the apparatus may be implemented by software and/or hardware.
As shown in fig. 1, the method specifically includes the following steps:
and step 110, receiving an operation signal sent by a user, and determining the mode switching condition of the set top box.
In this embodiment, the set-top box is configured with a touch screen, and a user can click or slide the touch screen at a short distance to control the set-top box, or press the remote controller at a long distance to control the set-top box. The operation signal may be understood as an indication signal generated when a user clicks or presses a corresponding control through a remote controller or a set-top box touch screen when the user wants to control the set-top box, that is, the signal type of the operation signal may include a touch signal and a key signal. When a user sends an operation signal to the set-top box by using the key remote controller, the set-top box is in a key mode to receive and process the operation signal; when a user touches a touch screen of the set top box to control the set top box, the set top box is in a touch mode to receive and process the operation signal.
Specifically, when the set-top box receives the operation signal, the interaction mode to be entered by the set-top box can be determined according to the signal type of the operation signal, and the mode switching condition of the set-top box is determined by combining the interaction mode in which the set-top box is located before receiving the operation signal. When the operation signal is a touch signal, it indicates that the current moment of the user is the operation signal sent to the set-top box by clicking or sliding the touch screen, the set-top box will respond to the operation of the user in the touch mode, if the set-top box is in the touch mode before receiving the operation signal, the mode switching condition of the set-top box is that the set-top box is in the touch mode without switching, and if the set-top box is in the key mode before receiving the operation signal, the mode switching condition of the set-top box is that the key mode is switched to the touch mode. When the operation signal is a key signal, it indicates that the current moment of the user is the operation signal sent to the set-top box by pressing the remote controller, the set-top box will respond to the operation of the user in the key mode, if the set-top box is in the key mode before receiving the operation signal, the mode switching condition of the set-top box is that the set-top box is in the key mode without switching, and if the set-top box is in the touch mode before receiving the operation signal, the mode switching condition of the set-top box is that the set-top box is switched to the key mode in the touch mode.
And step 120, if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing the focus to the focus control from the transfer control.
Generally, when a set top box is in a touch mode, due to operations such as a user sliding a page and the like, a focus usually does not point to a definite control, the set top box is switched to a key mode at the moment, a key lifting event generated when a user presses a key can only be monitored under a common condition, but a key pressing event cannot be monitored, when the key pressing event is triggered, a signal processing system of the set top box already completes focus falling processing by default, but uncertainty of focus falling can cause page confusion or page jump, normal use cannot be realized, and user experience is influenced. It has been found that if there is a clear View control that holds focus in touch mode, the key press event when switching from touch mode to key mode can be clearly monitored.
In this embodiment, a relay control that can be focused in the touch mode may be set in advance in the page to be adapted to the dual control mode, and the relay control is focused when the set-top box is in the touch mode. When the mode switching condition of the set top box is that the touch mode is switched to the key mode, the page information of the current page of the touch screen of the set top box can be acquired, a focus control is determined in the current page, and the focus is directed to the focus control from the transit control.
And step 130, responding to the operation signal based on the focus control.
The operation type of the operation signal may include a focus moving operation, a determining operation, and/or a returning operation, among others.
Specifically, when a clear control exists in the current page of the touch screen of the set top box to be focused, that is, when a focus control exists, the operation instruction of the user can be responded based on the focus control. For example, if the user presses a down key of the remote controller, the operation type of the operation signal is the focus moving operation, and at this time, the focus may be moved down to a control below the focus control, so as to complete the operation instruction of the user.
Illustratively, a set of program list is displayed on the display screen of the set-top box, and there are 100 programs in the set of programs, that is, there are 100 lines of program data in the program list that can be displayed, and since the screen size of the touch screen of the set-top box is limited, a maximum of 5 program data can be displayed on the screen page. If a user slides a program list through a touch screen, program data of 50 th to 54 th lines in the list are displayed on the screen, the user wants to select program data of 51 th line in the list, and an operation signal is sent to a set top box by pressing down a key through a remote controller. After the technical scheme of the embodiment is used, when a user slides the program list through the touch screen, the transfer control is focused, when the user presses the down key through the remote controller to send an operation signal to the set top box, the system normally transmits the key pressing event, the event is intercepted after the event is received by the root layout, the focusing operation is completed according to the display condition of the current page, and therefore the problems of skipping and the like of the displayed page can be avoided.
According to the technical scheme of the embodiment, the mode switching condition of the set top box is determined by receiving the operation signal sent by the user; if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing the focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode; based on the focus control, the operation signal is responded, the problem that when the set top box is switched from the touch mode to the key mode to process an event generated by triggering a key by a user for the first time, the page is disordered and cannot be normally used due to uncertainty existing in the focus falling of the key mode is solved, seamless switching between the touch mode and the key mode of the set top box is achieved, and user experience is improved.
Example two
Fig. 2 is a flowchart of a signal processing method according to a second embodiment of the present invention. The present embodiment further optimizes the signal processing method based on the above embodiments.
As shown in fig. 2, the method specifically includes:
step 210, receiving an operation signal sent by a user.
Step 220, if the currently received operation signal is a key signal and the last received operation signal is a touch signal, determining that the mode switching condition is that the touch mode is switched to the key mode.
Specifically, if the latest operation signal received by the set-top box at the current time is a key signal and the operation signal received last time is a touch signal, the set-top box is in the touch mode when processing the last operation signal, and the set-top box will be in the key mode when processing the current operation signal, so that the mode switching condition of the set-top box is that the touch mode is switched to the key mode. It can be understood that the mode switching of the set-top box may also be a key mode switching to a touch mode, a touch mode no switching, and a key mode no switching. Since the embodiment mainly solves the problem of focus falling when the set top box is switched from the touch mode to the key mode, the other three mode switching situations are not described too much. Particularly, when the set-top box is just started, the set-top box can enter a touch mode by default, and the focus is dropped on the transfer control.
And step 230, acquiring information of the current page and determining the alternative controls in the current page.
The current page information can be understood as the page information displayed on the touch screen of the set top box at the current time, and the alternative controls are controls included in the current page and can be considered as controls which can be seen by a user through the touch screen at the current time.
Generally, a user only wants to control the controls that the user can see, so that the information of the current page can be acquired, and the controls in the current page are all determined as alternative controls.
And 240, determining a focus control in each alternative control according to the control position of each alternative control.
Specifically, because the positions of the alternative controls distributed in the current page are different, in general, people have viewing habits from left to right, from top to bottom, or from the middle to the periphery and the like when seeing a picture, and therefore, a reasonable focus-falling rule can be specified according to different page scenes, and one focus control is determined in the alternative controls.
Optionally, step 240 may be implemented by: determining the control middle point of each alternative control, and determining the alternative control corresponding to the control middle point closest to the page coordinate origin as the focus control.
It will be appreciated that a page coordinate system is established in the current page for identifying the display position of each control. Because each alternative control has a certain size, the distance from the midpoint coordinate of the alternative control to the page coordinate origin can be selected to represent the distance between the alternative control and the page coordinate origin. When a page coordinate system is established, the origin of the page coordinate is set at the upper left corner of the page, and the selected focus control is the control closest to the upper left corner of the page; when the page coordinate system is established, the page coordinate origin may also be set at the page center, and the selected focus control is the control closest to the page center.
And step 250, pointing the focus to the focus control from the transfer control.
Specifically, since the relay control is focused when the set-top box is in the touch mode before, the focus can be pointed to the focus control by the relay control at this time.
And step 260, determining a target control corresponding to the operation signal according to the operation type of the operation signal and by combining the focus control.
The target control can be understood as a control to which the final focus points after responding to an operation instruction of a user.
Specifically, since a user may press a direction key, a confirm key, a return key, or the like on the remote controller, the meaning of an instruction represented by each key is different, and the situation that the focus needs to be moved is different, it is necessary to determine a target control corresponding to the operation signal based on the focus control according to the operation type of the operation signal.
Optionally, the implementation of this step can be divided into the following cases:
the first condition is as follows: and when the operation type of the operation signal is focus moving operation, determining the focus moving direction, and determining the next control of the focus control as a target control along the focus moving direction.
Specifically, when the user presses an up key, a down key, a left key, or a right key of the remote controller, the operation type of the operation signal is the focus moving operation, and the focus moving direction is consistent with the key pressing direction. When a user presses a key, the moving direction of the focus is downward, and the first control below the focus control is a target control; when a user presses an upper key, the moving direction of the focus is upward, and a first control above the focus control is a target control; when a user presses a left key, the moving direction of the focus is towards the left, and the first control on the left side of the focus control is the target control; when the user presses the right key, the moving direction of the focus is towards the right, and the first control on the right side of the focus control is the target control. Specifically, the focus movement direction may be re-determined to be up when the user presses the left key but there are no other controls to the left of the focus control, and correspondingly, the focus movement direction may be re-determined to be down when the user presses the right key but there are no other controls to the right of the focus control.
Case two: and when the operation type of the operation signal is a return operation, determining that the parent control of the focus control is the target control.
Specifically, when the user presses a return key on the remote controller, it may be determined that the operation type of the operation signal is a return operation, and at this time, the user wants to return to view a previous page of the current page.
Case three: and when the operation type of the operation signal is the determination operation, if the focus control has the sub-control, determining the sub-control with the minimum control sequence number as the target control, and otherwise, determining the focus control as the target control.
Specifically, when a user presses a determination button on the remote controller, it may be determined whether the focus control includes a next-level sub-control, if the focus control includes the sub-control, the sub-control with the smallest control sequence number may be selected as the target control, and if the focus control does not include the sub-control, that is, the focus control is the bottommost control, the focus control may be used as the target control.
And 270, pointing the focus to the target control, and displaying a display page where the target control is located.
Specifically, the focus is transferred from the focus control to the target control, and if the operation type of the operation signal is a focus moving operation, the display page can be moved towards the focus moving direction; if the operation type of the operation signal is a return operation, displaying a target control, namely a page where a parent control of the focus control is located; if the operation type of the operation signal is the determination operation, the page where the target control is located can be displayed, and if the target control contains a program playing inlet, the program can be played.
According to the technical scheme of the embodiment, by receiving an operation signal sent by a user, when the mode switching condition of the set top box is determined to be that the touch mode is switched to the key mode, current page information is obtained, alternative controls in the current page are determined, a focus control is determined in each alternative control according to the control position of each alternative control, a focus is directed to the focus control from a transfer control, a target control corresponding to the operation signal is determined according to the operation type of the operation signal and by combining with the focus control, the focus is directed to the target control, and a display page where the target control is located is displayed. According to the method and the device, the problem that when the set top box is switched from the touch mode to the key mode to process the event generated by triggering the key for the first time by the user, the page is disordered and cannot be normally used due to uncertainty of focus falling of the key mode is solved, seamless switching between the touch mode and the key mode of the set top box is achieved, and user experience is improved.
EXAMPLE III
The signal processing device provided by the embodiment of the invention can execute the signal processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. Fig. 3 is a block diagram of a signal processing apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a mode switch determination module 310, a focus control determination module 320, and a signal response module 330.
And a mode switching determination module 310, configured to receive an operation signal sent by a user, and determine a mode switching condition of the set top box.
The focus control determining module 320 is configured to obtain current page information if the mode switching condition is that the touch mode is switched to the key mode, determine a focus control according to the current page information, and point a focus to the focus control from a relay control, where the relay control is a control to which the focus of the set top box is pointed in the touch mode.
A signal response module 330, configured to respond to the operation signal based on the focus control.
The method determines the mode switching condition of the set top box by receiving the operation signal sent by the user; if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing the focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode; based on the focus control, the operation signal is responded, the problem that when the set top box is switched from the touch mode to the key mode to process an event generated by triggering a key by a user for the first time, the page is disordered and cannot be normally used due to uncertainty existing in the focus falling of the key mode is solved, seamless switching between the touch mode and the key mode of the set top box is achieved, and user experience is improved.
Optionally, the operation signal includes a signal type and an operation type, the signal type includes a touch signal and a key signal, and the operation type includes a focus moving operation, a determining operation, and/or a returning operation.
Optionally, the mode switching determining module 310 is specifically configured to:
and if the currently received operation signal is a key signal and the last received operation signal is a touch signal, determining that the mode switching condition is that the touch mode is switched to the key mode.
Optionally, the focus control determining module 320 includes:
the alternative control determining unit is used for acquiring the current page information and determining the alternative controls in the current page if the mode switching condition is that the touch mode is switched to the key mode;
a focus control determining unit, configured to determine a focus control in each of the candidate controls according to a control position of each of the candidate controls;
and the focus transfer unit is used for pointing the focus to the focus control from the transfer control.
Optionally, the focus control determining unit is specifically configured to:
and determining the control middle point of each alternative control, and determining the alternative control corresponding to the control middle point closest to the page coordinate origin as the focus control.
Optionally, the signal response module 330 includes:
the target control determining unit is used for determining a target control corresponding to the operation signal according to the operation type of the operation signal and by combining the focus control;
and the signal response unit is used for pointing the focus to the target control and displaying a display page where the target control is located.
Optionally, the target control determining unit is specifically configured to:
when the operation type of the operation signal is focus moving operation, determining the focus moving direction, and determining the next control of the focus control as a target control along the focus moving direction;
when the operation type of the operation signal is a return operation, determining that a parent control of the focus control is a target control;
and when the operation type of the operation signal is determined operation, if the focus control has the sub-control, determining the sub-control with the minimum control sequence number as the target control, and otherwise, determining the focus control as the target control.
According to the technical scheme of the embodiment, by receiving an operation signal sent by a user, when the mode switching condition of the set top box is determined to be that the touch mode is switched to the key mode, current page information is obtained, alternative controls in the current page are determined, a focus control is determined in each alternative control according to the control position of each alternative control, a focus is directed to the focus control from a transfer control, a target control corresponding to the operation signal is determined according to the operation type of the operation signal and by combining with the focus control, the focus is directed to the target control, and a display page where the target control is located is displayed. According to the method and the device, the problem that when the set top box is switched from the touch mode to the key mode to process the event generated by triggering the key for the first time by the user, the page is disordered and cannot be normally used due to uncertainty of focus falling of the key mode is solved, seamless switching between the touch mode and the key mode of the set top box is achieved, and user experience is improved.
Example four
Fig. 4 is a block diagram of a set-top box according to a fourth embodiment of the present invention, as shown in fig. 4, the set-top box includes a controller 410, a memory 420, and a touch screen 430; the number of the controllers 410 in the set-top box may be one or more, and one controller 410 is taken as an example in fig. 4; the controller 410, the memory 420 and the touch screen 430 in the set-top box may be connected by a bus or other means, and fig. 4 illustrates the bus connection.
The memory 420 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the signal processing method in the embodiment of the present invention (for example, the mode switching determination module 310, the focus control determination module 320, and the signal response module 330 in the signal processing apparatus). The controller 410 executes various functional applications and data processing of the set-top box by executing software programs, instructions and modules stored in the memory 420, that is, implements the above-described signal processing method.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 420 may further include memory located remotely from the controller 410, which may be connected to a set-top box over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And the touch screen 430 may be disposed on the set-top box, and is used for receiving a touch signal generated when a user touches the screen and displaying corresponding page information.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a signal processing method, the method including:
receiving an operation signal sent by a user, and determining the mode switching condition of the set top box;
if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing a focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode;
responding to the operation signal based on the focus control.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the signal processing method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the signal processing apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A signal processing method, comprising:
receiving an operation signal sent by a user, and determining the mode switching condition of the set top box;
if the mode switching condition is that the touch mode is switched to the key mode, acquiring current page information, determining a focus control according to the current page information, and pointing a focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode;
responding to the operation signal based on the focus control.
2. The signal processing method according to claim 1, wherein the operation signal includes a signal type and an operation type, the signal type includes a touch signal and a key signal, and the operation type includes a focus moving operation, a determination operation, and/or a return operation.
3. The signal processing method of claim 2, wherein the determining a mode switching condition of the set-top box comprises:
and if the currently received operation signal is a key signal and the last received operation signal is a touch signal, determining that the mode switching condition is that the touch mode is switched to the key mode.
4. The signal processing method according to claim 2, wherein the obtaining current page information and determining a focus control according to the current page information comprises:
acquiring current page information and determining alternative controls in the current page;
and determining a focus control in each alternative control according to the control position of each alternative control.
5. The signal processing method according to claim 4, wherein the determining a focus control in each of the alternative controls according to the control position of each of the alternative controls comprises:
and determining the control middle point of each alternative control, and determining the alternative control corresponding to the control middle point closest to the page coordinate origin as the focus control.
6. The signal processing method according to claim 2, wherein the responding to the operation signal based on the focus control includes:
determining a target control corresponding to the operation signal by combining the focus control according to the operation type of the operation signal;
and pointing the focus to the target control, and displaying a display page where the target control is located.
7. The signal processing method according to claim 6, wherein the determining, according to the operation type of the operation signal and in combination with the focus control, a target control corresponding to the operation signal comprises:
when the operation type of the operation signal is focus moving operation, determining the focus moving direction, and determining the next control of the focus control as a target control along the focus moving direction;
when the operation type of the operation signal is a return operation, determining that a parent control of the focus control is a target control;
and when the operation type of the operation signal is determined operation, if the focus control has the sub-control, determining the sub-control with the minimum control sequence number as the target control, and otherwise, determining the focus control as the target control.
8. A signal processing apparatus, characterized by comprising:
the mode switching determining module is used for receiving an operation signal sent by a user and determining the mode switching condition of the set top box;
the focus control determining module is used for acquiring current page information if the mode switching condition is that the touch mode is switched to the key mode, determining a focus control according to the current page information, and pointing a focus to the focus control from a transfer control, wherein the transfer control is a control pointed by the focus of the set top box in the touch mode;
and the signal response module is used for responding to the operation signal based on the focus control.
9. A set top box, comprising:
one or more controllers;
a memory for storing one or more programs;
the touch screen is used for receiving a touch signal generated by the touch of a user;
when executed by the one or more controllers, cause the one or more controllers to implement the signal processing method of any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the signal processing method of any one of claims 1-7 when executed by a computer processor.
CN202110544609.5A 2021-05-19 2021-05-19 Signal processing method and device, set top box and storage medium Pending CN113194345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110544609.5A CN113194345A (en) 2021-05-19 2021-05-19 Signal processing method and device, set top box and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110544609.5A CN113194345A (en) 2021-05-19 2021-05-19 Signal processing method and device, set top box and storage medium

Publications (1)

Publication Number Publication Date
CN113194345A true CN113194345A (en) 2021-07-30

Family

ID=76982358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110544609.5A Pending CN113194345A (en) 2021-05-19 2021-05-19 Signal processing method and device, set top box and storage medium

Country Status (1)

Country Link
CN (1) CN113194345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153536A (en) * 2021-11-12 2022-03-08 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Web page focus control method and system compatible with physical keys of touch screen

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598248A (en) * 2015-02-03 2015-05-06 安徽广电信息网络股份有限公司 Focus switching method based on HTML (hypertext markup language) webpage

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598248A (en) * 2015-02-03 2015-05-06 安徽广电信息网络股份有限公司 Focus switching method based on HTML (hypertext markup language) webpage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IMPORTSUC: "Android Tv 开机没有焦点", 《CSDN博客,HTTPS://BLOG.CSDN.NET/YIRANHAIZIQI/ARTICLE/DETAILS/78061948》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153536A (en) * 2021-11-12 2022-03-08 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Web page focus control method and system compatible with physical keys of touch screen
CN114153536B (en) * 2021-11-12 2024-04-09 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Web page focus control method and system compatible with physical keys of touch screen

Similar Documents

Publication Publication Date Title
US9071790B2 (en) Remote control method, remote controller, remote control response method and set-top box
EP4016273A1 (en) Side toolbar display method and device, terminal, and storage medium
CN108595137B (en) Wireless screen projection method and device and screen projector
US20220248077A1 (en) Video projection method, apparatus and device, and storage medium
CN110703966A (en) File sharing method, device and system, corresponding equipment and storage medium
CN110750197B (en) File sharing method, device and system, corresponding equipment and storage medium
CN103309555B (en) The method and device of focus based on multiwindow switching
CN105511763A (en) Method and device for moving target object based on touch control operation
CN108228020B (en) Information processing method and terminal
CN111459393B (en) Method, system and equipment for realizing multi-signal-source interactive control
US11604570B2 (en) Method, device, apparatus, and storage medium for controlling touch operation mode
CN114296579A (en) Display device and control method of user interface
CN104104984A (en) Focus control method and device thereof
CN113721808B (en) Control method and device
CN106371715B (en) Method and device for realizing multi-item switching
CN114415894A (en) Terminal split screen processing method, device, equipment and medium
CN113961295A (en) Device interaction control method and device, electronic device and readable storage medium
CN113194345A (en) Signal processing method and device, set top box and storage medium
US10628031B2 (en) Control instruction identification method and apparatus, and storage medium
CN116637356A (en) Method and device for adjusting virtual key, electronic equipment and storage medium
CN106708360A (en) Application interface switching method and device and electronic equipment
CN115756707A (en) Content sharing method and device, electronic equipment and readable storage medium
CN115623256A (en) Display apparatus and focus acquisition method
CN104216603A (en) Display method and electronic equipment
CN111381755B (en) Interface content switching method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210730

RJ01 Rejection of invention patent application after publication