A kind of apparatus and method that realize universal IR remote controller based on mobile phone
The present invention relates to a kind of peripheral unit and method that is used for the cell-phone function expansion, make mobile phone have the function of universal IR remote controller.
Along with growth in the living standard; The household electrical appliance that much have distant control function get into huge numbers of families; Comprise: televisor, STB, air-conditioning, DVD and sound equipment etc.; But, so just need change telepilot continually to control corresponding household electrical appliance because every kind of household electrical appliance all have the supporting telepilot that dispatches from the factory.Lose or damage in case telepilot occurs, respective electric home will be inconvenient to use very much.A plurality of telepilots and telepilot are lost the situation of damage, have brought great inconvenience to daily life.Though the universal telepilot of learning functionality and network download function now occurred supporting, this kind telepilot cost is higher, study and the function of downloading rely on computer, and the operating process more complicated has hindered the extensive of product and popularized.
Mobile phone is very universal as people's periodic traffic instrument; Company's application " mobile phone of band function of infrared remote control is special " profit has been arranged; Like application for a patent for invention numbers 200510001969.9,200510100273.3 and 200710172976.7 etc.; The common trait of these patents is the mobile phones that need specific customization, needs mobile phone to possess the interface of infrared emission and reception at least.Because mobile phone infrared communication interface is eliminated, existing main flow mobile phone model is not with infrared interface basically.Therefore above-mentioned practical applicability and operability are just more weak, even if there is part producer to design mobile phone according to above-mentioned patent, seldom have the consumer to select this mobile phone in order to be with function of infrared remote control, so be difficult to obtain the extensive approval in market and popularize.
Summary of the invention
The present invention seeks in order to solve above problem, proposed a kind of peripheral unit and method that realizes IR remote controller based on mobile phone.Shown in accompanying drawing 1, apparatus of the present invention are a kind of peripherals of mobile phone, are connected with mobile phone through the standard earphone jack, cooperate to be installed in the application software on the mobile phone, realize Infrared Remote-Control Sending and receiving function.Because standardization of the earphone jack of most model mobile phones and ubiquity are so apparatus of the present invention have extensive applicability.
After apparatus of the present invention are plugged in the handset earphone hole, realize that the method for IR remote controller comprises the steps:
1, the infrared remote control application program is installed on mobile phone, can downloads and installs, also can copy the middle installation of mobile phone to, comprised the remote control mode database after the application program installation through the special website of mobile phone access.
Whether 2, run application, application program can attempt waking up and initialization peripheral unit of the present invention, normal with the connection of check signal, if undesired meeting reminds the user to insert the peripheral unit of this aspect again.
3, in Application Program Interface; The user imports household electrical appliances model retrieval remote control mode database; If can retrieve the corresponding remote control mode of this kind household electrical appliances model; Remind the user that domestic electrical equipment remote controller numbering shortcut is set,, directly select during convenient the use like televisor TV1, TV2 or STB SAT1, SAT2 etc.
If 4 can't retrieve this kind household electrical appliances model, select to get into mode of learning, need original telepilot to cooperate down by key collection and setting.With study " power supply " key being set is example: select to get into the study receiving mode through Application Program Interface earlier; Telepilot " power supply " key that shows on the screen on the selection mobile phone; Press " power supply " key of original telepilot; And aim at the remote-control transmitting receive window of apparatus of the present invention, if correct the reception, the color that then changes " power supply " key icon on the mobile phone screen is as successfully study indication.After key study completion, the user is provided with the shortcut of domestic electrical equipment remote controller numbering.Remote controller key sign indicating number information and household electrical appliances that user learning obtains set model; Can upload to (this function needs the user mobile phone networking) in the network data base automatically through network, the technician who is responsible for the network data base maintenance can in time see and examine, put in order and renewal work.
5, completion is set after, select application program to get into remote control mode, promptly alternative former telepilot carries out the remote control of household electrical appliances, and in the time need not using, pulls up apparatus of the present invention, not influence the normal talking function of mobile phone.
What need to specify is, information-setting by user can be kept in the user mobile phone automatically, and the direct use that next user can pass through step 2, step 5 gets final product.Above-mentioned steps 1 is needs just when using for the first time, step 3 and step 4 needs just when the user changes telepilot and is provided with, and the most of users of step 4 can not run into, because common household electrical appliances model all has been included in the middle of the remote control mode database of application program.
Use said apparatus and method, the application program that operates on the mobile phone has the graphical operation interface, in case the completion plug and play is set, very directly perceived, convenient in the use.Existing household remote code type not only can be supported, the new remote control mode type that possibly occur future, the versatility of really accomplishing infrared remote control can also be supported.
Description of drawings
With reference to following detailed description and accompanying drawing, can better understand of the present invention about structure and implementation method with and purpose, characteristic and advantage.Structure in the accompanying drawing is as just a design example of the present invention.
Fig. 1 is for supporting the synoptic diagram of apparatus of the present invention and method.
Shown in accompanying drawing 1, it is similar standard serial port mode that the signal between apparatus of the present invention and the earphone interface of mobile phone connects, and internal circuit mainly is made up of the microcontroller chip and the peripheral components of Infrared Remote-Control Sending and study.The application program that operates on the mobile phone can be selected according to user's input, communicates by letter through between earphone interface and the microcontroller chip, is realized emission and study, the reception of telecontrol code by microcontroller chip.
The inner structure of apparatus of the present invention cooperates peripheral component by the infrared remote control microcontroller chip shown in accompanying drawing 1, and CR2025 lithium battery power supply constitutes.Infrared remote control microcontroller chip is simplified because of not needing the key scan pin; Use the miniaturization packing forms; And the components and parts of peripheral circuit mainly are infrared-emitting diodes; The size of CR2025 lithium battery power supply is less simultaneously, makes system circuit board of apparatus of the present invention and profile can accomplish miniaturization and low cost.Both user friendlyly carry, use, have good looking appearance and cheap advantage again, relatively easy acceptance by users.
User mobile phone can insert the internet through wireless mode, and the application program of mobile phone of redaction and remote control mode database storing are in Internet Server.The user can upgrade application program as required, also can select to upgrade separately the remote control mode database.User mobile phone also can upload in the middle of the network data in the remote control mode data that study receives.The remote control mode database maintenance personnel that specialty is arranged carry out the work such as maintenance and upgrading of database through the terminal of inserting the internet.
Fig. 2 is the use synoptic diagram of apparatus of the present invention and method.
Shown in accompanying drawing 2, the user after plugging apparatus of the present invention on the mobile phone and starting application program, the graphic interface of display remote controller button on the mobile phone screen.The user is behind mobile phone key, and apparatus of the present invention emission telecontrol code is given televisor, has realized the function of TV remote controller, and mobile phone has become operates directly perceived, easy IR remote controller.
In following detailed description, described specific details and the present invention has comprehensively been understood so that provide.Yet the professional and technical personnel will appreciate that the present invention also can use other similar details to implement.
Accompanying drawing 1 is the synoptic diagram of support apparatus of the present invention and method,
Apparatus of the present invention and method do not have specific (special) requirements to the mobile phone shown in the accompanying drawing 1; It can be non-smart mobile phone; Can be smart mobile phone also, so long as possess standardized earphone jack, and corresponding application program of mobile phone is installed; All after plugging apparatus of the present invention, can use, have general applicability as telepilot.
The communication interface of mobile phone and apparatus of the present invention is serial ports forms, and mobile phone sends to the audio file that the data of apparatus of the present invention are recorded with the byte form, and corresponding 16 system OOH are kept in the middle of the application program of mobile phone to 256 kinds of byte datas of FFH in advance.This aspect device sends to the data of mobile phone and is recorded as simulated audio signal by mobile phone, obtains the data of byte form through the analysis of application program.
Apparatus of the present invention are the standby modes that is in low-power consumption in generalized case, need operate in application program on the mobile phone and wake up and could begin communication, and a period of time behind the sign off, apparatus of the present invention get into standby mode once more.This characteristic and common IR remote controller are in full accord, do like this to prolong battery serviceable life to greatest extent, and the user does not often need the battery in the changing device more, improves practicality and economy.
Comprised the remote control mode database in the middle of the application program of mobile phone; Apparatus of the present invention and method have been utilized the big characteristics of the storage space of mobile phone; The user can all add the function of a plurality of telepilots in the middle of the application program of mobile phone, and apparatus of the present invention inside does not need to add in addition memory chip.The advantage of doing like this is that the remote control mode type supported and remote-controlled household electrical appliances number can be much larger than multi-functional or universal IR remote controllers in general sense, has realized real general and do not increase the hardware cost expense of apparatus of the present invention.
Shown in the accompanying drawing 2, a kind of profile of apparatus of the present invention is inserted on the handset earphone jack, only need after starting application program wait initialization completion on the mobile phone, can realize the remote control control of household electrical appliance as using normal remote control.Do not change the use habit of user, just make the operation of infrared remote control more directly perceived, easy acceptance by users at infrared remote control.
Apparatus of the present invention and method have only changed the transmitting terminal of infrared remote control; Remote control receiving end to household electrical appliance has no influence; So long as support the household electrical appliance of infrared remote control,, just can use apparatus and method of the present invention and realize infrared remote control without any need for change.
Though here declarative description certain this characteristic and a kind of implementation method of apparatus of the present invention, for the professional and technical personnel, many modifications, replacement, variation and equivalent substitution will appear.Therefore, protection scope of the present invention is as the criterion by the scope of appended claim.