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.