CN101291365B - Mobile phone and remote setting method of the mobile phone - Google Patents
Mobile phone and remote setting method of the mobile phone Download PDFInfo
- Publication number
- CN101291365B CN101291365B CN2008100672234A CN200810067223A CN101291365B CN 101291365 B CN101291365 B CN 101291365B CN 2008100672234 A CN2008100672234 A CN 2008100672234A CN 200810067223 A CN200810067223 A CN 200810067223A CN 101291365 B CN101291365 B CN 101291365B
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- process chip
- key
- baseband process
- handset
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a handset and a method for remote control setting of the handset. The handset comprises a handset baseband processing chip as well as a keypress circuit, a handset storage and a signal receiving circuit which are connected with the handset baseband processing chip, wherein, the signal receiving circuit is used to receive infrared signals transmitted by remote controllers of home appliances and convert the infrared signals into code values, the handset baseband processing chip is used to utilize a self-carrying program inside the handset to perform the keyboard scanning to acquire handset key values; when the handset works in a study mode, the handset baseband processing chip is used to confirm whether the code values are received; if the code values are received, the handset baseband processing chip is used to update the key values and the corresponding code values to a keycode mapping table of the handset storage. The handset is provided with the self-teaching type remote control setting, so the handset can learn the remote control operations of various home appliances, is greatly convenient to the daily routine of users, and is convenient and simple.
Description
Technical field
The present invention relates to electronic technology field, relate in particular to the combination of mobile phone and telecontrol engineering.
Background technology
Mobile phone is a kind of wireless, means of communication movably, is mainly used in the propagation audio/video information.The communication system of mobile phone and mobile phone has widely to be used; Utilize mobile phone and mobile phone communication system can develop more applications in the family; For example can be through handset device is set; Matching with mobile phone and television set, air-conditioning, automobile, sound equipment etc. utilize the mechanics of communication of mobile phone, realize the remote control of household electrical appliance.
But, have the mobile phone of distant control function at present, when being used, need artificially carry out complicated setting, and this setting is not that everyone can realize easily with certain electrical equipment.
Summary of the invention
In view of this, the present invention's purpose, the method that is to provide a kind of mobile phone and this mobile phone remote to be provided with, when this mobile phone when having the mobile phone remote household electrical appliance of distant control function, can be convenient and simple.
A kind of mobile phone; Wherein, This mobile phone comprises: mobile phone baseband process chip and coupled key circuit, mobile phone memory and signal receiving circuit; Said signal receiving circuit be used to receive household electrical appliance the remote controller emission infrared signal and convert code value into, the mobile phone baseband process chip be used to utilize mobile phone inner carry out keyboard scan from tape program, obtain the mobile phone key assignments; When said operating handset during in mode of learning; The mobile phone baseband process chip is used to determine whether to receive said code value; If have, said mobile phone baseband process chip is used for the said key assignments that is obtained and corresponding code value are updated to the key mapping table of said mobile phone memory.
Said mobile phone further comprises signal transmission circuit; When this operating handset during in the emission control pattern; The mobile phone baseband process chip is surveyed the key assignments of key circuit input; Read the code value that the said key-value pair of key mapping table is answered in the mobile phone memory again, then, this signal transmission circuit is transmitted to household electrical appliance with this code value.
Said signal receiving circuit further comprises decoder, demodulator circuit, oscillator and the infrared remote receiver that links to each other successively; Said infrared remote receiver is used to receive the infrared pulse remote signal of the remote controller emission of said household electrical appliance; This infrared pulse remote signal and oscillator produce separates harmonic and gets into demodulator circuit in the lump and carry out demodulation, and the sign indicating number type after the demodulation gets into decoder again and decodes and obtain said code value.
This mobile phone further comprises a timer, and in the set time of timer, the mobile phone baseband process chip determines whether to receive said code value with the mode of poll.
The method that a kind of mobile phone remote is provided with, wherein, said method comprises:
Start corresponding household electrical appliance self study subprogram, read the key mapping table that is prestored in the mobile phone;
Carry out keyboard scan, obtain the mobile phone key assignments;
Survey the remote signal whether the remote controller transmission of receiving these household electrical appliance itself is arranged;
If have, convert said remote signal into code value, then said code value and corresponding key assignments are updated to the key mapping table;
If no, carry out keyboard scan always, obtain the mobile phone key assignments, till obtaining key assignments or withdraw from this pattern.
Saidly carry out keyboard scan, obtain the mobile phone key assignments and be specially: utilize mobile phone inner carry out keyboard scan from tape program, give the button registered events, and convert the mobile phone key assignments into.
Whether said detection has the remote signal of the remote controller transmission of receiving these household electrical appliance itself to be specially: start timer, in the time of timer, survey the remote signal whether the remote controller transmission of receiving these household electrical appliance itself is arranged with the mode of poll.
Compared with prior art, the present invention has the mobile phone of distant control function, owing to have self-study type remote control setting; So can learn the straighforward operation of various home appliances, can after learning a kind of household electrical appliance well, deposit a class value in, deposit a class value again in after learning another kind of household electrical appliance well; Only need carry out the household electrical appliances mode switch; Read the key assignments and the code value of corresponding modes and just can realize remote control home appliance, user friendly greatly daily daily life, convenient and simple.
Description of drawings
Fig. 1 is the circuit framework block diagram of the mobile phone of preferred embodiments of the present invention.
Fig. 2 is the main program flow chart of the mobile phone of preferred embodiments of the present invention.
Fig. 3 is the self study subroutine flow chart of the mobile phone of preferred embodiments of the present invention.
Fig. 4 is the emission subroutine flow chart of the mobile phone of preferred embodiments of the present invention.
Embodiment
For the purpose, technical scheme, the advantage that make the present invention is clearer and more definite, clear, the present invention's technical scheme is done further detailed explanation below in conjunction with embodiment, accompanying drawing.
As shown in Figure 1; Circuit framework block diagram for the mobile phone of preferred embodiments of the present invention; Like Fig. 1, this mobile phone with distant control function mainly comprises: mobile phone baseband process chip 101, LCD display circuit 102, key circuit 103, coding circuit 104, oscillator 105, infrared transmitting tube 106, mobile phone memory 107, decoder 108, demodulator circuit 109, oscillator 110 and infrared remote receiver 111.Wherein, said LCD display circuit 102, key circuit 103 all link to each other with mobile phone baseband process chip 101; Coding circuit 104, oscillator 105, infrared transmitting tube 106 are connected to form signal transmission circuit successively, and encoder 104 links to each other with mobile phone baseband process chip 101; Decoder 108, demodulator circuit 109, oscillator 110 and infrared remote receiver 111 are connected to form signal receiving circuit successively, and decoder 108 links to each other with mobile phone baseband process chip 101.Said mobile phone memory 107 links to each other with mobile phone baseband process chip 101, coding circuit 104, decoder 108 respectively.Wherein, the frequency of oscillation of said oscillator 105,110 can be 38kHz, can be by obtaining behind the mobile phone baseband dominant frequency frequency division.Said infrared transmitting tube 106 can be infrarede emitting diode.
Infrared remote receiver 111 is used to receive the infrared pulse remote signal of the remote controller emission of household electrical appliance itself, and the harmonic of separating of this infrared pulse remote signal and oscillator 110 generations gets into demodulator circuit 109 in the lump and carries out demodulation.Sign indicating number type after the demodulation gets into decoder 108 again and decodes; The mobile phone memory 107 that the code value portion that obtains after the decoding is delivered in the mobile phone is stored; If these mobile phone memory 107 existing storing values then can upgrade, portion is delivered to mobile phone baseband process chip 101 in addition; Deliver to LCD display circuit 102 by mobile phone baseband process chip 101 again, show at last.
When this had the distant control function operating handset in the self study pattern, mobile phone baseband process chip 101 read the key mapping table that is prestored in the mobile phone memory 107, if mapping table had not also been arranged, flag bit was set.Mobile phone baseband process chip 101 utilize mobile phone inner carry out keyboard scan from tape program, obtain the mobile phone key assignments, promptly give each button registered events of mobile phone, the self study subprogram at this, till having key to press, then stops keyboard scan with infinite wait.Wherein, the keyboard of mobile phone is commonly used to have 18 keys, promptly 0-9 key, *, #, ↑, ↓, ←, →, [OK] and [Back] key.Utilize mobile phone inner carry out keyboard scan from tape program, promptly give 0-9, *, #, ↑, ↓, ←, →, [OK] and [Back] key registered events, other special key can not respond like [Send] and keys such as [End].
If obtained the mobile phone key assignments; Then start timer Timer; This timer is arranged in the mobile phone; In the set time of timer, whether mobile phone baseband process chip 101 is surveyed with the mode of poll and is received through infrared receiving tube 111 receptions, after demodulator circuit 109 is separated the code value after mediation decoder 108 is deciphered.
In the timer time, if mobile phone baseband process chip 101 does not detect the infrared pulse remote signal, that can utilize mobile phone inside once more carries out keyboard scan from tape program, till having key to press.
If detect the infrared pulse remote signal; Process through the front description; This infrared pulse remote signal is converted into code value, and mobile phone baseband process chip 101 is updated to the key mapping table with the key assignments that it obtained with corresponding code value, and again mapping table is write in the mobile phone memory 107.
When this operating handset with distant control function during in the emission control pattern; Survey the push button signalling of key circuit 103 inputs by mobile phone baseband process chip 101; Mobile phone baseband process chip 101 reads the corresponding code value of corresponding key value in the mobile phone memory 107 again; Mobile phone baseband process chip 101 and then code value delivered to coding circuit 104 is delivered to infrared diode emission 106 after the carrier modulation that produces via oscillator 105, and then can be controlled household electrical appliance.
Below in conjunction with instantiation, like Fig. 2,3,4, having distant control function mobile phone control general television set is example, is elaborated.
Fig. 2 is the main program flow chart of the mobile phone of preferred embodiments of the present invention, and this has the distant control function mobile phone need install the remote control procedure that is used to control household electrical appliance, can be through downloading or the computer installation.
Step00: beginning;
The user gets into the remote controller interface in the mobile phone through the cell phone function menu interface.
Step01: the user carries out model selection, for example can comprise self study pattern, emission mode and withdraw from pattern;
When the user selects the self study pattern, carry out Step02-04, detailed process can be with reference to the description of figure 3; When the user selects emission mode, carry out Step05-07, detailed process can be with reference to the description of figure 4.When the user selects to withdraw from pattern, carry out Step08.
Step02: the user selects the self study pattern;
Step03: initialization self study relevant device for example powers on to relevant device and opens I/O etc.;
Step04: call the self study subprogram, carry out learning process, learning process can turn back to the model selection interface after finishing.
Step05: the user selects emission mode;
Step06: the equipment that the initialization emission control is relevant for example powers on to relevant device and opens I/O etc.;
Step07: call the emission subprogram, drive and utilize infrared transmitting tube 106 emission control pulse signals.Can turn back to the model selection menu after the emission end of subroutine.
Step08: withdraw from the remote controller interface in the mobile phone.
Fig. 3 is the self study subroutine flow chart of the mobile phone of preferred embodiments of the present invention, and the method for this mobile phone learning remote control setting comprises the steps.
Step10: get into the self study subprogram;
Step11: select various family power mode.For example, can select television set, refrigerator, electromagnetic oven etc., only be example with the general television set here, and other household electrical appliances operation can be identical.
Step12: read the key mapping table that is prestored in the mobile phone memory 107,, flag bit is set if mapping table had not also been arranged;
Step13: obtain the mobile phone key assignments;
Wherein, the keyboard of mobile phone is commonly used to have 18 keys, promptly 0-9 key, *, #, ↑, ↓, ←, →, [OK] and [Back] key.Utilize mobile phone inner carry out keyboard scan from tape program, promptly give 0-9, *, #, ↑, ↓, ←, →, [OK] and [Back] key registered events, other special key can not respond like [Send] and keys such as [End].The self study subprogram with infinite wait at this, till the key value of pressing is arranged.
Whether Step14: start timer Timer this moment, and this timer is arranged in the mobile phone, in the time of timer, survey with the mode of poll and receive through infrared receiving tube 111 and receive, after demodulator circuit 109 is separated the code value that is in harmonious proportion after decoder 108 decodings.In the timer time,, then carry out Step13 if do not detect the infrared pulse remote signal.In the timer time,, then carry out Step15 if hand machine baseband processing chip 101 detects the infrared pulse remote signal.This moment the infrared pulse remote signal sent be the remote controller of television set itself.
Step15: key assignments that obtains and corresponding code value are updated to the key mapping table, and again mapping table are write in the mobile phone memory 107;
Step16: whether the prompting user need carry out learning process again, promptly carries out the self study of other keys.If then carry out Step13, otherwise carry out Step17;
Step17: withdraw from the self study subprogram, turn back to main program.
Fig. 4 is the emission subroutine flow chart of the mobile phone of preferred embodiments of the present invention.
Step20: get into the emission control subprogram;
Step21: select various family power mode.For example, can select television set, refrigerator, electromagnetic oven etc., only be example with the general television set here, and other household electrical appliances operation can be identical.
Step22: read the key mapping table that is prestored in the mobile phone memory 107,, flag bit is set if mapping table had not also been arranged;
Step23: obtain the mobile phone key assignments;
Step24: code value as the key mapping table in the index search mobile phone memory 107, is obtained the code value of answering with this key-value pair;
Step25: obtain the correct back of code value and carry out Step26, otherwise carry out Step23;
Step26: behind the code value that obtains answering, it is delivered to coding circuit 104 codings,, be used to control household electrical appliance after deliver to infrared transmitting tube 106 emissions after the carrier modulation with key-value pair;
Step27: detect the user and on mobile phone interface, whether press return key,, otherwise carry out Step23 if by next execution Step28;
Step28: withdraw from the emission control subprogram, return main program.
Can find out to have in the mobile phone of distant control function by above, owing to be provided with self-study type remote controller therein; So can learn the straighforward operation of various home appliances; Can after learning television set well, deposit a class value in, deposit a class value again in after learning air-conditioning well, when remote-controlled television set and air-conditioning, only need carry out the household electrical appliances mode switch; Read the key assignments and the code value of corresponding modes and just can realize user friendly greatly daily daily life.
Though the present invention is described with reference to current preferred embodiments; But those skilled in the art will be appreciated that; Above-mentioned preferred embodiments only is used for explaining the present invention, is not to be used for limiting protection scope of the present invention, and is any within spirit of the present invention and principle scope; Any modification of being done, equivalence replacement, improvement etc. all should be included within the rights protection scope of the present invention.
Claims (6)
1. mobile phone; It is characterized in that; This mobile phone comprises: mobile phone baseband process chip and coupled key circuit, mobile phone memory and signal receiving circuit; Said signal receiving circuit be used to receive household electrical appliance the remote controller emission infrared signal and convert code value into, the mobile phone baseband process chip be used to utilize mobile phone inner carry out keyboard scan from tape program, obtain the mobile phone key assignments; When said operating handset during in mode of learning; The mobile phone baseband process chip is used to determine whether to receive said code value; If have; Said mobile phone baseband process chip is used for said key assignments that is obtained and corresponding code value are updated to the key mapping table of said mobile phone memory, if mapping table had not also been arranged, said mobile phone baseband process chip is used to be provided with flag bit; Said mobile phone further comprises signal transmission circuit; When this operating handset during in the emission control pattern; The mobile phone baseband process chip is surveyed the key assignments of key circuit input; Read the code value that the said key-value pair of key mapping table is answered in the mobile phone memory again, then, this signal transmission circuit is transmitted to household electrical appliance with this code value.
2. mobile phone as claimed in claim 1; It is characterized in that: said signal receiving circuit further comprises decoder, demodulator circuit, oscillator and the infrared remote receiver that links to each other successively; Said infrared remote receiver is used to receive the infrared pulse remote signal of the remote controller emission of said household electrical appliance; This infrared pulse remote signal and oscillator produce separates harmonic and gets into demodulator circuit in the lump and carry out demodulation, and the sign indicating number type after the demodulation gets into decoder again and decodes and obtain said code value; The mobile phone memory that the code value portion that obtains after the decoding is delivered in the mobile phone is stored; If this mobile phone memory has storing value; Then said mobile phone memory is used to carry out storing value to be upgraded; Portion is delivered to the mobile phone baseband process chip in addition, delivers to the LCD display circuit by the mobile phone baseband process chip again, shows at last.
3. mobile phone as claimed in claim 1 is characterized in that: this mobile phone further comprises a timer, and in the set time of timer, the mobile phone baseband process chip determines whether to receive said code value with the mode of poll.
4. the method that mobile phone remote is provided with is characterized in that this mobile phone remote setting comprises mobile phone baseband process chip and coupled key circuit, mobile phone memory, signal receiving circuit and signal transmission circuit, and said method comprises:
The mobile phone baseband process chip starts corresponding household electrical appliance self study subprogram, reads the key mapping table that is prestored in the mobile phone;
The mobile phone baseband process chip utilize mobile phone inner carry out keyboard scan from tape program, obtain the mobile phone key assignments;
The mobile phone baseband process chip is surveyed the remote signal whether the remote controller transmission of receiving these household electrical appliance itself is arranged;
If have, the mobile phone baseband process chip converts said remote signal into code value, then said code value and corresponding key assignments is updated to the key mapping table; If mapping table had not also been arranged, said mobile phone baseband process chip is provided with flag bit; The mobile phone memory that the code value portion that obtains after the decoding is delivered in the mobile phone is stored; If this mobile phone memory has storing value; Then said mobile phone memory carries out storing value to be upgraded; Portion is delivered to the mobile phone baseband process chip in addition, delivers to the LCD display circuit by the mobile phone baseband process chip again, shows at last;
If no, carry out keyboard scan always, obtain the mobile phone key assignments, till obtaining key assignments or withdraw from self study subprogram pattern;
Mobile phone gets into the emission control pattern, and the mobile phone baseband process chip is surveyed the key assignments of key circuit input, reads the code value that the said key-value pair of key mapping table is answered in the mobile phone memory again, and then, signal transmission circuit is transmitted to household electrical appliance with this code value.
5. method as claimed in claim 4 is characterized in that, saidly carries out keyboard scan, obtains the mobile phone key assignments and is specially: utilize mobile phone inner carry out keyboard scan from tape program, give the button registered events, and convert the mobile phone key assignments into.
6. method as claimed in claim 4; It is characterized in that; Whether said detection has the remote signal of the remote controller transmission of receiving these household electrical appliance itself to be specially: start timer, in the time of timer, survey the remote signal whether the remote controller transmission of receiving these household electrical appliance itself is arranged with the mode of poll.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100672234A CN101291365B (en) | 2008-05-14 | 2008-05-14 | Mobile phone and remote setting method of the mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100672234A CN101291365B (en) | 2008-05-14 | 2008-05-14 | Mobile phone and remote setting method of the mobile phone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101291365A CN101291365A (en) | 2008-10-22 |
CN101291365B true CN101291365B (en) | 2012-05-02 |
Family
ID=40035428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100672234A Expired - Fee Related CN101291365B (en) | 2008-05-14 | 2008-05-14 | Mobile phone and remote setting method of the mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101291365B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101494701B (en) * | 2008-12-03 | 2011-09-21 | 江苏惠通集团有限责任公司 | Mobile phone remote controller and control method thereof |
CN102340587A (en) * | 2010-07-27 | 2012-02-01 | 上海闻泰电子科技有限公司 | Mobile phone having remote control function |
CN102394001A (en) * | 2011-11-07 | 2012-03-28 | 昆山市千灯镇凯昆达电子厂 | Mobile communication terminal with functions of remote controllers |
CN102693623B (en) * | 2012-05-09 | 2014-09-24 | 福兴达科技实业(深圳)有限公司 | Method and device for realizing infrared remote control based on Android system |
CN102970327A (en) * | 2012-10-25 | 2013-03-13 | 鸿富锦精密工业(深圳)有限公司 | Electronic device, mobile control device and control method |
CN102968897A (en) * | 2012-11-07 | 2013-03-13 | 沈丽琼 | Household appliance remote control method based on handheld equipment |
CN105516765A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Button matching method and device and signal processing method and device of remote controller |
CN104320684A (en) * | 2014-10-13 | 2015-01-28 | 四川长虹电器股份有限公司 | Method for controlling set top box, television and system |
CN104900046B (en) * | 2015-05-25 | 2018-11-23 | 小米科技有限责任公司 | infrared learning method and device |
CN108257377A (en) * | 2018-01-18 | 2018-07-06 | 四川长虹电器股份有限公司 | A kind of method and system that remote controler is configured |
CN108417009A (en) * | 2018-02-08 | 2018-08-17 | 青岛真时科技有限公司 | A kind of terminal equipment control method and electronic equipment |
CN110164001A (en) * | 2019-04-04 | 2019-08-23 | 深圳市思为软件技术有限公司 | Access control method, device and terminal device |
CN115547021B (en) * | 2022-11-24 | 2023-03-10 | 深圳市美矽微半导体有限公司 | Infrared emission and detection integrated chip |
-
2008
- 2008-05-14 CN CN2008100672234A patent/CN101291365B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101291365A (en) | 2008-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101291365B (en) | Mobile phone and remote setting method of the mobile phone | |
KR100546674B1 (en) | Apparatus and Method for Realizing Multi Brand Remote Controller | |
KR101037397B1 (en) | Digital device controlling system by utilizing smartphone | |
US6724339B2 (en) | System and method for controlling home appliances | |
EP1269444A1 (en) | Remote control interface for converting radio remote control signals into infrared remote control signals | |
CN102411840A (en) | Remote control device | |
CN105100844A (en) | Remote controller and realization method thereof | |
JP2000184471A (en) | Home automation system | |
US10101771B2 (en) | Remote control docking station and system | |
CN106647659A (en) | Intelligent terminal based method and system for controlling household appliances remotely | |
CN1399444A (en) | Comprehensive remote control method and device for household appliance via remote control code | |
CN102611927A (en) | Set top box with universal remote control function | |
KR20120048740A (en) | Digital device control system using smart phone capable of infrared signal addition for digital device | |
CN108844184B (en) | Air conditioner controller | |
CN104599476B (en) | A kind of telepilot | |
CN201489662U (en) | Remote controller | |
CN115614934A (en) | Air conditioning equipment with infrared emission function | |
CN207249903U (en) | Has the touch type remote control of infrared ray transmitting function and running gear distant control function | |
TWI396390B (en) | Can be multi-group matching remote control device | |
CN112882393A (en) | Electrical device, method of controlling electrical device, and controller | |
JP2003319470A (en) | Home electric apparatus control system, portable communication terminal, home electric apparatus and remote controller | |
CN203377965U (en) | Intelligent mouse keyboard type remote controller | |
JP2004194085A (en) | Cellular phone system and cellular phone | |
CN109872521A (en) | A kind of household electrical appliances intelligent remote control device | |
RU53797U1 (en) | UNIVERSAL REMOTE CONTROL SYSTEM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120502 Termination date: 20140514 |