CN102104696A - Infrared remote control method for mobile terminal and mobile terminal - Google Patents

Infrared remote control method for mobile terminal and mobile terminal Download PDF

Info

Publication number
CN102104696A
CN102104696A CN2010105873260A CN201010587326A CN102104696A CN 102104696 A CN102104696 A CN 102104696A CN 2010105873260 A CN2010105873260 A CN 2010105873260A CN 201010587326 A CN201010587326 A CN 201010587326A CN 102104696 A CN102104696 A CN 102104696A
Authority
CN
China
Prior art keywords
infrared
intensity value
preset time
current environment
infrared intensity
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
CN2010105873260A
Other languages
Chinese (zh)
Other versions
CN102104696B (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.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN 201010587326 priority Critical patent/CN102104696B/en
Publication of CN102104696A publication Critical patent/CN102104696A/en
Application granted granted Critical
Publication of CN102104696B publication Critical patent/CN102104696B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses an infrared remote control method for a mobile terminal, which comprises the following steps of: acquiring the infrared intensity value of the current environment by the mobile terminal, judging whether the infrared intensity value of the current environment exceeds a preset threshold value, if so, providing a remote control menu comprising multiple control options, selecting the control options in turn in the remote control menu, and executing the operation corresponding to the current selected control option when the infrared intensity value of the current environment is reduced to be below the preset threshold value. The embodiment of the invention also provides the corresponding mobile terminal. By the technical scheme, the remote control operation of the mobile phone with infrared proximity sensing function by sending common infrared signals can be realized.

Description

The method of infrared remote control portable terminal and portable terminal
Technical field
The present invention relates to the Infrared Ray Remote Control Technology field, be specifically related to a kind of method and portable terminal of infrared remote control portable terminal.
Background technology
Present a lot of high-end mobile phone all supports output signal to arrive TV (TV-OUT) function and proximity transducer function.The TV-OUT function is meant that mobile phone can pass through component vide interface (YCBCR) or HDMI (High Definition Multimedia Interface) (High Definition Multimedia, HDMI) etc., to simulate or digital signal outputs on the TV, to obtain larger sized display effect.This function can well be used for the application scenarios of some poor effect on the mobile phone small display, for example sees high-definition movie, demonstrates video such as video recording and demonstration PPT document etc. to other people.
The proximity transducer function be meant can sense external object for example people's face whether press close to mobile phone, to carry out respective handling automatically.This function is most commonly used on the telephony feature of touch-screen mobile phone, promptly when the people makes a phone call, mobile phone can be pressed close to by people face, after proximity transducer is sensed this state, the induction that can shield on the touch-screen is handled, false triggering is operated after preventing people's face contact screen, can also directly close LCD and show, to reach purpose of power saving.A kind of proximity transducer commonly used is an infrared inductor, and this infrared inductor comprises an infrared receiving device and an infrared-emitting diode.
Mobile phone needs to utilize with YCBCR interface or the corresponding signal transmission of HDMI interface cable mobile phone is connected to TV when being used for the TV-OUT function.The length of this signal transmission cable can be very not long generally speaking, and therefore the mobile phone that is used to play can only be placed on the next door of TV.And the user generally is accustomed to apart from TV more than 3 meters when seeing TV.If at this moment the user wishes the video of controls playing, for example think F.F., rewind down, time-out/broadcast etc., perhaps the user wants to switch to next pair when browsing PPT picture or photo, just must go to the TV next door and directly mobile phone be carried out manual operation.
Easy and simple to handle in order to make, some mobile phone supports are operated by the mode of remote control, just can control the video of playing thereby make the user be sitting in the original place.The mode of this remote control can comprise: the infrared interface remote control.The infrared interface remote control mode requires mobile phone to possess special-purpose infrared communication interface, special-purpose infrared communication chip is installed, but actual conditions are that most of mobile phone does not possess special-purpose infrared communication interface, special-purpose infrared communication chip is not installed, thereby is not possessed versatility.
Summary of the invention
The embodiment of the invention provides a kind of method and portable terminal of infrared remote control portable terminal.
A kind of method of infrared remote control portable terminal comprises:
Portable terminal obtains the infrared intensity value of current environment;
Portable terminal judges whether the infrared intensity value of current environment surpasses default threshold value;
When the infrared intensity value of current environment surpassed default threshold value, portable terminal provided the remote control that comprises a plurality of control options menu, and chose each control option in the remote control menu in turn;
Be reduced to default threshold value when following in the infrared intensity value of current environment, portable terminal is carried out the current selected pairing operation of control option.
A kind of portable terminal comprises:
Infrared inductor is used to obtain the infrared intensity value of current environment;
Judge module is used to judge whether the infrared intensity value of current environment surpasses default threshold value;
Remote control menu module is used for providing the remote control that comprises a plurality of control options menu when judge module judges that the infrared intensity value of current environment surpasses default threshold value, and chooses each control option in turn in the remote control menu;
Executive Module is used for judging that at judge module the infrared intensity value of current environment is reduced to default threshold value when following, carries out the current selected pairing operation of control option.
In the method that the embodiment of the invention provides, portable terminal is by the infrared intensity value of the current environment that relatively obtained and the size of predetermined threshold value, determine whether providing the remote control that comprises a plurality of control options menu, and the execution operation corresponding with selected control option, make to adopt portable terminal that video is outputed to TV when playing, can utilize common Infrared remote controller that portable terminal is carried out straighforward operation.
Description of drawings
Fig. 1 is the schematic flow sheet of the method embodiment of a kind of infrared remote control portable terminal of the present invention;
Fig. 2 is the schematic diagram of the preferred version of the inventive method embodiment;
Fig. 3 is the schematic diagram of another preferred version of the inventive method embodiment;
Fig. 4 is the oscillogram of the infrared signal of Infrared remote controller emission;
Fig. 5 is the schematic flow sheet of method embodiment in application scenarios example of the present invention;
Fig. 6 is the logical construction schematic diagram of portable terminal embodiment of the present invention.
Embodiment
The embodiment of the invention provides a kind of method of infrared remote control portable terminal, portable terminal is by detecting the infrared intensity value of current environment in this method, judge whether to obtain infrared signal by the Infrared remote controller emission, if, the remote control menu then is provided accordingly, and in the remote control menu, chooses each control option in turn; If infrared signal stops, then carry out the pairing operation of control option of current selected state.The embodiment of the invention also provides corresponding device thereof and portable terminal.Below be elaborated respectively.
Embodiment one
Please refer to Fig. 1, the method for the infrared remote control portable terminal that the embodiment of the invention provides comprises step:
101, portable terminal obtains the infrared intensity value of current environment.
Portable terminal can obtain the infrared intensity value of current environment by the infrared inductor of establishing in it.This infrared inductor comprises an infrared receiving device and an infrared-emitting diode, is used to respond to the distance of external object and portable terminal, and wherein infrared receiving device is used to detect the infrared signal of current environment, obtains the infrared intensity value of current environment.In order to obtain extraneous infrared intensity value preferably, portable terminal need be closed its infrared-emitting diode when obtaining the infrared intensity value of current environment.
Said portable terminal can have the terminal equipment of Presentation Function for mobile phone, computer, MP3, MP4, human-computer interaction terminal, e-book or other, specifically can be smart mobile phone or applause computer etc.At terminal equipment is under the feelings of mobile phone, and this mobile phone also comprises: radio circuit, voicefrequency circuit, power circuit, so that finish the basic function of mobile phone.
102, portable terminal judges whether the infrared intensity value of current environment surpasses default threshold value.
Portable terminal with infrared intensity value of obtaining and the threshold value of presetting relatively if the infrared intensity value of obtaining has surpassed default threshold value, is then thought to have obtained useful infrared signal.This useful infrared signal is operated Infrared remote controller by the user and is emitted to portable terminal, and this Infrared remote controller can be the remote controller as household electrical appliances such as TV, air-conditionings, also can be the mobile phone etc. of band infrared launcher.When adopting Infrared remote controller that portable terminal is controlled, the user can press any button emission infrared signal on the Infrared remote controller in theory, but in fact in order not influence the electrical equipment such as the TV of working, need the button of the remote controller of current idle electrical equipment of selection such as air-conditioning to carry out remote control, perhaps select the button of the nothing influence of current electrical equipment of working to carry out remote control.In order effectively to discern the infrared signal of this Infrared remote controller emission, can require the user to press the button and keep the down state certain hour, 3S for example, this time can be selected.
103, when the infrared intensity value of current environment surpassed default threshold value, portable terminal provided the remote control that comprises a plurality of control options menu, and chose each control option in the remote control menu in turn.
In one embodiment, portable terminal links to each other with a display unit; Display unit is a TV, and portable terminal outputs to vision signal and/or remote control menu on the TV by component vide interface or HDMI (High Definition Multimedia Interface).Portable terminal is provided for the remote control menu that control of video is play, and will show on the display unit that the remote control menu outputs to portable terminal links to each other; Wherein, the remote control menu comprises a plurality of control options.
Portable terminal outputs to TV when playing with video, when if the user wants this displaying video carried out F.F., rewind down, time-out/broadcasts etc. and operate, only need press the button of Infrared remote controller and keep certain hour, portable terminal detects the infrared signal of this Infrared remote controller emission, then enter remote control mode, be provided for the remote control menu that control of video is play, this remote control menu is outputed on the TV show, and in the remote control menu, choosing each control option in turn.Concrete, can be between a plurality of control options of remote control menu, periodically to switch the control option of choosing, switching cycle can preestablish according to user's custom, as switching once for 1 second.Wherein, periodically switch the control option of choosing and comprise: in a sequential manner, each control option during rolling is selected choices from menus; Or, with random fashion, each control option in selecting choices from menus; Or in the predefined mode of user, each control option in selecting choices from menus; It also can be alternate manner.
104, be reduced to default threshold value when following in the infrared intensity value of current environment, portable terminal is carried out the current selected pairing operation of control option.
When the user wants to carry out a certain operation, only need when the corresponding control option of remote control menu is in selected state, unclamp the button of Infrared remote controller, stop to launch infrared signal, to such an extent as to this moment, portable terminal made the infrared intensity value of detected current environment obviously reduce less than default threshold value owing to obtaining less than this infrared signal, at this moment, the control option of remote control menu will stop to switch, wherein must have a control option to be in selected state, portable terminal is then carried out this pairing operation of control option that is in selected state.
Adopt technique scheme, portable terminal can be by the infrared inductor established in it but not special-purpose infrared communication chip detects the infrared intensity value of current environment, judge whether to obtain useful infrared signal by the Infrared remote controller emission, if, the remote control menu then is provided accordingly, and between each control option of remote control menu, switches; If this useful infrared signal stops, then carry out the current operation that is in the control option correspondence of selected state.Thereby realized easily utilizing Infrared remote controller that portable terminal is controlled.
Embodiment two
Method in the foregoing description one can have preferable preferred version.
Please refer to Fig. 2 and Fig. 3, step 101 can comprise:
101A, portable terminal are the period 1 current environment to be carried out infrared scan by first Preset Time, obtain the infrared intensity value corresponding to each period 1; Perhaps,
101B, be that subcycle carries out infrared scan to current environment, obtain infrared intensity value corresponding to each subcycle by second Preset Time; Whether the difference of judging the accumulative total sweep time of the subcycle carried out infrared scan and first Preset Time is less than second Preset Time; If the difference of the accumulative total sweep time and first Preset Time is more than or equal to second Preset Time, continuing by second Preset Time is that subcycle carries out infrared scan, obtains the infrared intensity value corresponding to each subcycle; If after the difference of the accumulative total sweep time and first Preset Time less than second Preset Time, was then waited for the time span of difference, continuing by second Preset Time was that subcycle carries out infrared scan again, obtains the infrared intensity value corresponding to each subcycle;
Wherein, first Preset Time can be the cycle of the infrared signal of Infrared remote controller emission.
Because the infrared signal of Infrared remote controller emission all is periodic infrared signal usually, in order to obtain this infrared signal more accurately, portable terminal can carry out infrared scan to current environment according to the same cycle, to obtain the infrared intensity value corresponding to each cycle.General, the cycle of the infrared signal of the Infrared remote controller emission of electrical equipment such as household electrical appliances such as TV, DVD, air-conditioning is 108 milliseconds, then portable terminal also can carry out infrared scan for the cycle by 108 milliseconds.
If the duration of once gathering when infrared inductor is gathered infrared signal can't reach 108 milliseconds identical with the infrared signal cycle of Infrared remote controller between 1~50 millisecond.Can improve this infrared inductor, prolong the duration that its infrared signal is gathered.
Wherein, second Preset Time can be gathered the cycle of infrared signal for the infrared inductor of portable terminal.
Portable terminal can obtain the infrared intensity value of current environment by the infrared inductor of establishing in it, gathers the cycle of infrared signal with infrared inductor and carries out infrared scan as subcycle.The duration of once gathering when infrared inductor is gathered infrared signal between 1~50 millisecond, can't reach 108 milliseconds identical with the infrared signal cycle of Infrared remote controller usually.In this case, can come the infrared intensity value of indirect this first preset time period of acquisition by the infrared intensity value of obtaining all subcycle correspondences in one first preset time period, as long as the infrared intensity value of one of them subcycle correspondence surpasses default threshold value, just can think that the infrared intensity value of corresponding whole period 1 correspondence surpasses predetermined threshold value.Preferably, first Preset Time is the integral multiple of second Preset Time, and for example, first Preset Time is 108 milliseconds, and second Preset Time is 36 milliseconds, and 1 period 1 of this moment comprises 3 subcycles.Certainly, also can be other situation, for example, first Preset Time is 108 milliseconds, second Preset Time is 20 milliseconds.
With first Preset Time is 108 milliseconds, second Preset Time is 20 milliseconds and describes for example: after carrying out 20 milliseconds of subcycle infrared scan, judge that 108 milliseconds of differences with 20 milliseconds are not less than 20 milliseconds for 88 milliseconds, then continue 20 milliseconds of subcycle infrared scans for the second time, judge again ... .. is behind the 5th 20 milliseconds of subcycle infrared scans, accumulative total reaches 100 milliseconds sweep time, the difference of itself and 108 milliseconds be 8 milliseconds less than 20 milliseconds, so stop the subcycle infrared scan, after waiting for 8 milliseconds, carry out the subcycle infrared scan that the next period 1 comprises again.
Step 102 is specifically as follows:
Whether the infrared intensity value of judging a N continuous period 1 correspondence all surpasses threshold value; Wherein, N is a positive integer; If the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value, then the infrared intensity value of current environment surpasses default threshold value.
Because the user also usually can utilize this remote controller pair household electrical appliances corresponding with it to carry out remote control using Infrared remote controller that portable terminal is outputed to the video of televising when carrying out remote control.In order to obtain remote signal more accurately, can judge whether this infrared signal is used for the remote control portable terminal by the duration of judging this infrared signal to portable terminal.During user's remote control household electrical appliances, will soon unclamp after pressing certain button of Infrared remote controller, the duration generally can be above 1 second.So just can be default time of portable terminal, this setting-up time can be long slightly, for example 3 seconds.Portable terminal judges whether the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value in this setting-up time, if then think to have obtained useful infrared signal from Infrared remote controller; Otherwise think and do not obtain useful infrared signal.Adopt this preferred version, portable terminal can obtain useful infrared signal more accurately, and then makes straighforward operation more accurate.
Please refer to Fig. 2 and Fig. 3, judge whether the infrared intensity value of a period 1 correspondence can comprise above threshold value:
If 102A is the period 1 current environment to be carried out infrared scan with first Preset Time, judge then whether infrared intensity value corresponding in the period 1 surpasses threshold value.
If 102B is that subcycle carries out infrared scan to current environment with second Preset Time, judge that then the infrared intensity value that whether has a subcycle correspondence in the period 1 in all subcycles at least surpasses threshold value; If in a period 1, there is the infrared intensity value of at least one subcycle correspondence to surpass threshold value, then should corresponding infrared intensity value surpass threshold value in the period 1.
Concrete, with second Preset Time is that subcycle carries out infrared scan to current environment, whenever after carrying out subcycle infrared scan, whether the difference of judging earlier the accumulative total sweep time of the subcycle that carries out infrared scan in this period 1 and first Preset Time is less than second Preset Time; If not, continuing by second Preset Time is that subcycle carries out infrared scan, obtains the infrared intensity value corresponding to each subcycle; If after the difference of the then wait accumulative total sweep time and first Preset Time, continuing by second Preset Time is that subcycle carries out infrared scan again, obtains the infrared intensity value corresponding to each subcycle.After all subcycle been scanned that each period 1 comprises, judge in the infrared intensity value of all subcycle correspondences in this period 1 whether have at least one to surpass threshold value,, to think that then corresponding infrared intensity value of this period 1 surpasses threshold value if having.
Adopt above-mentioned preferred version, portable terminal can be according to an infrared signal acquisition time of infrared inductor subcycle or with cycle of the infrared signal of Infrared remote controller emission be the period 1 to carry out infrared scan, thereby can obtain useful infrared signal more accurately, and then make straighforward operation more accurate.
Aforementioned each embodiment of the present invention can also have other preferred version.
In one embodiment, in the remote control menu, choose the step of each control option specifically can be in the step 103 in turn: in default switching time, if the infrared intensity value of current environment surpasses default threshold value once more, then in the remote control menu, choose next control option.
Accordingly, portable terminal is carried out the current selected pairing operation of control option and is comprised in the step 104: in default switching time, if the infrared intensity value of current environment does not have to surpass default threshold value, then portable terminal is carried out the current selected pairing operation of control option.
Adopt this preferred version, after a period of time, can receive useful infrared signal and the remote control that comprises a plurality of control options menu is provided, and one of them control option of selected at random by portable terminal at the button of pressing Infrared remote controller for the user; If behind user's release button, in default switching time, press the button once more, portable terminal is chosen next control option after receiving useful infrared signal once more; If the user does not press the button again in the default time, portable terminal will be carried out the current selected pairing operation of control option.
In one embodiment, threshold value can be that the infrared intensity mean value of long-range circumstances adds a particular value.Wherein, current infrared intensity mean value is meant from portable terminal and begins displaying video and start distant control function to begin, in time till portable terminal receives the infrared signal of this Infrared remote controller emission, all period 1 correspondences do not surpass the mean value of the infrared intensity value of infrared intensity mean value at that time.The infrared intensity mean value of these long-range circumstances is used to be characterized in the average infrared intensity value that does not have under the Infrared remote controller emission infrared signal situation.As seen, the infrared intensity mean value of these long-range circumstances is values of a dynamic change, is not to immobilize, thereby can conform variation preferably, accurately characterizes environment infrared intensity value.Particular value then can set in advance.
Embodiment three
For ease of understanding, be described in detail with the method for a concrete application scenarios below the infrared remote control video playback described in the foregoing description.
At first, the Infrared remote controller that relates in the embodiment of the invention technical scheme and the operation principle of infrared inductor are briefly introduced.
Infrared remote control uses very general in present household electrical appliances, as TV, DVD player, air-conditioning etc., is all using Infrared remote controller to operate control.Its basic functional principle is: on the remote controller, an infrared launcher is arranged, and on TV or DVD, an infrared receiving device is arranged.After the user pressed button on the remote controller, remote controller sent infrared digital signal, and recipient's household electrical appliances are received this infrared digital signal, carried out operation accordingly.
Fig. 4 shows the oscillogram of the infrared signal of Infrared remote controller emission.This infrared signal is a signal period with 108ms, at first, is the lasting high level signal of 9ms, 4.5ms low level signal then, and the signal of above 13.5ms is an identification code, expression will have been carried out the transmission of digital signal, notifies the recipient ready at once.After the identification code is the digital signal district, is made up of 13 user identification code, 13 User Recognition radix-minus-one complements, 8 bit manipulation sign indicating numbers and 8 bit manipulation radix-minus-one complements, amounts to 42 information.Digital signal " 0 " code length overall 1.125ms begins with the high level of 0.56ms, is the low level of 0.565ms then; " 1 " code length overall 2.25ms also is that the high level with 0.56ms begins, and different is that the low level length in back is 1.69ms, i.e. 0,1 difference is exactly the length of infrared signal duration.After infrared recipient receives this infrared signal, can discern, be converted into the corresponding key coding, carry out operation accordingly, thereby finish the remote control purpose this digital signal.
It should be noted that, if the user continues to push button, then the infrared signal of 108 millisecond periods will be continued to send, but different with the 1st time infrared signal is, the 2nd time later infrared signal will have only the guidance code part, consist of: 9 milliseconds of high level+2025 millisecond low level+0.56 millisecond of high level.
In the practical application, in order to reach the purpose that improves emission effciency, the high-low level infrared signal of Infrared remote controller emission can be sent by after the modulation of the carrier frequency of 38K again.
Infrared inductor all has application at present a lot of mobile phones, whether have object approaching, finish associative operation if being used for induction.There is an infrared receiving device infrared inductor inside, and an infrared-emitting diode.Its operation principle is as follows: at first, system's control infrared inductor scanned surrounding enviroment with certain cycle, and in the scanning, infrared inductor will be closed infrared-emitting diode earlier each time, and uses infrared receiving device to obtain the infrared intensity of external environment; Then, infrared inductor is opened infrared-emitting diode, externally launches infrared ray, if there is object approaching, this object meeting reflected infrared ray is to infrared receiving device, thereby the infra-red intensity that causes infrared receiving device to scan increases greatly, has judged whether that thus object is approaching.Of particular note, the infrared receiving device of infrared inductor, be a digital to analog converter (Analog DigitConverter, ADC), it needs certain infrared signal acquisition time, similar one " exposure " handled, and its typical infrared signal acquisition time is between 1~50ms, to guarantee the accuracy of signals collecting.
In the technical scheme of the embodiment of the invention, the infrared signal of utilizing infrared inductor to receive the Infrared remote controller emission is carried out remote control.But the infrared signal of infrared inductor will be longer than the infrared duration of the infrared carrier frequency modulation width of digital signal 38K of common Infrared remote controller sweep time far away, cause can't be correct this infrared digital signal of demodulation to carry out remote control.The embodiment of the invention infrared signal that provides following method to realize utilizing infrared inductor to receive the Infrared remote controller emission purpose of carrying out remote control for this reason.
Although 38K debugging carrier frequency for common Infrared remote controller emission, the duration of any one infrared pulse is all very short, the precision of at present common infrared inductor can't be accomplished accurate demodulation, but in the infrared signal of a 108ms in the cycle, infrared signal intensity in the segment section zone still will be far longer than environment infrared intensity when not having infrared signal, therefore, infrared inductor is to judge the current infrared signal emission whether normal remote control arranged, although can't carry out demodulation to this signal.Technical solution of the present invention is exactly only to utilize infrared inductor to judge the current infrared signal emission whether normal remote control arranged, and do not realize straighforward operation and this infrared signal is not mediated for principle.This be with prior art in the difference place of infrared interface remote control, the recipient needs mediate to infrared signal in the infrared interface remote control, is converted into could carry out accordingly behind the corresponding key coding to operate.
Method to the infrared remote control video playback in the concrete application scenarios is described in detail below.
At first introduce the basic operation control procedure.Mobile phone is connected to TV by the TV-OUT cable, and image is outputed to TV plays.The user presses a button that does not have influence for the work at present state on the Infrared remote controller of this TV, perhaps press any one button on the Infrared remote controller of current idle electrical equipment, and keep more than the down state certain hour (for example 3 seconds), at this moment mobile phone surpasses threshold value by the infrared intensity value that its infrared inductor acquires current environment, then think and detected the useful infrared signal that Infrared remote controller is launched, promptly enter remote control mode, provide and export the remote control menu and show to TV, and between a plurality of control options of remote control menu, switch according to certain cycle, switched once in for example per 1 second, the control option can be in selected state in succession.As user at a time during release button, mobile phone can not detect useful infrared signal, represent that the user has selected the current control option that is in selected state this moment, mobile phone is promptly carried out this pairing operation of control option that is in selected state, for example broadcast/time-out, F.F., rewind down, last one first or next, reach the remote control purpose.
Need to prove, in order better to obtain the infrared intensity value, can close the mobile phone infrared inductor near inducing function, promptly close its infrared-emitting diode, only enable infrared receiving device, enter the infrared remote-controlled signal receiving mode.Under this pattern, only detect the infrared signal intensity level of external environment condition.In order to obtain infrared signal more accurately, needing the signal update time is that the scan period is short more good more, and infrared inductor need be the cycle to carry out timing scan with the shortest infrared signal acquisition time of its support.Be 20 milliseconds with the infrared signal acquisition time below, the cycle of the infrared signal of Infrared remote controller emission is 108 milliseconds and is example, and the method for infrared remote control video playback in the above-mentioned scene is described, and as shown in Figure 5, this method comprises the steps:
200, start the infrared signal measuring ability of mobile phone infrared inductor;
201, carry out 20 milliseconds of subcycle infrared scans one time, obtain the infrared intensity value of the current environment of these 20 milliseconds of subcycle correspondences, the infrared intensity value that this obtains is stored in and reads in the chip register.
202, control chip reads the infrared intensity value of current subcycle correspondence, judges whether to surpass threshold value.
203, judge whether the accumulative total subcycle reaches 100 milliseconds sweep time, if carry out next step after then waiting for 8 milliseconds, otherwise directly carry out next step.
204, empty and read chip register, return the infrared scan that step 201 is carried out next cycle.
205, judge in the infrared intensity value of 5 subcycle correspondences in the current period 1 whether have at least to surpass a threshold value, if the infrared intensity value that then is judged as current period 1 correspondence surpasses threshold value.
Press the button of Infrared remote controller for the user after, the infrared signal of the 1st 108 millisecond periods of emission, the infrared signal intensity level of detected 5 subcycles of mobile phone all can surpass thresholding; And for from the 2nd the later infrared signal of 108 millisecond periods, owing to have only the guidance code part, may have only in the infrared signal intensity level of detected 5 subcycles of mobile phone 1 time or 2 meetings surpass threshold value.
206, whether the infrared intensity value of judging all the cycle correspondences in the setting-up time all surpasses threshold value, if then carry out next step.
The mobile phone infrared inductor is according to 20 milliseconds of subcycles, and 108 millisecond periods continue scanning.If after the user presses the button of Infrared remote controller, never unclamp, then the mobile phone infrared inductor can be consecutively detected the infrared intensity value of 108 millisecond period correspondences above threshold value.In order to identify this infrared signal is the remote signal that mobile phone is sent, can preset a time, for example 3 seconds, whether the infrared intensity value of judging 108 all in these 3 seconds millisecond period correspondences has all surpassed threshold value, if, then think and received the remote signal that Infrared remote controller is launched, carry out next step.
In preferred version, the number of times that also can surpass threshold value according to the infrared intensity value of detected subcycle correspondence in the certain hour has judged whether to receive the remote signal of Infrared remote controller.
207, be provided for the remote control menu that control of video is play, in the remote control menu, choose each control option in turn.
Think when mobile phone to be judged as the user and to wish mobile phone is carried out remote control when having received the remote signal of Infrared remote controller emission, then be provided for the remote control menu that control of video is play, output to TV and show, and in the remote control menu, choose each control option in turn.
208, portable terminal is carried out the current pairing operation of control option that is in selected state when the infrared intensity value of current environment is lower than default threshold value.
Unclamp the button of Infrared remote controller as the user after, the infrared intensity value that the mobile phone infrared inductor obtains can be lower than threshold value, and then mobile phone is thought and received control signal, and selected current being in chosen the control option that changes this, carries out the operation of this control option correspondence.
In the foregoing description, mobile phone obtains the infrared signal of common Infrared remote controller emission by infrared inductor, wants the control option selected according to selected user of the duration of this infrared signal, carries out operation accordingly.Realized utilizing common Infrared remote controller that the mobile phone video playback is carried out remote control easily.
Embodiment four
Please refer to Fig. 6, the embodiment of the invention also provides a kind of portable terminal, comprises infrared inductor 401, judge module 402, remote control menu module 403 and Executive Module 404.
Infrared inductor 401 is used to obtain the infrared intensity value of current environment.
Judge module 402 is used to judge whether the infrared intensity value of current environment surpasses default threshold value.
Remote control menu module 403 is used for providing the remote control that comprises a plurality of control options menu when judge module judges that the infrared intensity value of current environment surpasses default threshold value, and chooses each control option in turn in the remote control menu.
Executive Module 404 is used for judging that at judge module the infrared intensity value of current environment is reduced to default threshold value when following, carries out the current selected pairing operation of control option.
Wherein, infrared inductor 401 can be that whether close commonly used being used for detect external object proximity transducer in the mobile phone, this infrared inductor 401 can comprise an infrared receiving device and an infrared-emitting diode, and infrared receiving device can detect the infrared intensity value of current environment.
Preferably, infrared inductor 401, specifically being used for by first Preset Time is the period 1 current environment to be carried out infrared scan, obtains the infrared intensity value corresponding to each period 1; Perhaps,
By second Preset Time is that subcycle carries out infrared scan to current environment, obtains the infrared intensity value corresponding to each subcycle; Whether the difference of judging the accumulative total sweep time of the subcycle carried out infrared scan and first Preset Time is less than second Preset Time; If the difference of the accumulative total sweep time and first Preset Time is more than or equal to second Preset Time, continuing by second Preset Time is that subcycle carries out infrared scan, obtains the infrared intensity value corresponding to each subcycle; If after the difference of the accumulative total sweep time and first Preset Time less than second Preset Time, was then waited for the time span of difference, continuing by second Preset Time was that subcycle carries out infrared scan again, obtains the infrared intensity value corresponding to each subcycle;
First Preset Time is the cycle of the infrared signal of Infrared remote controller emission.
Preferably, judge module 402 is used to specifically judge whether the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value; Wherein, N is a positive integer; If the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value, then the infrared intensity value of current environment surpasses default threshold value.
Wherein, judge module 402 judges whether the infrared intensity value of a period 1 correspondence surpasses threshold value and can comprise:
If with first Preset Time is the period 1 current environment to be carried out infrared scan, judge then whether infrared intensity value corresponding in the period 1 surpasses threshold value.
If with second Preset Time is that subcycle carries out infrared scan to current environment, judge that then the infrared intensity value that whether has a subcycle correspondence in the period 1 in all subcycles at least surpasses threshold value; If in a period 1, there is the infrared intensity value of at least one subcycle correspondence to surpass threshold value, then should corresponding infrared intensity value surpass threshold value in the period 1.
Portable terminal can have the terminal equipment of Presentation Function for mobile phone, computer, MP3, MP4, human-computer interaction terminal, e-book or other.At terminal equipment is under the feelings of mobile phone, and this mobile phone also comprises: radio circuit, microphone, loud speaker, power circuit;
Radio circuit is used to set up communicating by letter of mobile phone and wireless network, realizes the Data Receiving and the transmission of mobile phone and wireless network;
Microphone is used to gather sound and the sound of gathering is converted into voice data, so that mobile phone sends voice data by radio circuit to wireless network;
Loud speaker is used for mobile phone by radio circuit being reduced to sound and playing this sound to the user from the voice data that wireless network receives;
Power circuit is used to each circuit or the device power supply of mobile phone.
The portable terminal that the embodiment of the invention provides can be by detecting and judge that whether the infrared intensity value of current environment surpasses threshold value, provides the remote control menu, and chooses each to control option in turn in the remote control menu; Perhaps carry out the current selected pairing operation of control option.Thereby support infrared remote-control operation.
More than the method and apparatus and the portable terminal of the infrared remote control video playback that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (16)

1. the method for an infrared remote control portable terminal is characterized in that, comprising:
Portable terminal obtains the infrared intensity value of current environment;
Portable terminal judges whether the infrared intensity value of current environment surpasses default threshold value;
When the infrared intensity value of current environment surpassed default threshold value, portable terminal provided the remote control that comprises a plurality of control options menu, and chose each control option in described remote control menu in turn;
Be reduced to default threshold value when following in the infrared intensity value of current environment, portable terminal is carried out the current selected pairing operation of control option.
2. method according to claim 1 is characterized in that,
Described portable terminal is the mobile phone with infrared inductor, and described infrared inductor is used to respond to the distance of external object and mobile phone;
Described infrared inductor comprises an infrared receiving device and an infrared-emitting diode, and described infrared receiving device can detect the infrared intensity value of current environment.
3. method according to claim 2 is characterized in that,
Described portable terminal links to each other with a display unit; Described display unit is a TV, and described portable terminal is by component vide interface or HDMI (High Definition Multimedia Interface), and the vision signal and/or the remote control menu of described terminal outputed on the TV.
4. according to each described method of claim 1 to 3, it is characterized in that the described infrared intensity value of obtaining current environment comprises:
By first Preset Time is the period 1 current environment to be carried out infrared scan, obtains the infrared intensity value corresponding to each period 1; Perhaps,
By second Preset Time is that subcycle carries out infrared scan to current environment, obtains the infrared intensity value corresponding to each subcycle; Whether the difference of judging the accumulative total sweep time of the subcycle carried out infrared scan and first Preset Time is less than described second Preset Time; If the difference of described accumulative total sweep time and described first Preset Time is more than or equal to described second Preset Time, continuing by second Preset Time is that subcycle carries out infrared scan, obtains the infrared intensity value corresponding to each subcycle; If the difference of described accumulative total sweep time and described first Preset Time is less than described second Preset Time, after then waiting for the time span of described difference, continuing by second Preset Time is that subcycle carries out infrared scan again, obtains the infrared intensity value corresponding to each subcycle;
Described first Preset Time is the cycle of the infrared signal of Infrared remote controller emission.
5. method according to claim 4 is characterized in that, whether the described infrared intensity value of judging current environment surpasses default threshold value comprises: whether the infrared intensity value of judging a N continuous period 1 correspondence all surpasses threshold value;
Wherein, N is a positive integer; If the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value, then the infrared intensity value of current environment surpasses default threshold value.
6. method according to claim 5 is characterized in that, judges whether the infrared intensity value of a period 1 correspondence comprises above threshold value:
If with first Preset Time is the period 1 current environment to be carried out infrared scan, judge then whether infrared intensity value corresponding in the period 1 surpasses threshold value;
If with second Preset Time is that subcycle carries out infrared scan to current environment, judge that then the infrared intensity value that whether has a subcycle correspondence in the period 1 in all subcycles at least surpasses threshold value; If in a period 1, there is the infrared intensity value of at least one subcycle correspondence to surpass threshold value, then should corresponding infrared intensity value surpass threshold value in the period 1.
7. according to each described method of claim 1 to 3, it is characterized in that the described remote control menu that comprises a plurality of control options that provides comprises:
Be provided for the remote control menu that control of video is play, and described remote control menu outputed on the display unit that links to each other with described portable terminal show; Wherein, described remote control menu comprises a plurality of control options.
8. according to each described method of claim 1 to 3, it is characterized in that described each control option of choosing in turn comprises in described remote control menu:
Between a plurality of control options of described remote control menu, periodically switch the control option of choosing;
Wherein, described periodicity is switched the control option of choosing and is comprised: in a sequential manner, and each control option during rolling is selected choices from menus; Or, with random fashion, each control option in selecting choices from menus; Or in the predefined mode of user, each control option in selecting choices from menus.
9. according to each described method of claim 1 to 3, it is characterized in that described each control option of choosing in turn comprises in described remote control menu:
In default switching time,, then in described remote control menu, choose next control option if the infrared intensity value of current environment surpasses default threshold value once more.
10. method according to claim 9 is characterized in that, described portable terminal is carried out the current selected pairing operation of control option and comprised:
In default switching time, if the infrared intensity value of current environment does not have to surpass default threshold value, then portable terminal is carried out the current selected pairing operation of control option.
11., it is characterized in that when described portable terminal obtained the infrared intensity value of current environment, described portable terminal was closed the infrared-emitting diode of self according to each described method of claim 1 to 3.
12. a portable terminal is characterized in that, comprising:
Infrared inductor is used to obtain the infrared intensity value of current environment;
Judge module is used to judge whether the infrared intensity value of current environment surpasses default threshold value;
Remote control menu module is used for providing the remote control that comprises a plurality of control options menu when judge module judges that the infrared intensity value of current environment surpasses default threshold value, and chooses each control option in turn in described remote control menu;
Executive Module is used for judging that at judge module the infrared intensity value of current environment is reduced to default threshold value when following, carries out the current selected pairing operation of control option.
13. portable terminal according to claim 12 is characterized in that:
Described infrared inductor comprises an infrared receiving device and an infrared-emitting diode, and described infrared receiving device can detect the infrared intensity value of current environment.
14., it is characterized in that according to claim 12 or 13 described portable terminals:
Described infrared inductor, specifically being used for by first Preset Time is the period 1 current environment to be carried out infrared scan, obtains the infrared intensity value corresponding to each period 1; Perhaps,
By second Preset Time is that subcycle carries out infrared scan to current environment, obtains the infrared intensity value corresponding to each subcycle; Whether the difference of judging the accumulative total sweep time of the subcycle carried out infrared scan and first Preset Time is less than described second Preset Time; If the difference of described accumulative total sweep time and described first Preset Time is more than or equal to described second Preset Time, continuing by second Preset Time is that subcycle carries out infrared scan, obtains the infrared intensity value corresponding to each subcycle; If the difference of described accumulative total sweep time and described first Preset Time is less than described second Preset Time, after then waiting for the time span of described difference, continuing by second Preset Time is that subcycle carries out infrared scan again, obtains the infrared intensity value corresponding to each subcycle;
Described first Preset Time is the cycle of the infrared signal of Infrared remote controller emission.
15. method according to claim 14 is characterized in that:
Described judge module is used to specifically judge whether the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value;
Wherein, N is a positive integer; If the infrared intensity value of a N continuous period 1 correspondence all surpasses threshold value, then the infrared intensity value of current environment surpasses default threshold value.
16., it is characterized in that described portable terminal is a mobile phone according to claim 12 or 13 described portable terminals; Described mobile phone also comprises: radio circuit, microphone, loud speaker, power circuit;
Described radio circuit is used to set up communicating by letter of mobile phone and wireless network, realizes the Data Receiving and the transmission of mobile phone and wireless network;
Described microphone is used to gather sound and the sound of gathering is converted into voice data, so that described mobile phone sends described voice data by described radio circuit to wireless network;
Described loud speaker is used for described mobile phone is passed through described radio circuit from the voice data that wireless network receives, and is reduced to sound and plays this sound to the user;
Described power circuit is used to each circuit or the device power supply of described mobile phone.
CN 201010587326 2010-12-14 2010-12-14 Infrared remote control method for mobile terminal and mobile terminal Expired - Fee Related CN102104696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010587326 CN102104696B (en) 2010-12-14 2010-12-14 Infrared remote control method for mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010587326 CN102104696B (en) 2010-12-14 2010-12-14 Infrared remote control method for mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN102104696A true CN102104696A (en) 2011-06-22
CN102104696B CN102104696B (en) 2013-08-14

Family

ID=44157200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010587326 Expired - Fee Related CN102104696B (en) 2010-12-14 2010-12-14 Infrared remote control method for mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN102104696B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821202A (en) * 2012-08-01 2012-12-12 广东欧珀移动通信有限公司 Picture playing method based on RCP (remote control protocol) communication
CN102821319A (en) * 2012-08-01 2012-12-12 广东欧珀移动通信有限公司 Video playing method based on RCF (required communication performance) communication
CN102833399A (en) * 2012-08-10 2012-12-19 广东欧珀移动通信有限公司 Application program selection method and device
CN104076684A (en) * 2013-09-25 2014-10-01 苏州天鸣信息科技有限公司 Wireless signal sensing device and control method thereof
CN104539863A (en) * 2015-01-06 2015-04-22 北京京东方视讯科技有限公司 Control system and method for displayer body key information and television
CN105334631A (en) * 2014-07-24 2016-02-17 浙江亿思达显示科技有限公司 3D glasses resistant to infrared interference
CN106550259A (en) * 2016-12-08 2017-03-29 深圳Tcl数字技术有限公司 The matching method and system of remote control and TV
CN107846619A (en) * 2017-10-18 2018-03-27 宁波翼动通讯科技有限公司 A kind of audio stream control method for playing back, mobile terminal and remote control
CN108898820A (en) * 2018-08-20 2018-11-27 电子科技大学中山学院 Household Internet of things remote control system
CN110297569A (en) * 2019-06-27 2019-10-01 海信(山东)空调有限公司 A kind of detection method and device
CN111710151A (en) * 2020-06-30 2020-09-25 珠海格力智能装备有限公司 Infrared emission intensity detection system, method and device, storage medium and processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136138A (en) * 2007-10-12 2008-03-05 中兴通讯股份有限公司 Household electrical appliance remote-control method based on mobile terminal and mobile terminal thereof
CN201374746Y (en) * 2008-12-23 2009-12-30 康佳集团股份有限公司 Mobile phone capable of automatically reducing sound volume of television set during call

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136138A (en) * 2007-10-12 2008-03-05 中兴通讯股份有限公司 Household electrical appliance remote-control method based on mobile terminal and mobile terminal thereof
CN201374746Y (en) * 2008-12-23 2009-12-30 康佳集团股份有限公司 Mobile phone capable of automatically reducing sound volume of television set during call

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821202A (en) * 2012-08-01 2012-12-12 广东欧珀移动通信有限公司 Picture playing method based on RCP (remote control protocol) communication
CN102821319A (en) * 2012-08-01 2012-12-12 广东欧珀移动通信有限公司 Video playing method based on RCF (required communication performance) communication
CN102821202B (en) * 2012-08-01 2014-04-02 广东欧珀移动通信有限公司 Picture playing method based on RCP (remote control protocol) communication
CN102821319B (en) * 2012-08-01 2015-04-29 广东欧珀移动通信有限公司 Video playing method based on RCF (required communication performance) communication
CN102833399A (en) * 2012-08-10 2012-12-19 广东欧珀移动通信有限公司 Application program selection method and device
CN102833399B (en) * 2012-08-10 2015-10-07 广东欧珀移动通信有限公司 A kind of application program system of selection and device
CN104076684A (en) * 2013-09-25 2014-10-01 苏州天鸣信息科技有限公司 Wireless signal sensing device and control method thereof
CN104076684B (en) * 2013-09-25 2018-03-13 浙江德塔森特数据技术有限公司 A kind of wireless signal induction installation
CN105334631A (en) * 2014-07-24 2016-02-17 浙江亿思达显示科技有限公司 3D glasses resistant to infrared interference
US9736416B2 (en) 2015-01-06 2017-08-15 Boe Technology Group Co., Ltd. Key information control system and control method of body keys of display, television set
CN104539863A (en) * 2015-01-06 2015-04-22 北京京东方视讯科技有限公司 Control system and method for displayer body key information and television
CN106550259A (en) * 2016-12-08 2017-03-29 深圳Tcl数字技术有限公司 The matching method and system of remote control and TV
CN107846619A (en) * 2017-10-18 2018-03-27 宁波翼动通讯科技有限公司 A kind of audio stream control method for playing back, mobile terminal and remote control
CN108898820A (en) * 2018-08-20 2018-11-27 电子科技大学中山学院 Household Internet of things remote control system
CN110297569A (en) * 2019-06-27 2019-10-01 海信(山东)空调有限公司 A kind of detection method and device
CN110297569B (en) * 2019-06-27 2023-04-14 海信空调有限公司 Detection method and device
CN111710151A (en) * 2020-06-30 2020-09-25 珠海格力智能装备有限公司 Infrared emission intensity detection system, method and device, storage medium and processor
CN111710151B (en) * 2020-06-30 2021-11-05 珠海格力智能装备有限公司 Infrared emission intensity detection system, method and device, storage medium and processor

Also Published As

Publication number Publication date
CN102104696B (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN102104696B (en) Infrared remote control method for mobile terminal and mobile terminal
CN105573628B (en) User terminal device, control method thereof, and system for providing contents
CN101882366B (en) Remote control signal learning and processing by a host device and accessory
CN105208056B (en) Information interaction method and terminal
CN102984478A (en) Method and device for controlling television
JP6080369B2 (en) Device identification device and remote control system
EP3637227A1 (en) Method for performing operation on intelligent wearing device by using gesture, and intelligent wearing device
CN105392251A (en) Method, device and system for managing intelligent lamp
CN102447854A (en) Remote control method and television
CN106162478A (en) Mike method for optimizing and device
CN101604203A (en) The hand-held electronic product of automatically switching operation pattern and control method
CN101859487A (en) Electronic book capable of realizing television remote control function and remote control method thereof
CN112286122A (en) Intelligent household control method, device, terminal and storage medium
US9823635B2 (en) Handheld information processing device with remote control output mode
CN103838482B (en) reminding method and electronic equipment
US20100171634A1 (en) Function Configuration Method and Related Device for a Remote Control Device
KR101166464B1 (en) Digital device control system using smart phone capable of infrared signal addition for digital device
US11486936B2 (en) Power supply on-off detection circuit, method, and storage medium
CN103376975A (en) Control method and device and mobile communication terminal
CN105915710A (en) Electronic terminal and accessory therefor
KR100843586B1 (en) Device capable of non-contact function selection and method thereof
JP2010245692A (en) Mobile terminal
EP2105822A1 (en) Electronic device with switch off-function and method for providing a switch off-function for an electronic device
CN113542488A (en) Method, device and storage medium for controlling controlled terminal by terminal device
CN105261177B (en) A kind of touching telecontrol method and mobile terminal

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
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20181224

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130814

CF01 Termination of patent right due to non-payment of annual fee