CN108124174B - Television and television application control method and device thereof - Google Patents

Television and television application control method and device thereof Download PDF

Info

Publication number
CN108124174B
CN108124174B CN201810148034.3A CN201810148034A CN108124174B CN 108124174 B CN108124174 B CN 108124174B CN 201810148034 A CN201810148034 A CN 201810148034A CN 108124174 B CN108124174 B CN 108124174B
Authority
CN
China
Prior art keywords
key
virtual key
focus
application
virtual
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.)
Active
Application number
CN201810148034.3A
Other languages
Chinese (zh)
Other versions
CN108124174A (en
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201810148034.3A priority Critical patent/CN108124174B/en
Publication of CN108124174A publication Critical patent/CN108124174A/en
Application granted granted Critical
Publication of CN108124174B publication Critical patent/CN108124174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/42202Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] environmental sensors, e.g. for detecting temperature, luminosity, pressure, earthquakes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Ecology (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Environmental Sciences (AREA)
  • Remote Sensing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a television application control method and a device, wherein the television application control method comprises the following steps: starting a virtual key application to display a virtual key interface, and setting the focus attribute of the virtual key application to be unfocused; monitoring and triggering the operation behavior of a virtual key where a focus is located in the virtual key interface; when the monitored control behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered and confirmed, performing key simulation according to the virtual key where the focus is located; and distributing the non-system keys obtained by simulation to the television application with the focusing attribute as focusing so as to control the television application to execute corresponding key functions according to the non-system keys. The television application control method provided by the invention solves the problem of poor universality of the virtual key in the prior art.

Description

Television and television application control method and device thereof
Technical Field
The invention relates to the technical field of televisions, in particular to a television and a television application control method and device thereof.
Background
With the development of television technology, a television can be installed and deployed with various television applications, and a user can control the television applications provided by the television through a remote controller so as to enjoy various entertainment services provided by the television applications.
Most television manufacturers design less and less physical keys for remote controls, and provide reduced physical key button functionality through virtual key applications. As shown in fig. 1, currently, the key functions provided by the virtual key application mainly include: a home page function, a return function, a standby function, a signal source switching function, a volume adjustment function, a system setting function, and the like.
However, some virtual keys cannot be implemented because of conflicts with application-processed keys. For example, in the channel switching application, the application processing keys at least include a direction key for implementing channel switching, and when the virtual key application is started in the running process of the channel switching application, the virtual direction key provided by the virtual key application can only be used for controlling the focus to move, and the channel switching application cannot be controlled to switch channels, so that the virtual key cannot be applied to the channel switching application.
From the above, the prior art still has the defect of poor universality of the virtual key.
Disclosure of Invention
In order to solve the above technical problems, an object of the present invention is to provide a method and an apparatus for controlling a tv application.
The technical scheme adopted by the invention is as follows:
a television application control method comprises the following steps: starting a virtual key application to display a virtual key interface, and setting the focus attribute of the virtual key application to be unfocused; monitoring and triggering the operation behavior of a virtual key where a focus is located in the virtual key interface; when the monitored control behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered and confirmed, performing key simulation according to the virtual key where the focus is located; and distributing the non-system keys obtained by simulation to the television application with the focusing attribute as focusing so as to control the television application to execute corresponding key functions according to the non-system keys.
A television application control apparatus, comprising: the application starting module is used for starting a virtual key application to display a virtual key interface and setting the focusing attribute of the virtual key application to be unfocused; the behavior monitoring module is used for monitoring and triggering the operation and control behavior of the virtual key where the focus is located in the virtual key interface; the key simulation module is used for triggering and confirming a virtual key where a focus is located in the virtual key interface when the monitored control behavior indicates that the virtual key where the focus is located is triggered, and performing key simulation according to the virtual key where the focus is located; and the application control module is used for distributing the non-system keys obtained by simulation to the television application with the focusing attribute being focusing so as to control the television application to execute corresponding key functions according to the non-system keys.
A television application control apparatus comprising a processor and a memory, the memory having stored thereon computer readable instructions which, when executed by the processor, implement the television application control method as described above.
A television comprising a television application control apparatus as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a television application control method as set out above.
In the technical scheme, the virtual key interface is displayed by starting the virtual key application, the focusing attribute of the virtual key application is set to be unfocused, the control behavior of the virtual key where the focus is located in the virtual key interface is monitored and triggered, when the control behavior is monitored to indicate that the virtual key where the focus is located in the virtual key interface is triggered and confirmed, key simulation is carried out according to the virtual key where the focus is located, and the non-system keys obtained through simulation are distributed to the television application with the focusing attribute being focused, so that the television application is controlled to execute corresponding key functions according to the non-system keys.
That is to say, through the change of the focus attribute of the virtual key application, the non-system key obtained through simulation is distributed to the television application with the focus attribute being the focus rather than the virtual key application, so that the television application executing the key function is ensured, the conflict between the virtual key and the application processing key is avoided, the virtual key is suitable for any television application, and the universality of the virtual key is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a virtual key according to the prior art.
FIG. 2 is a schematic illustration of an implementation environment in accordance with the present invention.
Fig. 3 is a block diagram illustrating a hardware configuration of a television according to an exemplary embodiment.
Fig. 4 is a schematic diagram of a specific implementation of a television application control method according to the prior art.
Fig. 5 is a flow chart illustrating a method of controlling a television application according to an exemplary embodiment.
FIG. 6 is a flow chart of one embodiment of step 230 of the corresponding embodiment of FIG. 3.
Fig. 7 is a flow chart of step 230 in another embodiment of the corresponding embodiment of fig. 3.
Fig. 8 is a flow chart illustrating another television application control method according to an exemplary embodiment.
Fig. 9 is a schematic diagram of a specific implementation of a television application control method in an application scenario.
Fig. 10 is a schematic diagram of a virtual key interface shown according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a television application control apparatus according to an exemplary embodiment.
Fig. 12 is a block diagram for one embodiment of behavior monitoring module 730 in accordance with the embodiment of fig. 11.
Fig. 13 is a block diagram of another embodiment of the behavior monitoring module 730 of the corresponding embodiment of fig. 11.
Fig. 14 is a block diagram illustrating another television application control apparatus according to an exemplary embodiment.
While specific embodiments of the invention have been shown by way of example in the drawings and will be described in detail hereinafter, such drawings and description are not intended to limit the scope of the inventive concepts in any way, but rather to explain the inventive concepts to those skilled in the art by reference to the particular embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
As described above, the prior art still has the defect of poor universality of the virtual key.
The following description will be given by taking a cutting table application as an example. As shown in fig. 2, when the channel switching application is running, if the user presses a direction key in the remote controller, the direction key, which is a non-system key, is distributed to the channel switching application with the focus attribute being focus, and the channel switching application is controlled to execute the channel switching function according to the direction key.
During the operation of the table-switching application, the virtual key application is started, for example 201, at this time, the focusing attribute of the virtual key application is in focus, for example 202, and accordingly, the focusing attribute of the table-switching application is changed to be out of focus.
Thus, when the user presses a direction key, e.g. 203, in the remote controller, the direction key is distributed to the virtual key application, e.g. 204, and the focus is controlled to move, e.g. 205, so that the virtual key in the virtual key application where the focus is located is updated.
Assuming that the virtual key at the focus in the virtual key application is updated to the virtual direction key, when the user presses the confirmation key in the remote controller, such as 203, it is intended to trigger the virtual direction key to control the channel switching application to switch channels, however, after the confirmation key is distributed to the virtual key application, such as 206, the virtual direction key is triggered to confirm to perform key simulation, such as 207, the simulated direction key is distributed to the virtual key application again, such as 204, and further the focus is controlled to move, such as 205, so that the channel switching application cannot perform the channel switching function according to the simulated direction key.
It can be known from the above process that the virtual key cannot realize the channel switching for the channel switching application, and is not suitable for the channel switching application.
Therefore, the invention particularly provides a television application control method for improving the universality of virtual keys, and correspondingly, the constructed television application control device is stored in a television to be executed in the television, so that the television application control method is realized, and the universality of the virtual keys is improved.
Fig. 3 is a schematic diagram of an implementation environment related to a television application control method. The implementation environment includes a television 100, a user 200, and a remote control device 300 that enables interaction between both the television 100 and the user 200.
In the implementation environment, various tv applications are installed and deployed on the tv 100, and the user 200 can control the various tv applications provided by the tv 100 by manipulating keys provided by the remote control device 300, so as to enjoy various entertainment services provided by the tv applications.
The remote control device 300 may be a remote controller or a mobile terminal running a remote controller application, for example, the mobile terminal may be a smart phone, a tablet computer, a notebook computer, or the like, and accordingly, the keys provided by the remote control device 300 may be physical keys in the remote controller or virtual keys provided by the remote controller application running on the mobile terminal, which is not limited herein.
Fig. 4 is a block diagram of a television shown in accordance with an exemplary embodiment. It should be noted that the television is only an example adapted to the present invention, and should not be considered as providing any limitation to the scope of the present invention. The television is also not to be construed as requiring reliance on, or necessity of, one or more of the components of the exemplary television 100 shown in fig. 4.
As shown in fig. 4, television 100 includes memory 101, memory controller 103, one or more (only one shown in fig. 4) processors 105, peripheral interface 107, communication module 109, sensor module 111, camera module 113, audio module 115, touch screen 117, and key module 119. These components communicate with each other via one or more communication buses/signal lines 121.
The memory 101 may be used to store computer programs and modules, such as computer readable instructions and modules corresponding to the television application control method and apparatus in the exemplary embodiment of the present invention, and the processor 105 executes various functions and data processing by executing the computer readable instructions stored in the memory 101, so as to complete the television application control method.
The memory 101, as a carrier of resource storage, may be random access memory, e.g., high speed random access memory, non-volatile memory, such as one or more magnetic storage devices, flash memory, or other solid state memory. The storage means may be a transient storage or a permanent storage.
The peripheral interface 107 may include at least one wired or wireless network interface, at least one serial-to-parallel conversion interface, at least one input/output interface, at least one USB interface, and the like, for coupling various external input/output devices to the memory 101 and the processor 105, so as to realize communication with various external input/output devices.
The communication module 109 is used for transceiving wireless or wired signals, so as to communicate with other devices through the wireless or wired signals. Communication networks on which wireless or wireline signals are based include, but are not limited to, cellular telephone networks, wireless local or metropolitan area networks, and the like, which may use various communication standards, protocols, and technologies.
The sensor module 111 is used for sensing an operating environment inside the television 100, for example, a temperature sensor may sense an internal temperature of the television 100 to control the television 100 to enhance heat dissipation when the internal temperature is too high.
The camera module 113 is attached to a camera and is used for taking pictures or videos. The shot pictures or videos can be stored in the memory 101 and also can be sent to an upper computer through the radio frequency module 109.
Audio module 115 provides an audio interface to a user, which may include one or more microphone interfaces, one or more speaker interfaces, and one or more headphone interfaces. And performing audio data interaction with other equipment through the audio interface. The audio data may be stored in the memory 101 and may also be transmitted through the radio frequency module 109.
The touch screen 117 provides an input-output interface between the television 100 and the user. Specifically, the user may perform an input operation, such as a gesture operation of clicking, touching, sliding, or the like, through the touch screen 117, so that the television 100 responds to the input operation. The television 100 displays and outputs output contents formed by any one or combination of text, pictures or videos to the user through the touch screen 117.
The key module 119 includes at least one key for providing an interface for user input to the television 100, and the user can cause the television 100 to perform different functions by pressing different keys. For example, the sound adjustment keys may allow a user to effect an adjustment of the volume of sound played by the television 100.
It will be appreciated that the configuration shown in fig. 4 is merely illustrative and that the television 100 may include more or fewer components than shown in fig. 4, or have different components than shown in fig. 4.
Furthermore, the present invention can be implemented by hardware circuits or by a combination of hardware circuits and software, and thus, the implementation of the present invention is not limited to any specific hardware circuits, software, or a combination of both.
Referring to fig. 5, in an exemplary embodiment, a method for controlling a tv application is applied to the tv 100 in the implementation environment shown in fig. 3, and the structure of the tv 100 may be as shown in fig. 4.
The television application control method may be executed by the television 100, and may include the steps of:
step 210, starting the virtual key application to display the virtual key interface, and setting the focus attribute of the virtual key application as unfocused.
First, the virtual key interface is a user interface for displaying virtual keys and performing tv application control by interacting with users through the virtual keys. Therefore, when a user wants to control the television application by means of the virtual keys, the virtual key application is started to display the virtual key interface, and the virtual keys displayed on the virtual key interface are triggered to control the television application.
Second, the focus attributes, including focus and unfocused, are used to indicate whether the television application is allowed to acquire focus for interaction with the user. For example, when the user implements a manipulation behavior on the virtual key at which the focus is located in the virtual key interface, the manipulation behavior is directly applied to the tv application that controls the focus attribute to be focused.
It should be understood that when the virtual key application is started, the virtual key interface floats on the uppermost layer of the screen configured by the television, that is, the virtual key application first acquires a focus to interact with the user, that is, the focus attribute of the virtual key application is focus.
As described above, in the channel switching application, the virtual key conflicts with the application processing key, so that the virtual key is not suitable for the channel switching application, and the virtual key has poor versatility. For this reason, in this embodiment, the focus attribute of the virtual key application is set to be unfocused, and accordingly, the focus attribute of the television application that starts the virtual key application is set to be focused.
For example, when the channel switching application runs, the focusing attribute of the channel switching application is focusing, when the virtual key application is started in the running process of the channel switching application, because the virtual key interface is suspended on the upper layer of the channel switching application, the focus is acquired preferentially over the channel switching application, the focusing attribute of the virtual key application is focusing, and the focusing attribute of the channel switching application is changed to be unfocused. In order to improve the universality of the virtual key, at the moment, the focusing attribute of the virtual key application is set to be unfocused, so that the focusing attribute of the channel switching application is correspondingly set to be focused, and the channel switching application with the focusing attribute being focused is favorable for executing the key function.
In a specific implementation of an embodiment, the focus attribute is set by a FLAG _ NOT _ focus FLAG, or a FLAG _ NOT _ focus FLAG.
And step 230, monitoring and triggering the operation and control behavior of the virtual key where the focus is located in the virtual key interface.
The operation behavior refers to the operation that a user triggers a virtual key in which a focus is located in the virtual key interface through the remote control device. For example, when a user presses a direction key of the remote controller, a virtual key where a focus is located in the virtual key interface is triggered to move, and the pressing operation is regarded as a manipulation behavior. Or when the user clicks a confirmation key provided by a remote controller application running on the mobile terminal, the virtual key where the focus is located in the virtual key interface is triggered to confirm, and the clicking operation is regarded as the control behavior.
It can also be understood that different manipulation behaviors indicate that a virtual key in which a focus is located in the virtual key interface is triggered to execute different actions, for example, the actions may be moving, confirming, returning, and the like.
In a specific implementation of an embodiment, as shown in fig. 6, step 230 may include the following steps:
and 231, calling the system auxiliary service to intercept the key control event.
The system auxiliary service can receive an event indicating that the user interface is changed, for example, a key operation event indicates that the user interface is changed due to the user operating the remote control device.
For example, when the virtual key application is started, the virtual key interface is displayed as a user interface, when a user presses a confirmation key of the remote controller, the virtual key where the focus is located in the virtual key interface is triggered to be confirmed, which can be regarded as that the virtual key in the virtual key interface is clicked, that is, the user interface is changed, and at this time, the key control event can be intercepted through the system auxiliary service.
The interception means that the key manipulation event is prioritized over the system to respond, so that the responded key manipulation event is not captured by the system any more, that is, the system does not process the key manipulation event any more. The system refers to an operating system installed and deployed on a television, for example, an android system.
And 233, identifying the key identification code in the key operation event, and monitoring operation behavior through the identified key identification code.
After the system auxiliary service intercepts the key operation event, it needs to further know which key in the remote control device is operated by the user so that the user interface is changed.
Therefore, in this embodiment, the identification of the key identification code in the key operation event is performed, so as to monitor the operation behavior, and further know what action the virtual key where the focus is located in the virtual key interface is triggered to execute, so as to subsequently control the television application to execute the corresponding key function.
The key identification code is unique identification of keys in the remote control device in a digital form. The key identification codes may be represented by ASCII characters or may be represented by physical keys on a keyboard, which is not limited herein.
In a specific implementation of an embodiment, the identification of the key identification code is implemented by a keyCode attribute. Specifically, the key identification code in the key operation event is returned by the keyCode attribute, and the returned key identification code is matched with the assigned key identification code, namely, the identification of the key identification code is completed.
And 250, when the monitored control behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered and confirmed, performing key simulation according to the virtual key where the focus is located.
As described above, the manipulation behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered to perform an action, and the action may be moving, confirming, returning, or the like. In other words, the manipulation behavior may be an operation of the user to trigger a virtual key in which a focus is located in the virtual key interface through a direction key, a confirmation key, a return key, and the like provided by the remote control device.
Therefore, when the user operates the confirmation key provided by the remote control device, the monitored operation behavior indicates that the virtual key at the focus in the virtual key interface is triggered to confirm, so that the user is informed that the user wants to control the television application to execute the corresponding key function according to the virtual key at the focus, and further the virtual key at the focus is simulated.
And the simulation means simulating the keys provided by the remote control device operated by the user according to the virtual keys where the focus is located.
Specifically, the key of the corresponding key type is obtained according to the virtual key type simulation of the virtual key where the focus is located. The key types include system keys and non-system keys, the non-system keys further include: direction keys, enter keys, return keys, numeric keys, and the like.
For example, in the virtual key interface, the virtual key where the focus is located is a virtual direction key, and the direction key is obtained through simulation according to the virtual direction key.
And 270, distributing the non-system keys obtained through simulation to the television application with the focusing attribute being focusing so as to control the television application to execute corresponding key functions according to the non-system keys.
Further, in an exemplary embodiment, after step 250, the method as described above may further include the steps of:
and distributing the simulated system keys to the system to execute corresponding key functions.
That is, if the simulation results in a non-system key, the corresponding key function is executed by the tv application with the focus attribute being in focus, otherwise, if the simulation results in a system key, the corresponding key function is executed by the system.
Through the process, the non-system key obtained through simulation is distributed to the television application with the focusing attribute being the focusing attribute instead of the virtual key application through the change of the focusing attribute of the virtual key application, so that the television application with the key execution function is ensured, the conflict between the virtual key and the application processing key is avoided, the virtual key is suitable for any television application, and the universality of the virtual key is effectively improved.
Referring to fig. 7, in an exemplary embodiment, step 230 may further include the following steps:
and 235, detecting the validity of the key identification code.
It will be appreciated that for television, the system keys in the remote control device do not conflict with the application handling keys, and may be distributed either by means of a virtual key application or directly to the system, for example, system keys including but not limited to: home system key, setup system key, etc.
In this embodiment, validity detection is performed for the key identification code. Preferably, regarding the keys of the remote control device, the key identification codes corresponding to the direction key, the confirmation key, the return key, and the like are regarded as valid, and the key identification codes corresponding to the remaining keys are regarded as invalid, for example, the homepage system key, the setup system key.
If the key identification code is invalid, the key manipulation event is not responded, and the execution step 237 is skipped to wait for the system to respond to the key manipulation event.
Otherwise, if the key identification code is valid, the key control event is processed preferentially, and the monitoring step of performing control action through the identified key identification code is skipped.
In step 237, the key operation event is released, so that the system processes the key operation event.
If the key identification code is invalid, the key operation event is released, so that the key operation event is processed by the system, namely, the system executes the corresponding key function.
Under the effect of the embodiment, only when the key identification code in the key operation event is valid, the key operation event is processed, that is, for the system key in the remote control device, the key operation event is directly distributed to the system to execute the corresponding key function, so that the processing efficiency is effectively improved, and the operation experience of the user is favorably improved.
Referring to fig. 8, in an exemplary embodiment, after step 230, the method as described above may further include the steps of:
and step 310, when the manipulation behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered to move, controlling the focus to move.
As described above, the manipulation behavior may be an operation of triggering a virtual key in which a focus is located in the virtual key interface by a user through a direction key, a confirmation key, a return key, and the like provided by the remote control device.
Therefore, when the user operates the direction keys provided by the remote control device, the monitored operation behavior indicates that the virtual key at which the focus is located in the virtual key interface is triggered to move, and then the focus is controlled to move according to the expectation of the user.
Step 330, updating the virtual key at the focus in the virtual key interface along with the movement of the focus.
The updating process may be that the virtual key where the focus is located changes along with the movement of the focus, or may be that the virtual key where the focus is located after the movement is identified, for example, the virtual key where the focus is located after the movement is identified in a manner of highlighting, different background colors, or the like.
Further, in an exemplary embodiment, after step 230, the method as described above may further include the steps of:
and when the control action indicates that the virtual key where the focus is located in the virtual key interface is triggered to return, stopping running the virtual key application.
When a user operates a return key provided by the remote control device, the monitored operation behavior indicates that the virtual key with the focus in the virtual key interface is triggered to return, and then the virtual key application exits according to the expectation of the user, namely the virtual key interface is cleared in the screen.
With the cooperation of the embodiment, the virtual key application is controlled to execute the corresponding key function according to the user expectation, and the consistency of user experience is fully guaranteed, so that the operation experience of the user is further improved.
Fig. 9 is a schematic diagram of a specific implementation of a television application control method in an application scenario. In the application scenario, the television application to be controlled is a channel switching application.
During the operation of the channel switching application, the virtual key application is started, and the virtual key interface 401 is displayed on the uppermost layer of the screen, as shown in fig. 10.
The virtual keys provided by the virtual key interface 401 include: virtual system keys and virtual non-system keys, the virtual system keys further comprising: a virtual standby system key 402, a virtual home page system key 403, and a virtual setup system key 404, wherein the virtual non-system keys further include: virtual direction key 405, virtual confirmation key 406, virtual number key 407.
At this time, as shown in fig. 9, the focus attribute of the virtual key application is set to be out of focus, as at 501, and accordingly, the focus attribute of the table cutting application is changed to be in focus, as at 502.
Thus, when the user presses a direction key, e.g. 503, in the remote controller, the direction key is intercepted by the system auxiliary service, e.g. 504, and the focus is controlled to move, e.g. 505, so that the virtual key in which the focus is located in the virtual key application is updated.
Assuming that the virtual key at the focus in the virtual key application is updated to the virtual direction key, when the user presses the confirmation key in the remote controller, as in 503, the user intends to trigger the virtual direction key to control the channel switching application to switch channels, after the confirmation key is intercepted by the system auxiliary service, as in 506, the virtual direction key is triggered to confirm to perform key simulation, as in 507, the simulated direction key is distributed by the system to the channel switching application with the focusing attribute being focus, as in 508, and the channel switching application is controlled to execute the channel switching function according to the simulated direction key.
In addition, when the user presses a return key in the remote controller, as at 503, which is intercepted by the system auxiliary service, as at 509, the virtual key application is exited, as at 510. Alternatively, when the user presses the remaining keys in the remote controller, such as the numeric keys, e.g., 503, although the corresponding key manipulation time is intercepted by the system service, e.g., 504, no response is made to the key manipulation event, i.e., the key manipulation event is discarded, e.g., 511, thereby allowing the numeric keys to be processed by the system.
In the above process, the virtual key can realize the channel cutting for the channel cutting application, and is suitable for the channel cutting application.
In the application scene, a universal virtual key is realized, the universal virtual key can be called in any television application, and the non-system key obtained according to the simulation of the virtual key is smoothly distributed to the television application with the focusing attribute as focusing so as to control the television application to execute the corresponding key function, and the key function is consistent with the user experience.
The following is an embodiment of the apparatus of the present invention, which can be used to execute the television application control method according to the present invention. For details that are not disclosed in the embodiments of the apparatus of the present invention, please refer to the method embodiments of the tv application control method according to the present invention.
Referring to fig. 11, in an exemplary embodiment, a tv application control apparatus 700 includes, but is not limited to: an application launch module 710, a behavior monitor module 730, a key simulation module 750, and an application control module 770.
The application starting module 710 is configured to start a virtual key application to display a virtual key interface, and set a focus attribute of the virtual key application to be unfocused.
The behavior monitoring module 730 is configured to monitor a manipulation behavior of a virtual key where a focus in the virtual key interface is located.
The key simulation module 750 is configured to perform key simulation according to the virtual key at which the focus is located when the monitored manipulation behavior indicates that the virtual key at which the focus is located in the virtual key interface is triggered and confirmed.
The application control module 770 is configured to distribute the non-system key obtained through simulation to the tv application with the focus attribute being focus, so as to control the tv application to execute the corresponding key function according to the non-system key.
Referring to FIG. 12, in an exemplary embodiment, the behavior monitoring module 730 includes, but is not limited to: an event interception unit 731, and a key recognition unit 733.
The event intercepting unit 731 is configured to invoke a system auxiliary service to intercept a key manipulation event.
The key identification unit 733 is configured to identify a key identification code in a key manipulation event, and monitor a manipulation behavior through the identified key identification code.
Referring to FIG. 13, in an exemplary embodiment, the behavior monitoring module 730 further includes, but is not limited to: a validity detection unit 732 and an event release unit 734.
The validity detection unit 732 is used for detecting the validity of the key identification code.
If the key identification code is invalid, the event release unit 734 is notified.
And if the key identification code is valid, monitoring the operation and control behavior according to the key identification code.
The event release unit 734 is configured to release the key manipulation event, so that the system processes the key manipulation event.
Referring to fig. 14, in an exemplary embodiment, the apparatus 700 as described above further includes, but is not limited to: a move focus module 810 and a key update module 830.
The focus moving module 810 is configured to control the focus to move when the manipulation behavior indicates that the virtual key in the virtual key interface where the focus is located is triggered to move.
The key update module 830 is configured to update a virtual key in the virtual key interface where the focus is located along with the movement of the focus.
In an exemplary embodiment, the apparatus 700 as described above further includes, but is not limited to: an application stopping module.
The application stopping module is used for stopping running the virtual key application when the control action indicates that the virtual key where the focus is located in the virtual key interface is triggered to return.
In an exemplary embodiment, the apparatus 700 as described above further includes, but is not limited to: and a key distribution module.
The key distribution module is used for distributing the simulated system keys to the system to execute corresponding key functions.
It should be noted that, when the television application control apparatus provided in the foregoing embodiment performs the television application control process, only the division of the above functional modules is taken as an example, and in practical applications, the functions may be distributed to different functional modules according to needs, that is, the internal structure of the television application control apparatus is divided into different functional modules to complete all or part of the functions described above.
In addition, the television application control apparatus provided in the above embodiments and the embodiments of the television application control method belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiments, and is not described again here.
In an exemplary embodiment, a television application control apparatus includes a processor and a memory.
The storage is stored with computer readable instructions, and the computer readable instructions, when executed by the processor, implement the television application control method in the above embodiments.
In an exemplary embodiment, a computer-readable storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the television application control method in the above embodiments.
In an exemplary embodiment, a television includes the television application control apparatus in the above embodiments.
The above-mentioned embodiments are merely preferred examples of the present invention, and are not intended to limit the embodiments of the present invention, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present invention, so that the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A method for controlling a television application, comprising:
starting a virtual key application to display a virtual key interface, and setting the focus attribute of the virtual key application to be unfocused;
monitoring and triggering the operation behavior of a virtual key where a focus is located in the virtual key interface;
when the monitored control behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered and confirmed, performing key simulation according to the virtual key where the focus is located;
and distributing the non-system keys obtained by simulation to the television application with the focusing attribute as focusing so as to control the television application to execute corresponding key functions according to the non-system keys and distribute the system keys obtained by simulation to the system to execute corresponding key functions.
2. The method of claim 1, wherein the monitoring triggering the manipulation behavior of the virtual key with the focus located in the virtual key interface comprises:
calling system auxiliary service to intercept key operation events;
and identifying the key identification code in the key control event, and monitoring the control action through the identified key identification code.
3. The method of claim 2, wherein the monitoring triggers a manipulation behavior of a virtual key of the virtual key interface at which a focus is located, further comprising:
carrying out validity detection on the key identification code;
if the key identification code is invalid, releasing the key control event so that the system processes the key control event;
and if the key identification code is valid, monitoring the control behavior according to the key identification code.
4. The method of claim 1, wherein after the monitoring triggers a manipulation behavior of a virtual key of the virtual key interface at which a focus is located, the method further comprises:
when the control behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered to move, controlling the focus to move;
and updating the virtual key where the focus is located in the virtual key interface along with the movement of the focus.
5. The method of claim 1, wherein after the monitoring triggers a manipulation behavior of a virtual key of the virtual key interface at which a focus is located, the method further comprises:
and when the control behavior indicates that the virtual key where the focus is located in the virtual key interface is triggered to return, stopping running the virtual key application.
6. A television application control apparatus, comprising:
the application starting module is used for starting a virtual key application to display a virtual key interface and setting the focusing attribute of the virtual key application to be unfocused;
the behavior monitoring module is used for monitoring and triggering the operation and control behavior of the virtual key where the focus is located in the virtual key interface;
the key simulation module is used for triggering and confirming a virtual key where a focus is located in the virtual key interface when the monitored control behavior indicates that the virtual key where the focus is located is triggered, and performing key simulation according to the virtual key where the focus is located;
and the application control module is used for distributing the non-system keys obtained by simulation to the television application with the focusing attribute being focusing so as to control the television application to execute corresponding key functions according to the non-system keys.
7. The apparatus of claim 6, wherein the behavior monitoring module comprises:
the event interception unit is used for calling the system auxiliary service to intercept the key control event;
and the key identification unit is used for identifying the key identification code in the key control event and monitoring the control action through the identified key identification code.
8. A television application control apparatus, comprising:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the television application control method of any of claims 1 to 5.
9. A television comprising a television application control apparatus as claimed in any one of claims 6 to 8.
CN201810148034.3A 2018-02-13 2018-02-13 Television and television application control method and device thereof Active CN108124174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810148034.3A CN108124174B (en) 2018-02-13 2018-02-13 Television and television application control method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810148034.3A CN108124174B (en) 2018-02-13 2018-02-13 Television and television application control method and device thereof

Publications (2)

Publication Number Publication Date
CN108124174A CN108124174A (en) 2018-06-05
CN108124174B true CN108124174B (en) 2020-11-20

Family

ID=62233532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810148034.3A Active CN108124174B (en) 2018-02-13 2018-02-13 Television and television application control method and device thereof

Country Status (1)

Country Link
CN (1) CN108124174B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686289A (en) * 2013-12-26 2014-03-26 深圳Tcl新技术有限公司 Intelligent television keyboard input control method and intelligent television
CN105430458A (en) * 2015-11-16 2016-03-23 深圳Tcl数字技术有限公司 Terminal controlling method and system
CN105872817A (en) * 2015-11-18 2016-08-17 乐视致新电子科技(天津)有限公司 Virtual key and physical key cooperative processing method and device, and smart television

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293486B (en) * 2015-05-29 2020-08-25 腾讯科技(深圳)有限公司 Interaction method and device between terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686289A (en) * 2013-12-26 2014-03-26 深圳Tcl新技术有限公司 Intelligent television keyboard input control method and intelligent television
CN105430458A (en) * 2015-11-16 2016-03-23 深圳Tcl数字技术有限公司 Terminal controlling method and system
CN105872817A (en) * 2015-11-18 2016-08-17 乐视致新电子科技(天津)有限公司 Virtual key and physical key cooperative processing method and device, and smart television

Also Published As

Publication number Publication date
CN108124174A (en) 2018-06-05

Similar Documents

Publication Publication Date Title
CN104267977A (en) Application program running method and device
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
WO2018077041A1 (en) Method and apparatus for running application
KR101325026B1 (en) Control method for application execution terminal based on android platform using smart-terminal, and computer-readable recording medium for the same
KR102295655B1 (en) Apparatus for Providing Integrated Functions of Dial and Calculator and Method thereof
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN106027631B (en) Data transmission method and device
WO2014206037A1 (en) Apparatuses and methods for web page sharing
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
US20170019482A1 (en) Method and apparatus for downloading control program
CN110597437A (en) Screen capturing method and terminal equipment
CN111417929A (en) Interface display method and control terminal
CN111090529B (en) Information sharing method and electronic equipment
CN111367444A (en) Application function execution method and device, electronic equipment and storage medium
CN106612149B (en) Radio frequency circuit testing method, device and system and mobile terminal
CN113194450A (en) Bluetooth device management method and device
CN110032422B (en) Application management method, terminal equipment and computer readable storage medium
CN108124174B (en) Television and television application control method and device thereof
CN104298528A (en) Application program installation control method and device
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
US10613622B2 (en) Method and device for controlling virtual reality helmets
EP4134793A1 (en) Method and apparatus for controlling input function, and storage medium
CN113325980B (en) Control method, control device, electronic equipment and readable storage medium
CN113726905B (en) Data acquisition method, device and equipment based on home terminal equipment
CN115225966A (en) Application starting method and device, terminal equipment 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266000, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266599, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Applicant before: HISENSE ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant