CN112073778A - Display device and fault-tolerant method for key transmission - Google Patents

Display device and fault-tolerant method for key transmission Download PDF

Info

Publication number
CN112073778A
CN112073778A CN202010238612.XA CN202010238612A CN112073778A CN 112073778 A CN112073778 A CN 112073778A CN 202010238612 A CN202010238612 A CN 202010238612A CN 112073778 A CN112073778 A CN 112073778A
Authority
CN
China
Prior art keywords
event
key
controller
received
lifting
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
CN202010238612.XA
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.)
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
Publication of CN112073778A publication Critical patent/CN112073778A/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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration

Abstract

The application discloses a display device and a fault-tolerant method for key transmission, and is particularly suitable for a social television. The display device includes a display configured to display image content; a first controller configured to receive a key event and deliver the key event; the second controller is configured to receive the key events transmitted by the first controller, and detect whether a lift-up event corresponding to a press-down event in the received key events is received within a preset time; if so, normally processing a corresponding press-down event and a corresponding lift-up event; if not, simulating a lifting event corresponding to the pressing event. According to the application, when the keys transmitted from the first controller to the second controller are lost, namely the second controller does not receive corresponding pressing and lifting events, a lifting event is simulated, the effectiveness of the keys on the second controller is guaranteed, the problem that the keys are disordered due to the fact that the keys are lost in a dual system is avoided, and the use experience of a user is greatly improved.

Description

Display device and fault-tolerant method for key transmission
The present application claims priority of chinese patent application entitled "fault tolerant method, system and display device for key transmission between two systems" filed by chinese patent office on 10/6/2019 under application number 201910497424.6, the entire contents of which are incorporated herein by application.
Technical Field
The application relates to the technical field of smart televisions, in particular to a display device and a fault-tolerant method for key transmission.
Background
The current televisions are all matched with remote controllers, users can operate the televisions through the remote controllers, for example, volume adjustment, channel adjustment and the like are achieved, in some scenes, the users can continuously press a certain key on the remote controllers and continue for a long time, for example, some users can continuously press a volume key when adjusting the volume, and in this situation, the remote controllers can continuously send key events to the televisions.
In order to control the television by the remote controller, a mapping relationship between each key in the remote controller and the television function is usually preset. When a user touches a certain key on the remote controller, the remote controller sends a signal of the corresponding wavelength of the key, after the television receives the signal sent by the remote controller, the touched key is determined according to the wavelength, then the television function corresponding to the key is determined according to the mapping relation, and the corresponding function is executed, so that the control of the remote controller on the television is realized.
However, on the specific architecture of the social television dual system, only one remote controller is needed, and the key needs to be transmitted to the system of the opposite terminal, so that the function of remotely controlling two different systems by using one remote controller is realized, however, the key has events of pressing, lifting and long-time pressing, and in the key transmission process, the key events are easily lost due to the influence of transmission rate, external environment and the like, so that the problems of increasing the volume of the system of the opposite terminal all the time, shaking a UI (user interface) and the like can be caused, and the use experience of a user is influenced.
Disclosure of Invention
The application provides a display device and a key transmission fault-tolerant method, and aims to solve the technical problem that the key is easy to lose when the key is transmitted between two systems at present, and the use experience of a user is influenced.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
in a first aspect, an embodiment of the present application discloses a display device, including:
a display configured to display image content;
a first controller configured to receive a key event and deliver the key event;
the second controller is configured to receive the key events transmitted by the first controller, and detect whether a lift-up event corresponding to a press-down event in the received key events is received within a preset time; if a lifting event corresponding to a pressing event in the received key events is received within a preset time, normally processing the corresponding pressing event and lifting event; and if a lifting event corresponding to the press event in the received key events is not received within the preset time, simulating the lifting event corresponding to the press event.
In a second aspect, an embodiment of the present application further provides a fault tolerant method for key transmission, which is applied to the display device in the first aspect, and the method includes:
the method comprises the steps that a first controller receives a key event and transmits the key event;
the second controller receives the key events transmitted by the first controller, and detects whether a lifting event corresponding to a pressing event in the received key events is received within preset time;
if a lifting event corresponding to a pressing event in the received key events is received within a preset time, the second controller normally processes the corresponding pressing event and lifting event;
and if a lifting event corresponding to a pressing event in the received key events is not received within a preset time, simulating the lifting event corresponding to the pressing event by the second controller.
Compared with the prior art, the beneficial effect of this application is:
for a display device with a dual system structure, a first controller receives and transmits a key event to a second controller; after receiving the key events transmitted by the first controller, the second controller detects whether a lifting event corresponding to a pressing event in the received key events is received within a preset time, and if the lifting event is received, the corresponding pressing event and the corresponding lifting event are processed normally; if not, a lift-up event corresponding to the press-down event is simulated. Therefore, the second controller can be ensured to receive a pair of pressing and lifting events, the condition that keys are lost or are disordered due to the lost keys does not occur, the stability and error recoverability of key transmission between the two systems can be further ensured, and the use experience of a user is 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 application.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment;
fig. 2 is a block diagram exemplarily showing a hardware configuration of the control apparatus 100 according to the embodiment;
fig. 3 is a block diagram exemplarily showing a hardware configuration of the display device 200 according to the embodiment;
a block diagram of the hardware architecture of the display device 200 according to fig. 3 is exemplarily shown in fig. 4;
fig. 5 is a diagram exemplarily showing a functional configuration of the display device 200 according to the embodiment;
fig. 6a schematically shows a software configuration in the display device 200 according to an embodiment;
fig. 6b schematically shows a configuration of an application in the display device 200 according to an embodiment;
fig. 7 schematically illustrates a user interface in the display device 200 according to an embodiment;
fig. 8 is an exemplary diagram illustrating an architecture of a dual system display device;
fig. 9 is a flowchart illustrating a key-press fault tolerance method according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the exemplary embodiments of the present application clearer, the technical solutions in the exemplary embodiments of the present application will be clearly and completely described below with reference to the drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, but not all the embodiments.
The present application relates to a display terminal including at least two system-on-chip, and for ease of understanding, a display terminal of a multi-chip structure is described herein.
For the convenience of users, various external device interfaces are usually provided on the display device to facilitate connection of different peripheral devices or cables to implement corresponding functions. When a high-definition camera is connected to an interface of the display device, if a hardware system of the display device does not have a hardware interface of a high-pixel camera receiving the source code, data received by the camera cannot be displayed on a display screen of the display device.
Furthermore, due to the hardware structure, the hardware system of the conventional display device only supports one path of hard decoding resources, and usually only supports video decoding with a resolution of 4K at most, so when a user wants to perform video chat while watching a network television, the user needs to use the hard decoding resources (usually GPU in the hardware system) to decode the network video without reducing the definition of the network video screen, and in this case, the user can only process the video chat screen by using a general-purpose processor (e.g. CPU) in the hardware system to perform soft decoding on the video.
The soft decoding is adopted to process the video chat picture, so that the data processing burden of a CPU (central processing unit) can be greatly increased, and when the data processing burden of the CPU is too heavy, the problem of picture blocking or unsmooth flow can occur. Further, due to the data processing capability of the CPU, when the CPU performs soft decoding on the video chat screen, multi-channel video calls cannot be generally implemented, and when a user wants to perform video chat with multiple other users in the same chat scene, access is blocked.
In view of the above aspects, to overcome the above drawbacks, the present application discloses a dual hardware system architecture to implement multiple channels of video chat data (at least one channel of local video).
The concept to which the present application relates will be first explained below with reference to the drawings. It should be noted that the following descriptions of the concepts are only for the purpose of facilitating understanding of the contents of the present application, and do not represent limitations on the scope of the present application.
The term "module," as used in various embodiments of the present application, may refer to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
The term "remote control" as used in the embodiments of the present application refers to a component of an electronic device (such as the display device disclosed in the present application) that is capable of wirelessly controlling the electronic device, typically over a short distance. The component may typically be connected to the electronic device using infrared and/or Radio Frequency (RF) signals and/or bluetooth, and may also include functional modules such as WiFi, wireless USB, bluetooth, motion sensors, etc. For example: the hand-held touch remote controller replaces most of the physical built-in hard keys in the common remote control device with the user interface in the touch screen.
The term "gesture" as used in the embodiments of the present application refers to a user behavior used to express an intended idea, action, purpose, or result through a change in hand shape or an action such as hand movement.
The term "hardware system" used in the embodiments of the present application may refer to a physical component having computing, controlling, storing, inputting and outputting functions, which is formed by a mechanical, optical, electrical and magnetic device such as an Integrated Circuit (IC), a Printed Circuit Board (PCB) and the like. In various embodiments of the present application, a hardware system may also be referred to as a motherboard (or chip).
Fig. 1 is a schematic diagram illustrating an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display apparatus 200 through the control device 100.
The control device 100 may be a remote controller 100A, which can communicate with the display device 200 through an infrared protocol communication, a bluetooth protocol communication, a ZigBee (ZigBee) protocol communication, or other short-range communication, and is used to control the display device 200 in a wireless or other wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
The control apparatus 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a notebook computer, etc., which may communicate with the display device 200 through a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), or other networks, and implement control of the display device 200 through an application program corresponding to the display device 200.
For example, the mobile terminal 100B and the display device 200 may each have a software application installed thereon, so that connection communication between the two can be realized through a network communication protocol, and the purpose of one-to-one control operation and data communication can be further realized. Such as: a control instruction protocol can be established between the mobile terminal 100B and the display device 200, a remote control keyboard is synchronized to the mobile terminal 100B, and the function of controlling the display device 200 is realized by controlling a user interface on the mobile terminal 100B; the audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
As shown in fig. 1, the display apparatus 200 may also perform data communication with the server 300 through various communication means. In various embodiments of the present application, the display device 200 may be allowed to be communicatively coupled to the server 300 via a local area network, a wireless local area network, or other network. The server 300 may provide various contents and interactions to the display apparatus 200.
Illustratively, the display device 200 receives software Program updates, or accesses a remotely stored digital media library by sending and receiving information, and Electronic Program Guide (EPG) interactions. The servers 300 may be a group or groups, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.
The display device 200 may be, for example, a liquid crystal display, an oled (organic Light Emitting diode) display, or a projection display device; on the other hand, the display device can be a display system consisting of an intelligent television or a display and a set-top box. The specific display device type, size, resolution, etc. are not limiting, and those skilled in the art will appreciate that the display device 200 may be modified in performance and configuration as desired.
The display apparatus 200 may additionally provide an intelligent network tv function that provides a computer support function in addition to the broadcast receiving tv function. Examples include a web tv, a smart tv, an Internet Protocol Tv (IPTV), and the like. In some embodiments, the display device may not have a broadcast receiving television function.
As shown in fig. 1, the display device may be connected or provided with a camera, and is configured to present a picture taken by the camera on a display interface of the display device or other display devices, so as to implement interactive chat between users. Specifically, the picture shot by the camera can be displayed on the display device in a full screen mode, a half screen mode or any optional area.
As an optional connection mode, the camera is connected with the display rear shell through the connecting plate, is fixedly installed in the middle of the upper side of the display rear shell, and can be fixedly installed at any position of the display rear shell as an installable mode, so that an image acquisition area is ensured not to be shielded by the rear shell, for example, the display orientation of the image acquisition area is the same as that of the display equipment.
As another alternative connection mode, the camera is connected to the display rear shell through a connection board or other conceivable connector, the camera is capable of lifting, the connector is provided with a lifting motor, when a user wants to use the camera or an application program wants to use the camera, the camera is lifted out of the display, and when the camera is not needed, the camera can be embedded in the rear shell to protect the camera from being damaged.
As an embodiment, the camera adopted in the present application may have 1600 ten thousand pixels, so as to achieve the purpose of ultra high definition display. In actual use, cameras higher or lower than 1600 ten thousand pixels may also be used.
After the camera is installed on the display device, the contents displayed by different application scenes of the display device can be fused in various different modes, so that the function which cannot be realized by the traditional display device is achieved.
Illustratively, a user may conduct a video chat with at least one other user while watching a video program. The presentation of the video program may be as a background frame over which a window for video chat is displayed. The function is called 'chat while watching'.
Optionally, in a scene of "chat while watching", at least one video chat is performed across terminals while watching a live video or a network video.
In another example, a user can conduct a video chat with at least one other user while entering the educational application for learning. For example, a student may interact remotely with a teacher while learning content in an educational application. Vividly, this function can be called "chatting while learning".
In another example, a user conducts a video chat with a player entering a card game while playing the game. For example, a player may enable remote interaction with other players when entering a gaming application to participate in a game. Figuratively, this function may be referred to as "watch while playing".
Optionally, the game scene is fused with the video picture, the portrait in the video picture is scratched and displayed in the game picture, and the user experience is improved.
Optionally, in the motion sensing game (such as ball hitting, boxing, running and dancing), the human posture and motion, limb detection and tracking and human skeleton key point data detection are obtained through the camera, and then the human posture and motion, the limb detection and tracking and the human skeleton key point data detection are fused with the animation in the game, so that the game of scenes such as sports and dancing is realized.
In another example, a user may interact with at least one other user in a karaoke application in video and voice. Vividly, this function can be called "sing while watching". Preferably, when at least one user enters the application in a chat scenario, a plurality of users can jointly complete recording of a song.
In another example, a user may turn on a camera locally to take pictures and videos, figurative, which may be referred to as "looking into the mirror".
In other examples, more or less functionality may be added. The function of the display device is not particularly limited in the present application.
Fig. 2 is a block diagram schematically showing the configuration of the control apparatus 100 according to the exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communicator 130, a user input/output interface 140, a memory 190, and a power supply 180.
The control apparatus 100 is configured to control the display device 200, and to receive an input operation instruction from a user, and convert the operation instruction into an instruction recognizable and responsive by the display device 200, and to mediate interaction between the user and the display device 200. Such as: the user operates the channel up/down key on the control device 100, and the display device 200 responds to the channel up/down operation.
In some embodiments, the control device 100 may be a smart device. Such as: the control apparatus 100 may install various applications that control the display device 200 according to user demands.
In some embodiments, as shown in fig. 1, the mobile terminal 100B or other intelligent electronic device may function similar to the control apparatus 100 after installing an application for manipulating the display device 200. Such as: the user may implement the functions of controlling the physical keys of the apparatus 100 by installing applications, various function keys or virtual buttons of a graphical user interface available on the mobile terminal 100B or other intelligent electronic devices.
The controller 110 includes a processor 112, a RAM113 and a ROM114, a communication interface, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the internal components for communication and coordination and external and internal data processing functions.
The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the received user input signal is transmitted to the display apparatus 200. The communicator 130 may include at least one of a WIFI module 131, a bluetooth module 132, an NFC module 133, and the like.
A user input/output interface 140, wherein the input interface includes at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like. Such as: the user can realize a user instruction input function through actions such as voice, touch, gesture, pressing, and the like, and the input interface converts the received analog signal into a digital signal and converts the digital signal into a corresponding instruction signal, and sends the instruction signal to the display device 200.
The output interface includes an interface that transmits the received user instruction to the display apparatus 200. In some embodiments, it may be an infrared interface or a radio frequency interface. Such as: when the infrared signal interface is used, the user input instruction needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. The following steps are repeated: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then the digital signal is modulated according to the rf control signal modulation protocol and then transmitted to the display device 200 through the rf transmitting terminal.
In some embodiments, the control device 100 includes at least one of a communicator 130 and an output interface. The communicator 130 is configured in the control device 100, such as: the modules of WIFI, bluetooth, NFC, etc. may send the user input command to the display device 200 through the WIFI protocol, or the bluetooth protocol, or the NFC protocol code.
And a memory 190 for storing various operation programs, data and applications for driving and controlling the control apparatus 100 under the control of the controller 110. The memory 190 may store various control signal commands input by a user.
And a power supply 180 for providing operational power support to the components of the control device 100 under the control of the controller 110. A battery and associated control circuitry.
A hardware configuration block diagram of a hardware system in the display apparatus 200 according to an exemplary embodiment is exemplarily shown in fig. 3.
When a dual hardware system architecture is adopted, the mechanism relationship of the hardware system can be shown in fig. 3. For convenience of description, one hardware system in the dual hardware system architecture will be referred to as a first hardware system or a system, a-chip, and the other hardware system will be referred to as a second hardware system or N-system, N-chip. The chip A comprises a controller of the chip A and various interfaces, and the chip N comprises a controller of the chip N and various interfaces. The chip a and the chip N may each have a relatively independent operating system, and the operating system of the chip a and the operating system of the chip N may communicate with each other through a communication protocol, which is as follows: the frame layer of the operating system of the a-chip and the frame layer of the operating system of the N-chip can communicate to transmit commands and data, so that two independent subsystems, which are associated with each other, exist in the display device 200.
As shown in fig. 3, the a chip and the N chip may be connected, communicated and powered through a plurality of different types of interfaces. The interface type of the interface between the a chip and the N chip may include a General-purpose input/output (GPIO) interface, a USB interface, an HDMI interface, a UART interface, and the like. One or more of these interfaces may be used for communication or power transfer between the a-chip and the N-chip. For example, as shown in fig. 3, in the dual hardware system architecture, the N chip may be powered by an external power source (power), and the a chip may not be powered by the external power source but by the N chip.
In addition to the interface for connecting with the N chip, the a chip may further include an interface for connecting other devices or components, such as an MIPI interface for connecting a Camera (Camera) shown in fig. 3, a bluetooth interface, and the like.
Similarly, in addition to the interface for connecting with the N chip, the N chip may further include an VBY interface for connecting with a display screen tcon (timer Control register), and an i2S interface for connecting with a power Amplifier (AMP) and a Speaker (Speaker); and an IR/Key interface, a USB interface, a Wifi interface, a bluetooth interface, an HDMI interface, a Tuner interface, and the like.
The dual hardware system architecture of the present application is further described below with reference to fig. 4. It should be noted that fig. 4 is only an exemplary illustration of the dual hardware system architecture of the present application, and does not represent a limitation of the present application. In actual practice, both hardware systems may contain more or less hardware or interfaces as desired.
A block diagram of the hardware architecture of the display device 200 according to fig. 3 is exemplarily shown in fig. 4. As shown in fig. 4, the hardware system of the display device 200 may include an a chip and an N chip, and a module connected to the a chip or the N chip through various interfaces.
The N-chip may include a tuner demodulator 220, a communicator 230, an external device interface 250, a processor 210, a memory 290, a user input interface, a video processor 260-1, an audio processor 260-2, a display 280, an audio output interface 272, and a power supply. The N-chip may also include more or fewer modules in other embodiments.
The tuning demodulator 220 is configured to perform modulation and demodulation processing such as amplification, mixing, resonance and the like on a broadcast television signal received in a wired or wireless manner, so as to demodulate an audio/video signal carried in a frequency of a television channel selected by a user and additional information (e.g., an EPG data signal) from a plurality of wireless or wired broadcast television signals. Depending on the broadcast system of the television signal, the signal path of the tuner 220 may be various, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; according to different modulation types, the adjustment mode of the signal can be a digital modulation mode or an analog modulation mode; and depending on the type of television signal being received, tuner demodulator 220 may demodulate analog and/or digital signals.
The tuner demodulator 220 is also operative to respond to the user-selected television channel frequency and the television signals carried thereby, in accordance with the user selection, and as controlled by the controller 210.
In other exemplary embodiments, the tuner/demodulator 220 may be in an external device, such as an external set-top box. In this way, the set-top box outputs television audio/video signals after modulation and demodulation, and the television audio/video signals are input into the display device 200 through the external device interface 250.
The communicator 230 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 230 may include a WIFI module 231, a bluetooth communication protocol module 232, a wired ethernet communication protocol module 233, and other network communication protocol modules such as an infrared communication protocol module or a near field communication protocol module.
The display apparatus 200 may establish a connection of a control signal and a data signal with an external control apparatus or a content providing apparatus through the communicator 230. For example, the communicator may receive a control signal of the remote controller 100 according to the control of the controller.
The external device interface 250 is a component for providing data transmission between the N-chip controller 210 and the a-chip and other external devices. The external device interface may be connected with an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 250 may include: a High Definition Multimedia Interface (HDMI) terminal 251, a Composite Video Blanking Sync (CVBS) terminal 252, an analog or digital component terminal 253, a Universal Serial Bus (USB) terminal 254, a red, green, blue (RGB) terminal (not shown), and the like. The number and type of external device interfaces are not limited by this application.
The processor 210 controls the operation of the display device 200 and responds to user operations by running various software control programs (e.g., an operating system and/or various application programs) stored on the memory 290.
As shown in FIG. 4, the processor 210 includes a read only memory RAM213, a random access memory ROM214, a graphics processor 216, the processor 210, a communication interface 218, and a communication bus. The RAM213 and the ROM214, the graphic processor 216, the processor 210, and the communication interface 218 are connected via a bus.
Processor 210 for executing operating system and application program instructions stored in memory 290. And executing various application programs, data and contents according to various interactive instructions received from the outside so as to finally display and play various audio and video contents.
A ROM213 for storing instructions for various system boots. For example, when the power-on signal is received, the display device 200 starts to power up, and the processor 210 executes the system boot instruction in the ROM, and copies the operating system stored in the memory 290 to the RAM214 to start running the boot operating system. After the start of the operating system is completed, the processor 210 copies the various applications in the memory 290 to the RAM214, and then starts running and starting the various applications.
A graphics processor 216 for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And a renderer for generating various objects based on the operator and displaying the rendered result on the display 280.
Processor 210 for executing operating system and application program instructions stored in memory 290. And executing various application programs, data and contents according to various interactive instructions received from the outside so as to finally display and play various audio and video contents.
In some example embodiments, the processor 210 may include a plurality of processors. The plurality of processors may include a main processor and a plurality of or a sub-processor. A main processor for performing some operations of the display apparatus 200 in a pre-power-up mode and/or operations of displaying a screen in a normal mode. A plurality of or one sub-processor for performing an operation in a standby mode or the like.
The communication interfaces may include a first interface 218-1 through an nth interface 218-n. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 210 may control the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
Wherein the object may be any one of selectable objects, such as a hyperlink or an icon. Operations related to the selected object, such as: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to an icon. The user command for selecting the UI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch pad, etc.) connected to the display apparatus 200 or a voice command corresponding to a voice spoken by the user.
The memory 290 includes a memory for storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 290, including: the system comprises a basic module, a detection module, a communication module, a display control module, a browser module, various service modules and the like.
The basic module is a bottom layer software module for signal communication between hardware in the display device 200 and sending processing and control signals to an upper layer module. The detection module is a management module used for collecting various information from various sensors or user input interfaces, and performing digital-to-analog conversion and analysis management.
For example: the voice recognition module comprises a voice analysis module and a voice instruction database module. The display control module is a module for controlling the display 280 to display image content, and may be used to play information such as multimedia image content and UI interface. The communication module is used for carrying out control and data communication with external equipment. And the browser module is used for executing data communication between the browsing servers. The service module is a module for providing various services and various application programs.
Meanwhile, the memory 290 is also used to store a received data request and user data, images of various items in various user interfaces, and visual effect maps of the focus object, etc.
A user input interface for transmitting an input signal of a user to the controller 210 or transmitting a signal output from the controller to the user. For example, the control device (e.g., a mobile terminal or a remote controller) may send an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by a user to the user input interface, and then the input signal is forwarded to the controller by the user input interface; alternatively, the control device may receive an output signal such as audio, video, or data output from the user input interface via the controller, and display the received output signal or output the received output signal in audio or vibration form.
In some embodiments, a user may enter a user command on a Graphical User Interface (GUI) displayed on the display 280, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
The video processor 260-1 is configured to receive a video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 280.
Illustratively, the video processor 260-1 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is used for demultiplexing the input audio and video data stream, and if the input MPEG-2 is input, the demultiplexing module demultiplexes the input audio and video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like.
And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert a frame rate of an input video, such as a 24Hz, 25Hz, 30Hz, or 60Hz video, into a 60Hz, 120Hz, or 240Hz frame rate, where the input frame rate may be related to a source video stream, and the output frame rate may be related to an update rate of a display. The input is realized in a common format by using a frame insertion mode.
And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output an RGB data signal.
And a display 280 for receiving the image signal input from the video processor 260-1 and displaying the video content and image and the menu manipulation interface. The display 280 includes a display component for presenting a picture and a driving component for driving the display of an image. The video content may be displayed from the video in the broadcast signal received by the tuner/demodulator 220, or from the video content input from the communicator or the external device interface. And a display 220 simultaneously displaying a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.
And, a driving component for driving the display according to the type of the display 280. Alternatively, in case the display 280 is a projection display, it may also comprise a projection device and a projection screen.
The audio processor 260-2 is configured to receive an audio signal, decompress and decode the audio signal according to a standard codec protocol of the input signal, and perform noise reduction, digital-to-analog conversion, amplification and other audio data processing to obtain an audio signal that can be played in the speaker 272.
An audio output interface 270 for receiving the audio signal output by the audio processor 260-2 under the control of the controller 210, wherein the audio output interface may include a speaker 272 or an external sound output terminal 274 for outputting to a generating device of an external device, such as: external sound terminal or earphone output terminal.
In other exemplary embodiments, video processor 260-1 may comprise one or more chip components. The audio processor 260-2 may also include one or more chips.
And, in other exemplary embodiments, the video processor 260-1 and the audio processor 260-2 may be separate chips or may be integrated in one or more chips with the controller 210.
And a power supply for supplying power supply support to the display apparatus 200 from the power input from the external power source under the control of the controller 210. The power supply may include a built-in power supply circuit installed inside the display apparatus 200, or may be a power supply installed outside the display apparatus 200, such as a power supply interface for providing an external power supply in the display apparatus 200.
Similar to the N-chip, as shown in fig. 4, the a-chip may include a processor 310, a communicator 330, a detector 340, and a memory 390. A video processor 360, a user input interface, an audio processor, a display, an audio output interface may also be included in some embodiments. In some embodiments, there may also be a power supply that independently powers the A-chip.
The communicator 330 is a component for communicating with an external device or an external server according to various communication protocol types. For example: the communicator 330 may include a WIFI module 331, a bluetooth communication protocol module 332, a wired ethernet communication protocol module 333, and other network communication protocol modules such as an infrared communication protocol module or a near field communication protocol module.
The communicator 330 of the a-chip and the communicator 230 of the N-chip also interact with each other. For example, the WiFi module 231 within the N-chip hardware system is used to connect to an external network, generate network communication with an external server, and the like. The WiFi module 331 in the a-chip hardware system is used to connect to the N-chip WiFi module 231 without making a direct connection with an external network or the like, and the a-chip is connected to an external network through the N-chip. Therefore, for the user, a display device as in the above embodiment displays a WiFi account to the outside.
The detector 340 is a component of the display device a chip for collecting signals of an external environment or interacting with the outside. The detector 340 may include a light receiver 342, a sensor for collecting the intensity of ambient light, which may be used to adapt to display parameter changes, etc.; the system may further include an image collector 341, such as a camera, a video camera, etc., which may be configured to collect external environment scenes, collect attributes of the user or interact gestures with the user, adaptively change display parameters, and identify user gestures, so as to implement a function of interaction with the user.
An external device interface 350, which provides a component for data transmission between the processor 310 and the N-chip or other external devices. The external device interface may be connected with an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner.
The processor 310 controls the operation of the display device 200 and responds to the user's operations by running various software control programs stored on the memory 390 (e.g., using installed third party applications, etc.), and interacting with the N-chip.
As shown in FIG. 4, processor 310 includes read only memory ROM313, random access memory RAM314, graphics processor 316, communication interface 318, and a communication bus. The ROM313 and the RAM314 are connected to the graphic processor 316 and the communication interface 318 via a bus.
And a processor 310 for executing the operating system and application program instructions stored in the memory 390, communicating with the N-chip, transmitting and interacting signals, data, instructions, etc., and executing various application programs, data and contents according to various interaction instructions received from the outside, so as to finally display and play various audio and video contents.
A ROM313 for storing instructions for various system boots. The processor 310 executes system boot instructions in ROM and copies the operating system stored in memory 390 to RAM314 to begin running the boot operating system. After the boot of the operating system is completed, the processor copies the various applications in the memory 390 to the RAM314, and then starts running and booting the various applications.
And a processor for executing the operating system and application program instructions stored in the memory 390, performing communication, signal, data, instruction transmission and interaction with the N-chip, and executing various application programs, data and contents according to various interaction instructions received from the outside, so as to finally display and play various audio and video contents.
The communication interfaces may include a first interface 318-1 through an nth interface 318-n. These interfaces may be network interfaces connected to external devices via a network, or may be network interfaces connected to the N-chip via a network.
The processor 310 may control the overall operation of the display device 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 280, the controller 210 may perform an operation related to the object selected by the user command.
A graphics processor 316 for generating various graphics objects, such as: icons, operation menus, user input instruction display graphics, and the like. The display device comprises an arithmetic unit which carries out operation by receiving various interactive instructions input by a user and displays various objects according to display attributes. And a renderer for generating various objects based on the operator and displaying the rendered result on the display 280.
Both the A-chip graphics processor 316 and the N-chip graphics processor 216 are capable of generating various graphics objects. In distinction, if application 1 is installed on the a-chip and application 2 is installed on the N-chip, the a-chip graphics processor 316 generates a graphics object when a user performs a command input by the user in application 1 at the interface of application 1. When a user makes a command input by the user in the interface of the application 2 and within the application 2, a graphic object is generated by the graphic processor 216 of the N chip.
Fig. 5 is a diagram schematically illustrating a functional configuration of a display device according to an exemplary embodiment.
As shown in fig. 5, the memory 390 of the a-chip and the memory 290 of the N-chip are used to store an operating system, an application program, contents, user data, and the like, respectively, and perform system operations for driving the display device 200 and various operations in response to a user under the control of the processor 310 of the a-chip and the controller 210 of the N-chip. The A-chip memory 390 and the N-chip memory 290 may include volatile and/or non-volatile memory.
The memory 290 is specifically configured to store an operating program for driving the controller 210 in the display device 200, and store various applications installed in the display device 200, various applications downloaded by a user from an external device, various graphical user interfaces related to the applications, various objects related to the graphical user interfaces, user data information, and internal data of various supported applications. The memory 290 is used to store system software such as an Operating System (OS) kernel, middleware, and applications, and to store input video data and audio data, and other user data.
The memory 290 is specifically used for storing drivers and related data such as the video processor 260-1 and the audio processor 260-2, the display 280, the communication interface 230, the tuner demodulator 220, the input/output interface, and the like.
In some embodiments, memory 290 may store software and/or programs, software programs for representing an Operating System (OS) including, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. For example, the kernel may control or manage system resources, or functions implemented by other programs (e.g., the middleware, APIs, or applications), and the kernel may provide interfaces to allow the middleware and APIs, or applications, to access the controller to implement controlling or managing system resources.
The memory 290, for example, includes a broadcast receiving module 2901, a channel control module 2902, a volume control module 2903, an image control module 2904, a display control module 2905, an audio control module 2906, an external instruction recognition module 2907, a communication control module 2908, a light receiving module 2909, a power control module 2910, an operating system 2911, and other applications 2912, a browser module, and the like. The controller 210 performs functions such as: the system comprises a broadcast television signal receiving and demodulating function, a television channel selection control function, a volume selection control function, an image control function, a display control function, an audio control function, an external instruction identification function, a communication control function, an optical signal receiving function, an electric power control function, a software control platform supporting various functions, a browser function and other various functions.
The memory 390 includes a memory storing various software modules for driving and controlling the display apparatus 200. Such as: various software modules stored in memory 390, including: the system comprises a basic module, a detection module, a communication module, a display control module, a browser module, various service modules and the like. Since the functions of the memory 390 and the memory 290 are similar, reference may be made to the memory 290 for relevant points, and thus, detailed description thereof is omitted here.
Illustratively, the memory 390 includes an image control module 3904, an audio control module 3906, an external instruction recognition module 3907, a communication control module 3908, a light receiving module 3909, an operating system 3911, and other application programs 3912, a browser module, and the like. The controller 210 performs functions such as: the system comprises an image control function, a display control function, an audio control function, an external instruction identification function, a communication control function, an optical signal receiving function, an electric power control function, a software control platform supporting various functions, a browser function and other various functions.
Differently, the external instruction recognition module 2907 of the N-chip and the external instruction recognition module 3907 of the a-chip can recognize different instructions.
Illustratively, since the image receiving device such as a camera is connected with the a-chip, the external instruction recognition module 3907 of the a-chip may include an image recognition module 3907-1, a graphic database is stored in the image recognition module 3907-1, and when the camera receives an external graphic instruction, the camera corresponds to the instruction in the graphic database to perform instruction control on the display device. Since the voice receiving device and the remote controller are connected to the N-chip, the external command recognition module 2907 of the N-chip may include a voice recognition module 2907-2, a voice database is stored in the voice recognition module 2907-2, and when the voice receiving device receives an external voice command or the like, the voice receiving device and the like perform a corresponding relationship with a command in the voice database to perform command control on the display device. Similarly, a control device 100 such as a remote controller is connected to the N-chip, and the key command recognition module 2907-3 performs command interaction with the control device 100.
A block diagram of a configuration of a software system in a display device 200 according to an exemplary embodiment is exemplarily shown in fig. 6 a.
For an N-chip, as shown in fig. 6a, the operating system 2911, includes executing operating software for handling various basic system services and for performing hardware related tasks.
In some embodiments, portions of the operating system kernel may contain a series of software to manage the display device hardware resources and provide services to other programs or software code.
In other embodiments, portions of the operating system kernel may include one or more device drivers, which may be a set of software code in the operating system that assists in operating or controlling the devices or hardware associated with the display device. The drivers may contain code that operates the video, audio, and/or other multimedia components. Examples include a display, a camera, Flash, WiFi, and audio drivers.
The accessibility module 2911-1 is configured to modify or access the application program to achieve accessibility and operability of the application program for displaying content.
A communication module 2911-2 for connection to other peripherals via associated communication interfaces and a communication network.
The user interface module 2911-3 is configured to provide an object for displaying a user interface, so that each application program can access the object, and user operability can be achieved.
Control applications 2911-4 for controlling process management, including runtime applications and the like.
The event transmission system 2914 may be implemented within the operating system 2911 or within the application 2912. In some embodiments, an aspect is implemented within the operating system 2911, while implemented in the application 2912, for listening for various user input events, and will implement one or more sets of predefined operations in response to various events referring to the recognition of various types of events or sub-events.
The event monitoring module 2914-1 is configured to monitor an event or a sub-event input by the user input interface.
The event identification module 2914-2 is used to input various event definitions for various user input interfaces, identify various events or sub-events, and transmit them to the process for executing one or more sets of their corresponding handlers.
The event or sub-event refers to an input detected by one or more sensors in the display device 200 and an input of an external control device (e.g., the control apparatus 100). Such as: the method comprises the following steps of inputting various sub-events through voice, inputting a gesture sub-event through gesture recognition, inputting a remote control key command of a control device and the like. Illustratively, the one or more sub-events in the remote control include a variety of forms including, but not limited to, one or a combination of key presses up/down/left/right/, ok keys, key presses, and the like. And non-physical key operations such as move, hold, release, etc.
The interface layout management module 2913, directly or indirectly receiving the input events or sub-events from the event transmission system 2914, monitors the input events or sub-events, and updates the layout of the user interface, including but not limited to the position of each control or sub-control in the interface, and the size, position, and level of the container, which are related to the layout of the interface.
Since the functions of the operating system 3911 of the a chip are similar to those of the operating system 2911 of the N chip, reference may be made to the operating system 2911 for relevant points, and details are not repeated here.
As shown in fig. 6b, the application layer of the display device contains various applications that can be executed at the display device 200.
The N-chip application layer 2912 may include, but is not limited to, one or more applications such as: a video-on-demand application, an application center, a game application, and the like. The application layer 3912 of the a-chip may include, but is not limited to, one or more applications such as: live television applications, media center applications, and the like. It should be noted that what applications are respectively contained in the a chip and the N chip is determined according to an operating system and other designs, and the present invention does not need to make specific limitations and divisions on the applications contained in the a chip and the N chip.
The live television application program can provide live television through different signal sources. For example, a live television application may provide television signals using input from cable television, radio broadcasts, satellite services, or other types of live television services. And, the live television application may display video of the live television signal on the display device 200.
A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides a video display from some storage source. For example, the video on demand may come from a server side of the cloud storage, from a local hard disk storage containing stored video programs.
The media center application program can provide various applications for playing multimedia contents. For example, a media center, which may be other than live television or video on demand, may provide services that a user may access to various images or audio through a media center application.
The application program center can provide and store various application programs. The application may be a game, an application, or some other application associated with a computer system or other device that may be run on a display device. The application center may obtain these applications from different sources, store them in local storage, and then be operable on the display device 200.
A schematic diagram of a user interface in a display device 200 according to an exemplary embodiment is illustrated in fig. 7. As shown in fig. 7, the user interface includes a plurality of view display areas, illustratively, a first view display area 201 and a play screen 202, wherein the play screen includes a layout of one or more different items. And a selector in the user interface indicating that the item is selected, the position of the selector being movable by user input to change the selection of a different item.
It should be noted that the multiple view display areas may present display screens of different hierarchies. For example, a first view display area may present video chat project content and a second view display area may present application layer project content (e.g., web page video, VOD presentations, application screens, etc.).
Optionally, the different view display areas are presented with different priorities, and the display priorities of the view display areas are different among the view display areas with different priorities. If the priority of the system layer is higher than that of the application layer, when the user uses the acquisition selector and picture switching in the application layer, the picture display of the view display area of the system layer is not blocked; and when the size and the position of the view display area of the application layer are changed according to the selection of the user, the size and the position of the view display area of the system layer are not influenced.
The display frames of the same hierarchy can also be presented, at this time, the selector can switch between the first view display area and the second view display area, and when the size and the position of the first view display area are changed, the size and the position of the second view display area can be changed along with the change.
Since the a-chip and the N-chip may have independent operating systems installed therein, there are two independent but interrelated subsystems in the display device 200. For example, Android (Android) and various APPs can be independently installed on the chip a and the chip N, so that each chip can realize a certain function, and the chip a and the chip N cooperatively realize a certain function.
Therefore, for the above dual system architecture, there are two types of key events: when a key is transmitted from the system N to the system a, a part of the key is easily lost due to instability of communication, which may cause the following problems:
(1) on any system, if a certain key is pressed for a long time, the lifting key is lost, and the focus can move continuously.
(2) For the scene of the animation controlled by the keys, the effect of the animation is not controlled by losing the keys, and the user experience is very poor.
(3) Some functions of the part of the software are only to detect key up events and process some logic, which will not be triggered if the up key is lost.
(4) Some applications trigger color change logic for long keys to prompt the user to press for a long time, and color change is accumulated all the time because a lift-off event cannot be received, so that normal logic cannot be displayed for the user.
(5) For an application that handles both press events and lift events, if the application is just receiving a lift event, the internal logic of the application is disturbed and an error occurs. The prefabricated application can be tested through testing, but the problem of the third-party application cannot be solved by all the third-party applications in a matching mode, and the compatibility of the platform is reduced.
In order to solve the above problem, an embodiment of the present application provides a display device, where after a second controller receives a press event sent by a first controller, it is determined whether a lift event corresponding to the press event is received within a preset time, and if the lift event is not received, a lift event corresponding to the press event is simulated, so as to ensure validity of a key on the second controller, and avoid key confusion due to key loss.
As shown in fig. 8, a display device provided in an embodiment of the present application includes:
the first controller 101 is configured to receive a key event and transmit the key event to the second controller 102.
A second controller 201 configured to receive the key events transmitted by the first controller 101, and detect whether a lift-up event corresponding to a press-down event among the received key events is received within a preset time; if a lifting event corresponding to a pressing event in the received key events is received within a preset time, normally processing the corresponding pressing event and lifting event; and if the lifting event corresponding to the pressing event in the received key events is not received within the preset time, simulating the lifting event corresponding to the pressing event.
A display 301 configured to display image content.
Here, for convenience of description, the processor 310 in fig. 4 and 5 corresponds to the first controller 101 in fig. 8, and the processor 210 in fig. 4 and 5 corresponds to the second controller 201 in fig. 8, which will not be described below.
On Android television equipment, aiming at a new social dual system state, the dual systems are defined as a first controller 101 and a second controller 201 respectively, a key receiver is arranged on the first controller 101, a receiving module 101-1 of the first controller 101 receives a key and then judges whether the key needs to be transmitted to the second controller 201, and if the key does not need to be transmitted to the first controller 101 normally for processing; if the key is required to be transmitted, the key is transmitted to the second controller 201 through the communication module 101-2 (at least one of the network, serial, USB and HDMI communication modes) of the first controller 101, and after the key is received by the receiving module 201-1 of the second controller 201, the key is injected into the second controller 201, and then the second controller 201 processes the key normally.
After receiving a key event sent by a remote controller, a receiving module 101-1 of a first controller 101 first determines whether the key event needs to be transmitted to a second controller 201, if the key event needs to be transmitted, the key event is divided into pressing and lifting, and therefore whether the key event is a pressing event needs to be determined, if the key event is a pressing event, the pressed key value needs to be recorded, and then the first controller 101 transmits the pressing event to the second controller 201 through a communication module 101-2; if the detected key value is a lifting event, a pressing event corresponding to the lifting event may be received before the lifting event is received, and therefore it is required to search whether the key value of the lifting event is recorded, that is, whether the lifting event is a pair with a previously transmitted pressing event, and if the detected key value is a pair, the recording is cancelled, and the first controller 101 transmits the lifting event to the second controller 201 through the communication module 101-2, so that it is ensured that each pair of pressing and lifting events can be transmitted to the second controller 201, and the situation of key loss does not occur.
If the press-down event corresponding to the lift-up event may not be received before the lift-up event is received, and if the transmission delay of the press-down event occurs or the press-down event is lost during the transmission process, the lift-up event needs to be discarded, so as to avoid the key confusion affecting the second controller 201.
Similarly, after receiving the key event, the first controller 101 determines that the key event is not required to be transmitted to the second controller 201, and then normally transmits the key event to the first controller 101 for processing, because the key event is divided into pressing and lifting, it is also required to determine whether the key event is a pressing event, if the key event is a pressing event, it is required to record a pressed key value, and then the first controller 101 processes the pressing event; if the detected key value is a lifting event, a pressing event corresponding to the lifting event may be received before the lifting event is received, and therefore, it is required to search whether the key value of the lifting event is recorded, that is, whether the lifting event is a pair with a previously transmitted pressing event, and if the key value is a pair, the recording is cancelled, and the first controller 101 processes the lifting event, so that it is ensured that each pair of pressing and lifting events can be transmitted to the first controller 101, and the situation of key loss does not occur.
After the first controller 101 receives a key event, in order to ensure consistency, that is, each press event has a lift event, the present application uses a Timer mechanism, first, the first controller 101 determines whether the received key event is a press event, if the key event received by the first controller is a press event, a key value of the press event is recorded, a Timer is started, and if the timeout time is set manually, the timeout time may be 500ms, the first controller 101 checks whether a lift event corresponding to the press event is received within a preset time. If a lifting event corresponding to the pressing event is received within the preset time, it indicates that the first controller 101 receives a complete pressing and lifting event of the key value, cancels the timer, distributes the lifting event, and the first controller 101 processes the pressing event and the lifting event, thereby ensuring the validity of the case on the first controller 101.
If a press-down event corresponding to the lift-up event may not be received before the lift-up event is received, and if the press-down event is delayed in transmission or lost during transmission, the lift-up event needs to be discarded, so as to avoid the key confusion affecting the first controller 101.
After ensuring that the first controller 101 transmits the key events (pressing events and lifting events) to the second controller 201, when the receiving module 201-1 of the second controller 201 receives the key events, due to communication instability, the second controller 201 may receive the pressing events and the lifting events at the same time, or may lose the pressing events or the lifting events, for example, only the pressing events are received, and the lifting events are not received; only a raise event is received and no press event is received.
After the second controller 201 receives the key events, in order to ensure consistency, that is, each press event has a lift event, the present application uses a Timer mechanism, first, the detection module 201-2 of the second controller 201 determines whether the received key event is a press event, if the key event received by the second controller 201 is a press event, records a key value of the press event, starts a Timer, manually sets timeout time, and if the timeout time can be 500ms, the detection module 201-2 checks whether the lift event is received within a preset time. If the lift-off event is received within the preset time, and the lift-off event received by the second controller 201 within the preset time may be a pair with the previously received press-down event or may not be a pair with the previously received press-down event, therefore, after the second controller 201 receives the lift-off event within the preset time, it is required to search whether the key value of the lift-off event is recorded, that is, it is determined whether the lift-off event is a pair with the previously received press-down event. If the number of the key events is one, it means that the second controller 201 receives a complete press and lift event of a key value, cancels the timer, and distributes the lift event, and the second controller 201 processes the press event and the lift event, so that it is ensured that no key is lost when the key event is transmitted from the first controller 101 to the second controller 201, and the validity of the key on the second controller 201 is ensured.
The key event received by the second controller 201 within the preset time may be a lift event or a press event, and if the second controller 201 receives a press event within the preset time, the press event may be the same as the key value of the previously received press event or the same as the key value of the previously received press event, and therefore it is required to search whether the key value of the press event is recorded. If the key value is recorded, the key value indicating the pressing event is the same as the key value of the previously received pressing event, it is considered that the key is pressed for a long time, and at this time, every time such a press is received, the timer is reset, that is, the time is counted from the last time the pressing event is received, and it is determined whether the second controller 201 receives the lifting event corresponding to the pressing event within the preset time.
If the key value is not recorded, it indicates that the key value of the pressing event is different from the key value of the previously received pressing event, and it indicates that the lifting event corresponding to the previously received pressing event may be lost or a transmission delay may occur as the pressing event of another key, and in order not to affect the processing of the pressing event of another key, the second controller 201 may simulate a lifting event corresponding to the previously received pressing event first, and then distribute the pressing event of another key received this time. Therefore, the effectiveness of the keys on the second controller 201 is ensured, and the problem of case disorder caused by case loss is avoided.
When receiving the key event transmitted by the first controller 101, the second controller 201 may receive a press event or a lift event, and if the second controller 201 receives the lift event, it needs to determine whether the second controller 201 has previously received a press event corresponding to the lift event, and since the second controller 201 starts a timer when receiving the press event, it needs to search whether the timer exists. If a timer exists, it indicates that the currently received lift event and the previously received press event are a pair of key events, so the timer is cancelled to count time, the lift event is distributed, and the second controller 201 processes a pair of complete press events and lift events.
If the timer does not exist, it is indicated that the previously received key event does not have a press event corresponding to the currently received lift event, the press event corresponding to the lift event is lost in the transmission process, or transmission delay occurs, so that the lift event is discarded, and the key disorder of the second controller caused by the lift event is avoided.
The second controller 201 receives the key event transmitted by the first controller 101, and if the second controller 201 receives the press event first, the second controller 201 receives the lift event corresponding to the press event within the preset time of starting the timer, which indicates that the second controller 201 receives the corresponding press event and lift event within the preset time, and the situation of missing the key does not occur, so the second controller 201 normally processes the press and lift of the key.
If the second controller 201 receives the lift event first, but finds that the second controller 201 stores the press event corresponding to the lift event before, it indicates that the second controller 201 receives the corresponding press event and lift event within the preset time, and the situation of losing the key does not occur, so the second controller 201 normally processes the press and lift of the key.
When the second controller 201 receives the key event transmitted by the first controller 101, the press event may be received, but the corresponding lift event is not received within the preset time, and for this situation, the application takes the key information stored in the timer, splices a lift event corresponding to the press event, and makes up for the missing lift event, so as to ensure that the second controller 201 receives a pair of press and lift events.
For the situation, a lifting event corresponding to the previously received pressing event is simulated first, and then the pressing event of the other key is distributed to make up for the lifting event corresponding to the previously pressed event.
The display device provided by the embodiment of the application ensures that each pair of keys can be pressed and lifted to be transmitted to the first controller or the second controller by judging whether the same key is pressed and lifted to be transmitted to the same controller when a key event is transmitted from the first controller to the second controller, the condition that the keys are lost cannot occur at two ends, and the keys can be normally transmitted to the second controller by the first controller. When the second controller receives a key event transmitted by the first controller, if the received key event is a press event, whether the second controller receives a lift event within a preset time is judged, if the second controller receives the lift event within the preset time, whether the lift event and the previously received press event are the same key value is continuously judged, if the lift event and the previously received press event are the same key value, the second controller receives the press event and the lift event of the same key, and the second controller normally processes the press event and the lift event; if the second controller receives the lifting event within the preset time, but the lifting event and the previously received pressing event are different key values, namely the second controller receives the pressing event and does not receive the lifting event corresponding to the pressing event, the second controller simulates the lifting event corresponding to the pressing event; if the second controller does not receive the lifting event within the preset time, namely the second controller receives the pressing event and does not receive the lifting event, the second controller splices the corresponding lifting event according to the pressing event stored by the timer; if the second controller receives the lifting event and does not receive the pressing event, the lifting event is discarded; therefore, the effectiveness of the keys on the second controller is guaranteed, the problem that the keys are disordered due to the fact that the keys are lost is solved, a series of problems due to the fact that the keys are lost are avoided, and the use experience of a user is greatly improved.
Based on the display device described in the above embodiment, an embodiment of the present application further provides a fault tolerant method for key transmission, which is applied to the display device described in the above embodiment.
As shown in fig. 9, the fault tolerant method for key transmission provided in the embodiment of the present application includes:
s100: the first controller receives and transmits a key event.
S200: the second controller receives the key event transmitted by the first controller.
S300: the second controller detects whether a lift-up event corresponding to a press-down event among the received key events is received within a preset time.
S400: and if a lifting event corresponding to the pressing event in the received key events is received within the preset time, the second controller processes the corresponding pressing event and lifting event.
S500: if a lifting event corresponding to a pressing event in the received key events is not received within a preset time, the second controller simulates the lifting event corresponding to the pressing event.
According to the fault-tolerant method for key transmission provided by the embodiment of the application, when a first controller transmits a key event to a second controller, whether the same key is pressed down or lifted up is judged to be transmitted to the same controller, so that each pair of pressed down and lifted up can be transmitted to the first controller or the second controller, the situation that the key is lost at two ends cannot occur, and the key can be normally transmitted to the second controller from the first controller. When the second controller receives the key events transmitted by the first controller, whether the second controller receives a lifting event corresponding to a pressing event in the received key events or not is judged within the preset time, if the second controller receives the lifting event corresponding to the pressing event in the received key events within the preset time, the second controller receives the pressing event and the lifting event of the same key, and the second controller normally processes the pressing event and the lifting event; if the second controller does not receive a lifting event corresponding to a pressing event in the received key events within the preset time, if the second controller receives the lifting event within the preset time but the key value of the lifting event is different from that of the previously received pressing event, or the second controller does not receive the lifting event within the preset time, the second controller simulates the lifting event corresponding to the previously received pressing event, so that the second controller has the pressing event and the lifting event of the same key. Therefore, the effectiveness of the keys on the second controller is guaranteed, the problem that the keys are disordered due to the fact that the keys are lost is solved, a series of problems due to the fact that the keys are lost are avoided, and the use experience of a user is greatly improved.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a circuit structure, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such circuit structure, article, or apparatus. Without further limitation, the presence of an element identified by the phrase "comprising an … …" does not exclude the presence of other like elements in a circuit structure, article or device comprising the element.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims. The above-described embodiments of the present application do not limit the scope of the present application.

Claims (9)

1. A display device, comprising:
a display configured to display image content;
a first controller configured to receive a key event and deliver the key event;
the second controller is configured to receive the key events transmitted by the first controller, and detect whether a lift-up event corresponding to a press-down event in the received key events is received within a preset time; if a lifting event corresponding to a pressing event in the received key events is received within a preset time, normally processing the corresponding pressing event and lifting event; and if a lifting event corresponding to the press event in the received key events is not received within the preset time, simulating the lifting event corresponding to the press event.
2. The display device of claim 1, wherein the first controller is further configured to determine whether the key event is to be transferred to the second controller, and if the key event is to be transferred to the second controller, determine whether the key event is a press event; if the key event is a pressing event, recording the pressed key value and transmitting the pressing event to the second controller; if the key event is a lifting event, searching whether the key value of the lifting event is recorded; and if the key value is recorded, canceling the recording and transmitting the lifting event to the second controller.
3. The display device according to claim 2, wherein the first controller is further configured to determine whether the key event is a press event if the key event does not need to be transferred to the second controller; if the key event is a press event, recording the pressed key value, and processing the press event by the first controller; if the key event is a lifting event, searching whether the key value of the lifting event is recorded; and if the key value is recorded, canceling the recording, and processing the lifting event by the first controller.
4. The display device according to claim 1, wherein the second controller is further configured to determine whether the received key event is a press event, record a key value of the press event if the received key event is the press event, and start a timer; judging whether a lifting event is received within preset time; if a lifting event is received within a preset time, searching whether a key value of the lifting event is recorded; if the key value is recorded, normally processing a corresponding pressing event and a corresponding lifting event; and if the key value is not recorded, discarding the lift-off event.
5. The display device according to claim 4, wherein the second controller is further configured to, if a pressing event is received within a preset time, find whether a key value of the pressing event is recorded; if the key value of the pressing event is recorded, resetting a timer; and if the key value of the pressing event is not recorded, simulating a lifting event corresponding to the recorded key value.
6. The display device of claim 4, wherein the second controller is further configured to, if the received key event is a lift event, find whether a timer exists; if the timer exists, the timer is cancelled, and the corresponding press-down event and the corresponding lift-up event are processed normally; if the timer is not present, the lift event is discarded.
7. The display device according to claim 4, wherein the second controller is further configured to splice corresponding lift-off events according to a press-down event stored by a timer if no lift-off event is received within a preset time.
8. The display device according to claim 4, wherein the second controller is further configured to simulate a lift-off event corresponding to the press-down event if a lift-off event corresponding to the press-down event is not received within a preset time.
9. A fault tolerant method of key press transmission, applied to a display device according to any one of claims 1 to 8, the method comprising:
the method comprises the steps that a first controller receives a key event and transmits the key event;
the second controller receives the key events transmitted by the first controller, and detects whether a lifting event corresponding to a pressing event in the received key events is received within preset time;
if a lifting event corresponding to a pressing event in the received key events is received within a preset time, the second controller normally processes the corresponding pressing event and lifting event;
and if a lifting event corresponding to a pressing event in the received key events is not received within a preset time, simulating the lifting event corresponding to the pressing event by the second controller.
CN202010238612.XA 2019-06-10 2020-03-30 Display device and fault-tolerant method for key transmission Pending CN112073778A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019104974246 2019-06-10
CN201910497424 2019-06-10

Publications (1)

Publication Number Publication Date
CN112073778A true CN112073778A (en) 2020-12-11

Family

ID=73658526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010238612.XA Pending CN112073778A (en) 2019-06-10 2020-03-30 Display device and fault-tolerant method for key transmission

Country Status (1)

Country Link
CN (1) CN112073778A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698594A (en) * 2020-12-14 2021-04-23 北京小米移动软件有限公司 Equipment control method and device
CN112882850A (en) * 2021-03-09 2021-06-01 北京字节跳动网络技术有限公司 Key event processing method, device, equipment and storage medium
CN114116095A (en) * 2021-11-10 2022-03-01 百度在线网络技术(北京)有限公司 Input method, device, electronic equipment, medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662505A (en) * 2012-03-07 2012-09-12 深圳市同洲电子股份有限公司 Simulation touch input apparatus, and apparatus and method for configurating simulation touch input
CN105451077A (en) * 2015-12-02 2016-03-30 Tcl集团股份有限公司 Key processing method and system based on module TV
WO2016107263A1 (en) * 2014-12-30 2016-07-07 深圳Tcl数字技术有限公司 Method and apparatus for controlling response to input event
CN106775393A (en) * 2016-12-05 2017-05-31 广东欧珀移动通信有限公司 The touch operation control method and device of terminal
CN107294522A (en) * 2017-07-05 2017-10-24 广东欧珀移动通信有限公司 Response method, device, storage medium and electronic equipment based on touch key-press

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662505A (en) * 2012-03-07 2012-09-12 深圳市同洲电子股份有限公司 Simulation touch input apparatus, and apparatus and method for configurating simulation touch input
WO2016107263A1 (en) * 2014-12-30 2016-07-07 深圳Tcl数字技术有限公司 Method and apparatus for controlling response to input event
CN105451077A (en) * 2015-12-02 2016-03-30 Tcl集团股份有限公司 Key processing method and system based on module TV
CN106775393A (en) * 2016-12-05 2017-05-31 广东欧珀移动通信有限公司 The touch operation control method and device of terminal
CN107294522A (en) * 2017-07-05 2017-10-24 广东欧珀移动通信有限公司 Response method, device, storage medium and electronic equipment based on touch key-press

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698594A (en) * 2020-12-14 2021-04-23 北京小米移动软件有限公司 Equipment control method and device
CN112882850A (en) * 2021-03-09 2021-06-01 北京字节跳动网络技术有限公司 Key event processing method, device, equipment and storage medium
CN112882850B (en) * 2021-03-09 2023-08-25 抖音视界有限公司 Key event processing method, device, equipment and storage medium
CN114116095A (en) * 2021-11-10 2022-03-01 百度在线网络技术(北京)有限公司 Input method, device, electronic equipment, medium and product
CN114116095B (en) * 2021-11-10 2023-07-21 百度在线网络技术(北京)有限公司 Input method, input device, electronic equipment, medium and product

