WO2022001039A1 - Method for updating key value in remote controller, remote controller, and computer-readable storage medium - Google Patents

Method for updating key value in remote controller, remote controller, and computer-readable storage medium Download PDF

Info

Publication number
WO2022001039A1
WO2022001039A1 PCT/CN2020/139882 CN2020139882W WO2022001039A1 WO 2022001039 A1 WO2022001039 A1 WO 2022001039A1 CN 2020139882 W CN2020139882 W CN 2020139882W WO 2022001039 A1 WO2022001039 A1 WO 2022001039A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
remote controller
key value
touch
updating
Prior art date
Application number
PCT/CN2020/139882
Other languages
French (fr)
Chinese (zh)
Inventor
张岩岩
Original Assignee
惠州视维新技术有限公司
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 惠州视维新技术有限公司 filed Critical 惠州视维新技术有限公司
Publication of WO2022001039A1 publication Critical patent/WO2022001039A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Definitions

  • the present application relates to the technical field of remote controllers, and in particular, to a method for updating key values in a remote controller, a remote controller, and a computer-readable storage medium.
  • the main purpose of the embodiments of the present application is to provide a method for updating a key value in a remote control, which aims to solve the technical problem of a long development cycle that requires the development of a remote control for each TV in the prior art.
  • the embodiment of the present application provides a method for updating key values in a remote control, including the following content:
  • the remote controller After the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
  • the key-value list stored in the remote control is updated to the received key-value list.
  • the remote control includes a touch screen
  • the method further includes:
  • a touch key identifier corresponding to each of the touch keys is displayed on the touch screen.
  • the step of displaying the touch key identification corresponding to each of the touch keys on the touch screen includes:
  • the touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
  • the step of acquiring the touch key identifiers corresponding to each touch key on the touch screen in the received key value list the step further includes:
  • the step of displaying the touch key identifiers corresponding to the touch keys one by one on the touch screen according to a preset sequence is performed.
  • the method further includes:
  • the step of acquiring the touch key identifier corresponding to each touch key of the touch screen in the received key value list is performed.
  • the method further includes:
  • the method for updating key values in the remote control further includes:
  • the working parameters of the indicator lights on the remote control are adjusted.
  • an embodiment of the present application also provides a remote control
  • the remote control includes a processor, a memory, and a key value in the remote control that is stored in the memory and can run on the processor.
  • An update program when the update program of the key value in the remote control is executed by the processor, implements the steps of the above method for updating the key value in the remote control.
  • Embodiments of the present application further provide a computer-readable storage medium, where an update program of a key value in a remote control is stored on the computer-readable storage medium, and the update program of a key value in the remote control is implemented as above when executed by a processor The steps of the method for updating key values in the remote controller.
  • a method for updating a key value in a remote controller broadcasts a pairing request to a terminal device by detecting a matching instruction triggered by a matching key, and after receiving a key value list sent by the terminal device, the stored key The value list is updated to the received key value list.
  • the remote control sends a pairing request to the terminal device to match with the terminal device, and then configures the key value list adapted to the terminal device to realize the remote control function of the terminal device. In this way, Multiple different types of terminal equipment can use the same remote control, which has the beneficial effect of reducing the development cycle of the remote control and reducing the cost.
  • FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in a solution according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for updating key values in a remote controller of the present application
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for updating key values in a remote controller of the present application
  • Fig. 4 is the refinement flow chart of step S400 in Fig. 3;
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for updating key values in a remote controller of the present application
  • FIG. 6 is a schematic flowchart of a fourth embodiment of a method for updating key values in a remote controller of the present application.
  • the main solution of the embodiment of the present application is: after the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein when receiving the pairing request, the terminal device sends a key value list to the remote controller; The key-value list stored in the remote control is updated to the received key-value list.
  • the embodiment of the present application provides a solution, by detecting a matching instruction triggered by a matching button, broadcasting a pairing request to a terminal device, and after receiving a key value list sent by the terminal device, updating the stored key value list to the received key value list.
  • the key value list the remote control sends a pairing request to the terminal device to match with the terminal device, and then configures the key value list adapted to the terminal device to realize the remote control function of the terminal device.
  • many different types of terminal devices The same remote control can be used, reducing the development cycle of the remote control and the beneficial effect of reducing the cost.
  • FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of an embodiment of the present application.
  • the execution body of this embodiment of the present application may be a remote controller.
  • the remote control may include: a processor 1001, such as an integrated circuit chip, a CPU, a communication bus 1002, a memory 1003, an infrared transmitter (not shown in the figure), an infrared receiver (not shown in the figure) ), mechanical keys (not shown in the figure).
  • the communication bus 1002 is used to realize the connection and communication between these components.
  • the memory 1003 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory). memory), such as disk storage.
  • the memory 1003 may also be a storage device independent of the aforementioned processor 1001 in one embodiment.
  • Infrared transmitters can be used to transmit infrared signals to end devices such as televisions or air conditioners.
  • the infrared receiver can be used to receive the infrared signal of the terminal equipment.
  • Mechanical buttons can be used to select the corresponding button function.
  • the remote control may further include a touch screen, such as an LCD touch screen or an OLED touch screen, wherein the touch screen may be provided with touch buttons.
  • a touch screen such as an LCD touch screen or an OLED touch screen, wherein the touch screen may be provided with touch buttons.
  • the remote control may further include indicator lights, such as LED lights.
  • the structure of the remote control shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or arrange different components.
  • the memory 1003 as a computer storage medium may include an operating system and an update program for key values in the remote control, and the processor 1001 may be used to call the update program for key values in the remote control stored in the memory 1003 , and perform the following steps:
  • the remote controller After the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
  • the key-value list stored in the remote control is updated to the received key-value list.
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • a touch key identifier corresponding to each of the touch keys is displayed on the touch screen.
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • the touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • the step of displaying the touch key identifiers corresponding to the touch keys one by one on the touch screen according to a preset sequence is performed.
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • the step of acquiring the touch key identifier corresponding to each touch key of the touch screen in the received key value list is performed.
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • the working parameters of the indicator lights on the remote control are adjusted.
  • processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
  • FIG. 2 is a schematic flowchart of the first embodiment of the method for updating key values in the remote controller of the present application.
  • the method for updating key values in the remote controller include the following steps:
  • Step S100 after the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
  • the terminal device and the remote control realize remote control by transmitting specific key values, and it is necessary for developers to import specific remote control protocols and key key values for the remote control when the remote control leaves the factory.
  • the key value lists corresponding to different infrared protocols are different, and the remote controller can only remotely control the terminal device if it has an infrared protocol compatible with the terminal device. Therefore, different brands or different types of terminal devices of the same brand need to be equipped with different types of remote controllers to meet the control requirements of different terminal devices with different performances, which greatly increases the operating cost of the enterprise and causes waste of resources. .
  • a method for updating key values in a remote control is provided.
  • a method for updating key values in a remote control is provided.
  • the remote control can include one or more mechanical buttons, and corresponding commands can be triggered through the mechanical buttons.
  • the remote control may include an integrated circuit chip (IC chip) and a memory, wherein the integrated circuit chip is used to receive the infrared signal sent by the terminal device, decode the infrared signal, and store the decoded encoded information in the memory; the memory may be Flash memory, used to store the encoded information of the terminal device.
  • the pairing key is a mechanical key, such as the Model key, which is only used to trigger the pairing command and is not associated with any terminal device key value.
  • the terminal device may be a terminal device, an air conditioner, or any electronic device that can be controlled by infrared rays.
  • the integrated circuit chip of the remote control detects the pairing instruction triggered by the pairing button, and broadcasts the pairing request to the terminal device by transmitting an infrared signal, wherein the pairing instruction may be an instruction that triggers the remote control to send the pairing request;
  • the pairing request may be a request in the infrared signal that requests the terminal device to send the key-value list.
  • the terminal device After receiving the pairing request sent by the remote control through the infrared receiver, the terminal device parses the request for sending the key value list in the pairing request, and transmits the predefined remote control information to the remote control, wherein the remote control information includes the key value list.
  • the key value list may include mechanical keys (or address information corresponding to the mechanical keys) and corresponding key values; the key value list may also include touch key identifiers of the touch screen and key values corresponding to the touch keys.
  • the remote control information is transmitted to the remote control in the form of data packets through infrared signals.
  • the remote control decodes the remote control information sent by the receiving terminal device, and obtains a Start signal, a Treaty signal, a Key_mode signal, a Key_message signal, a Key_code signal, an End signal, and an ACK signal.
  • the Start signal is the start signal for transmitting remote control information;
  • the Treaty signal is used to read the infrared remote control protocol used by the terminal device, and the key value of the mechanical button is associated with the mechanical button;
  • the Key_mode signal is used to distinguish whether a touch screen needs to be used. If the Key_mode is 0x00, the Key_message signal and the Key_code signal are parsed.
  • the touch screen is not used, such as Key_mode is 0x01, the Key_message signal and the Key_code signal will not be parsed; the Key_message signal corresponds to the touch keys of the touch screen; the Key_code signal corresponds to the touch keys of the touch screen.
  • the END signal is the end signal for transmitting remote control information; the ACK signal is used to confirm that the remote control has received the complete remote control information. The terminal device stops transmitting remote control information only when it receives the ACK signal.
  • Step S200 updating the key value list stored in the remote controller to the received key value list.
  • the remote control After the remote control receives the infrared signal sent by the terminal device through the infrared receiver, it decodes the infrared signal to obtain the key value list of the terminal device in the remote control information.
  • the terminal device may output pairing prompt information or display a preset background to remind the user that the terminal device is in the process of transmitting the key value list.
  • the remote control After acquiring the key value list of the terminal device, the remote control deletes the last stored key value list to update it to the received key value list.
  • the remote control after receiving the key value list, the remote control replaces the key value in the key with the corresponding key value in the received key value list.
  • the remote control after receiving the key value list, can replace the key values in the keys one by one with the corresponding key values in the received key value list one by one.
  • the key values corresponding to some keys in the remote control are null.
  • the remote control does not respond when the user presses any of these keys with a null value.
  • step S200 it further includes:
  • the remote controller When the user presses a button on the remote controller, the remote controller detects the electrical signal triggered by the button, and obtains the connected circuit or button address information corresponding to the key value through the pointer index linked list according to the connected circuit or button address information corresponding to the electrical signal. The corresponding key value in the list. After the remote control obtains the corresponding key value, it sends a remote control signal containing the corresponding key value to the terminal device, so that after the terminal device receives the remote control signal, it can analyze the remote control signal to obtain the key value and the function corresponding to the key value, and execute the function corresponding to the key value. function corresponding to the operation.
  • step S200 it further includes:
  • the remote control parses the END signal in the remote control information in the infrared signal sent by the terminal device, it indicates that the key value list sent by the terminal device is completed. Since the terminal device is in the controlled device, if it does not receive the reception completion signal, it will continue to send remote control information to the remote controller, which affects the normal use of the terminal device.
  • the remote controller parses out the END signal, it sends a reception completion signal to the terminal device to inform the terminal device to complete the reception of the remote control information, wherein the reception completion signal may be an ACK signal. After receiving the completion signal, the terminal device stops sending remote control information and goes into normal working mode.
  • the method for updating key values in the remote control further includes:
  • the working parameters of the indicator lights on the remote control are adjusted.
  • the remote control may be provided with indicator lights, such as LED lights.
  • the working state includes one of a sleep state, a pairing state, a signal transmission state, and a pairing completion state. Different working states of the remote control correspond to different working parameters of the indicator lights.
  • the working parameter corresponding to the indicator light can be off; when the remote control is in the pairing state, the working parameter corresponding to the indicator light can be flashing at a preset frequency, such as once per second, or it can be always The light is on; when the remote control is paired, the corresponding working parameter of the indicator light can be a preset number of flashes within a preset time, such as 2 flashes within 10 seconds, or it can be lit for a preset duration;
  • the working parameter corresponding to the indicator light can flash once.
  • the working parameters of the indicator light can be set by the designer.
  • the working state of the remote control adjust the working parameters of the indicator light to remind the user of the current working state of the remote control, so as to avoid mistakenly thinking that the remote control is faulty or the battery is exhausted when the user waits for too long.
  • the pairing request is broadcast to the terminal device, and after receiving the key value list sent by the terminal device, the stored key value list is updated to the received key value list,
  • the remote control sends a pairing request to the terminal device to match with the terminal device, and then configures the key value list adapted to the terminal device to realize the remote control function of the terminal device.
  • many different types of terminal devices can use the same remote control It has the beneficial effect of reducing the development cycle of the remote control and reducing the cost.
  • Figure 3 is a schematic flowchart of the second embodiment of the method for updating key values in the remote controller of the application, based on the above-mentioned first embodiment, after step S200, it also includes:
  • Step S300 acquiring touch key identifiers corresponding to each touch key of the touch screen in the received key value list
  • Step S400 displaying touch key identifiers corresponding to each of the touch keys on the touch screen.
  • the remote control may further include a touch screen, wherein the touch screen may be composed of a whole touch screen, or may be composed of a plurality of touch screen keys.
  • a touch screen is set on the remote control, in order to realize the special function of the terminal device, for example, the function corresponding to the media key is to open the U disk directory.
  • the mechanical buttons on the remote control are mainly used to realize the basic functions of the remote control, such as the power button, mute button, volume increase and decrease buttons, etc.
  • the key value list further includes touch key identifiers of the touch screen and key values of the corresponding touch keys.
  • the remote control After the remote control updates the key value list to the received key value list, it obtains the touch key identifiers corresponding to each touch key on the touch screen in the received key value list, and displays the touch key corresponding to each touch key on the touch screen. Identification, by detecting the voltage signal triggered by the touch key corresponding to the touch key identification, identifying the key value corresponding to the voltage signal, and then realizing the remote control function of the terminal device.
  • step S400 includes:
  • step S410 the touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
  • the touch key identifiers are displayed on the touch screen one by one according to a preset sequence. Because the remote control receives the fields in the remote control information sent by the terminal device one by one, and also parses the fields in the remote control information one by one, the touch key identifiers are displayed one by one.
  • the preset sequence may be the chronological sequence in which the identifiers of the touch keys are parsed by the remote control, the sequence in which the touch keys are arranged on the touch screen, or the alphabetical sequence, or the like.
  • the touch key ID corresponding to each touch key is displayed on the touch screen, so as to realize remote control by using the touch keys corresponding to the touch key IDs
  • the special functions of the terminal equipment due to the different functions corresponding to the preset touch key identifiers of different terminal equipment, the functions of the remote control can be expanded through the touch screen, and the control of special functions can be directly set on the touch screen of the remote control, which can reduce user operations. frequency, and has the beneficial effect of more convenient operation.
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for updating key values in a remote controller of the present application. Based on the second embodiment, after step S300, the method further includes:
  • Step S500 adjusting the display color of the touch screen or outputting identification update prompt information.
  • touch key identifiers are displayed one by one on the touch screen, each time a touch key identifier is updated, the display of the touch screen needs to be switched once, and there is a case of screen flickering.
  • the remote control can adjust the display color of the touch screen. For example, the display color of the touch screen can be adjusted to color stripes or blue.
  • the remote control can also directly output the logo update prompt information on the touch screen, wherein the logo update prompt information can be presented in the form of text, pictures or cartoons, such as Please wait for matching.
  • the user is reminded that the remote control is in the matching or updating state by outputting the identification update prompt information, so as to prevent the user from mistakenly thinking that the touch screen of the remote control is faulty, thereby reducing the use experience.
  • the display color of the touch screen is adjusted or the logo update prompt information is output.
  • the touch key logos are displayed one by one, the presence of a flickering screen on the touch screen can be disguised. And the beneficial effect of preventing users from mistakenly thinking that the touch screen is faulty.
  • FIG. 6 is a schematic flowchart of the fourth embodiment of the method for updating key values in the remote controller of the present application. Based on any of the above-mentioned first to third embodiments, after step S300, the method further includes:
  • Step S310 When an update instruction triggered by a preset key is detected, acquire the touch key identifier corresponding to each touch key of the touch screen in the received key value list.
  • the preset touch keys are mechanical keys, which are used to update the touch key identifiers on the touch screen, and turn on or turn off the touch screen, and are not associated with any key value of the terminal device.
  • the preset touch key may be a Touch key.
  • the remote control When the remote control detects an update command triggered by a preset touch key, it calls the key value information corresponding to the touch screen in the key value list, obtains the touch key ID and corresponding key value corresponding to each touch key in the touch screen, and stores the corresponding key value. Touch key logos are displayed on the touch screen.
  • the remote controller when it detects an update instruction triggered by a preset touch key, it calls the key value information corresponding to the touch screen in the key value list, and obtains the touch key identifier corresponding to each touch key in the touch screen and the corresponding key value information. , and display the touch key IDs on the touch screen one by one.
  • the remote controller when it detects an update instruction triggered by a preset touch key, it calls the key value information corresponding to the touch screen in the key value list, and obtains the touch key identifier corresponding to each touch key in the touch screen and the corresponding key value information.
  • the key value of the touch screen is adjusted, the display color of the touch screen is adjusted or the update instruction information is output, so as to cover up the splash screen that exists when the touch key logo is displayed one by one, or to remind the user that the update state is in progress.
  • a touch key identifier is displayed on the touch screen. Since the matching of the touch keys on the touch screen is relatively complicated, it takes a long time. After the update command triggered by the touch key, the touch keys on the touch screen and the corresponding key values are updated, and the keys corresponding to the touch screen are directly stored on the remote control, which can reduce the time required for matching the remote control and the terminal device. Effect.
  • an embodiment of the present application also provides a remote control
  • the remote control includes a processor, a memory, and an update program for key values in the remote control that is stored on the memory and can be run on the processor.
  • the program for updating the key value in the remote controller is executed by the processor, the content of the above-mentioned embodiments of the method for updating the key value in the remote controller is realized.
  • Embodiments of the present application further provide a computer-readable storage medium, where an update program of a key value in a remote control is stored on the computer-readable storage medium, and the update program of a key value in the remote control is implemented as above when executed by a processor Contents of the embodiments of the method for updating key values in the remote controller.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)

