CN108259958B - Remote control key response method, device, equipment and storage medium - Google Patents

Remote control key response method, device, equipment and storage medium Download PDF

Info

Publication number
CN108259958B
CN108259958B CN201810122909.2A CN201810122909A CN108259958B CN 108259958 B CN108259958 B CN 108259958B CN 201810122909 A CN201810122909 A CN 201810122909A CN 108259958 B CN108259958 B CN 108259958B
Authority
CN
China
Prior art keywords
remote control
control key
pulse
menu
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810122909.2A
Other languages
Chinese (zh)
Other versions
CN108259958A (en
Inventor
刘兆祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201810122909.2A priority Critical patent/CN108259958B/en
Publication of CN108259958A publication Critical patent/CN108259958A/en
Application granted granted Critical
Publication of CN108259958B publication Critical patent/CN108259958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42212Specific keyboard arrangements
    • H04N21/42218Specific keyboard arrangements for mapping a matrix of displayed objects on the screen to the numerical key-matrix of the remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42212Specific keyboard arrangements
    • H04N21/42213Specific keyboard arrangements for facilitating data entry
    • H04N21/42215Specific keyboard arrangements for facilitating data entry by measuring the time interval during which a key is pressed, e.g. for inputting sequences of digits when selecting a television channel
    • 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
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Abstract

The embodiment of the invention discloses a remote control key response method, a device, equipment and a storage medium. The method comprises the following steps: receiving a remote control key instruction; analyzing a key code pulse carried by a remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging the current logic bit to be logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging the current logic bit to be logic 1; wherein, the set time is less than the pulse reading time of logic 1 defined by the standard protocol; and obtaining a corresponding key code value according to the key code pulse, and responding to the remote control key instruction based on the key code value. When the electronic equipment analyzes the key code pulse carried by the remote control key instruction, the logic 1 pulse time defined by the standard protocol is shortened, and the logic 1 is rapidly read and judged, so that the response speed and the operation fluency of the electronic equipment to the remote control key instruction are greatly improved, more response time can be saved and the user experience is improved when a user continuously presses keys.

Description

Remote control key response method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronics, in particular to a remote control key response method, a remote control key response device, remote control key response equipment and a storage medium.
Background
Intelligent electronic devices such as televisions and set-top boxes are generally equipped with a remote controller, and users operate such electronic devices through the remote controller.
When the remote controller communicates with the electronic equipment based on the existing standard communication protocol, the electronic equipment has slow response to the remote control command sent by the remote controller. Especially, when a user performs a fast key operation, that is, a time interval of the key operation is not longer than a response time of the electronic device, the electronic device may have a situation of unsmooth operation and unsmooth response, which seriously affects user experience.
Disclosure of Invention
In order to solve the related technical problems, embodiments of the present invention provide a method, an apparatus, a device and a storage medium for responding to a remote control key, so as to improve a response speed and an operation smoothness when an electronic device responds to the remote control key.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a remote control key response method, including:
receiving a remote control key instruction;
analyzing the key code pulse carried by the remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the set time is less than the pulse reading time of logic 1 defined by the standard protocol;
obtaining a corresponding key code value according to the key code pulse;
and responding to the remote control key instruction according to the key code value.
In a second aspect, an embodiment of the present invention provides a remote control key response apparatus, including:
the instruction receiving module is used for receiving a remote control key instruction;
the key code pulse analysis module is used for analyzing the key code pulse carried by the remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the set time is less than the pulse reading time of logic 1 defined by the standard protocol;
the key code value obtaining module is used for obtaining a corresponding key code value according to the key code pulse;
and the instruction response module is used for responding the remote control key instruction according to the key code value.
In a third aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the remote control key response method provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, where the computer program is executed by a processor to implement the remote control key response method provided in any embodiment of the present invention.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a remote control key response method, a remote control key response device, remote control key equipment and a storage medium. When the electronic equipment analyzes the key code pulse carried by the remote control key instruction, the logic 1 pulse time defined by the standard protocol is shortened, and the logic 1 is rapidly read and judged, so that the response speed and the operation fluency of the electronic equipment to the remote control key instruction are greatly improved, more response time can be saved and the user experience is improved when a user continuously presses keys.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a remote control key response method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an alternative implementation of responding to a menu presentation instruction according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a remote control key response apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the method for responding to a remote control key provided in this embodiment is applicable to a scenario where an electronic device responds to a remote control key command sent by a remote controller, and the method can be executed by a remote control key responding apparatus configured in the electronic device, and the apparatus can be implemented in a software and/or hardware manner.
As shown in fig. 1, the method for responding to a remote control key provided in this embodiment may include the following steps:
and S110, receiving a remote control key instruction.
S120, analyzing a key code pulse carried by a remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the setting time is less than the pulse reading time of logic 1 defined by the standard protocol.
Optionally, the setting time in this embodiment is preferably 900 μ s.
In the prior art, the electronic device decodes according to the length of the pulse based on a standard protocol (such as NEC protocol, Sharp protocol, etc.) by interrupting reading of the key pulse transmitted from the remote controller, and reports the decoded data to the upper application. For example, a standard protocol in the prior art provides that a pulse read time is between 800 μ s and 900 μ s, corresponding to a logic 0, and a pulse read time is between 1500 μ s and 1700 μ s, corresponding to a logic 1; in order to ensure the accuracy of the analysis result, during actual analysis, the specified pulse reading time reaches 850 mus, the logic 0 is judged, and the pulse reading time reaches 1600 mus; this determination method, a judgment in the code, is to regard the pulse read time as a logical 0 if it is within a certain range, and a logical 1 if it is within another range.
This embodiment is an improvement of the standard protocol, and specifies that the pulse read time does not exceed 900 μ s, and the determination is logical 0, and the pulse read time exceeds 900 μ s, and the determination is logical 1.
In a specific embodiment, when the electronic device receives a remote control key instruction sent by a remote controller and analyzes a key code pulse carried by the remote control key instruction, for a single pulse, if the pulse reading time reaches 850 μ s and does not exceed 900 μ s, the current logic bit is determined to be logic 0; if the pulse reading time exceeds 900 μ s, the current logic bit is determined to be logic 1, and the current logic bit is determined to be logic 1 without reading the complete pulse length, so that the analysis time of the logic bit 1 is shortened by (1600 μ s-900 μ s) to 700 μ s compared with the prior art.
And S130, acquiring a corresponding key code value according to the key code pulse.
And S140, responding to a remote control key instruction according to the key code value.
In one embodiment, the electronic device parses out the key code pulse, determines the key code value corresponding to the key code pulse by querying the corresponding relationship table between the key code pulse and the key code value, and executes corresponding operation according to the key code value to respond to the remote control key instruction.
In this embodiment, the pulse parsing method improved based on the standard protocol greatly shortens the parsing time of the logic bit 1, for example, if the electronic device receives one remote control key command each time, the corresponding key code value has 32 bits, if 16 bits of the key code value are logic bit 1, the parsing time can be saved by (700 μ s × 16) ═ 11200 μ s, and if the electronic device receives consecutive remote control key commands, more parsing time can be saved.
In summary, in the technical solution of this embodiment, when the electronic device analyzes the key code pulse carried by the remote control key instruction, the logic 1 pulse time defined by the standard protocol is shortened to implement the fast reading determination of the logic 1, so that the response speed and the operation fluency of the electronic device to the remote control key instruction are greatly improved, and especially when the user continuously presses the key, more response time can be saved, and the user experience is improved.
Preferably, between S110 and S120, further comprising: and analyzing a head code in the remote control key command, and executing the analysis operation of the key code pulse when the head code is analyzed correctly (namely S120).
For example, when the electronic device receives a remote control key instruction, the electronic device analyzes the header code, and if the reading time of the first pulse is within a set interval, the electronic device confirms that the first pulse is the header code pulse, and then starts to receive and analyze the key code pulse. By analyzing and confirming the head code, the electronic equipment can be ensured to accurately identify the remote control key command sent by the remote controller.
Referring to fig. 2, on the basis of the technical solution of embodiment 1, optionally, the key instruction is a menu display instruction;
correspondingly, the responding remote control key instruction comprises the following steps:
inquiring data of characters and pictures required by the display menu from the memory;
reducing the resolution ratio of the picture according to a first set proportion, and reducing the display proportion of the picture according to a second set proportion to obtain the preprocessing data of the picture;
pushing the character data and the picture preprocessing data to a video memory to generate menu display data, and storing the menu display data to a database;
and reading the menu display data from the database, and displaying the menu.
Further optionally, the menu comprises multi-page menu content;
correspondingly, the reading of the menu display data from the database for menu display includes:
reading menu display data corresponding to the first page of menu content from a database, and displaying the first page of menu content;
and reading the second page and menu display data corresponding to the menu content behind the second page from the database.
Therefore, by reducing the resolution and the display scale of the menu pictures, the effect of quickly displaying the menu is realized for the multi-page menu through the parallel operation of menu display and data loading.
When the remote control key instruction is a menu display instruction, the remote control key response method provided by this embodiment may include the following contents:
and receiving a menu display instruction.
Analyzing the key code pulse carried by the menu display instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the set time is not greater than a logic 1 pulse read time defined by a standard protocol.
And obtaining a corresponding key code value according to the key code pulse.
And responding to a menu display instruction according to the key code value.
Preferably, as shown in fig. 2, responding to the menu presentation instruction may include:
and S241, inquiring the data of the characters and the data of the pictures required by the menu from the memory.
And S242, reducing the resolution of the picture according to the first set proportion, reducing the display proportion of the picture according to the second set proportion, and obtaining the preprocessing data of the picture.
Preferably, the first set ratio is 50% and the second set ratio is 25%.
And S243, pushing the character data and the picture preprocessing data to a video memory, generating menu display data, and storing the menu display data to a database.
And S244, reading the menu display data from the database and displaying the menu.
In the prior art, electronic equipment generally loads all data related to menu display to a memory when the electronic equipment is started, once the electronic equipment needs to display a menu, the electronic equipment directly searches for the data related to the menu display in the memory, and places the found data in a video memory part, so that pictures and characters related to the menu can be seen.
The embodiment accelerates the display speed of the menu by reducing the resolution and the display scale of the pictures required by the display of the menu.
In one embodiment, the electronic device searches character data and picture data required for displaying the menu from the memory, reduces the resolution of the picture to 50% of the original resolution, reduces the display scale of the picture to 25% of the original display scale, generates and stores menu display data, and doubles the bandwidth of the memory to accelerate the speed of reading data from the memory and realize the effect of rapidly displaying the menu. Through tests, the menu can be displayed in 2-3 seconds in the prior art, and the menu can be displayed in less than 1 second by adopting the technical scheme of the embodiment.
Further preferably, the menu includes multi-page menu content; accordingly, the above S244 may include:
reading menu display data corresponding to a first page of menu content from the database, and displaying the first page of menu content;
and reading a second page and menu display data corresponding to the menu content behind the second page from the database.
In the prior art, when an electronic device needs to display a menu, reading data from a database is to read all data related to displaying the menu and assign values to all related data, thereby realizing menu display.
In the embodiment, for the menu containing the contents of the multi-page menu, when the electronic device displays the menu, the speed of displaying the menu is increased by adopting a mode of parallel operation of menu display and data loading.
In one embodiment, the electronic device has five pages in total, and when the electronic device reads the menu display data from the database, the electronic device reads the menu display data corresponding to the first page of menu content to display the first page of menu content, and then reads the second page of menu content, the third page of menu content, the fourth page of menu content and the fifth page of menu content. The electronic equipment reads part of the menu display data and displays the corresponding menu content, and then loads and reads the rest of the menu display data, so that the parallel operation of displaying the menu and loading the data is realized, the processing time from the data reading of the database to the displaying of the menu is shortened, and the speed of displaying the menu is increased.
Referring to fig. 3, the present embodiment provides a remote control key response apparatus, which belongs to the same inventive concept as the remote control key response method, and reference is made to the embodiment of the apparatus for details not described in detail.
As shown in fig. 3, the remote control key response apparatus 300 provided in this embodiment may include the following:
the instruction receiving module 310 is configured to receive a remote control key instruction.
A key code pulse analyzing module 320, configured to analyze a key code pulse carried by the remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the set time is less than the pulse read time of logic 1 defined by the standard protocol.
A key code value obtaining module 330, configured to obtain a corresponding key code value according to the key code pulse.
And the instruction response module 340 is configured to respond to the remote control key instruction according to the key code value.
In summary, in the technical solution of this embodiment, when the electronic device analyzes the key code pulse carried by the remote control key instruction, the logic 1 pulse time defined by the standard protocol is shortened to implement the fast reading determination of the logic 1, so that the response speed and the operation fluency of the electronic device to the remote control key instruction are greatly improved, and especially when the user continuously presses the key, more response time can be saved, and the user experience is improved.
On the basis of the technical scheme, the set time is 900 mus.
On the basis of the above technical solution, the apparatus 300 may further include:
and a header code analyzing module, configured to analyze a header code in the remote control key instruction, and when the header code is correctly analyzed, start the key code pulse analyzing module 320.
On the basis of the technical scheme, the remote control key instruction is a menu display instruction;
correspondingly, the instruction response module 340 is specifically configured to:
inquiring data of characters and pictures required by the display menu from the memory;
reducing the resolution ratio of the picture according to a first set proportion, reducing the display proportion of the picture according to a second set proportion, and obtaining the preprocessing data of the picture;
pushing the character data and the preprocessed data of the picture to a video memory to generate menu display data, and storing the menu display data to a database;
and reading the menu display data from the database to display the menu.
On the basis of the technical scheme, the menu comprises multi-page menu content;
correspondingly, the reading the menu display data from the database for menu display includes:
reading menu display data corresponding to a first page of menu content from the database, and displaying the first page of menu content;
and reading a second page and menu display data corresponding to the menu content behind the second page from the database.
On the basis of the technical scheme, the first set proportion is 50%, and the second set proportion is 25%.
Referring to fig. 4, the present embodiment provides an apparatus. Fig. 4 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 4, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, such as implementing the remote control key response method provided by the embodiment of the present invention, by executing programs stored in the system memory 28.
The embodiment of the invention also provides a computer readable medium, wherein a computer program is stored on the computer readable medium, and the computer readable medium is characterized in that the program is executed by a processor to realize the remote control key response method provided by any embodiment of the invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A remote control key response method, comprising:
receiving a remote control key instruction;
analyzing the key code pulse carried by the remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the set time is less than the pulse reading time of logic 1 defined by a standard protocol, and the set time is 900 mus;
obtaining a corresponding key code value according to the key code pulse;
and responding to the remote control key instruction according to the key code value.
2. The method of claim 1, wherein prior to said parsing a key code pulse carried by said remote control key command, further comprising:
and analyzing a head code in the remote control key instruction, and executing analysis operation of the key code pulse when the head code is analyzed correctly.
3. The method according to any one of claims 1-2, wherein the remote control key command is a menu presentation command;
correspondingly, the responding to the remote control key instruction comprises:
inquiring data of characters and pictures required by the display menu from the memory;
reducing the resolution ratio of the picture according to a first set proportion, reducing the display proportion of the picture according to a second set proportion, and obtaining the preprocessing data of the picture;
pushing the character data and the preprocessed data of the picture to a video memory to generate menu display data, and storing the menu display data to a database;
and reading the menu display data from the database to display the menu.
4. The method of claim 3, wherein the menu comprises multi-page menu content;
correspondingly, the reading the menu display data from the database for menu display includes:
reading menu display data corresponding to a first page of menu content from the database, and displaying the first page of menu content;
and reading a second page and menu display data corresponding to the menu content behind the second page from the database.
5. A method according to claim 3, characterized in that the first set proportion is 50% and the second set proportion is 25%.
6. A remote control key response device, comprising:
the instruction receiving module is used for receiving a remote control key instruction;
the key code pulse analysis module is used for analyzing the key code pulse carried by the remote control key instruction; if the pulse reading time of the current logic bit is not more than the set time, judging that the current logic bit is logic 0; if the pulse reading time of the current logic bit is greater than the set time, judging that the current logic bit is logic 1; wherein the set time is less than the pulse reading time of logic 1 defined by a standard protocol, and the set time is 900 mus;
the key code value obtaining module is used for obtaining a corresponding key code value according to the key code pulse;
and the instruction response module is used for responding the remote control key instruction according to the key code value.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the head code analysis module is used for analyzing the head code in the remote control key instruction, and when the head code is analyzed correctly, the key code pulse analysis module is started.
8. An apparatus, characterized in that the apparatus comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the remote control key response method of any of claims 1-5.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out a remote control key response method according to any one of claims 1 to 5.
CN201810122909.2A 2018-02-07 2018-02-07 Remote control key response method, device, equipment and storage medium Active CN108259958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810122909.2A CN108259958B (en) 2018-02-07 2018-02-07 Remote control key response method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810122909.2A CN108259958B (en) 2018-02-07 2018-02-07 Remote control key response method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108259958A CN108259958A (en) 2018-07-06
CN108259958B true CN108259958B (en) 2020-12-22

Family

ID=62744471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810122909.2A Active CN108259958B (en) 2018-02-07 2018-02-07 Remote control key response method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108259958B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109061452A (en) * 2018-07-09 2018-12-21 珠海格力智能装备有限公司 The detection method and device of key
CN111402570B (en) * 2020-02-11 2021-08-17 广州创知科技有限公司 Infrared remote control signal receiving method, receiving system, receiving device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1142145A (en) * 1995-05-23 1997-02-05 汤姆森多媒体公司 Method for receiving signal from multiple emitters and apparatus thereof
JP2010028291A (en) * 2008-07-16 2010-02-04 Toshiba Corp Television receiver and controlled apparatus
CN101699533A (en) * 2009-05-08 2010-04-28 和芯微电子(四川)有限公司 Coding and decoding method applicable to remote controller
CN201716854U (en) * 2010-07-19 2011-01-19 王志良 Learning transponder and remote controller and integrated control system provided with same
CN102945599A (en) * 2012-11-17 2013-02-27 福州大学 Self-adaptive multi-system infrared decoding method, module and control circuit applying module
CN103024498A (en) * 2012-12-14 2013-04-03 广东长虹电子有限公司 Television control method capable of simultaneously responding to two kinds of remote control coding schemes
CN103648009A (en) * 2013-12-17 2014-03-19 乐视致新电子科技(天津)有限公司 Android system based infrared remote control responding method and device and smart television
CN103714690A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for resolving physical codes from remote control coded pulses
CN103793161A (en) * 2013-10-24 2014-05-14 中国电子科技集团公司第四十一研究所 Method for increasing key response speed of digital oscillograph
CN104992538A (en) * 2015-05-13 2015-10-21 青岛海信宽带多媒体技术有限公司 Interaction method between terminal and remote controller, and terminal
CN106101790A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Signal processing method and device
CN106572375A (en) * 2015-10-08 2017-04-19 深圳市金锐显数码科技有限公司 TV remote control method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7671758B1 (en) * 2003-10-02 2010-03-02 Tivo Inc. Remote control programming system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1142145A (en) * 1995-05-23 1997-02-05 汤姆森多媒体公司 Method for receiving signal from multiple emitters and apparatus thereof
JP2010028291A (en) * 2008-07-16 2010-02-04 Toshiba Corp Television receiver and controlled apparatus
CN101699533A (en) * 2009-05-08 2010-04-28 和芯微电子(四川)有限公司 Coding and decoding method applicable to remote controller
CN201716854U (en) * 2010-07-19 2011-01-19 王志良 Learning transponder and remote controller and integrated control system provided with same
CN102945599A (en) * 2012-11-17 2013-02-27 福州大学 Self-adaptive multi-system infrared decoding method, module and control circuit applying module
CN103024498A (en) * 2012-12-14 2013-04-03 广东长虹电子有限公司 Television control method capable of simultaneously responding to two kinds of remote control coding schemes
CN103793161A (en) * 2013-10-24 2014-05-14 中国电子科技集团公司第四十一研究所 Method for increasing key response speed of digital oscillograph
CN103648009A (en) * 2013-12-17 2014-03-19 乐视致新电子科技(天津)有限公司 Android system based infrared remote control responding method and device and smart television
CN103714690A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for resolving physical codes from remote control coded pulses
CN104992538A (en) * 2015-05-13 2015-10-21 青岛海信宽带多媒体技术有限公司 Interaction method between terminal and remote controller, and terminal
CN106572375A (en) * 2015-10-08 2017-04-19 深圳市金锐显数码科技有限公司 TV remote control method and apparatus
CN106101790A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Signal processing method and device

Also Published As

Publication number Publication date
CN108259958A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108683937B (en) Voice interaction feedback method and system for smart television and computer readable medium
CN109618225B (en) Video frame extraction method, device, equipment and medium
US9317683B2 (en) Dynamic media content previews
CN109408752B (en) Online document display method and device and electronic equipment
US11954455B2 (en) Method for translating words in a picture, electronic device, and storage medium
CN113626743A (en) Method and device for determining target display page, electronic equipment and storage medium
CN109885781B (en) Mixed page unified browsing method, device, equipment and storage medium
CN108259958B (en) Remote control key response method, device, equipment and storage medium
CN111737620A (en) Page access method, device, equipment and medium
CN108008876B (en) Display method, device and equipment of floating window and storage medium
CN110865783A (en) Screen projection method, device, system and storage medium
CN111913922B (en) Binary structured log generation method, device, equipment and storage medium
CN109885270B (en) Display device control method, display device, and storage medium
CN109753644B (en) Rich text editing method and device, mobile terminal and storage medium
CN110807111A (en) Three-dimensional graph processing method and device, storage medium and electronic equipment
CN109831673B (en) Live broadcast room data processing method, device, equipment and storage medium
CN108132767B (en) Application window preview method and system
CN107992457B (en) Information conversion method, device, terminal equipment and storage medium
CN114528509A (en) Page display processing method and device, electronic equipment and storage medium
CN113885998A (en) Page rendering method and device, electronic equipment and storage medium
CN113312036B (en) Large screen display method, device and equipment of Web page and storage medium
CN113626120A (en) Method and device for determining display page, electronic equipment and storage medium
CN112364268A (en) Resource acquisition method and device, electronic equipment and storage medium
CN111835686A (en) Data compression method, data decompression method, data compression device, data decompression device, electronic equipment and storage medium
CN108471545B (en) Set top box broadcasting method and device, set top box, server and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant