CN105046941A - Method, equipment and system for downloading infrared code value by infrared remote controller - Google Patents

Method, equipment and system for downloading infrared code value by infrared remote controller Download PDF

Info

Publication number
CN105046941A
CN105046941A CN201510570244.8A CN201510570244A CN105046941A CN 105046941 A CN105046941 A CN 105046941A CN 201510570244 A CN201510570244 A CN 201510570244A CN 105046941 A CN105046941 A CN 105046941A
Authority
CN
China
Prior art keywords
code value
infrared
remote controller
televisor
infrared remote
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510570244.8A
Other languages
Chinese (zh)
Other versions
CN105046941B (en
Inventor
周国栋
郭富新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201510570244.8A priority Critical patent/CN105046941B/en
Publication of CN105046941A publication Critical patent/CN105046941A/en
Application granted granted Critical
Publication of CN105046941B publication Critical patent/CN105046941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method, equipment and system for downloading an infrared code value by an infrared remote controller. The method for downloading the infrared code value by the infrared remote controller comprises the steps that after receiving the infrared code value which is sent by a television through a universal serial bus interface, the infrared remote controller sends a first preset code value to the television; if the infrared remote controller receives a response code value sent by the television, whether the received infrared code value is correct or not is determined according to the fact that whether the response code value is in accordance with a second preset code value. According to the method, equipment and system for downloading the infrared code value by the infrared remote controller, the infrared remote controller can judge that whether the downloaded infrared code value is correct or not according to the facts that whether the response code value is received and whether the response code value is in accordance with the second preset code value, and therefore whether other equipment matched with the infrared code value can be remotely controlled or not can be determined.

Description

Infrared remote controller downloads method, the equipment and system of infrared code value
Technical field
The present invention relates to communication technical field, particularly relate to method, equipment and system that a kind of Infrared remote controller downloads infrared code value.
Background technology
Infra-red remote control is current most popular one communication and remote control means.Because Infrared remote controller has the features such as volume is little, low in energy consumption, function is strong, cost is low, thus, current most of electronic equipment such as intelligent television, Set Top Box, air-conditioning etc. all adopt Infrared remote controller to carry out remote control.
But, existing Infrared remote controller can only the equipment that matches of remote control, namely can only the equipment that matches of the infrared code value of remote control, Infrared remote controller as televisor can only the televisor that matches of the infrared code value of remote control, when the Infrared remote controller of televisor needs other equipment of remote control, need to use when by televisor the infrared code value of other equipment being sent to Infrared remote controller and storing and could realize other equipment of remote control.
Realizing in process of the present invention, inventor finds at least there is following problem in prior art: when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, if when televisor suspends because downloading appears in other uncontrollable reason, accident stops, as televisor crashes or power-off, now Infrared remote controller cannot judge whether this infrared code value download completes, thus may cause other equipment failures of follow-up remote control.
Summary of the invention
The invention provides method, equipment and system that a kind of Infrared remote controller downloads infrared code value, cannot judge whether the download of infrared code value completes to overcome Infrared remote controller in prior art, thus the problem of other equipment failures of follow-up remote control may be caused.
First aspect, the invention provides a kind of method that Infrared remote controller downloads infrared code value, comprising:
After Infrared remote controller is received by the infrared code value that general-purpose serial bus USB interface sends televisor, then send first to described televisor and preset code value;
If described Infrared remote controller receives the response code value that described televisor sends, then preset code value according to described response code value whether with the second consistent, determine that whether the described infrared code value received is correct.
Second aspect, the invention provides a kind of method that Infrared remote controller downloads infrared code value, comprising:
Televisor receives the first default code value that Infrared remote controller sends;
Described televisor sends described first to described Infrared remote controller and presets response code value corresponding to code value, consistent to make described Infrared remote controller preset code value according to the described response code value whether with the second received, and determines that whether the infrared code value received is correct.
The third aspect, the invention provides a kind of Infrared remote controller, comprising:
Sending module, after being received by the infrared code value that general-purpose serial bus USB interface sends televisor, is then sent first to described televisor and presets code value;
Determination module, if for receiving the response code value that described televisor sends, then presets code value according to described response code value whether with the second consistent, determines that whether the described infrared code value received is correct.
Fourth aspect, the invention provides a kind of televisor, comprising:
Receiver module, send for receiving Infrared remote controller first presets code value;
Sending module, presets response code value corresponding to code value for sending described first to described Infrared remote controller, consistent to make described Infrared remote controller preset code value according to the described response code value whether with the second received, and determines that whether the infrared code value received is correct.
5th aspect, the invention provides a kind of system downloading infrared code value, comprising:
Infrared remote controller as described in the third aspect and the televisor as described in fourth aspect.
Infrared remote controller of the present invention downloads method, the equipment and system of infrared code value, and Infrared remote controller by after being received by the infrared code value that USB interface sends televisor, is then sent first to televisor and presets code value, if Infrared remote controller receives the response code value that televisor sends, then preset code value according to response code value whether with the first consistent, determine that whether the infrared code value received is correct, if it is inconsistent that response code value and second presets code value, determine that the infrared code value received is incorrect, if it is consistent that response code value and second presets code value, determine that the infrared code value received is correct, the infrared code value received is stored, thus can the equipment that mates with this infrared code of download of remote control, compared with the method downloading infrared code value with existing Infrared remote controller, when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, suspend even if downloading appears in televisor, during the faults such as unexpected termination, now Infrared remote controller also can according to whether receiving response code value, and whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, thus determine whether can other equipment of mating with this infrared code value of remote control.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet that Infrared remote controller of the present invention downloads method one embodiment of infrared code value;
Fig. 2 is the schematic flow sheet that Infrared remote controller of the present invention downloads another embodiment of method of infrared code value;
Fig. 3 A is the structural representation of Infrared remote controller one embodiment of the present invention;
Fig. 3 B is the structural representation of another embodiment of Infrared remote controller of the present invention
Fig. 4 is the structural representation of the another embodiment of Infrared remote controller of the present invention;
Fig. 5 is the structural representation of televisor one embodiment of the present invention;
Fig. 6 is the structural representation of another embodiment of televisor of the present invention;
Fig. 7 is the structural representation that the present invention downloads system one embodiment of infrared code value.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method that the Infrared remote controller of the embodiment of the present invention downloads infrared code value can be applied in the Infrared remote controller of any movement or portable electric appts, includes but not limited to the Infrared remote controller of the equipment such as televisor, Set Top Box, instrument and meter, air-conditioning, refrigerator, washing machine.
The method that the embodiment of the present invention relates to, is intended to solve Infrared remote controller in prior art and cannot judges whether the download of infrared code value completes, thus may cause the technical matters of other equipment failures of follow-up remote control.
With embodiment particularly, technical scheme of the present invention is described in detail below.These specific embodiments can be combined with each other below, may repeat no more for same or analogous concept or process in some embodiment.
Fig. 1 is the schematic flow sheet that Infrared remote controller of the present invention downloads method one embodiment of infrared code value.The executive agent of the present embodiment is Infrared remote controller.As shown in Figure 1, the method for the present embodiment, comprising:
After step 101, Infrared remote controller are received by the infrared code value that general-purpose serial bus USB interface sends televisor, then send first to televisor and preset code value;
If step 102 Infrared remote controller receives the response code value that televisor sends, then preset code value according to response code value whether with the second consistent, determine that whether the infrared code value received is correct.
Specifically, existing Infrared remote controller can only the equipment that matches of remote control, namely can only the equipment that matches of the infrared code value of remote control, Infrared remote controller as televisor can only the televisor that matches of the infrared code value of remote control, when the Infrared remote controller of this televisor needs other equipment of remote control, need to use when by televisor the infrared code value of other equipment being sent to Infrared remote controller and storing and could realize other equipment of remote control.
In the embodiment of the present invention, other equipment can be any one in above-mentioned electronic equipment, are only illustrated with air-conditioning below.
Suppose that the Infrared remote controller of this televisor needs remote control air conditioner, then need to download infrared code value corresponding to this air-conditioning by televisor, can be specifically by USB (universal serial bus) (UniversalSerialBus by infrared code value corresponding for this air-conditioning of being stored on this televisor, being called for short USB) interface downloads in Infrared remote controller, or by this televisor, infrared code value corresponding for this air-conditioning on network is downloaded in Infrared remote controller by USB interface, the infrared code value that this air-conditioning such as stored by Cloud Server by this televisor is corresponding downloads in Infrared remote controller.
Download in the scheme of infrared code value above by USB interface, because USB interface does not have corresponding feedback mechanism.Therefore, if in downloading process, televisor suspends because downloading appears in other uncontrollable reason, unexpected when stopping, now whether Infrared remote controller cannot judge that this infrared code value is downloaded and complete, thus may cause other equipment failures of follow-up remote control.
Therefore, after this Infrared remote controller is received by the infrared code value that USB interface sends televisor in embodiments of the present invention, then send first to this televisor and preset code value; After this televisor presets code value receive the transmission of this Infrared remote controller first, to the response code value that this Infrared remote controller sends and the first default code value is corresponding; This Infrared remote controller is after the response code value received, according to response code value whether with this Infrared remote controller in prestore second to preset code value consistent, determine that whether the infrared code value received is correct, if it is inconsistent that response code value and second presets code value, determine that the infrared code value received is incorrect, if response code value and second preset code value consistent, determine that the infrared code value received is correct, the infrared code value received is stored, thus can remote control air conditioner.Above-mentioned response code value and second presets code value to be needed to prestore in televisor and Infrared remote controller in advance respectively, for responding when downloading infrared code value.
The above-mentioned infrared code value received correctly refers to be downloaded complete by the infrared code value needed for remote control air conditioner, and the infrared code value received is incorrect, refers to the infrared code value of download incomplete or wrong etc.
Above-mentioned second presets code value can be identical with the first default code value, also can be not identical with the first default code value.Such as, the first default code value is the 1100100110101010, second default code value also can be 1100100110101010, or the second default code value is 0011011001010101.
In the method for the present embodiment, if Infrared remote controller does not receive the response code value corresponding with the first default code value that this televisor sends, then this Infrared remote controller determines that the infrared code value received is incorrect.In actual applications, not receiving response code value can be judged by a preset duration, if exceed a certain preset duration do not receive response code value, then determines not receive response code value.
Said process, compared with the method downloading infrared code value with existing Infrared remote controller, when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, even if televisor suspends because downloading appears in other uncontrollable reason, when surprisingly stopping, as televisor crashes or power-off, now Infrared remote controller also can according to whether receiving response code value, and whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, thus determine whether can other equipment of mating with this infrared code value of remote control.
In actual applications, if Infrared remote controller determines that the described infrared code value received is incorrect, then the described infrared code value received is deleted.
Specifically, if it is inconsistent that the response code value and second receiving televisor transmission presets code value, or do not receive the response code value of televisor transmission, then Infrared remote controller can determine that the described infrared code value received is incorrect, then illustrate that transmission data procedures is abnormal, Infrared remote controller has obtained and the infrared code value possible errors stored or incomplete, and Infrared remote controller deletes this infrared code value downloaded.
In actual applications, if Infrared remote controller determines that the infrared code value received is correct, then send the 3rd to televisor and preset code value, correct for notifying the infrared code value that televisor receives.
Specifically, if Infrared remote controller receives response code value, and response code value and second to preset code value consistent, then determine that the infrared code value that receives is correct, Infrared remote controller, to the default code value of televisor transmission the 3rd, illustrates that the infrared code value that this transmits has been downloaded; Televisor also learns that telepilot stores the complete and information that infrared code value is correct, and televisor can this have been downloaded by user interface prompt.
Wherein, in actual applications, sending the first concrete mode presetting code value to televisor can have multiple, and optionally, as the enforceable mode of one, Infrared remote controller sends first by USB interface or infrared transmitter to target device and presets code value.
Specifically, the method of the infrared code value of above-mentioned download can realize the transmission of data by USB interface, accordingly, also can be undertaken feeding back and receive response by USB interface, namely send first by USB interface to televisor and preset code value, and receive the response code value of televisor transmission by USB interface; Or, send first by the infrared transmitter of Infrared remote controller to televisor and preset code value, and receive the response code value of televisor transmission by the infrared remote receiver of Infrared remote controller.
Send the 3rd default code value to televisor and also specifically can adopt aforesaid way.
In other embodiments of the invention, if telepilot comprises bluetooth module or Wireless Fidelity (WIreless-Fidelity, be called for short WIFI) module, then also can be undertaken feeding back and receive response by bluetooth module or WIFI module, namely send first by bluetooth module or WIFI module to televisor and preset code value, and receive the response code value of televisor transmission.But the telepilot cost generally including bluetooth module or WIFI module is higher.
The Infrared remote controller that the present embodiment provides downloads the method for infrared code value, after being received, then sends first to televisor and presets code value by Infrared remote controller to televisor by the infrared code value that USB interface sends, if Infrared remote controller receives the response code value that televisor sends, then preset code value according to response code value whether with the second consistent, determine that whether the infrared code value received is correct, if it is inconsistent that response code value and second presets code value, determine that the infrared code value received is incorrect, if it is consistent that response code value and second presets code value, determine that the infrared code value received is correct, the infrared code value received is stored, thus can the equipment that mates with this infrared code of download of remote control, compared with the method downloading infrared code value with existing Infrared remote controller, when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, suspend even if downloading appears in televisor, during the faults such as unexpected termination, now Infrared remote controller also can according to whether receiving response code value, and whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, thus determine whether can other equipment of mating with this infrared code value of remote control.
In another embodiment of the inventive method, on the basis of the embodiment shown in Fig. 1, further, because Infrared remote controller is after the infrared code value sent televisor receives, just send first to televisor and preset code value, to receive the feedback of infrared code value to televisor, determine that whether the infrared code value received is correct according to the response result of follow-up televisor.Therefore, need before code value is preset in transmission first, determine whether the infrared code value to televisor sends receives.
Concrete, before step 101, namely before send the first default code value to televisor, can proceed as follows:
Infrared remote controller determines whether the infrared code value to televisor sends receives.
In actual applications, as the enforceable mode of one, Infrared remote controller determines whether the infrared code value to televisor sends receives, and following concrete mode can be adopted to realize:
If do not receive the infrared code value that televisor sends in the first preset duration, then determine that the infrared code value to televisor sends receives.
Specifically, if do not receive the infrared code value that televisor sends in the first preset duration, then determine that the infrared code value to televisor sends receives, namely in the first preset duration, there is no downlink data transmission, then think that infrared code value receives, such as the first preset duration is 20ms.
In above-mentioned embodiment, by determining whether the infrared code value to televisor sends receives, thus Infrared remote controller can learn that when can send first presets code value, feeds back with the televisor realized sending infrared code value.
In another embodiment of the inventive method, on the basis of above-mentioned embodiment, further, in actual applications, determine that the whether correct concrete mode of the infrared code value that receives can have multiple, optionally, as the enforceable mode of one, can specifically carry out in the following ways:
Mode one,
Send first to televisor and preset code value, comprising:
Infrared remote controller sends one first and presets code value at each setting interval;
The method of the present embodiment, also comprises:
If Infrared remote controller does not receive the response code value that televisor sends in the second preset duration, determine that the infrared code value received is incorrect.
Specifically, televisor is after receiving the first default code value, need in a preset duration internal feedback that this first presets fixing response code value corresponding to code value to Infrared remote controller (this preset duration is as 20ms), Infrared remote controller does not receive the response code value of televisor feedback in the second preset duration (as 20ms), then be defaulted as the response code value not receiving described televisor feedback, determine that the described infrared code value received is incorrect.Infrared remote controller needs again to send first and presets code value to televisor, namely Infrared remote controller sends one first and presets code value at each setting interval, televisor is replied again by above-mentioned steps, when repeating N Infrared remote controller and still cannot obtaining response, mean that transmission data procedures is abnormal, Infrared remote controller has obtained and the data possible errors stored or incomplete, and Infrared remote controller deletes this infrared code value downloaded; N is a preset value.
Simultaneously, due in feedback procedure, Infrared remote controller sends first for N time and presets code value, if what televisor received that Infrared remote controller sends first presets the number of times of code value when being more than or equal to a preset value N, televisor also can be judged this time to transmit data exception, stop this data transfer, failed download prompting can be ejected by user interface.But when the fault such as power down or deadlock appears in televisor, TV pusher side cannot receive first and preset code value, then also can think that the infrared code value that Infrared remote controller receives is incorrect.
Mode two,
Send first to televisor and preset code value, comprising:
Infrared remote controller sends one described first and presets code value at each setting interval;
Described consistent according to the default code value of response code value whether with the second, determine that whether the infrared code value received is correct, comprising:
What send for each setting interval first presets response code value corresponding to code value, if continuously a preset value response code value all with described second default code value inconsistent, then determine that the infrared code value received is incorrect.
Specifically, televisor is after receiving the first default code value, need in a preset duration internal feedback that this first presets fixing response code value corresponding to code value to Infrared remote controller (this preset duration is as 20ms), after Infrared remote controller receives the response code value of televisor transmission in the second preset duration, as incorrect in replied, namely reply code value and second preset code value inconsistent, Infrared remote controller needs again to send first and presets code value to televisor, namely Infrared remote controller sends one first and presets code value at each setting interval, televisor is replied again by above-mentioned steps, when repetition N response code value, all default code value is inconsistent with second, mean that transmission data procedures is abnormal, Infrared remote controller has obtained and the data possible errors stored or incomplete, Infrared remote controller determines that the described infrared code value received is incorrect, the infrared code value that this is downloaded can be deleted, N is a preset value.
Simultaneously, due in feedback procedure, Infrared remote controller sends first for N time and presets code value, if what televisor received that Infrared remote controller sends first presets the number of times of code value when being more than or equal to a preset value N, target device also can be judged this time to transmit data exception, stop this data transfer, failed download prompting can be ejected by user interface.But when the fault such as power down or deadlock appears in televisor, TV pusher side cannot receive first and preset code value, then also can think that the infrared code value that Infrared remote controller receives is incorrect.
In above-mentioned embodiment, response code value whether is received by Infrared remote controller, and whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, if do not receive response code value, if or response code value and second preset code value inconsistent, determine that the infrared code value received is incorrect, if receive response code value and response code value and second preset code value consistent, determine that the infrared code value received is correct, the infrared code value received is stored, thus can the equipment that mates with this infrared code of download of remote control, compared with the method downloading infrared code value with existing Infrared remote controller, when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, suspend even if downloading appears in televisor, during the faults such as unexpected termination, now Infrared remote controller also can according to whether receiving response code value, and whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, thus determine whether can other equipment of mating with this infrared code value of remote control.
Fig. 2 is the schematic flow sheet that Infrared remote controller of the present invention downloads another embodiment of method of infrared code value.The executive agent of the present embodiment is televisor.As shown in Figure 2, the method for the present embodiment, comprising:
Step 201, televisor receive the first default code value that Infrared remote controller sends;
Step 202, televisor send first to Infrared remote controller and preset response code value corresponding to code value, consistent to make Infrared remote controller preset code value according to the response code value whether with the second received, and determine that whether the infrared code value received is correct.
Specifically,
Existing Infrared remote controller can only the equipment that matches of remote control, namely can only the equipment that matches of the infrared code value of remote control, Infrared remote controller as televisor can only the televisor that matches of the infrared code value of remote control, when the Infrared remote controller of this televisor needs other equipment of remote control, need to use when by televisor the infrared code value of other equipment being sent to Infrared remote controller and storing and could realize other equipment of remote control.
In the embodiment of the present invention, other equipment can be any one in above-mentioned electronic equipment, are only illustrated with air-conditioning below.
Suppose that the Infrared remote controller of this televisor needs remote control air conditioner, then need to download infrared code value corresponding to this air-conditioning by the USB interface of televisor.
Download in the scheme of infrared code value above by USB interface, because USB interface does not have corresponding feedback mechanism.Therefore, if in downloading process, televisor suspends because downloading appears in other uncontrollable reason, unexpected when stopping, now whether Infrared remote controller cannot judge that this infrared code value is downloaded and complete, thus may cause other equipment failures of follow-up remote control.
Therefore, after this Infrared remote controller is received by the infrared code value that USB interface sends televisor in embodiments of the present invention, then send first to this televisor and preset code value; After this televisor presets code value receive the transmission of this Infrared remote controller first, to the response code value that this Infrared remote controller sends and the first default code value is corresponding; This Infrared remote controller is after the response code value received, according to response code value whether with this Infrared remote controller in prestore second to preset code value consistent, determine that whether the infrared code value received is correct, if it is inconsistent that response code value and second presets code value, determine that the infrared code value received is incorrect, if response code value and second preset code value consistent, determine that the infrared code value received is correct, the infrared code value received is stored, thus can remote control air conditioner.Above-mentioned response code value and second presets code value to be needed to prestore in televisor and Infrared remote controller in advance respectively, for responding when downloading infrared code value.
Above-mentioned second presets code value can be identical with the first default code value, also can be not identical with the first default code value.Such as, the first default code value is the 1100100110101010, second default code value also can be 1100100110101010, or the second default code value is 0011011001010101.
In the method for the present embodiment, if Infrared remote controller does not receive the response code value corresponding with the first default code value that this televisor sends, then this Infrared remote controller determines that the infrared code value received is incorrect.In actual applications, not receiving response code value can be judged by a preset duration, if exceed a certain preset duration do not receive response code value, then determines not receive response code value.
Said process, compared with the method downloading infrared code value with existing Infrared remote controller, when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, even if televisor suspends because downloading appears in other uncontrollable reason, when surprisingly stopping, as televisor crashes or power-off, now Infrared remote controller also can according to whether receiving response code value, or whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, thus determine whether can other equipment of mating with this infrared code value of remote control.
In actual applications, it is consistent that the response code value arrived when infrared remote control and second presets code value, then determine that the infrared code value received is correct, then need notification target equipment, the infrared code value received is correct, optionally, as the enforceable mode of one, Infrared remote controller sends the 3rd to televisor and presets code value, and televisor receives the 3rd default code value that this Infrared remote controller sends, and the 3rd default code value is correct for notifying the infrared code value received
Specifically, if Infrared remote controller receives response code value, and response code value and second to preset code value consistent, then determine that the infrared code value that receives is correct, Infrared remote controller, to the default code value of televisor transmission the 3rd, illustrates that the infrared code value that this transmits has been downloaded; Televisor also learns that telepilot stores the complete and information that infrared code value is correct, and televisor can this have been downloaded by user interface prompt.
Wherein, in actual applications, the 3rd of Infrared remote controller transmission can be received by USB interface or infrared remote receiver and preset code value.
Wherein, in actual applications, also can receive first of Infrared remote controller transmission by USB interface or infrared remote receiver and preset code value; Also can send first by USB interface or infrared transmitter to Infrared remote controller and preset response code value corresponding to code value.
Specifically, code value is preset when Infrared remote controller sends first by USB interface to televisor, and the response code value of televisor transmission is received by USB interface, corresponding, televisor also can receive first by USB interface and preset code value and send response code value; Or, Infrared remote controller sends first by the infrared transmitter of Infrared remote controller to televisor and presets code value, and the response code value of televisor transmission is received by the infrared remote receiver of Infrared remote controller, corresponding, televisor also can receive first by infrared remote receiver and preset code value and send response code value by infrared transmitter.
In other embodiments of the invention, if telepilot comprises bluetooth module or Wireless Fidelity (WIreless-Fidelity, be called for short WIFI) module, then also can be undertaken feeding back and receive response by bluetooth module or WIFI module, namely send first by bluetooth module or WIFI module to televisor and preset code value, and receive the response code value of televisor transmission.But the telepilot cost generally including bluetooth module or WIFI module is higher.
The Infrared remote controller that the present embodiment provides downloads the method for infrared code value, and televisor receives the first default code value that Infrared remote controller sends, televisor sends first to Infrared remote controller and presets response code value corresponding to code value, consistent to make Infrared remote controller preset code value according to the response code value whether with the second received, determine that whether the infrared code value received is correct, if Infrared remote controller does not receive response code value, if or response code value and second preset code value inconsistent, determine that the infrared code value received is incorrect, if receive response code value and response code value and second preset code value consistent, determine that the infrared code value received is correct, the infrared code value received is stored, thus can the equipment that mates with this infrared code of download of remote control, compared with the method downloading infrared code value with existing Infrared remote controller, when Infrared remote controller downloads the infrared code value of other equipment in the process of Infrared remote controller by televisor, suspend even if downloading appears in target device, during the faults such as unexpected termination, now Infrared remote controller also can according to whether receiving response code value, and whether response code value is consistent with the second default code value, and judge that whether the infrared code value downloaded is correct, thus determine whether can other equipment of mating with this infrared code value of remote control.
Fig. 3 A is the structural representation of Infrared remote controller one embodiment of the present invention.As shown in Figure 3, the Infrared remote controller of the present embodiment, can comprise: sending module 301, determination module 302; Wherein,
Sending module 301, after being received by the infrared code value that general-purpose serial bus USB interface sends televisor, is then sent first to televisor and presets code value;
Determination module 302, if for receiving the response code value that televisor sends, then presets code value according to response code value whether with the second consistent, determines that whether the infrared code value received is correct.
Optionally, as the enforceable mode of one, determination module 302, also for:
Determine whether the infrared code value to televisor sends receives.
Optionally, as the enforceable mode of one, determination module 302, specifically for:
If do not receive the infrared code value that televisor sends in the first preset duration, then determine that the infrared code value to televisor sends receives.
Optionally, as the enforceable mode of one, sending module 301, specifically for:
Send one first at each setting interval and preset code value;
Determination module 302, specifically for:
If do not receive the response code value that televisor sends in the second preset duration, then determine that the infrared code value received is incorrect.
Optionally, as the enforceable mode of one, sending module 301, specifically for:
Send one first at each setting interval and preset code value;
Determination module 302, specifically for:
What send for each setting interval first presets response code value corresponding to code value, if continuously a preset value response code value all with second default code value inconsistent, then determine that the infrared code value received is incorrect.
Fig. 3 B is the structural representation of another embodiment of Infrared remote controller of the present invention.As shown in Figure 3 B, on the architecture basics shown in Fig. 3 A, the Infrared remote controller of the present embodiment, also comprises:
Processing module 303, if incorrect for determining the infrared code value received, then deletes the infrared code value received.
Optionally, as the enforceable mode of one, sending module 301, also for:
If determination module determines that the infrared code value received is correct, then send the 3rd to televisor and preset code value, correct for notifying the infrared code value that televisor receives.
Optionally, as the enforceable mode of one, sending module 301, specifically for:
Send described first by general-purpose serial bus USB interface or infrared transmitter to televisor and preset code value.
The Infrared remote controller of above-described embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the structural representation of the another embodiment of Infrared remote controller of the present invention.As shown in Figure 4, the Infrared remote controller of the present embodiment, can comprise: processor 401, storer 402 and communication interface 403;
Wherein, storer 402, for storage program; Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Storer 402 may comprise random access memory (randomaccessmemory is called for short RAM), still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.
Communication interface 403, presets code value for sending first to televisor;
Processor 401, for the program that execute store 402 stores, for performing the present invention's technical scheme of providing of embodiment of the method as shown in Figure 1, it realizes principle and technique effect is similar, with reference to the embodiment of the method shown in figure 1, can repeat no more herein.
In the embodiment of the present invention, communication interface 403 comprises: general-purpose serial bus USB interface or infrared interface.
Described processor 401 by integrated circuit (IntegratedCircuit is called for short IC) composition, such as, can be made up of the IC of single encapsulation, also can be made up of the encapsulation IC connecting many identical functions or difference in functionality.For example, processor 401 can be central processing unit (CentralProcessingUnit, be called for short CPU), also can be digital signal processor (DigitalSignalProcessor, be called for short DSP), special IC (ASIC), field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components.
Above-mentioned parts are communicated by one or more bus.It will be appreciated by those skilled in the art that, the structure of the embedded device shown in Fig. 5 does not form limitation of the invention, it both can be busbar network, also can be hub-and-spoke configuration, the parts more more or less than diagram can also be comprised, or combine some parts, or different parts are arranged.
Fig. 5 is the structural representation of televisor one embodiment of the present invention.As shown in Figure 5, the televisor of the present embodiment, can comprise: receiver module 501, sending module 502; Wherein,
Receiver module 501, send for receiving Infrared remote controller first presets code value;
Sending module 502, presets response code value corresponding to code value for sending first to Infrared remote controller, consistent to make Infrared remote controller preset code value according to the response code value whether with the second received, and determines that whether the infrared code value received is correct.
Optionally, as the enforceable mode of one, described receiver module 501, also for:
Receive the 3rd default code value that Infrared remote controller sends, the 3rd default code value is correct for notifying the infrared code value received.
Optionally, as the enforceable mode of one, described receiver module 501, specifically for:
Receive first of Infrared remote controller transmission by general-purpose serial bus USB interface or infrared remote receiver and preset code value;
Described sending module 502, specifically for:
Send described first by USB interface or infrared transmitter to Infrared remote controller and preset response code value corresponding to code value.
Optionally, as the enforceable mode of one, described receiver module 501, specifically for:
Receive the 3rd of Infrared remote controller transmission by general-purpose serial bus USB interface or infrared remote receiver and preset code value.
Fig. 6 is the structural representation of another embodiment of televisor of the present invention.As shown in Figure 6, the televisor of the present embodiment, can comprise: processor 601, storer 602 and communication interface 603;
Wherein, storer 602, for storage program; Particularly, program can comprise program code, and described program code comprises computer-managed instruction.Storer 602 may comprise random access memory (randomaccessmemory is called for short RAM), still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.
Communication interface 603, for receiving the first code presupposition of Infrared remote controller transmission and sending response code value corresponding to the first default code value to Infrared remote controller;
Processor 601, for the program that execute store 602 stores, for performing the present invention's technical scheme of providing of embodiment of the method as shown in Figure 2, it realizes principle and technique effect is similar, with reference to the embodiment of the method shown in figure 1, can repeat no more herein.
In the embodiment of the present invention, communication interface 603 comprises: USB interface or infrared interface.
Described processor 601 by integrated circuit (IntegratedCircuit is called for short IC) composition, such as, can be made up of the IC of single encapsulation, also can be made up of the encapsulation IC connecting many identical functions or difference in functionality.For example, processor 601 can be central processing unit (CentralProcessingUnit, be called for short CPU), also can be digital signal processor (DigitalSignalProcessor, be called for short DSP), special IC (ASIC), field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components.
Above-mentioned parts are communicated by one or more bus.It will be appreciated by those skilled in the art that, the structure of the embedded device shown in Fig. 5 does not form limitation of the invention, it both can be busbar network, also can be hub-and-spoke configuration, the parts more more or less than diagram can also be comprised, or combine some parts, or different parts are arranged.
In embodiments of the present invention, televisor can be any movement or portable electric appts, includes but not limited to the electronic equipments such as televisor, Set Top Box, network air-conditioner.
Fig. 7 is the structural representation that the present invention downloads system one embodiment of infrared code value.As shown in Figure 7, the system of the present embodiment comprises: televisor and Infrared remote controller, wherein, televisor can adopt the structure of the arbitrary televisor embodiment of Fig. 5, Fig. 6, and it accordingly, the technical scheme of embodiment of the method in Fig. 2 can be performed, Infrared remote controller can adopt the structure of the arbitrary Infrared remote controller embodiment of Fig. 3 A, Fig. 3 B, Fig. 4, and it can perform the technical scheme of embodiment of the method in Fig. 1 accordingly, it realizes principle and technique effect is similar, repeats no more herein.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Such as, apparatus embodiments described above is only schematic, such as, the division of described unit or module, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or module can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or module or communication connection can be electrical, machinery or other form.
The described module illustrated as separating component can or may not be physically separates, and the parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (25)

1. Infrared remote controller downloads a method for infrared code value, it is characterized in that, comprising:
After Infrared remote controller is received by the infrared code value that general-purpose serial bus USB interface sends televisor, then send first to described televisor and preset code value;
If described Infrared remote controller receives the response code value that described televisor sends, then preset code value according to described response code value whether with the second consistent, determine that whether the described infrared code value received is correct.
2. method according to claim 1, is characterized in that, described before the default code value of described televisor transmission first, also comprises:
Described Infrared remote controller determines whether the described infrared code value to described televisor sends receives.
3. method according to claim 2, is characterized in that, described Infrared remote controller determines whether the described infrared code value to described televisor sends receives, and comprising:
If do not receive the infrared code value that described televisor sends in the first preset duration, then determine that the described infrared code value to described televisor sends receives.
4. the method according to any one of claim 1-3, is characterized in that, described to the default code value of described televisor transmission first, comprising:
Described Infrared remote controller sends one described first and presets code value at each setting interval;
Described method, also comprises:
If described Infrared remote controller does not receive the response code value that described televisor sends in the second preset duration, then determine that the described infrared code value received is incorrect.
5. the method according to any one of claim 1-3, is characterized in that, described to the default code value of described televisor transmission first, comprising:
Described Infrared remote controller sends one described first and presets code value at each setting interval;
Described consistent according to the default code value of described response code value whether with the second, determine that whether the described infrared code value received is correct, comprising:
What send for each described setting interval first presets response code value corresponding to code value, if continuously a preset value response code value all with described second default code value inconsistent, then described Infrared remote controller determines that the described infrared code value received is incorrect.
6. method according to claim 1, is characterized in that, also comprises:
If described Infrared remote controller determines that the described infrared code value received is incorrect, then delete the described infrared code value received.
7. method according to claim 1, is characterized in that, also comprises:
If described Infrared remote controller determines that the described infrared code value received is correct, then send the 3rd to described televisor and preset code value, correct for notifying the described infrared code value that described televisor receives.
8. the method according to any one of claim 1-3, is characterized in that, described to the default code value of described televisor transmission first, comprising:
Described Infrared remote controller sends described first by USB interface or infrared transmitter to described televisor and presets code value.
9. Infrared remote controller downloads a method for infrared code value, it is characterized in that, comprising:
Televisor receives the first default code value that Infrared remote controller sends;
Described televisor sends described first to described Infrared remote controller and presets response code value corresponding to code value, consistent to make described Infrared remote controller preset code value according to the described response code value whether with the second received, and determines that whether the infrared code value received is correct.
10. method according to claim 9, is characterized in that, also comprises:
Described televisor receives the 3rd default code value that described Infrared remote controller sends, and the described 3rd default code value is correct for notifying the described infrared code value received.
11. methods according to claim 9 or 10, is characterized in that, what described televisor received that described Infrared remote controller sends first presets code value, comprising:
Described televisor receives the first default code value of described Infrared remote controller transmission by general-purpose serial bus USB interface or infrared remote receiver;
Described televisor sends described first to described Infrared remote controller and presets response code value corresponding to code value, comprising:
Described televisor sends described first by described USB interface or infrared transmitter to described Infrared remote controller and presets response code value corresponding to code value.
12. methods according to claim 10, is characterized in that, described televisor receives the 3rd default code value that described Infrared remote controller sends, and comprising:
Described televisor receives the 3rd default code value of described Infrared remote controller transmission by general-purpose serial bus USB interface or infrared remote receiver.
13. 1 kinds of Infrared remote controller, is characterized in that, comprising:
Sending module, after being received by the infrared code value that general-purpose serial bus USB interface sends televisor, is then sent first to described televisor and presets code value;
Determination module, if for receiving the response code value that described televisor sends, then presets code value according to described response code value whether with the second consistent, determines that whether the described infrared code value received is correct.
14. Infrared remote controller according to claim 13, is characterized in that, described determination module, also for:
Determine whether the described infrared code value to described televisor sends receives.
15. Infrared remote controller according to claim 14, is characterized in that, described determination module, specifically for:
If do not receive the infrared code value that described televisor sends in the first preset duration, then determine that the described infrared code value to described televisor sends receives.
16. Infrared remote controller according to any one of claim 13-15, is characterized in that, described sending module, specifically for:
Send one described first at each setting interval and preset code value;
Described determination module, specifically for:
If do not receive the response code value that described televisor sends in the second preset duration, then determine that the described infrared code value received is incorrect.
17. Infrared remote controller according to any one of claim 13-15, is characterized in that, described sending module, specifically for:
Send one described first at each setting interval and preset code value;
Described determination module, specifically for:
What send for each described setting interval first presets response code value corresponding to code value, if continuously a preset value response code value all with described second default code value inconsistent, then determine that the described infrared code value received is incorrect.
18. Infrared remote controller according to claim 13, is characterized in that, also comprise:
Processing module, if incorrect for determining the described infrared code value received, then deletes the described infrared code value received.
19. Infrared remote controller according to claim 13, is characterized in that, described sending module, also for:
If described determination module determines that the described infrared code value received is correct, then send the 3rd to described televisor and preset code value, correct for notifying the described infrared code value that described televisor receives.
20. Infrared remote controller according to any one of claim 13-15, is characterized in that, described sending module, specifically for:
Send described first by general-purpose serial bus USB interface or infrared transmitter to described televisor and preset code value.
21. 1 kinds of televisors, is characterized in that, comprising:
Receiver module, send for receiving Infrared remote controller first presets code value;
Sending module, presets response code value corresponding to code value for sending described first to described Infrared remote controller, consistent to make described Infrared remote controller preset code value according to the described response code value whether with the second received, and determines that whether the infrared code value received is correct.
22. televisors according to claim 21, is characterized in that, described receiver module, also for:
Receive the 3rd default code value that described Infrared remote controller sends, the described 3rd default code value is correct for notifying the described infrared code value received.
23. televisors according to claim 21 or 22, is characterized in that, described receiver module, specifically for:
Receive first of described Infrared remote controller transmission by general-purpose serial bus USB interface or infrared remote receiver and preset code value;
Described sending module, specifically for:
Send described first by described USB interface or infrared transmitter to described Infrared remote controller and preset response code value corresponding to code value.
24. televisors according to claim 22, is characterized in that, described receiver module, specifically for:
Receive the 3rd of described Infrared remote controller transmission by general-purpose serial bus USB interface or infrared transmitter and preset code value.
The system of 25. 1 kinds of infrared code values of download, is characterized in that, comprising:
Infrared remote controller as described in any one of claim 13-20 and the televisor as described in any one of claim 21-24.
CN201510570244.8A 2015-09-09 2015-09-09 IR remote controller downloads the method, equipment and system of infrared code value Active CN105046941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510570244.8A CN105046941B (en) 2015-09-09 2015-09-09 IR remote controller downloads the method, equipment and system of infrared code value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570244.8A CN105046941B (en) 2015-09-09 2015-09-09 IR remote controller downloads the method, equipment and system of infrared code value

Publications (2)

Publication Number Publication Date
CN105046941A true CN105046941A (en) 2015-11-11
CN105046941B CN105046941B (en) 2018-12-07

Family

ID=54453447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570244.8A Active CN105046941B (en) 2015-09-09 2015-09-09 IR remote controller downloads the method, equipment and system of infrared code value

Country Status (1)

Country Link
CN (1) CN105046941B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4546382A (en) * 1983-06-09 1985-10-08 Ctba Associates Television and market research data collection system and method
US20050119770A1 (en) * 2003-11-05 2005-06-02 Park Sun B. Apparatus for implementing universal remote controller and method thereof
JP2007088525A (en) * 2005-09-16 2007-04-05 Sharp Corp Reception equipment, electronic equipment, communication method, communication program, and recording medium
CN101719998A (en) * 2009-12-03 2010-06-02 四川长虹电器股份有限公司 Centralized control system and method of domestic appliances
CN102611927A (en) * 2012-03-16 2012-07-25 苏州本控电子科技有限公司 Set top box with universal remote control function
CN102881286A (en) * 2012-09-12 2013-01-16 康佳集团股份有限公司 Intelligent remote control system and control method thereof
CN202907115U (en) * 2012-08-17 2013-04-24 青岛海尔电子有限公司 Secondary remote control device, television and remote control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4546382A (en) * 1983-06-09 1985-10-08 Ctba Associates Television and market research data collection system and method
US20050119770A1 (en) * 2003-11-05 2005-06-02 Park Sun B. Apparatus for implementing universal remote controller and method thereof
JP2007088525A (en) * 2005-09-16 2007-04-05 Sharp Corp Reception equipment, electronic equipment, communication method, communication program, and recording medium
CN101719998A (en) * 2009-12-03 2010-06-02 四川长虹电器股份有限公司 Centralized control system and method of domestic appliances
CN102611927A (en) * 2012-03-16 2012-07-25 苏州本控电子科技有限公司 Set top box with universal remote control function
CN202907115U (en) * 2012-08-17 2013-04-24 青岛海尔电子有限公司 Secondary remote control device, television and remote control system
CN102881286A (en) * 2012-09-12 2013-01-16 康佳集团股份有限公司 Intelligent remote control system and control method thereof

Also Published As

Publication number Publication date
CN105046941B (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN102546784B (en) Method for conducting batch upgrading for device firmware based on controller area network (CAN) bus
CN114071439B (en) Bluetooth remote controller and multi-device pairing method, device and storage medium
US20160205066A1 (en) Unique device address assignment technique for bidirectional daisy chain system
CN103685487A (en) Child node updating method in wireless communication network
CN105334809B (en) A kind of autocontrol method and device
CN104866333A (en) Upgrading system and upgrading method for software in household appliances
CN104618054A (en) Parameter adjusting method and device
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
CN111930020B (en) Equipment control system, method, device, terminal and readable storage medium
US20150372530A1 (en) Power providing equipment, mobile device, operating method of mobile device
US20180357193A1 (en) Computing device and operation method
KR101438978B1 (en) Method and system for reprogramming
CN111800317A (en) Method for automatically binding account, intelligent device and handheld terminal
CN102750812A (en) Method for matching reception device and remote controller, reception device and remote controller
CN103763067A (en) Method and device for error correction and calibration of communication data packets
CN113721966A (en) Node upgrading method and device, storage medium and electronic device
CN103648009A (en) Android system based infrared remote control responding method and device and smart television
CN111158751B (en) Windows environment deployment method, electronic device and storage medium
CN107251456B (en) Method for carrying out time synchronization to the device in control network
US11507043B2 (en) Method and system for automatically configuring I/O port
CN105338129A (en) Automatic address dividing method, display terminal, and module terminal
CN104794881A (en) Remote control method and remote controller
WO2017049557A1 (en) Adapter upgrade method, mobile terminal, and adapter
EP3157155A1 (en) Method of controlling inverters
CN109246166B (en) Communication method and device and unmanned aerial vehicle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co., Ltd

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.