Similar Documents

Publication Publication Date Title
CN113330736A (en) Display and image processing method
CN112073797B (en) Volume adjusting method and display device
CN112073778A (en) Display device and fault-tolerant method for key transmission
CN112399243A (en) Playing method and display device
CN112073790A (en) Display device and method for synchronizing starting state between two systems
CN112528051A (en) Singing work publishing method, display device and server
CN112073789A (en) Sound processing method and display device
CN110784766A (en) Method for upgrading display equipment by one key and display equipment
CN112068855A (en) Method and system for upgrading application under dual systems
CN112423042A (en) Upgrading method and system for dual-system Bluetooth remote controller
CN112073812B (en) Application management method on smart television and display device
CN112073813B (en) Display device and method for detecting and processing abnormal starting between two systems
CN112073666B (en) Power supply control method of display equipment and display equipment
CN112463267B (en) Method for presenting screen saver information on display device screen and display device
CN112802440B (en) Display device and sound low-delay processing method
CN112399071B (en) Control method and device for camera motor and display equipment
CN112399245A (en) Playing method and display device
CN112073769A (en) Display device and method for applying common display
CN112346754A (en) Control method and device for dual-system application upgrading interface display
CN112073779B (en) Display device and fault-tolerant method for key transmission
CN112073808A (en) Color space switching method and display device
CN112073776A (en) Voice control method and display device
CN112073773A (en) Screen interaction method and device and display equipment
CN112073816A (en) Dual-system USB upgrading method and device and display equipment
CN112071338A (en) Recording control method and device and display equipment

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: 20201211

RJ01 Rejection of invention patent application after publication