Summary of the invention
The object of the present invention is to provide a kind of learning method of infrared control, to solve the problem of infrared transponder complex operation when learning ultra-red order in the prior art, realized intelligentized study, Long-distance Control etc.
For achieving the above object, the learning method of infrared control of the present invention, it is applied in the wireless transmitting system, and this system includes remote control terminal, infrared transponder, gateway telegon, high in the clouds server, controlled plant, and above-mentioned learning method comprises that step is as follows:
1), remote control terminal obtains the product identification code of infrared controlled plant, and after transcoded data is resolved data message is sent to the high in the clouds server by wireless mode;
2), the high in the clouds server is the data message that the receives analysis of decoding, and finds the product type information to above-mentioned controlled plant that should data message in first data repository that is provided with in it;
3), the high in the clouds server extracts the relevant remote control command coded message tabulation of corresponding the said goods model, and sends to remote control terminal in second data repository;
4), remote control terminal selects a remote control command coding in the tabulation of above-mentioned remote control command, and produce one and download selection instruction and be sent to the high in the clouds server;
5), the high in the clouds server sends to infrared transponder according to above-mentioned download selection instruction with the above-mentioned remote control command coded message of storing in second data repository and stores, and set up the remote control command coded data of respective user in second data repository.
Preferably, above-mentioned steps 1) also comprises the steps: before when initial, with the product identification code of the various extra of storage in first data repository of high in the clouds server portion device product correspondence, with the remote control command coding behind at least one user learning of the infrared controlled plant product of the various extra portion of storage in second data repository.
Preferably, above-mentioned steps 3) comprises the steps: specifically in that the high in the clouds server searches corresponding remote control command coded message according to product type information in second data repository, if find the on all four remote control command coded message of model, the tabulation of all remote control command codings that then will find sends to remote control terminal; If do not find the on all four remote control command coded message of model, then search the remote control command coded message that brand is identical, model is close, and the tabulation of remote control command coding is sent to remote control terminal.
Preferably, above-mentioned remote control terminal carries out transfer of data by communication and high in the clouds server, and sending controling instruction is embodied in smart mobile phone, panel computer or PC.
Preferably, carry out transfer of data by ZigBee, Z-Wave, WIFI or Bluetooth communication protocol mode between above-mentioned infrared transponder and the gateway telegon.
Preferably, above-mentioned identification code be product bar code, two-dimensional bar code or three dimension bar-codes one of them.
Beneficial effect of the present invention:
The learning method of infrared control of the present invention combines the identification code scanning technique effectively with the Radio infrared telecontrol engineering, finish the learning functionality of infrared remote control automatically; Can store the remote control command coded message of the not setting of the same race of same type product in the data in server thesaurus of high in the clouds, the user can select to download according to the hobby of oneself.
Embodiment
For the ease of those skilled in the art's understanding, the present invention is further illustrated below in conjunction with embodiment and accompanying drawing, and the content that execution mode is mentioned not is limitation of the invention.
With reference to shown in Figure 1, the learning method of infrared control of the present invention, it is applied in the Smart Home wireless transmitting system in present embodiment, and this intelligent domestic system includes: remote control terminal, infrared transponder, gateway telegon, high in the clouds server, controlled plant, wherein:
This remote control terminal, in order to product identification code and the transmission remote control control command information of obtaining infrared controlled plant, it carries out transfer of data with the high in the clouds server after connecting internet network, this remote control terminal specifically is referred to as smart mobile phone, panel computer, electronics equipments for surfing the net such as PC, inside is provided with the Smart Home software program, be integrated with the bar code scan program in this Smart Home software program, can scan the identification code of product, as: bar code, two-dimensional bar code or three dimension bar-codes etc. have the bar code of product identification information, equal corresponding number of the account and password separately when each user logins the Smart Home software program, point out that herein the user logins the Smart Home software program and controls infrared controlled plant for existing known technology, the applicant is not described in detail at this;
This infrared transponder, in order to receive the remote control command coded message and to store, and the infrared controlled plant of transmission ultra-red order coding control, be provided with wireless communication module in it, micro controller module, infrared module, the FLASH memory, the infrared signal that the remote controller that control controlled plant behind the coding that the remote control command coded message that the gateway telegon that this micro controller module can receive wireless communication module sends and infrared module receive itself carries sends is stored to the FLASH memory, and can send infrared signal and control infrared controlled plant, how this infrared transponder carries out the control of infrared controlled plant has been prior art, and be not main body of the present invention, the applicant is not given unnecessary details;
This gateway telegon, in order to above-mentioned infrared transponder and high in the clouds server are carried out bridge joint, it is connected the transmission data by communication protocols such as ZigBee, Z-Wave, WIFI or bluetooths with infrared transponder, and is connected with the high in the clouds server by the netting twine interface;
This high in the clouds server, comprise first data repository and second data repository, this first data repository is in order to the product identification code of the product type correspondence of storing each infrared controlled plant, the remote control command coded data of this second data repository after in order at least one user learning of storing the infrared controlled plant product of each model, it connects the internet by wired or wireless mode, product identification code information after the conversion that the receiving remote control end sends, in first data repository, inquire about brand and the model of corresponding product according to this product identification code information, and in second data repository, inquire about remote control command coded data that should model according to the concrete model of the product that obtains, produce remote control command tabulation and be sent to remote control terminal; In addition, this high in the clouds server also is provided with processing unit and communications interface unit, can carry out Data Management Analysis and data communication function respectively; In addition, described first data repository and second data repository can be a database.
With reference to shown in Figure 2, the learning method of above-mentioned infrared control comprises step specific as follows:
Step 101: remote control terminal obtains the product identification code of infrared controlled plant, and after transcoded data is resolved data message is sent to the high in the clouds server by wireless mode; Be embodied in: the user is by remote control terminal (mobile phone, panel computers etc.) the identification code scanning imaging system in the built-in Smart Home software scans outside infrared controlled plant (as television set, air-conditioning, player etc., selecting brand among the embodiment for use is the television set of 42E7CRN for the X model) identification code, above-mentioned technical method is similar to the two-dimensional bar code scanning software in the existing smart mobile phone, can be by connecting information such as the concrete model that obtains product behind the internet and price behind the identification code of scanning product, in present embodiment, be converted to digital signal data after the identification code transcoding that remote control terminal obtains scanning is resolved and be sent to the high in the clouds server;
Step 102: the high in the clouds server receives the data message behind the above-mentioned transcoding and carries out analyzing and processing, and finds the product type information of the above-mentioned infrared controlled plant of corresponding above-mentioned data message in first data repository that is provided with in it; Be embodied in: the high in the clouds server is by the real-time UNICOM of wired or wireless mode internet, brand, the model of the television set that the above-mentioned remote control terminal that receives is sent are analyzed, (store the corresponding identification code of infrared controlled plant of each model of various brands in this first data repository in first data repository, and the data message in the thesaurus carries out real-time update) in data compare, the result of the infrared controlled plant that obtains scanning is the television set of 42E7CRN for the model of X brand;
Step 103: the high in the clouds server extracts the relevant remote control command coded message tabulation of corresponding above-mentioned television set model according to the television set model that obtains in the above-mentioned steps 102 in second data repository, and sends to remote control terminal; Be embodied in: processing unit in the server of high in the clouds extracts the remote control command coded data behind at least one user learning of corresponding this model in second data repository according to the television set model that obtains, remote control command coded data behind the user learning of storing in second data repository in the present embodiment can be television manufacturer instruction coded data by test or the manual infrared learning finished of attendant before television set dispatches from the factory, or the instruction coded data of the manual infrared learning finished voluntarily of other users, all remote control command coded data arrangements that processing unit will obtain are listing file, and are sent to remote control terminal by communications interface unit;
Step 104: remote control terminal is selected a remote control command coding in the tabulation of above-mentioned remote control command, and produces one and download selection instruction and be sent to the high in the clouds server; Be embodied in: remote control terminal receives the remote control command tabulation that the high in the clouds server sends, the user can download according to the some remote control commands in the selective listing of liking of oneself, after the user selected, remote control terminal can produce a selection instruction and send to the high in the clouds server;
Step 105: the high in the clouds server sends to infrared transponder according to above-mentioned download selection instruction with the remote control command coded message of the above-mentioned download selection instruction correspondence of storing in second data repository and stores, and sets up the remote control command coded data of respective user in second data repository; Be embodied in: the high in the clouds server receives the download selection instruction that remote controller sends, by analysis after the decoding, in second data repository, find the remote control command coding of this selection instruction correspondence, and will send to infrared transponder by gateway device and carry out infrared coding storage, simultaneously, a newly-built corresponding described user's remote control command coding in second data repository, so that this user can directly use the remote control command of storage to encode after logining the high in the clouds server again by remote controller, and the high in the clouds server also can offer above-mentioned remote control command coded data other users and use, " use " meaning herein is with same control command the infrared controlled plant that has authority to be operated, and the infrared controlled plant of not operation lack of competence, technical field personnel should be readily appreciated that.
Next, after the user uses remote control terminal login Smart Home software, can send the remote control command of control television set, after the high in the clouds server receives above-mentioned remote control command signal, in second data repository, search corresponding control coding, and produce a control command and be sent to infrared transponder by the gateway telegon, infrared transponder is according to extracting corresponding infrared coding in the FLASH memory of control command in it that receives, and be sent to controlled plant (television set), finish remote control actions.
In addition, also comprise step 100 before the above-mentioned steps 101: when initial, in first data repository of high in the clouds server, store various brands, the corresponding identification code of the infrared controlled plant of model, the remote control command coding of each infrared controlled plant of storage in second data repository, the instruction coded data that comprises the manual infrared learning of being finished by test or attendant before dispatching from the factory, and the instruction coded data of the manual infrared learning finished voluntarily of subsequent user, the first above-mentioned data repository and the data message of second data repository carry out real-time update, to guarantee the integrality of data.
Preferably, described with reference to Fig. 3, above-mentioned steps 103 specifically comprises: the processing unit in the server of high in the clouds is searched corresponding remote control command coded data according to the television set model that obtains in second data repository, if find on all four brand, model then can directly enter step 113: the relevant remote control command coded message tabulation of the above-mentioned television set model of correspondence (model of X brand is 42E7CRN) is sent to remote control terminal; If do not find, then enter step 123: it is in full accord that processing unit is searched brand in second data repository, the remote control command coded data of the infrared controlled plant that model is the most close, processing unit is searched model less than the X brand when being the television set of 42E7CRN, processing unit can be searched other models under the X brand, as: models such as 50E7CRN or 32E7CRN, and the arrangement of the remote control command of each model coding sent to remote control terminal for listing file, above-mentioned method all is general based on the employed Infrared remote controller of product of a series under the same brand of most infrared controlled plant on the present market, and a remote controller can be controlled the product of a serial different model.
The concrete application approach of the present invention is a lot, and the above only is preferred implementation of the present invention, should be understood that; for those skilled in the art; under the prerequisite that does not break away from the principle of the invention, can also make some improvement, these improvement also should be considered as protection scope of the present invention.