Abstract

A method for updating a key value in a remote controller, a remote controller, and a computer-readable storage medium. The method comprises: once the remote controller detects a pairing instruction triggered by means of a pairing key, broadcasting a pairing request, wherein a terminal device sends a list of key values to the remote controller when the terminal device receives the pairing request (S100); and updating the list of key values stored by the remote controller to the received list of key values (S200).

Description

遥控器中键值的更新方法、遥控器及计算机可读存储介质Method for updating key value in remote controller, remote controller and computer-readable storage medium
本申请要求:2020年6月30日申请的、申请号为202010617012.4、名称为“遥控器中键值的更新方法、遥控器及存储介质”的中国专利申请的优先权,在此将其引入作为参考。This application claims: the priority of the Chinese patent application filed on June 30, 2020, with the application number of 202010617012.4 and the title of "Key value update method in remote control, remote control and storage medium", which is hereby incorporated as refer to.
技术领域technical field
本申请涉及遥控器技术领域、尤其涉及一种遥控器中键值的更新方法、遥控器及计算机可读存储介质。The present application relates to the technical field of remote controllers, and in particular, to a method for updating key values in a remote controller, a remote controller, and a computer-readable storage medium.
背景技术Background technique
随着人们生活水平的提高,电视机已经成了家中必备的电器。开发人员给电视机与遥控器导入特定的遥控协议与对应的按键编码以实现遥控器对电视机的控制。现有技术中,由于电视机与遥控器之间的遥控协议是固定的,电视机与遥控器需要一一对应,导致每一种电视机需要开发一种遥控器,存在开发周期长的问题。With the improvement of people's living standards, television has become an essential appliance in the home. Developers import specific remote control protocols and corresponding key codes into the TV and the remote control to realize the control of the TV by the remote control. In the prior art, since the remote control protocol between the TV and the remote control is fixed, the TV and the remote control need to be in one-to-one correspondence, resulting in the need to develop a remote control for each type of TV, and there is a problem of a long development cycle.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist the understanding of the technical solutions of the present application, and does not mean that the above content is the prior art.
技术解决方案technical solutions
本申请实施例的主要目的在于提供一种遥控器中键值的更新方法,旨在解决现有技术中每一种电视机需要开发一种遥控器,存在开发周期长的技术问题。The main purpose of the embodiments of the present application is to provide a method for updating a key value in a remote control, which aims to solve the technical problem of a long development cycle that requires the development of a remote control for each TV in the prior art.
为解决上述问题,本申请实施例提供一种遥控器中键值的更新方法,包括以下内容:In order to solve the above problems, the embodiment of the present application provides a method for updating key values in a remote control, including the following content:
遥控器检测到通过配对按键触发的配对指令后,广播配对请求,其中,终端设备在接收到所述配对请求时,向所述遥控器发送键值列表;After the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
将所述遥控器存储的键值列表更新为接收到的键值列表。The key-value list stored in the remote control is updated to the received key-value list.
在一实施例中,所述遥控器包括触摸屏,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:In an embodiment, the remote control includes a touch screen, and after the step of updating the key value list stored in the remote control to the received key value list, the method further includes:
获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识;acquiring touch key identifiers corresponding to each touch key of the touch screen in the received key value list;
在所述触摸屏上显示各个所述触控按键对应的触控按键标识。A touch key identifier corresponding to each of the touch keys is displayed on the touch screen.
在一实施例中,所述在所述触摸屏上显示各个所述触控按键对应的触控按键标识的步骤包括:In one embodiment, the step of displaying the touch key identification corresponding to each of the touch keys on the touch screen includes:
按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识。The touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
在一实施例中,所述获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识的步骤之后,还包括:In an embodiment, after the step of acquiring the touch key identifiers corresponding to each touch key on the touch screen in the received key value list, the step further includes:
调整所述触摸屏的显示颜色或者输出标识更新提示信息;Adjust the display color of the touch screen or output the logo update prompt information;
执行所述按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识的步骤。The step of displaying the touch key identifiers corresponding to the touch keys one by one on the touch screen according to a preset sequence is performed.
在一实施例中,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:In one embodiment, after the step of updating the key-value list stored in the remote control to the received key-value list, the method further includes:
在检测到通过预设按键触发的更新指令时,执行所述获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识的步骤。When an update instruction triggered by a preset key is detected, the step of acquiring the touch key identifier corresponding to each touch key of the touch screen in the received key value list is performed.
在一实施例中,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:In one embodiment, after the step of updating the key-value list stored in the remote control to the received key-value list, the method further includes:
在检测到通过所述遥控器的按键触发的电信号时,根据所述电信号获取所述键值列表中对应的键值;When detecting an electrical signal triggered by a key of the remote controller, obtain a corresponding key value in the key value list according to the electrical signal;
向所述终端设备发送包含所述键值的遥控信号。Send a remote control signal including the key value to the terminal device.
在一实施例中,所述遥控器中键值的更新方法,还包括:In one embodiment, the method for updating key values in the remote control further includes:
根据所述遥控器的工作状态,调整所述遥控器上的指示灯的工作参数。According to the working state of the remote control, the working parameters of the indicator lights on the remote control are adjusted.
此外,为解决上述问题,本申请实施例还提供一种遥控器,所述遥控器包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的遥控器中键值的更新程序,所述遥控器中键值的更新程序被所述处理器执行时实现如上所述的遥控器中键值的更新方法的步骤。In addition, in order to solve the above problem, an embodiment of the present application also provides a remote control, the remote control includes a processor, a memory, and a key value in the remote control that is stored in the memory and can run on the processor. An update program, when the update program of the key value in the remote control is executed by the processor, implements the steps of the above method for updating the key value in the remote control.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有遥控器中键值的更新程序,所述遥控器中键值的更新程序被处理器执行时实现如上所述的遥控器中键值的更新方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where an update program of a key value in a remote control is stored on the computer-readable storage medium, and the update program of a key value in the remote control is implemented as above when executed by a processor The steps of the method for updating key values in the remote controller.
本申请实施例提出的一种遥控器中键值的更新方法,通过检测到匹配按键触发的匹配指令,广播配对请求给终端设备,在接收到终端设备发送的键值列表后,将存储的键值列表更新为接收到的键值列表,遥控器通过发送配对请求到终端设备,以与终端设备进行匹配,进而配置与终端设备适配的键值列表,实现对终端设备的遥控功能,如此,多种不同类型的终端设备可使用同一遥控器,减少遥控器的开发周期以及降低成本的有益效果。A method for updating a key value in a remote controller proposed by an embodiment of the present application broadcasts a pairing request to a terminal device by detecting a matching instruction triggered by a matching key, and after receiving a key value list sent by the terminal device, the stored key The value list is updated to the received key value list. The remote control sends a pairing request to the terminal device to match with the terminal device, and then configures the key value list adapted to the terminal device to realize the remote control function of the terminal device. In this way, Multiple different types of terminal equipment can use the same remote control, which has the beneficial effect of reducing the development cycle of the remote control and reducing the cost.
附图说明Description of drawings
图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图;FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in a solution according to an embodiment of the present application;
图2为本申请遥控器中键值的更新方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for updating key values in a remote controller of the present application;
图3为本申请遥控器中键值的更新方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a method for updating key values in a remote controller of the present application;
图4为图3中步骤S400的细化流程图;Fig. 4 is the refinement flow chart of step S400 in Fig. 3;
图5为本申请遥控器中键值的更新方法第三实施例的流程示意图;5 is a schematic flowchart of a third embodiment of a method for updating key values in a remote controller of the present application;
图6为本申请遥控器中键值的更新方法第四实施例的流程示意图。FIG. 6 is a schematic flowchart of a fourth embodiment of a method for updating key values in a remote controller of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施方式仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请实施例的主要解决方案是:遥控器检测到通过配对按键触发的配对指令后,广播配对请求,其中,终端设备在接收到所述配对请求时,向所述遥控器发送键值列表;将所述遥控器存储的键值列表更新为接收到的键值列表。The main solution of the embodiment of the present application is: after the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein when receiving the pairing request, the terminal device sends a key value list to the remote controller; The key-value list stored in the remote control is updated to the received key-value list.
由于相关技术中每一种终端设备需要开发一种遥控器,存在开发周期长的技术问题。Since each terminal device in the related art needs to develop a remote controller, there is a technical problem of a long development cycle.
本申请实施例提供一种解决方案,通过检测到匹配按键触发的匹配指令,广播配对请求给终端设备,在接收到终端设备发送的键值列表后,将存储的键值列表更新为接收到的键值列表,遥控器通过发送配对请求到终端设备,以与终端设备进行匹配,进而配置与终端设备适配的键值列表,实现对终端设备的遥控功能,如此,多种不同类型的终端设备可使用同一遥控器,减少遥控器的开发周期以及降低成本的有益效果。The embodiment of the present application provides a solution, by detecting a matching instruction triggered by a matching button, broadcasting a pairing request to a terminal device, and after receiving a key value list sent by the terminal device, updating the stored key value list to the received key value list The key value list, the remote control sends a pairing request to the terminal device to match with the terminal device, and then configures the key value list adapted to the terminal device to realize the remote control function of the terminal device. In this way, many different types of terminal devices The same remote control can be used, reducing the development cycle of the remote control and the beneficial effect of reducing the cost.
如图1所示,图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a terminal of a hardware operating environment involved in the solution of an embodiment of the present application.
本申请实施例的执行主体可以是遥控器。The execution body of this embodiment of the present application may be a remote controller.
如图1所示,该遥控器可以包括:处理器1001,例如集成电路芯片、CPU,通信总线1002,存储器1003,红外发射器(图中未示出),红外接收器(图中未示出),机械按键(图中未示出)。其中,通讯总线1002用于实现这些组件之间的连接通信。存储器1003可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),如磁盘存储器。存储器1003在一实施例中还可以是独立于前述处理器1001的存储装置。红外发射器可用于向终端设备如电视机或空调器发射红外信号。红外接收器可用于接收终端设备的红外信号。机械按键可用于选择对应的按键功能。As shown in FIG. 1, the remote control may include: a processor 1001, such as an integrated circuit chip, a CPU, a communication bus 1002, a memory 1003, an infrared transmitter (not shown in the figure), an infrared receiver (not shown in the figure) ), mechanical keys (not shown in the figure). Among them, the communication bus 1002 is used to realize the connection and communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory). memory), such as disk storage. The memory 1003 may also be a storage device independent of the aforementioned processor 1001 in one embodiment. Infrared transmitters can be used to transmit infrared signals to end devices such as televisions or air conditioners. The infrared receiver can be used to receive the infrared signal of the terminal equipment. Mechanical buttons can be used to select the corresponding button function.
在一实施例中,该遥控器还可以包括触摸屏,例如LCD触摸屏,OLED触摸屏,其中,触摸屏上可设有触控按键。In one embodiment, the remote control may further include a touch screen, such as an LCD touch screen or an OLED touch screen, wherein the touch screen may be provided with touch buttons.
在一实施例中,该遥控器还可以包括指示灯,如LED灯。In one embodiment, the remote control may further include indicator lights, such as LED lights.
本领域技术人员可以理解,图1示出的遥控器的结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the remote control shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or arrange different components.
如图1所示,作为一种计算机存储介质的存储器1003可以包括操作系统以及遥控器中键值的更新程序,而处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:As shown in FIG. 1 , the memory 1003 as a computer storage medium may include an operating system and an update program for key values in the remote control, and the processor 1001 may be used to call the update program for key values in the remote control stored in the memory 1003 , and perform the following steps:
遥控器检测到通过配对按键触发的配对指令后,广播配对请求,其中,终端设备在接收到所述配对请求时,向所述遥控器发送键值列表;After the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
将所述遥控器存储的键值列表更新为接收到的键值列表。The key-value list stored in the remote control is updated to the received key-value list.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识;acquiring touch key identifiers corresponding to each touch key of the touch screen in the received key value list;
在所述触摸屏上显示各个所述触控按键对应的触控按键标识。A touch key identifier corresponding to each of the touch keys is displayed on the touch screen.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识。The touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
调整所述触摸屏的显示颜色或者输出标识更新提示信息;Adjust the display color of the touch screen or output the logo update prompt information;
执行所述按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识的步骤。The step of displaying the touch key identifiers corresponding to the touch keys one by one on the touch screen according to a preset sequence is performed.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
在检测到通过预设按键触发的更新指令时,执行所述获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识的步骤。When an update instruction triggered by a preset key is detected, the step of acquiring the touch key identifier corresponding to each touch key of the touch screen in the received key value list is performed.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
在检测到通过所述遥控器的按键触发的电信号时,根据所述电信号获取所述键值列表中对应的键值;When detecting an electrical signal triggered by a key of the remote controller, obtain a corresponding key value in the key value list according to the electrical signal;
向所述终端设备发送包含所述键值的遥控信号。Send a remote control signal including the key value to the terminal device.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
根据所述遥控器的工作状态,调整所述遥控器上的指示灯的工作参数。According to the working state of the remote control, the working parameters of the indicator lights on the remote control are adjusted.
进一步地,处理器1001可以用于调用存储器1003中存储的遥控器中键值的更新程序,并执行以下步骤:Further, the processor 1001 can be used to call the update program of the key value in the remote controller stored in the memory 1003, and perform the following steps:
在接收完成所述终端设备发送的键值列表时,发送接收完成信号到所述终端设备。When the key value list sent by the terminal device is completed, a reception completion signal is sent to the terminal device.
基于上述遥控器的结构,提出本申请第一实施例,参照图2,图2为本申请遥控器中键值的更新方法第一实施例的流程示意图,所述遥控器中键值的更新方法包括以下步骤:Based on the structure of the above remote controller, the first embodiment of the present application is proposed. Referring to FIG. 2, FIG. 2 is a schematic flowchart of the first embodiment of the method for updating key values in the remote controller of the present application. The method for updating key values in the remote controller Include the following steps:
步骤S100,遥控器检测到通过配对按键触发的配对指令后,广播配对请求,其中,终端设备在接收到所述配对请求时,向所述遥控器发送键值列表;Step S100, after the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
相关技术,终端设备与遥控器通过传输特定的键值来实现遥控,需要开发人员在遥控器出厂为遥控器导入特定的遥控协议与按键键值。不同的红外协议对应的键值列表不同,遥控器只有与终端设备具有适配的红外协议才能实现对终端设备的遥控。因而,不同品牌或同一品牌不同类型的终端设备均需配置不同类型的遥控器,以满足不同终端设备性能各异的控制需求,如此,极大地增大了企业的运营成本,以及造成资源的浪费。In the related art, the terminal device and the remote control realize remote control by transmitting specific key values, and it is necessary for developers to import specific remote control protocols and key key values for the remote control when the remote control leaves the factory. The key value lists corresponding to different infrared protocols are different, and the remote controller can only remotely control the terminal device if it has an infrared protocol compatible with the terminal device. Therefore, different brands or different types of terminal devices of the same brand need to be equipped with different types of remote controllers to meet the control requirements of different terminal devices with different performances, which greatly increases the operating cost of the enterprise and causes waste of resources. .
为此,在本实施例中,提供了一种遥控器中键值的更新方法,在面向不同类型或不同品牌的终端设备时,通过更新遥控器中的键值,实现对多种不同类型、不同品牌的终端设备的遥控功能。To this end, in this embodiment, a method for updating key values in a remote control is provided. When facing terminal devices of different types or brands, by updating the key values in Remote control function of different brands of terminal equipment.
遥控器可包括一个或多个机械按键,通过机械按键可触发相应的指令。遥控器可包括集成电路芯片(IC芯片)以及存储器,其中,集成电路芯片用于接收终端设备发送的红外信号,并对红外信号进行解码,将解码得到的编码信息存储于存储器中;存储器可以是Flash存储器,用于存储终端设备的编码信息。The remote control can include one or more mechanical buttons, and corresponding commands can be triggered through the mechanical buttons. The remote control may include an integrated circuit chip (IC chip) and a memory, wherein the integrated circuit chip is used to receive the infrared signal sent by the terminal device, decode the infrared signal, and store the decoded encoded information in the memory; the memory may be Flash memory, used to store the encoded information of the terminal device.
配对按键是一种机械按键,如Model键,仅用于触发配对指令,不关联任何终端设备的键值。The pairing key is a mechanical key, such as the Model key, which is only used to trigger the pairing command and is not associated with any terminal device key value.
终端设备可以是终端设备,也可以是空调器,也可以是任意可通过红外线控制的电子设备。The terminal device may be a terminal device, an air conditioner, or any electronic device that can be controlled by infrared rays.
在用户按下配对按键后,遥控器的集成电路芯片检测到通过配对按键触发的配对指令,通过发射红外信号向终端设备广播配对请求,其中,配对指令可以是触发遥控器发送配对请求的指令;配对请求可以是红外信号中包含请求终端设备发送键值列表的请求。After the user presses the pairing button, the integrated circuit chip of the remote control detects the pairing instruction triggered by the pairing button, and broadcasts the pairing request to the terminal device by transmitting an infrared signal, wherein the pairing instruction may be an instruction that triggers the remote control to send the pairing request; The pairing request may be a request in the infrared signal that requests the terminal device to send the key-value list.
终端设备通过红外接收器接收到遥控器发送的配对请求后,解析配对请求中发送键值列表的请求,将预先定义好的遥控信息传输给遥控器,其中,遥控信息包括键值列表。其中,键值列表可包括机械按键(或机械按键对应的地址信息)以及对应的键值;键值列表还可以包括触摸屏的触控按键标识以及触控按键对应的键值。After receiving the pairing request sent by the remote control through the infrared receiver, the terminal device parses the request for sending the key value list in the pairing request, and transmits the predefined remote control information to the remote control, wherein the remote control information includes the key value list. The key value list may include mechanical keys (or address information corresponding to the mechanical keys) and corresponding key values; the key value list may also include touch key identifiers of the touch screen and key values corresponding to the touch keys.
需要说明的是,遥控信息以数据包的形式通过红外信号传输给遥控器。It should be noted that the remote control information is transmitted to the remote control in the form of data packets through infrared signals.
遥控器将接收终端设备发送的遥控信息进行解码,得到Start信号、Treaty信号、Key_mode信号、Key_message信号、Key_code信号、End信号以及ACK信号。Start信号是传输遥控信息的开始信号;Treaty信号用于读取终端设备使用的红外遥控协议,将机械按键的键值关联到机械按键上;Key_mode信号用于区别是否需要使用触摸屏,若使用触摸屏如Key_mode为0x00,则解析Key_message信号和Key_code信号,若不使用触摸屏如Key_mode为0x01,则不解析Key_message信号和Key_code信号;Key_message信号对应于触摸屏的触控按键;Key_code信号对应于触摸屏的触控按键对应的键值;END信号是传输遥控信息的结束信号;ACK信号用于确认遥控器已经接收完成遥控信息。终端设备只有在接收到ACK信号时,才停止传输遥控信息。The remote control decodes the remote control information sent by the receiving terminal device, and obtains a Start signal, a Treaty signal, a Key_mode signal, a Key_message signal, a Key_code signal, an End signal, and an ACK signal. The Start signal is the start signal for transmitting remote control information; the Treaty signal is used to read the infrared remote control protocol used by the terminal device, and the key value of the mechanical button is associated with the mechanical button; the Key_mode signal is used to distinguish whether a touch screen needs to be used. If the Key_mode is 0x00, the Key_message signal and the Key_code signal are parsed. If the touch screen is not used, such as Key_mode is 0x01, the Key_message signal and the Key_code signal will not be parsed; the Key_message signal corresponds to the touch keys of the touch screen; the Key_code signal corresponds to the touch keys of the touch screen. The END signal is the end signal for transmitting remote control information; the ACK signal is used to confirm that the remote control has received the complete remote control information. The terminal device stops transmitting remote control information only when it receives the ACK signal.
步骤S200,将所述遥控器存储的键值列表更新为接收到的键值列表。Step S200, updating the key value list stored in the remote controller to the received key value list.
遥控器通过红外接收器接收到终端设备发送的红外信号后,对红外信号进行解码,得到遥控信息中终端设备的键值列表。After the remote control receives the infrared signal sent by the terminal device through the infrared receiver, it decodes the infrared signal to obtain the key value list of the terminal device in the remote control information.
在一实施例中,在终端设备传输键值列表的过程中,终端设备可输出配对提示信息或显示预设背景,以提示用户,终端设备正处于传输键值列表。In one embodiment, during the process of transmitting the key value list by the terminal device, the terminal device may output pairing prompt information or display a preset background to remind the user that the terminal device is in the process of transmitting the key value list.
遥控器在获取到终端设备的键值列表后,删除上次存储的键值列表,以更新为接收到的键值列表。After acquiring the key value list of the terminal device, the remote control deletes the last stored key value list to update it to the received key value list.
在一实施例中,遥控器在接收到键值列表后,将按键中的键值替换成接收到的键值列表中对应的键值。In one embodiment, after receiving the key value list, the remote control replaces the key value in the key with the corresponding key value in the received key value list.
在一实施例中,遥控器在接收到键值列表后,可按顺序逐个将按键中的键值替换成接收到的键值列表中对应的键值。In one embodiment, after receiving the key value list, the remote control can replace the key values in the keys one by one with the corresponding key values in the received key value list one by one.
在一实施例中,若遥控器上的按键数量多于键值列表中的键值数量,那么,遥控器中部分按键对应的键值为null。在用户按下这些键值为null的按键时,遥控器不做响应。In one embodiment, if the number of keys on the remote control is more than the number of key values in the key value list, the key values corresponding to some keys in the remote control are null. The remote control does not respond when the user presses any of these keys with a null value.
作为一种可选的实施方式,步骤S200之后,还包括:As an optional implementation manner, after step S200, it further includes:
在检测到通过所述遥控器的按键触发的电信号时,根据所述电信号获取所述键值列表中对应的键值;When detecting an electrical signal triggered by a key of the remote controller, obtain a corresponding key value in the key value list according to the electrical signal;
向所述终端设备发送包含所述键值的遥控信号。Send a remote control signal including the key value to the terminal device.
在用户按下遥控器上的按键时,遥控器检测到通过该按键触发的电信号,根据电信号对应的连通电路或按键地址信息,通过指针索引链表获取连通电路或按键地址信息对应于键值列表中对应的键值。遥控器在获取到对应的键值后,向终端设备发送包含该键值对应的遥控信号,以供终端设备在接收到遥控信号后,解析遥控信号获取键值以及键值对应的功能,执行与功能对应的操作。When the user presses a button on the remote controller, the remote controller detects the electrical signal triggered by the button, and obtains the connected circuit or button address information corresponding to the key value through the pointer index linked list according to the connected circuit or button address information corresponding to the electrical signal. The corresponding key value in the list. After the remote control obtains the corresponding key value, it sends a remote control signal containing the corresponding key value to the terminal device, so that after the terminal device receives the remote control signal, it can analyze the remote control signal to obtain the key value and the function corresponding to the key value, and execute the function corresponding to the key value. function corresponding to the operation.
作为一种可选的实施方式,步骤S200之后,还包括:As an optional implementation manner, after step S200, it further includes:
在接收完成所述终端设备发送的键值列表时,发送接收完成信号到所述终端设备。When the key value list sent by the terminal device is completed, a reception completion signal is sent to the terminal device.
遥控器通过解析终端设备发送的红外信号中遥控信息中的END信号时,表明接收完成终端设备发送的键值列表。由于终端设备处于被控设备,如果没有接收到接收完成信号时,会持续发送遥控信息到遥控器,影响终端设备的正常使用。遥控器在解析出END信号时,发送接收完成信号到终端设备,以告知终端设备完成遥控信息的接收,其中,接收完成信号可以是ACK信号。终端设备在接收到完成信号后,停止发送遥控信息,并进行正常工作模式。When the remote control parses the END signal in the remote control information in the infrared signal sent by the terminal device, it indicates that the key value list sent by the terminal device is completed. Since the terminal device is in the controlled device, if it does not receive the reception completion signal, it will continue to send remote control information to the remote controller, which affects the normal use of the terminal device. When the remote controller parses out the END signal, it sends a reception completion signal to the terminal device to inform the terminal device to complete the reception of the remote control information, wherein the reception completion signal may be an ACK signal. After receiving the completion signal, the terminal device stops sending remote control information and goes into normal working mode.
作为一种可选的实施方式,遥控器中键值的更新方法还包括:As an optional implementation manner, the method for updating key values in the remote control further includes:
根据所述遥控器的工作状态,调整所述遥控器上的指示灯的工作参数。According to the working state of the remote control, the working parameters of the indicator lights on the remote control are adjusted.
遥控器可设置有指示灯,如LED灯。工作状态包括休眠状态、配对状态、发射信号状态以及配对完成状态中的一种。遥控器不同的工作状态对应指示灯不同的工作参数。在遥控器处于休眠状态时,指示灯对应的工作参数可以是熄灯;在遥控器处于配对状态时,指示灯对应的工作参数可以是按预设频率进行闪烁,如每秒一次,也可以是一直处于开灯状态;在遥控器处于配对完成时,指示灯对应的工作参数可以是在预设时间内闪烁预设次数,如10秒内闪烁2次,也可以是点亮预设时长;在遥控器处于发射信号状态时,指示灯对应的工作参数可以是闪烁一次。其中,指示灯的工作参数可由设计人员进行设置。The remote control may be provided with indicator lights, such as LED lights. The working state includes one of a sleep state, a pairing state, a signal transmission state, and a pairing completion state. Different working states of the remote control correspond to different working parameters of the indicator lights. When the remote control is in sleep state, the working parameter corresponding to the indicator light can be off; when the remote control is in the pairing state, the working parameter corresponding to the indicator light can be flashing at a preset frequency, such as once per second, or it can be always The light is on; when the remote control is paired, the corresponding working parameter of the indicator light can be a preset number of flashes within a preset time, such as 2 flashes within 10 seconds, or it can be lit for a preset duration; When the transmitter is in the state of transmitting signal, the working parameter corresponding to the indicator light can flash once. Among them, the working parameters of the indicator light can be set by the designer.
根据遥控器的工作状态,调整指示灯的工作参数,以提示用户遥控器当前所处的工作状态,避免在用户等待时间过长时,误以为遥控器故障或电池耗尽。According to the working state of the remote control, adjust the working parameters of the indicator light to remind the user of the current working state of the remote control, so as to avoid mistakenly thinking that the remote control is faulty or the battery is exhausted when the user waits for too long.
在本实施例中,通过检测到匹配按键触发的匹配指令,广播配对请求给终端设备,在接收到终端设备发送的键值列表后,将存储的键值列表更新为接收到的键值列表,遥控器通过发送配对请求到终端设备,以与终端设备进行匹配,进而配置与终端设备适配的键值列表,实现对终端设备的遥控功能,如此,多种不同类型的终端设备可使用同一遥控器,减少遥控器的开发周期以及降低成本的有益效果。In this embodiment, by detecting the matching instruction triggered by the matching button, the pairing request is broadcast to the terminal device, and after receiving the key value list sent by the terminal device, the stored key value list is updated to the received key value list, The remote control sends a pairing request to the terminal device to match with the terminal device, and then configures the key value list adapted to the terminal device to realize the remote control function of the terminal device. In this way, many different types of terminal devices can use the same remote control It has the beneficial effect of reducing the development cycle of the remote control and reducing the cost.
参照图3,图3为本申请遥控器中键值的更新方法第二实施例的流程示意图,基于上述第一实施例,步骤S200之后,还包括:Referring to Figure 3, Figure 3 is a schematic flowchart of the second embodiment of the method for updating key values in the remote controller of the application, based on the above-mentioned first embodiment, after step S200, it also includes:
步骤S300,获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识;Step S300, acquiring touch key identifiers corresponding to each touch key of the touch screen in the received key value list;
步骤S400,在所述触摸屏上显示各个所述触控按键对应的触控按键标识。Step S400 , displaying touch key identifiers corresponding to each of the touch keys on the touch screen.
在本实施例中,遥控器还可以包括触摸屏,其中,触摸屏可以由整块触摸屏构成,也可以由多个触摸屏按键组成。In this embodiment, the remote control may further include a touch screen, wherein the touch screen may be composed of a whole touch screen, or may be composed of a plurality of touch screen keys.
在遥控器上设置触摸屏,为了实现终端设备的特殊功能,例如,media键对应的功能为打开U盘目录。遥控器上的机械按键主要用于实现遥控器的基础功能,如电源键、静音键、音量增减键等。A touch screen is set on the remote control, in order to realize the special function of the terminal device, for example, the function corresponding to the media key is to open the U disk directory. The mechanical buttons on the remote control are mainly used to realize the basic functions of the remote control, such as the power button, mute button, volume increase and decrease buttons, etc.
键值列表还包括触摸屏的触控按键标识以及对应的触控按键的键值。The key value list further includes touch key identifiers of the touch screen and key values of the corresponding touch keys.
遥控器将键值列表更新为接收到的键值列表后,获取接收到的键值列表中触摸屏的各个触控按键对应的触控按键标识,在触摸屏上显示各个触控按键对应的触控按键标识,通过检测通过触控按键标识对应的触控按键触发的电压信号,识别该电压信号对应的键值,进而实现对终端设备的遥控功能。After the remote control updates the key value list to the received key value list, it obtains the touch key identifiers corresponding to each touch key on the touch screen in the received key value list, and displays the touch key corresponding to each touch key on the touch screen. Identification, by detecting the voltage signal triggered by the touch key corresponding to the touch key identification, identifying the key value corresponding to the voltage signal, and then realizing the remote control function of the terminal device.
作为一种可选的实施方式,参照图4,步骤S400包括:As an optional implementation manner, referring to FIG. 4 , step S400 includes:
步骤S410,按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识。In step S410, the touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
遥控器在对键值进行更新后,首次将触控按键标识显示于触摸屏时,按照预设顺序逐个将触控按键标识显示在触摸屏上。由于,遥控器是逐个接收终端设备发送遥控信息中的字段,也是逐个解析遥控信息中的字段,因而逐个显示触控按键标识。其中,预设顺序可以是遥控器解析出触控按键标识的时间先后顺序,也可以是触摸屏上触摸按键排列的顺序,也可以是字母排列顺序等。After the remote controller updates the key values, when the touch key identifiers are displayed on the touch screen for the first time, the touch key identifiers are displayed on the touch screen one by one according to a preset sequence. Because the remote control receives the fields in the remote control information sent by the terminal device one by one, and also parses the fields in the remote control information one by one, the touch key identifiers are displayed one by one. The preset sequence may be the chronological sequence in which the identifiers of the touch keys are parsed by the remote control, the sequence in which the touch keys are arranged on the touch screen, or the alphabetical sequence, or the like.
在本实施例中,通过获取触摸屏上触控按键对应的触控按键标识,在触摸屏上显示各个触控按键对应的触控按键标识,以通过触控按键标识对应的触控按键实现遥控器遥控终端设备的特殊功能,由于不同终端设备预设的触控按键标识对应的功能不同,通过触摸屏可拓宽遥控器的功能,将特殊功能的控制直接设置在遥控器的触摸屏上,可减少用户的操作频次,具有操作更加便捷的有益效果。In this embodiment, by acquiring the touch key IDs corresponding to the touch keys on the touch screen, the touch key ID corresponding to each touch key is displayed on the touch screen, so as to realize remote control by using the touch keys corresponding to the touch key IDs The special functions of the terminal equipment, due to the different functions corresponding to the preset touch key identifiers of different terminal equipment, the functions of the remote control can be expanded through the touch screen, and the control of special functions can be directly set on the touch screen of the remote control, which can reduce user operations. frequency, and has the beneficial effect of more convenient operation.
参照图5,图5为本申请遥控器中键值的更新方法第三实施例的流程示意图,基于上述第二实施例,步骤S300之后,还包括:Referring to FIG. 5, FIG. 5 is a schematic flowchart of a third embodiment of a method for updating key values in a remote controller of the present application. Based on the second embodiment, after step S300, the method further includes:
步骤S500,调整所述触摸屏的显示颜色或者输出标识更新提示信息。Step S500, adjusting the display color of the touch screen or outputting identification update prompt information.
由于在触摸屏上逐个显示触控按键标识,每更新一个触控按键标识,需要切换一次触摸屏的显示,存在闪屏的情况。遥控器可调整触摸屏的显示颜色,如将触摸屏的显示颜色调整成彩色条纹或蓝色,在逐个显示触控按键标识时,不被用户察觉,提高用户体验。Since touch key identifiers are displayed one by one on the touch screen, each time a touch key identifier is updated, the display of the touch screen needs to be switched once, and there is a case of screen flickering. The remote control can adjust the display color of the touch screen. For example, the display color of the touch screen can be adjusted to color stripes or blue. When the touch button logos are displayed one by one, they are not noticed by the user, which improves the user experience.
遥控器也可直接在触摸屏上输出标识更新提示信息,其中,标识更新提示信息可以文字、图片或卡通的形式呈现,如Please wait for matching。通过输出标识更新提示信息提示用户遥控器正处于匹配或更新状态,避免用户误以为遥控器的触摸屏存在故障,进而,降低使用体验。The remote control can also directly output the logo update prompt information on the touch screen, wherein the logo update prompt information can be presented in the form of text, pictures or cartoons, such as Please wait for matching. The user is reminded that the remote control is in the matching or updating state by outputting the identification update prompt information, so as to prevent the user from mistakenly thinking that the touch screen of the remote control is faulty, thereby reducing the use experience.
在本实施例中,在逐个将触控按键标识显示于触摸屏之前,调整触摸屏的显示颜色或输出标识更新提示信息,如此,在逐个显示触控按键标识时,可掩饰触摸屏存在闪屏的情况,以及避免用户误以为触摸屏存在故障的有益效果。In this embodiment, before displaying the touch key logos one by one on the touch screen, the display color of the touch screen is adjusted or the logo update prompt information is output. In this way, when the touch key logos are displayed one by one, the presence of a flickering screen on the touch screen can be disguised. And the beneficial effect of preventing users from mistakenly thinking that the touch screen is faulty.
参照图6,图6为本申请遥控器中键值的更新方法第四实施例的流程示意图,基于上述第一至三实施例中的任一实施例,步骤S300之后,还包括:Referring to FIG. 6, FIG. 6 is a schematic flowchart of the fourth embodiment of the method for updating key values in the remote controller of the present application. Based on any of the above-mentioned first to third embodiments, after step S300, the method further includes:
步骤S310,在检测到通过预设按键触发的更新指令时,获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识。Step S310: When an update instruction triggered by a preset key is detected, acquire the touch key identifier corresponding to each touch key of the touch screen in the received key value list.
在本实施例中,预设触控按键是机械按键,用于更新触摸屏上的触控按键标识,以及开启或关闭触摸屏,不关联任何终端设备的键值。预设触摸按键可以是Touch键。In this embodiment, the preset touch keys are mechanical keys, which are used to update the touch key identifiers on the touch screen, and turn on or turn off the touch screen, and are not associated with any key value of the terminal device. The preset touch key may be a Touch key.
遥控器在检测到通过预设触控按键触发的更新指令时,调用键值列表中触摸屏对应的键值信息,获取触摸屏中各个触控按键对应的触控按键标识以及对应的键值,并将触控按键标识显示在触摸屏上。When the remote control detects an update command triggered by a preset touch key, it calls the key value information corresponding to the touch screen in the key value list, obtains the touch key ID and corresponding key value corresponding to each touch key in the touch screen, and stores the corresponding key value. Touch key logos are displayed on the touch screen.
在一实施例中,遥控器在检测到通过预设触控按键触发的更新指令时,调用键值列表中触摸屏对应的键值信息,获取触摸屏中各个触控按键对应的触控按键标识以及对应的键值,并逐个将触控按键标识显示于触摸屏上。In one embodiment, when the remote controller detects an update instruction triggered by a preset touch key, it calls the key value information corresponding to the touch screen in the key value list, and obtains the touch key identifier corresponding to each touch key in the touch screen and the corresponding key value information. , and display the touch key IDs on the touch screen one by one.
在一实施例中,遥控器在检测到通过预设触控按键触发的更新指令时,调用键值列表中触摸屏对应的键值信息,获取触摸屏中各个触控按键对应的触控按键标识以及对应的键值,调整触摸屏的显示颜色或输出更新指示信息,以掩饰逐个显示触控按键标识时存在的闪屏或提示用户正处于更新状态。In one embodiment, when the remote controller detects an update instruction triggered by a preset touch key, it calls the key value information corresponding to the touch screen in the key value list, and obtains the touch key identifier corresponding to each touch key in the touch screen and the corresponding key value information. The key value of the touch screen is adjusted, the display color of the touch screen is adjusted or the update instruction information is output, so as to cover up the splash screen that exists when the touch key logo is displayed one by one, or to remind the user that the update state is in progress.
在本实施例中,在检测到通过预设触控按键触发的更新指令时,在触摸屏上显示触控按键标识,由于触摸屏上的触控按键匹配相对复杂,需要较长的时间,通过预设触控按键触发的更新指令后,再对触摸屏上的触控按键以及对应的键值进行更新,将触摸屏对应的按键直接存储在遥控器上,可减少遥控器与终端设备进行匹配的时间的有益效果。In this embodiment, when an update instruction triggered by a preset touch key is detected, a touch key identifier is displayed on the touch screen. Since the matching of the touch keys on the touch screen is relatively complicated, it takes a long time. After the update command triggered by the touch key, the touch keys on the touch screen and the corresponding key values are updated, and the keys corresponding to the touch screen are directly stored on the remote control, which can reduce the time required for matching the remote control and the terminal device. Effect.
此外,本申请实施例还提供一种遥控器,所述遥控器包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的遥控器中键值的更新程序,所述遥控器中键值的更新程序被所述处理器执行时实现如上所述的遥控器中键值的更新方法实施例的内容。In addition, an embodiment of the present application also provides a remote control, the remote control includes a processor, a memory, and an update program for key values in the remote control that is stored on the memory and can be run on the processor. When the program for updating the key value in the remote controller is executed by the processor, the content of the above-mentioned embodiments of the method for updating the key value in the remote controller is realized.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有遥控器中键值的更新程序,所述遥控器中键值的更新程序被处理器执行时实现如上所述的遥控器中键值的更新方法实施例的内容。Embodiments of the present application further provide a computer-readable storage medium, where an update program of a key value in a remote control is stored on the computer-readable storage medium, and the update program of a key value in the remote control is implemented as above when executed by a processor Contents of the embodiments of the method for updating key values in the remote controller.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个计算机可读存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台遥控器(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present application can be embodied in the form of software products, which are essentially or contribute to the prior art. The computer software products are stored in the above-mentioned computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions to make a remote controller (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.

Claims (17)

  1. 一种遥控器中键值的更新方法,其中,所述遥控器中键值的更新方法包括以下步骤:A method for updating key values in a remote controller, wherein the method for updating key values in the remote controller comprises the following steps:
    遥控器检测到通过配对按键触发的配对指令后,广播配对请求,其中,终端设备在接收到所述配对请求时,向所述遥控器发送键值列表;After the remote controller detects the pairing instruction triggered by the pairing button, it broadcasts a pairing request, wherein the terminal device sends a key value list to the remote controller when receiving the pairing request;
    将所述遥控器存储的键值列表更新为接收到的键值列表。The key-value list stored in the remote control is updated to the received key-value list.
  2. 如权利要求1所述的遥控器中键值的更新方法,其中,所述遥控器包括触摸屏,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:The method for updating key values in a remote controller according to claim 1, wherein the remote controller comprises a touch screen, and after the step of updating the key value list stored in the remote controller to the received key value list, further include:
    获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识;acquiring touch key identifiers corresponding to each touch key of the touch screen in the received key value list;
    在所述触摸屏上显示各个所述触控按键对应的触控按键标识。A touch key identifier corresponding to each of the touch keys is displayed on the touch screen.
  3. 如权利要求2所述的遥控器中键值的更新方法,其中,所述在所述触摸屏上显示各个所述触控按键对应的触控按键标识的步骤包括:The method for updating key values in a remote controller according to claim 2, wherein the step of displaying the touch key identifiers corresponding to each of the touch keys on the touch screen comprises:
    按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识。The touch key identifiers corresponding to the touch keys are displayed one by one on the touch screen according to a preset sequence.
  4. 如权利要求3所述的遥控器中键值的更新方法,其中,所述获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识的步骤之后,还包括:The method for updating key values in a remote controller according to claim 3, wherein after the step of acquiring the touch key identifiers corresponding to each touch key on the touch screen in the received key value list, the method further comprises: :
    调整所述触摸屏的显示颜色或者输出标识更新提示信息;Adjust the display color of the touch screen or output the logo update prompt information;
    执行所述按照预设顺序在所述触摸屏上逐个显示所述触控按键对应的触控按键标识的步骤。The step of displaying the touch key identifiers corresponding to the touch keys one by one on the touch screen according to a preset sequence is performed.
  5. 如权利要求4所述的遥控器中键值的更新方法,其中,所述预设顺序包括:遥控器解析出触控按键标识的时间先后顺序、触摸屏上触摸按键排列的顺序、以及字母排列顺序。The method for updating key values in a remote controller according to claim 4, wherein the preset sequence comprises: a chronological sequence in which the remote controller parses the touch key identifiers, an order in which the touch keys are arranged on the touch screen, and an alphabetical order in which they are arranged. .
  6. 如权利要求2至5任一项所述的遥控器中键值的更新方法,其中,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:The method for updating key values in a remote control according to any one of claims 2 to 5, wherein after the step of updating the key value list stored in the remote control to the received key value list, the method further comprises:
    在检测到通过预设按键触发的更新指令时,执行所述获取所述接收到的键值列表中所述触摸屏的各个触控按键对应的触控按键标识的步骤。When an update instruction triggered by a preset key is detected, the step of acquiring the touch key identifier corresponding to each touch key of the touch screen in the received key value list is performed.
  7. 如权利要求1所述的遥控器中键值的更新方法,其中,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:The method for updating key values in a remote controller according to claim 1, wherein after the step of updating the key value list stored in the remote controller to the received key value list, the method further comprises:
    在检测到通过所述遥控器的按键触发的电信号时,根据所述电信号获取所述键值列表中对应的键值;When detecting an electrical signal triggered by a key of the remote controller, obtain the corresponding key value in the key value list according to the electrical signal;
    向所述终端设备发送包含所述键值的遥控信号。Send a remote control signal including the key value to the terminal device.
  8. 如权利要求1所述的遥控器中键值的更新方法,其中,所述遥控器中键值的更新方法,还包括:The method for updating key values in a remote controller according to claim 1, wherein the method for updating key values in the remote controller further comprises:
    根据所述遥控器的工作状态,调整所述遥控器上的指示灯的工作参数。According to the working state of the remote control, the working parameters of the indicator lights on the remote control are adjusted.
  9. 如权利要求8所述的遥控器中键值的更新方法,其中,所述工作状态包括休眠状态、配对状态、发射信号状态以及配对完成状态中的一种,指示灯的工作参数为预先设置。The method for updating key values in a remote controller according to claim 8, wherein the working state includes one of a sleep state, a pairing state, a signal transmission state and a pairing completed state, and the working parameters of the indicator light are preset.
  10. 如权利要求1所述的遥控器中键值的更新方法,其中,所述将所述遥控器存储的键值列表更新为接收到的键值列表的步骤之后,还包括:The method for updating key values in a remote controller according to claim 1, wherein after the step of updating the key value list stored in the remote controller to the received key value list, the method further comprises:
    在接收完成所述终端设备发送的键值列表时,发送接收完成信号到所述终端设备。When the key value list sent by the terminal device is completed, a reception completion signal is sent to the terminal device.
  11. 如权利要求1所述的遥控器中键值的更新方法,其中,遥控器包括集成电路芯片以及存储器,其中,集成电路芯片用于接收终端设备发送的红外信号,并对红外信号进行解码,将解码得到的编码信息存储于存储器中;存储器用于存储终端设备的编码信息。The method for updating key values in a remote controller according to claim 1, wherein the remote controller comprises an integrated circuit chip and a memory, wherein the integrated circuit chip is used to receive an infrared signal sent by a terminal device, decode the infrared signal, and convert the The encoded information obtained by decoding is stored in the memory; the memory is used to store the encoded information of the terminal device.
  12. 如权利要求11所述的遥控器中键值的更新方法,其中,遥控器的集成电路芯片通过发射红外信号向终端设备广播配对请求,其中,配对指令为触发遥控器发送配对请求的指令;The method for updating key values in a remote controller according to claim 11, wherein the integrated circuit chip of the remote controller broadcasts a pairing request to the terminal device by transmitting an infrared signal, wherein the pairing instruction is an instruction that triggers the remote controller to send the pairing request;
    配对请求为红外信号中包含请求终端设备发送键值列表的请求,其中,所述键值列表包括:机械按键或机械按键对应的地址信息以及对应的键值、触摸屏的触控按键标识、以及触控按键对应的键值。The pairing request is a request that the infrared signal contains a request for the terminal device to send a key value list, wherein the key value list includes: the address information and the corresponding key value corresponding to the mechanical key or the mechanical key, the touch key identification of the touch screen, and the touch key. The key value corresponding to the control key.
  13. 如权利要求1所述的遥控器中键值的更新方法,其中,所述将所述遥控器存储的键值列表更新为接收到的键值列表,包括:The method for updating key values in a remote controller according to claim 1, wherein the updating the key value list stored in the remote controller to the received key value list comprises:
    遥控器在接收到键值列表后,将按键中的键值替换成接收到的键值列表中对应的键值,或按预设顺序逐个将按键中的键值替换成接收到的键值列表中对应的键值。After the remote control receives the key value list, it replaces the key value in the key with the corresponding key value in the received key value list, or replaces the key value in the key value with the received key value list one by one according to the preset order. The corresponding key value in .
  14. 如权利要求1所述的遥控器中键值的更新方法,其中,所述将所述遥控器存储的键值列表更新为接收到的键值列表,具体包括:The method for updating key values in a remote control according to claim 1, wherein the updating the key value list stored in the remote control to the received key value list specifically includes:
    若遥控器上的按键数量多于键值列表中的键值数量,If the number of keys on the remote control is more than the number of keys in the key list,
    遥控器中部分按键对应的键值设为null。The key values corresponding to some keys in the remote control are set to null.
  15. 如权利要求1所述的遥控器中键值的更新方法,其中,所述终端设备在接收到所述配对请求时,向所述遥控器发送键值列表之后,还包括:The method for updating key values in a remote controller according to claim 1, wherein after the terminal device sends the key value list to the remote controller when receiving the pairing request, the method further comprises:
    输出配对提示信息或显示预设背景,以提示用户终端设备正处于传输键值列表。Output pairing prompt information or display a preset background to remind the user that the terminal device is transmitting the key value list.
  16. 一种遥控器,其中,所述遥控器包括处理器、存储器以及存储在所述存储器上并可在所述处理器上运行的遥控器中键值的更新程序,所述遥控器中键值的更新程序被所述处理器执行时实现如权利要求1至15中任一项所述的遥控器中键值的更新方法的步骤。A remote control, wherein the remote control includes a processor, a memory, and an update program for key values in the remote control stored on the memory and operable on the processor, and an update program of the key values in the remote control When the update program is executed by the processor, the steps of the method for updating key values in a remote controller according to any one of claims 1 to 15 are implemented.
  17. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有遥控器中键值的更新程序,所述遥控器中键值的更新程序被处理器执行时实现如权利要求1至15中的任一项所述的遥控器中键值的更新方法的步骤。A computer-readable storage medium, wherein the computer-readable storage medium stores an update program of the key value in the remote controller, and the update program of the key value in the remote controller is executed by the processor. Steps of the method for updating key values in a remote controller described in any one of 15.
PCT/CN2020/139882 2020-06-30 2020-12-28 Method for updating key value in remote controller, remote controller, and computer-readable storage medium WO2022001039A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010617012.4A CN111813433B (en) 2020-06-30 2020-06-30 Method for updating key value in remote controller, remote controller and storage medium
CN202010617012.4 2020-06-30

Publications (1)

Publication Number Publication Date
WO2022001039A1 true WO2022001039A1 (en) 2022-01-06

Family

ID=72856441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139882 WO2022001039A1 (en) 2020-06-30 2020-12-28 Method for updating key value in remote controller, remote controller, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN111813433B (en)
WO (1) WO2022001039A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422836A (en) * 2022-01-20 2022-04-29 深圳Tcl新技术有限公司 Remote controller key updating method and device, remote controller and storage medium
CN114895954A (en) * 2022-05-26 2022-08-12 广州安广电子科技股份有限公司 Code modification method, system, equipment and storage medium of remote control system
CN115789880A (en) * 2022-11-18 2023-03-14 四川虹美智能科技有限公司 Remote controller key setting method, device and equipment based on big data

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111813433B (en) * 2020-06-30 2024-04-30 惠州视维新技术有限公司 Method for updating key value in remote controller, remote controller and storage medium
CN113709534A (en) * 2021-08-26 2021-11-26 深圳康佳电子科技有限公司 Key multiplexing method and device, intelligent terminal and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789685A (en) * 2012-07-10 2012-11-21 Tcl通力电子(惠州)有限公司 Universal remote controller, parameter configuration method thereof and controlled equipment
US20140197932A1 (en) * 2013-01-11 2014-07-17 Htc Corporation Handheld Electronic Device Having Universal Remote Control Mechanism and Operation Method of the Same
CN105100844A (en) * 2015-08-04 2015-11-25 恬家(上海)信息科技有限公司 Remote controller and realization method thereof
CN107257504A (en) * 2017-07-06 2017-10-17 深圳Tcl数字技术有限公司 Key assignments update method, remote control and the readable storage medium storing program for executing of button in remote control
CN109639814A (en) * 2018-12-25 2019-04-16 科大讯飞股份有限公司 Remote controler key assignments delivery method, device, equipment, remote controler and storage medium
CN110853331A (en) * 2018-08-21 2020-02-28 视联动力信息技术股份有限公司 Remote control method and device for terminal
CN111813433A (en) * 2020-06-30 2020-10-23 惠州视维新技术有限公司 Method for updating key values in remote controller, remote controller and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100546674B1 (en) * 2003-11-05 2006-01-26 엘지전자 주식회사 Apparatus and Method for Realizing Multi Brand Remote Controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789685A (en) * 2012-07-10 2012-11-21 Tcl通力电子(惠州)有限公司 Universal remote controller, parameter configuration method thereof and controlled equipment
US20140197932A1 (en) * 2013-01-11 2014-07-17 Htc Corporation Handheld Electronic Device Having Universal Remote Control Mechanism and Operation Method of the Same
CN105100844A (en) * 2015-08-04 2015-11-25 恬家(上海)信息科技有限公司 Remote controller and realization method thereof
CN107257504A (en) * 2017-07-06 2017-10-17 深圳Tcl数字技术有限公司 Key assignments update method, remote control and the readable storage medium storing program for executing of button in remote control
CN110853331A (en) * 2018-08-21 2020-02-28 视联动力信息技术股份有限公司 Remote control method and device for terminal
CN109639814A (en) * 2018-12-25 2019-04-16 科大讯飞股份有限公司 Remote controler key assignments delivery method, device, equipment, remote controler and storage medium
CN111813433A (en) * 2020-06-30 2020-10-23 惠州视维新技术有限公司 Method for updating key values in remote controller, remote controller and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422836A (en) * 2022-01-20 2022-04-29 深圳Tcl新技术有限公司 Remote controller key updating method and device, remote controller and storage medium
CN114895954A (en) * 2022-05-26 2022-08-12 广州安广电子科技股份有限公司 Code modification method, system, equipment and storage medium of remote control system
CN114895954B (en) * 2022-05-26 2024-02-13 广州安广电子科技股份有限公司 Code modification method, system, equipment and storage medium of remote control system
CN115789880A (en) * 2022-11-18 2023-03-14 四川虹美智能科技有限公司 Remote controller key setting method, device and equipment based on big data
CN115789880B (en) * 2022-11-18 2024-04-26 四川虹美智能科技有限公司 Remote controller key setting method, device and equipment based on big data

Also Published As

Publication number Publication date
CN111813433A (en) 2020-10-23
CN111813433B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
WO2022001039A1 (en) Method for updating key value in remote controller, remote controller, and computer-readable storage medium
US11803298B2 (en) System and method for appliance control via a personal communication or entertainment device
EP1442440B1 (en) Two-way remote control system and method
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
KR100546674B1 (en) Apparatus and Method for Realizing Multi Brand Remote Controller
US9633558B2 (en) Processing method and apparatus for implementing control of target device
JP6543719B2 (en) Apparatus control method and apparatus, program, and recording medium
US20140255025A1 (en) Intelligent Infrared Remote Pairing
WO2016026284A1 (en) Remote control method for multi-terminal device, and related apparatus and system
CN101222598A (en) Display device and method of controlling external devices
CN106603944B (en) Smart television control method and system
CN110012527B (en) Awakening method and electronic equipment
AU2013388030A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN111932850A (en) AI voice remote controller and control method thereof
CN100479001C (en) TV remote controller key voice prompt method
CN114095295A (en) Intelligent doorbell information inheritance method, intelligent doorbell and computer readable storage medium
US11398963B2 (en) Display device and operating method thereof
KR100533001B1 (en) Wireless television control protocol and architecture
CN111199637A (en) Infrared code updating method, terminal device and computer readable storage medium
CN113129578A (en) Matching method, control method, system and storage medium of infrared equipment
JP2010062717A (en) Remote controller apparatus, electric device, control system and control method
KR102386234B1 (en) User terminal and control method of the same
JP2005033685A (en) System and method for remote control
TW200522555A (en) Universal-remote control device with the function of customized prompting
CN103561302A (en) Display terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20942704

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20942704

Country of ref document: EP

Kind code of ref document: A1