CN109523773A - A kind of processing method of control instruction, mobile terminal and computer storage medium - Google Patents

A kind of processing method of control instruction, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN109523773A
CN109523773A CN201811419557.3A CN201811419557A CN109523773A CN 109523773 A CN109523773 A CN 109523773A CN 201811419557 A CN201811419557 A CN 201811419557A CN 109523773 A CN109523773 A CN 109523773A
Authority
CN
China
Prior art keywords
numerical value
mobile terminal
control instruction
infrared
value
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.)
Pending
Application number
CN201811419557.3A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811419557.3A priority Critical patent/CN109523773A/en
Publication of CN109523773A publication Critical patent/CN109523773A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses a kind of processing method of control instruction, mobile terminal and computer storage mediums.Wherein method includes: to acquire at least two image datas using the infrared mould group that the mobile terminal has infrared function;At least two image data is at least two single-frame images data acquired in preset duration by preset interval when opening IR remote controller in the mobile terminal local environment;Determine the corresponding numerical value of at least two image data;The numerical value is the pixel value randomly selected from corresponding image data;The intensity of the corresponding infrared light of determining numerical representation method;When the numerical value of the intensity of the numerical value of the intensity at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light and the infrared light of the characterization IR remote controller transmitting, it is based at least two numerical value, generates control instruction, and store.

Description

A kind of processing method of control instruction, mobile terminal and computer storage medium
Technical field
The present invention relates to data processing techniques, and in particular to a kind of processing method of control instruction, mobile terminal and calculating Machine storage medium.
Background technique
Currently, since IR remote controller will not generate interference to the electronic equipment of surrounding, thus in electronic equipment such as household electrical appliances It has a wide range of applications in equipment.With the development of terminal technology, household appliance is remotely controlled increasingly using mobile terminal It is common.
It is often necessary to increase peripheral components such as infrared LED lamp, photodiode etc. on mobile terminals, just it is able to achieve Learn the corresponding control instruction of IR remote controller, and the control of the control instruction by learning opens or closes electronic equipment.
It thus needs to find one kind and realize under the premise of not increasing hardware cost to pass through mobile terminal controlling electronic devices Technical solution.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of processing methods of control instruction, mobile terminal And computer storage medium.
The embodiment of the present invention provides a kind of processing method of control instruction, which comprises
Using the mobile terminal there is the infrared mould group of infrared function to acquire at least two image datas;Described at least two A image data is adopted in preset duration by preset interval when opening IR remote controller in the mobile terminal local environment At least two single-frame images data of collection;
Determine the corresponding numerical value of at least two image data;The numerical value be from corresponding image data with The pixel value that machine is chosen;The intensity of the corresponding infrared light of determining numerical representation method;
When the number of the intensity at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light When being worth and characterizing the numerical value of intensity for the infrared light that the IR remote controller emits, it is based at least two numerical value, generates control System instruction, and store;The control instruction is for controlling the infrared mould group transmitting infrared laser, to set to electronics to be controlled It is standby to be controlled.
It is described to be based at least two numerical value in above scheme, generate control instruction, comprising:
Based at least two numerical value, reference threshold is determined;
Each numerical value at least two numerical value is compared with the reference threshold, at least two is obtained and compares As a result;
Based at least two obtained comparison results, control instruction is generated.
It is described to be based at least two numerical value in above scheme, determine reference threshold, comprising:
From the multiple numerical value of intensity for characterizing the mobile terminal local environment mid-infrared light, a numerical value conduct is determined First numerical value;
From the multiple numerical value of intensity for characterizing the infrared light that the IR remote controller emits, determine a numerical value as the Two numerical value;
Determine the average value of first numerical value and the second value;
Using the average value as the reference threshold.
It is described based at least two obtained comparison results in above scheme, generate control instruction, comprising:
When comparison result characterization respective value is greater than or equal to the reference threshold, the first level is exported;
When comparison result characterization respective value is less than the reference threshold, second electrical level is exported;
Based on first level of at least one obtained and at least one second electrical level, control instruction is generated.
In above scheme, the method also includes: obtain the model of electronic equipment to be controlled;
Control instruction corresponding with the model is searched from the control instruction of storage;
Based on the control instruction found, swashed by the infrared mould group to the electronic equipment transmitting to be controlled is infrared Light opens or closes the electronic equipment to be controlled with control.
The embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Acquisition unit, for having the infrared mould group of infrared function to acquire at least two picture numbers using the mobile terminal According to;When at least two image data is the unlatching IR remote controller in the mobile terminal local environment in preset duration At least two single-frame images data acquired by preset interval;
Determination unit, for determining the corresponding numerical value of at least two image data;The numerical value is from correspondence The first image data in a pixel value randomly selecting;The intensity of the corresponding infrared light of determining numerical representation method;
Generation unit, for when infrared in the mobile terminal local environment comprising characterizing at least two determining numerical value When the numerical value of the intensity of the numerical value of the intensity of light and the infrared light of IR remote controller transmitting, based at least two number Value generates control instruction, and stores;The control instruction is for controlling the infrared mould group transmitting infrared laser, to be controlled The electronic equipment of system is controlled.
In above scheme, the generation unit is specifically used for being based at least two numerical value, determines reference threshold;It will Each numerical value at least two numerical value is compared with the reference threshold, obtains at least two comparison results;It is based on At least two obtained comparison results generate control instruction.
In above scheme, the determination unit, specifically for from characterizing the mobile terminal local environment mid-infrared light In multiple numerical value of intensity, determine a numerical value as the first numerical value;The intensity of the infrared light emitted from characterization IR remote controller Multiple numerical value in, determine a numerical value as second value;Determine the average value of first numerical value and the second value; Using the average value as the reference threshold.
In above scheme, the generation unit is specifically used for when comparison result characterization respective value is more than or equal to described When reference threshold, the first level is exported;When comparison result characterization respective value is less than the reference threshold, the second electricity of output It is flat;Based on first level of at least one obtained and at least one second electrical level, control instruction is generated.
In above scheme, the mobile terminal further include: searching unit, for obtaining the type of electronic equipment to be controlled Number;Control instruction corresponding with the model is searched from the control instruction of storage;Based on the control instruction found, pass through institute It states infrared mould group and emits infrared laser to the electronic equipment to be controlled, the electronics to be controlled is opened or closed with control Equipment.
The embodiment of the present invention provides a kind of computer storage medium, is stored thereon with computer instruction, and the instruction is processed Device realizes the step of processing method of control instruction any one of described above when executing.
The embodiment of the present invention provides a kind of mobile terminal, including memory, processor and storage are on a memory and can be The computer program run on processor, the processor realize control instruction any one of described above when executing described program The step of processing method.
Technical solution provided in an embodiment of the present invention using the mobile terminal there is the infrared mould group of infrared function to acquire At least two image datas;At least two image data is to open IR remote controller in the mobile terminal local environment When in preset duration by preset interval acquisition at least two single-frame images data;Determine at least two image data point Not corresponding numerical value;The numerical value is the pixel value randomly selected from corresponding image data, determining numerical representation method The intensity of corresponding infrared light;When at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light When the numerical value of the intensity of the infrared light of the numerical value and characterization of intensity the IR remote controller transmitting, based at least two number Value generates control instruction, and stores;The control instruction is for controlling the infrared mould group transmitting infrared laser, to be controlled The electronic equipment of system is controlled.In the embodiment of the present invention, using the mobile terminal there is the infrared mould group of infrared function to exist Open IR remote controller when in preset duration by preset interval acquire at least two image datas, at least two based on acquisition Image data determines the numerical value for characterizing the intensity of corresponding infrared light, and the numerical value based on the intensity for characterizing corresponding infrared light, generates To the control instruction of electronic equipment transmitting infrared laser to be controlled.Obviously, it is only necessary to which the mobile terminal has infrared function Infrared mould group, can be achieved with controlling the electronic equipment to be controlled by the mobile terminal, it is additional without increasing Hardware.
Detailed description of the invention
Fig. 1 is the flow diagram of the processing method of control instruction of the embodiment of the present invention;
Fig. 2 is the waveform diagram for the binary sequence that IR remote controller of the embodiment of the present invention issues;
Fig. 3 is the structure composition schematic diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 a, Fig. 4 b are the specific structure signal for the mobile terminal that the processing method of control instruction of the embodiment of the present invention is applied Figure;
Fig. 5 is the hardware configuration composition schematic diagram of data processing equipment of the embodiment of the present invention.
Specific embodiment
In the related technology, learning type infrared remote-controller includes two kinds, and one is the infrared remote controls learnt with fixed code format Device, another kind are the IR remote controllers of waveform copy mode study.Learn control with the IR remote controller of fixed code format study The process of instruction may include: the waveform signal for first obtaining different types of IR remote controller transmitting infrared laser, then to each Waveform signal is identified and is recorded, and when determining transmitting infrared laser, the waveform signal of record is reduced into original signal, It is exactly control instruction.The process of the IR remote controller study control instruction of waveform copy mode study may include: to infrared distant The waveform signal of the infrared laser of control device transmitting is copied, when determining transmitting infrared laser, by the infrared laser of copy Waveform signal is reduced into original signal, that is, control instruction.
Above-mentioned learning type infrared remote-controller can be realized that the terminal needs to include infrared light-emitting diode, red by terminal Outer reception diode, microcontroller etc., it is clear that need to increase peripheral components such as infrared LED lamp etc. at the terminal.
Based on this, in the embodiment of the present invention, there is the infrared mould group acquisition of infrared function at least using the mobile terminal Two image datas;At least two image data be in the mobile terminal local environment open IR remote controller when By at least two single-frame images data of preset interval acquisition in preset duration;Determine that at least two image data is right respectively The numerical value answered;The numerical value is the pixel value randomly selected from corresponding image data, and determining numerical representation method is corresponding The intensity of infrared light;When the intensity at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light Numerical value and characterization IR remote controller transmitting infrared light intensity numerical value when, be based at least two numerical value, it is raw At control instruction, and store;The control instruction is for controlling the infrared mould group transmitting infrared laser, to electricity to be controlled Sub- equipment is controlled.
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
The embodiment of the present invention provides a kind of processing method of control instruction, is applied to mobile terminal.Fig. 1 is that the present invention is implemented The flow diagram of the processing method of the control instruction of example;As shown in Figure 1, which comprises
Step 101: using the mobile terminal there is the infrared mould group of infrared function to acquire at least two image datas.
Here, the mobile terminal may include mobile phone, portable device (Pad, Portable android device) Etc..
Wherein, at least two image data be in the mobile terminal local environment open IR remote controller when By at least two single-frame images data of preset interval acquisition in preset duration.
Here, due to the mobile terminal have infrared function infrared mould group, that is to say, that the mobile terminal it is red External mold group has the function of transmitting infrared laser, thus, without increasing additional hardware.The infrared mould group specifically can be by following At least one realize: three-dimensional (3D, three Dimensions) structure light camera module, flight time (TOF, Time Of Flight) camera module.
In order to have the infrared mould group of infrared function to acquire described image data using the mobile terminal, need to control red Outer remote controler to the mobile terminal there is the infrared mould group of infrared function to emit binary sequence.Wherein, the infrared light can To refer to that the wavelength electromagnetic wave longer than visible light, wavelength are between 770 nanometers to 1 millimeter.
Based on this, there is the infrared mould group of infrared function to acquire at least two picture number using the mobile terminal According to before, firstly, user can have the mobile terminal the infrared mould group adjustment of infrared function be in an open state, and by institute The infrared emission light source for stating IR remote controller is closely directed at the infrared mould group with infrared function of the mobile terminal.So Afterwards, user can press the respective keys of the IR remote controller, to control the IR remote controller to the mobile terminal Infrared mould group emits binary sequence, and then is adopted in preset duration by preset interval using the infrared mould group of the mobile terminal Collect at least two image data.
Here, user may include following two situation to the control of IR remote controller:
The first situation, user can select one of key such as power supply to press from multiple keys on IR remote controller Key or volume button etc. are pressed.
After user presses the respective keys on the IR remote controller, the IR remote controller can be according to default transmitting Frequency issues a string of binary sequences, it is assumed that is the waveform for the binary sequence that IR remote controller issues for 0100101100, Fig. 2 Figure.As shown in Fig. 2, " 0 " in the binary sequence 0100101100 issued for the IR remote controller, the infrared remote control Device will not launch outward infrared light, " 1 " in binary sequence 0100101100 issued for the IR remote controller, described IR remote controller can launch outward infrared light.In this way, the binary sequence 0100101100 issued for the IR remote controller In " 0 ", the infrared mould group of the mobile terminal can acquire the infrared light in environment, and obtain a single-frame images data, " 1 " in binary sequence 0100101100 issued for the IR remote controller, the infrared mould group of the mobile terminal can To acquire the infrared light of the IR remote controller transmitting, and a single-frame images data are obtained, here, two single-frame images data It is different.In this way, the infrared mould group of the mobile terminal can collect in preset duration according to default frequency acquisition At least two single-frame images data.
It should be noted that the frequency acquisition of the infrared mould group of the mobile terminal can be greater than or equal to it is described infrared distant Control the default tranmitting frequency of device.The preset duration can be identical as the duration of the binary sequence, alternatively, when described default The long duration for being less than the binary sequence.
Second situation, user can control the IR remote controller of different model, and pass through the mobile terminal Infrared mould group acquire corresponding at least two image data.
For example, user can control the TV remote controller of producer A, and pass through the red of the mobile terminal External mold group acquires corresponding at least two image data.Alternatively, user can control the air-conditioning remote control of producer B, and Corresponding at least two image data is acquired by the mobile terminal.
When practical application, for the binary sequence that the IR remote controller issues, the infrared mould group of the mobile terminal The Infrared Data that in environment and IR remote controller emits can be acquired, and the Infrared Data of acquisition is exposed, is amplified, Analog-to-digital conversion process, to obtain at least two single-frame images data.Wherein, the rate of exposure can for 10,000 times per second with On.
Step 102: determining the corresponding numerical value of at least two image data;The numerical value is from corresponding image The pixel value randomly selected in data;The intensity of the corresponding infrared light of determining numerical representation method.
Here, if the intensity of the infrared light in environment and the intensity of the infrared light of IR remote controller transmitting be it is uniform, The acquisition mode that the mobile terminal then can be set is " global mode ", in this way, passing through the infrared of the mobile terminal After mould group acquires at least two image data, a pixel value can be randomly selected from each image data as correspondence Numerical value.
As illustrated in fig. 2, it is assumed that the binary sequence that the IR remote controller issues is 0100101100, for described infrared " 0 " in binary sequence 0100101100 that remote controler issues, the infrared mould group of the mobile terminal can acquire in environment Infrared light, and obtain a single-frame images data.If the intensity of the infrared light in environment is uniform, the mobile terminal A pixel value can be randomly selected from obtained single-frame images data, and using the pixel value randomly selected as described in characterization The numerical value of the intensity of the infrared light of mobile terminal local environment;If the intensity of the infrared light in environment be it is non-uniform, it is described Mobile terminal can calculate the average value of all pixels in single-frame images data, and using obtained average value as the characterization shifting The numerical value of the intensity of the infrared light of dynamic terminal local environment.The binary sequence issued for the IR remote controller " 1 " in 0100101100, the infrared mould group of the mobile terminal can acquire the infrared light of the IR remote controller transmitting, and Obtain a single-frame images data.If the intensity of the infrared light of IR remote controller transmitting be it is uniform, can be from obtaining Single-frame images data in randomly select a pixel value, and using the pixel value randomly selected as characterizing the IR remote controller The numerical value of the intensity of the infrared light of transmitting.
Here, the process for determining the numerical value of respective image data, can specifically include: carry out to the respective image data Feature extraction, to extract characteristic;Characteristic based on extraction determines brightness value or color-values.
Specifically, it can be directed to the respective image data, determine color histogram;Based on determining color histogram, Extract color characteristic data;Color characteristic data based on extraction, determines color value.Alternatively, it is directed to the respective image data, Determine grey level histogram;Based on determining grey level histogram, gray feature data are extracted;Gray feature data based on extraction, Determine brightness value.
Step 103: when at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light When the numerical value of the intensity of the infrared light of the numerical value and characterization of intensity the IR remote controller transmitting, based at least two number Value generates control instruction, and stores;The control instruction is for controlling the infrared mould group transmitting infrared laser, to be controlled The electronic equipment of system is controlled.
Wherein, infrared laser can refer to transmitting in one direction, the laser that the angle of divergence of light beam is small, energy is concentrated.Institute Stating electronic equipment to be controlled can be household appliance, such as television set, air-conditioning.
Here it is possible to which the numerical value and characterization using the intensity for characterizing the mobile terminal local environment mid-infrared light are described red The numerical value of the intensity of the infrared light of outer remote controler transmitting, learns the control instruction of IR remote controller.
It is in one embodiment, described to be based at least two numerical value based on this, generate control instruction, comprising: be based on institute At least two numerical value are stated, determine reference threshold;Each numerical value at least two numerical value is carried out with the reference threshold Compare, obtains at least two comparison results;Based at least two obtained comparison results, control instruction is generated.
As illustrated in fig. 2, it is assumed that the binary sequence that the IR remote controller issues is 0100101100, for described infrared " 0 " in binary sequence 0100101100 that remote controler issues, it is red in the available characterization mobile terminal local environment One numerical value of the intensity of outer light, " 1 " in binary sequence 0100101100 issued for the IR remote controller, can be with Obtain characterizing a numerical value of the intensity of the infrared light of the IR remote controller transmitting.In this way, can be based on the characterization movement One numerical value of the intensity of terminal local environment mid-infrared light, and characterize the intensity of the infrared light of the IR remote controller transmitting A numerical value, determine reference threshold.
It is in one embodiment, described to be based at least two numerical value based on this, determine reference threshold, comprising: from characterization In multiple numerical value of the intensity of the mobile terminal local environment mid-infrared light, determine a numerical value as the first numerical value;From table In the multiple numerical value for levying the intensity of the infrared light of the IR remote controller transmitting, determine a numerical value as second value;It determines The average value of first numerical value and the second value;Using the average value as the reference threshold.
As illustrated in fig. 2, it is assumed that the binary sequence that the IR remote controller issues is 0100101100, due to described infrared It is shared 6 " 0 " in the binary sequence 0100101100 that remote controler issues, therefore locating for the available characterization mobile terminal Multiple numerical value of the intensity of environment mid-infrared light.Can by first " 0 " in the binary sequence 0100101100 it is corresponding, The numerical value of the intensity of the mobile terminal local environment mid-infrared light is characterized as the first numerical value;Alternatively, by the binary system sequence The numerical value of corresponding, the characterization mobile terminal local environment mid-infrared light the intensity of any one in column 0100101100 " 0 " As the first numerical value.Likewise, 4 " 1 " are shared in the binary sequence 0100101100 issued due to the IR remote controller, Therefore multiple numerical value of the intensity of the infrared light of the available characterization IR remote controller transmitting.It can be by the binary system sequence The numerical value conduct of the intensity of first " 1 " corresponding, the characterization IR remote controller transmitting infrared light in column 0100101100 Second value;Alternatively, any one " 1 " in the binary sequence 0100101100 is corresponding, the characterization infrared remote control The numerical value of the intensity of the infrared light of device transmitting is as second value.
When practical application, accurate reference threshold, can also will characterize the mobile terminal local environment in order to obtain The average value of multiple numerical value of the intensity of mid-infrared light will characterize the infrared of the IR remote controller transmitting as the first numerical value The average value of multiple numerical value of the intensity of light is as second value.
Here, can be by least two numerical value compared with the reference threshold after determining reference threshold, determination is Export high level or low level.When exporting high level, can recorde digital " 1 " can recorde number when exporting low level Word " 0 ", in this way, the available control instruction being made of digital " 0 " and " 1 ".
It is in one embodiment, described based at least two obtained comparison results based on this, generate control instruction, comprising: When comparison result characterization respective value is greater than or equal to the reference threshold, the first level is exported;When comparison result characterizes phase When numerical value being answered to be less than the reference threshold, second electrical level is exported;Based on first level of at least one obtained and at least one institute Second electrical level is stated, control instruction is generated.
Wherein, the control instruction can refer to by corresponding digital " 1 " of first level and the second electrical level pair The binary code that the digital " 0 " answered is constituted.
Here, by least two numerical value, control instruction is generated, the hardware requirement to the mobile terminal is not very Height is realized simpler without recording complicated coding waveforms.
When practical application, when the IR remote controller issues binary sequence, the top N table in binary sequence can be used Show the coding of respective keys, in this way, the mobile terminal can first read top N, to obtain the coding of respective keys, and in benefit After binary sequence study to corresponding control instruction, corresponding storage is carried out with control instruction according to keyboard-coding.Wherein, The N is the positive integer greater than 1.
Table 1 is the corresponding relationship of keyboard-coding and control instruction.As shown in table 1, IR remote controller includes TV remote-control Device, air-conditioning remote control.By taking TV remote controller as an example, it is assumed that the corresponding keyboard-coding of electric power starting key is 001, and power supply is closed The corresponding keyboard-coding of key is 010, and the corresponding keyboard-coding of volume "+" key is 011, the corresponding key of volume "-" key 100 are encoded to, after the control instruction of mobile terminal study to the respective keys of IR remote controller, can be compiled according to key Code carries out corresponding storage with corresponding control instruction.
Table 1
Here, it can show that multiple virtual keys such as power supply, volume, temperature are pressed in the display interface of the mobile terminal Key etc., when detecting that user presses corresponding virtual key, the available electronic equipment to be controlled of mobile terminal Model, search corresponding with the model multiple control instructions from the control instruction of storage, and based on keyboard-coding with control The corresponding relationship for making instruction searches control corresponding with the respective virtual key from the corresponding multiple control instructions of the model System instruction.Based on the control instruction found, the electronic equipment to be controlled is controlled.
By taking control opens or closes the electronic equipment to be controlled as an example, opened when detecting that user is directed in display interface After opening or closing the trigger action of virtual key, the model of electronic equipment to be controlled described in the acquisition for mobile terminal, and from Control instruction corresponding with respective virtual key is searched in the control instruction being locally stored.Control instruction based on lookup, control Open or close the electronic equipment to be controlled.
Based on this, in one embodiment, when user wishes to open or close the electronic equipment to be controlled, the side Method further include: obtain the model of electronic equipment to be controlled;Control corresponding with the model is searched from the control instruction of storage System instruction;Based on the control instruction found, swashed by the infrared mould group to the electronic equipment transmitting to be controlled is infrared Light opens or closes the electronic equipment to be controlled with control.
Here, the mobile terminal can obtain the model of the electronic equipment to be controlled by following three kinds of modes, It is specific as follows:
Two dimensional code has can be set on the electronic equipment in first way, and the two dimensional code is stored with corresponding model Information.In this way, the mobile terminal can scan the two dimensional code on the electronic equipment, to obtain the type of the electronic equipment Number.
The second way, the mobile terminal clap the electronic equipment by the infrared mould group with infrared function It takes the photograph, to obtain the image data of the electronic equipment;By image recognition processing, the model of the television set is identified.
The third mode, display reminding message in the display interface of the mobile terminal;The prompting message is for prompting User inputs the model of the electronic equipment, in this way, the type information that the mobile terminal can be inputted by user, to obtain The model of the electronic equipment to be controlled.
When practical application, when user wishes to control the electronic equipment to be controlled by the mobile terminal When, the control instruction found can be converted to the waveform being made of high level, low level by the mobile terminal, and will conversion The preset driving circuit of Waveform Input afterwards, to control the driving current that driving circuit exports, will pass through the drive Streaming current drives the infrared laser in the infrared mould group, realizes and swashs to the electronic equipment transmitting to be controlled is infrared Light.
It is in one embodiment, described based on the control instruction found based on this, by the infrared mould group to it is described to The electronic equipment of control emits infrared laser, comprising: based on the control instruction found, controls driving current;Based on the drive Streaming current controls the infrared mould group to the electronic equipment to be controlled and emits infrared laser.
Here, the size of driving current can determine the intensity size of the infrared laser of transmitting.If driving current is larger, The intensity of the infrared laser then emitted to the electronic equipment to be controlled is also larger, the infrared mould group transmitting infrared laser Transmission power also will be larger relative to the transmission power of IR remote controller transmitting infrared light, in this way, the mobile terminal and institute The remote control distance stated between electronic equipment to be controlled also will be remoter.
Using technical solution provided in an embodiment of the present invention, there is the infrared mould group of infrared function using the mobile terminal When opening IR remote controller in preset duration by preset interval acquire at least two image datas, at least two based on acquisition A image data determines the numerical value for characterizing the intensity of corresponding infrared light, and the numerical value based on the intensity for characterizing corresponding infrared light, raw At the control instruction to electronic equipment transmitting infrared laser to be controlled.Obviously, it is only necessary to which the mobile terminal has infrared function The infrared mould group of energy, can be achieved with controlling the electronic equipment to be controlled by the mobile terminal, without increasing volume Outer hardware.
The method of embodiment mobile terminal side to realize the present invention, the embodiment of the invention also provides a kind of mobile terminals. Fig. 3 is a kind of composed structure schematic diagram of the mobile terminal of the embodiment of the present invention;As shown in figure 3, the mobile terminal includes:
Acquisition unit 31, for having the infrared mould group of infrared function to acquire at least two images using the mobile terminal Data;At least two image data is when opening IR remote controller in the mobile terminal local environment in preset duration The interior at least two single-frame images data by preset interval acquisition;
Determination unit 32, for determining the corresponding numerical value of at least two image data;The numerical value is from right The pixel value randomly selected in the image data answered;The intensity of the corresponding infrared light of determining numerical representation method;
Generation unit 33, for when red in the mobile terminal local environment comprising characterizing at least two determining numerical value When the numerical value of the intensity of the infrared light of the numerical value and characterization of the intensity of outer light the IR remote controller transmitting, based on described at least two A numerical value generates control instruction, and stores;The control instruction is for controlling the infrared mould group transmitting infrared laser, with right Electronic equipment to be controlled is controlled.
Wherein, at least two image data be in the mobile terminal local environment open IR remote controller when By at least two single-frame images data of preset interval acquisition in preset duration.
Here, due to the mobile terminal have infrared function infrared mould group, that is to say, that the mobile terminal it is red External mold group has the function of transmitting infrared laser, thus, without increasing additional hardware.The infrared mould group specifically can be by following At least one realize: 3D structure light camera module, TOF camera module.
Before acquiring at least two image data using the acquisition unit 31, firstly, user can will be described The infrared emission light source of IR remote controller is closely directed at the infrared mould group with infrared function of the mobile terminal.Then, User can control the respective keys of the IR remote controller, to open the IR remote controller, and then described in utilization Acquisition unit 31 acquires at least two image data by preset interval in preset duration.
Here it is possible to the intensity of the infrared light using the numerical value and characterization IR remote controller transmitting of the intensity of characterization environment light Numerical value, learn the control instruction of IR remote controller.
Based on this, in one embodiment, the generation unit 33 is specifically used for being based at least two numerical value, determine Reference threshold;Each numerical value at least two numerical value is compared with the reference threshold, obtains at least two ratios Relatively result;Based at least two obtained comparison results, control instruction is generated.
As illustrated in fig. 2, it is assumed that the binary sequence that the IR remote controller issues is 0100101100, for binary system sequence " 0 " in column 0100101100, a numerical value of the intensity of the available characterization mobile terminal local environment mid-infrared light, For " 1 " in binary sequence 0100101100, the intensity of the infrared light of the available characterization IR remote controller transmitting A numerical value.In this way, can based on a numerical value of the intensity for characterizing the mobile terminal local environment mid-infrared light, and A numerical value for characterizing the intensity of the infrared light of the IR remote controller transmitting, determines reference threshold.
Based on this, in one embodiment, the determination unit 32 is specifically used for from the characterization mobile terminal local environment In multiple numerical value of the intensity of mid-infrared light, determine a numerical value as the first numerical value;Emit from the IR remote controller is characterized Infrared light intensity multiple numerical value in, determine a numerical value as second value;Determine first numerical value and described the The average value of two numerical value;Using the average value as the reference threshold.
Here, can be by least two numerical value compared with the reference threshold after determining reference threshold, determination is Export high level or low level.When exporting high level, can recorde digital " 1 " can recorde number when exporting low level Word " 0 ", in this way, the available control instruction being made of digital " 0 " and " 1 ".
Based on this, in one embodiment, the generation unit 33, specifically for being greater than when comparison result characterization respective value Or when being equal to the reference threshold, the first level is exported;It is defeated when comparison result characterization respective value is less than the reference threshold Second electrical level out;Based on first level of at least one obtained and at least one described second electrical level, control instruction is generated.
Wherein, the control instruction can be corresponding by corresponding digital " 1 " of first level and the second electrical level Digital " 0 " constitute binary code.
Here, it can show that multiple virtual keys such as power supply, volume, temperature are pressed in the display interface of the mobile terminal Key etc., when detecting that user presses corresponding virtual key, the available electronic equipment to be controlled of mobile terminal Model, search corresponding with the model multiple control instructions from the control instruction of storage, and based on keyboard-coding with control The corresponding relationship for making instruction searches control corresponding with the respective virtual key from the corresponding multiple control instructions of the model System instruction.Based on the control instruction found, the electronic equipment to be controlled is controlled.
By taking control opens or closes the electronic equipment to be controlled as an example, opened when detecting that user is directed in display interface After opening or closing the trigger action of virtual key, the model of electronic equipment to be controlled described in the acquisition for mobile terminal, and from Control instruction corresponding with respective virtual key is searched in the control instruction being locally stored.Control instruction based on lookup, control Open or close the electronic equipment to be controlled.
Based on this, the mobile terminal further include: searching unit, for obtaining the model of electronic equipment to be controlled;From Control instruction corresponding with the model is searched in the control instruction of storage;Based on the control instruction found, pass through the shifting The infrared mould group of dynamic terminal emits infrared laser to the electronic equipment to be controlled, is opened or closed with control described to be controlled Electronic equipment.
Here, the mobile terminal can obtain the model of the electronic equipment to be controlled by following three kinds of modes, It is specific as follows:
Two dimensional code has can be set on the electronic equipment in first way, and the two dimensional code is stored with corresponding model Information.In this way, the mobile terminal can scan the two dimensional code on the electronic equipment, to obtain the type of the electronic equipment Number.
The second way, the mobile terminal clap the electronic equipment by the infrared mould group with infrared function It takes the photograph, to obtain the image data of the electronic equipment;By image recognition processing, the model of the television set is identified.
The third mode, display reminding message in the display interface of the mobile terminal;The prompting message is for prompting User inputs the model of the electronic equipment, in this way, the type information that the mobile terminal can be inputted by user, to obtain The model of the electronic equipment to be controlled.
When practical application, when user wishes to control the electronic equipment to be controlled by the mobile terminal When, the control instruction found can be converted to the waveform being made of high level, low level by the mobile terminal, and will conversion The preset driving circuit of Waveform Input afterwards, to control the driving current of driving circuit output, will pass through the driving current Infrared laser in the infrared mould group is driven, realizes to the electronic equipment to be controlled and emits infrared laser.
Based on this, the mobile terminal further include: control unit;Wherein, described control unit, for based on finding Control instruction controls driving current;Based on the driving current, the infrared mould group is controlled to the electronic equipment to be controlled Emit infrared laser.
Here, the size of driving current can determine the intensity size of the infrared laser of transmitting.If it is determined that driving electricity The intensity for flowing larger, then to emit to the electronic equipment to be controlled infrared laser is also larger, that is, transmission power is larger, In this way, the remote control distance between the mobile terminal and the electronic equipment to be controlled also can be farther out.
When practical application, the acquisition unit 31 is realized by the processor combination communication interface in mobile terminal;It is described true Order member 32, generation unit 33, searching unit, control unit can be realized by the processor in mobile terminal.
It should be understood that mobile terminal provided by the above embodiment carry out control instruction processing when, only with above-mentioned The division progress of each program module can according to need for example, in practical application and distribute above-mentioned processing by different Program module is completed, i.e., the internal structure of device is divided into different program modules, with complete it is described above whole or Part is handled.In addition, the processing method embodiment of mobile terminal provided by the above embodiment and control instruction belongs to same design, Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Below by taking specific embodiment as an example to the specific implementation process of the processing method of control instruction of the embodiment of the present invention into Row is described in detail.
Fig. 4 a, Fig. 4 b are the specific structure signal for the mobile terminal that the processing method of control instruction of the embodiment of the present invention is applied Figure.As shown in fig. 4 a, the mobile terminal includes pattern matrix unit, amplifying unit, AD conversion unit, correction and comparison list Member, control unit, as shown in Figure 4 b, the mobile terminal further includes laser drive unit;Wherein, the laser drive unit packet Include driving current unit, driving unit;
Pattern matrix unit, for acquiring the infrared light that in environment and IR remote controller emits when opening IR remote controller Data, and can be exposed with Infrared Data of 10,000 times per second or more the rates to acquisition.
Amplifying unit obtains amplified data for amplifying to the data after exposure;
AD conversion unit obtains at least two single-frame images for carrying out analog-to-digital conversion process to amplified data Data.
Correction and comparing unit, for determining that the corresponding numerical value of at least two image data, the numerical value is The pixel value randomly selected from corresponding image data;The intensity of the corresponding infrared light of determining numerical representation method;And it is based on At least two numerical value generates control instruction.
Control unit, for storing the control instruction generated;Be also used to when need to the electronic equipment to be controlled into When row control, corresponding control instruction is searched, the control instruction of lookup is converted to the waveform being made of high level, low level, And the waveform after conversion is sent into driving current unit.
Driving current unit controls the driving electricity of output for the waveform being made of high level, low level by inputting Stream.
Driving unit emits infrared laser to electronic equipment to be controlled for being based on the driving current.
Hardware realization based on above equipment, the embodiment of the invention also provides a kind of data processing equipment, Fig. 5 is this hair The hardware composed structure schematic diagram of the data processing equipment of bright embodiment, as shown in figure 5, data processing equipment include memory, Processor and storage are on a memory and the computer program that can run on a processor;Data processing equipment is mobile terminal When, it is realized when executing described program positioned at the processor of mobile terminal: there is the infrared of infrared function using the mobile terminal Mould group acquires at least two image datas;At least two image data be opened in the mobile terminal local environment it is red By at least two single-frame images data of preset interval acquisition in preset duration when outer remote controler;Determine at least two figure As the corresponding numerical value of data;The numerical value is the pixel value randomly selected from corresponding image data;Determining The intensity of the corresponding infrared light of numerical representation method;When at least two determining numerical value comprising characterizing in the mobile terminal local environment When the numerical value of the intensity of the infrared light of the numerical value and characterization of the intensity of infrared light the IR remote controller transmitting, based on described at least Two values generate control instruction, and store;The control instruction emits infrared laser for controlling the infrared mould group, with Electronic equipment to be controlled is controlled.
In one embodiment, it is realized when executing described program positioned at the processor of mobile terminal: based on described at least two Numerical value determines reference threshold;Each numerical value at least two numerical value is compared with the reference threshold, obtain to Few two comparison results;Based at least two obtained comparison results, control instruction is generated.
In one embodiment, it is realized when executing described program positioned at the processor of mobile terminal: described mobile whole from characterizing In the multiple numerical value for holding the intensity of local environment mid-infrared light, determine a numerical value as the first numerical value;It is described infrared from characterizing In multiple numerical value of the intensity of the infrared light of remote controler transmitting, determine a numerical value as second value;Determine first number The average value of value and the second value;Using the average value as the reference threshold.
In one embodiment, it is realized when executing described program positioned at the processor of mobile terminal: when comparison result characterizes phase When numerical value being answered to be greater than or equal to the reference threshold, the first level is exported;When comparison result characterization respective value is less than the ginseng When examining threshold value, second electrical level is exported;Based on first level of at least one obtained and at least one second electrical level, generates control and refer to It enables.
In one embodiment, it is realized when executing described program positioned at the processor of mobile terminal: obtaining electronics to be controlled The model of equipment;Control instruction corresponding with the model is searched from the control instruction of storage;Referred to based on the control found Enable, infrared laser emitted to the electronic equipment to be controlled by the infrared mould group, with control open or close it is described to The electronic equipment of control.
It is appreciated that data processing equipment (mobile terminal) further includes communication interface;Data processing equipment (mobile terminal) In various components be coupled by bus system.It is understood that bus system is for realizing the connection between these components Communication.Bus system further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.
It is appreciated that the memory in the present embodiment can be volatile memory or nonvolatile memory, can also wrap Include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read-Only Memory), erasable compile Journey read-only memory (EPROM, Erasable Programmable Read-Only Memory), electrically erasable are read-only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random are deposited Access to memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic Memory surface, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage It can be magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can With, such as static random access memory (SRAM, Static Random Access Memory), synchronous static random-access Memory (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir is intended to include but is not limited to the memory of these and any other suitable type.
The method that the embodiments of the present invention disclose can be applied in processor, or be realized by processor.Processor It may be a kind of IC chip, the processing capacity with signal.During realization, each step of the above method can lead to The instruction of the integrated logic circuit or software form of crossing the hardware in processor is completed.Above-mentioned processor can be general place Manage device, DSP or other programmable logic device, discrete gate or transistor logic, discrete hardware components etc..Processing Device may be implemented or execute disclosed each method, step and logic diagram in the embodiment of the present invention.General processor can be with It is microprocessor or any conventional processor etc..It the step of method in conjunction with disclosed in the embodiment of the present invention, can be direct Be presented as that hardware decoding processor executes completion, or in decoding processor hardware and software module combination execute completion. Software module can be located in storage medium, which is located at memory, and processor reads the information in memory, in conjunction with Its hardware completes the step of preceding method.
The embodiment of the invention also provides a kind of computer storage mediums, specially computer readable storage medium.Thereon It is stored with computer instruction, when computer storage medium is located at terminal, realization when which is executed by processor: benefit With the mobile terminal there is the infrared mould group of infrared function to acquire at least two image datas;At least two image data It is at least two acquired in preset duration by preset interval when opening IR remote controller in the mobile terminal local environment A single-frame images data;Determine the corresponding numerical value of at least two image data;The numerical value is from corresponding image The pixel value randomly selected in data;The intensity of the corresponding infrared light of determining numerical representation method;When at least two determining numbers Numerical value and characterization the IR remote controller transmitting in value comprising characterizing the intensity of the mobile terminal local environment mid-infrared light Infrared light intensity numerical value when, be based at least two numerical value, generate control instruction, and store;The control instruction For controlling the infrared mould group transmitting infrared laser, to control electronic equipment to be controlled.
In one embodiment, realization when which is executed by processor: being based at least two numerical value, determines Reference threshold;Each numerical value at least two numerical value is compared with the reference threshold, obtains at least two ratios Relatively result;Based at least two obtained comparison results, control instruction is generated.
In one embodiment, realization when which is executed by processor: from characterizing ring locating for the mobile terminal In multiple numerical value of the intensity of border mid-infrared light, determine a numerical value as the first numerical value;It is sent out from the IR remote controller is characterized In multiple numerical value of the intensity for the infrared light penetrated, determine a numerical value as second value;Determine first numerical value with it is described The average value of second value;Using the average value as the reference threshold.
In one embodiment, realization when which is executed by processor: when comparison result characterization respective value is big When the reference threshold, the first level is exported;When comparison result characterization respective value is less than the reference threshold, Export second electrical level;Based on first level of at least one obtained and at least one second electrical level, control instruction is generated.
In one embodiment, realization when which is executed by processor: the type of electronic equipment to be controlled is obtained Number;Control instruction corresponding with the model is searched from the control instruction of storage;Based on the control instruction found, pass through institute It states infrared mould group and emits infrared laser to the electronic equipment to be controlled, the electronics to be controlled is opened or closed with control Equipment.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, Ke Yitong Other modes are crossed to realize.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can be tied It closes, or is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each group Can be through some interfaces at the mutual coupling in part or direct-coupling or communication connection, equipment or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a second processing unit, It is also possible to each unit individually as a unit, can also be integrated in one unit with two or more units; Above-mentioned integrated unit both can take the form of hardware realization, can also add the form of SFU software functional unit real using hardware It is existing.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, ROM, The various media that can store program code such as RAM, magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: that movable storage device, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
It should be understood that between technical solution documented by the embodiment of the present invention, in the absence of conflict, Ke Yiren Meaning combination.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (12)

1. a kind of processing method of control instruction, which is characterized in that the method is applied to mobile terminal, which comprises
Using the mobile terminal there is the infrared mould group of infrared function to acquire at least two image datas;At least two figure As data are acquired in preset duration by preset interval when opening IR remote controller in the mobile terminal local environment At least two single-frame images data;
Determine the corresponding numerical value of at least two image data;The numerical value is to select at random from corresponding image data The pixel value taken;The intensity of the corresponding infrared light of determining numerical representation method;
When the intensity at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light numerical value and When characterizing the numerical value of the intensity of the infrared light of the IR remote controller transmitting, it is based at least two numerical value, control is generated and refers to It enables, and stores;The control instruction for controlling the infrared mould group transmitting infrared laser, with to electronic equipment to be controlled into Row control.
2. generating control the method according to claim 1, wherein described be based at least two numerical value and referring to It enables, comprising:
Based at least two numerical value, reference threshold is determined;
Each numerical value at least two numerical value is compared with the reference threshold, at least two is obtained and compares knot Fruit;
Based at least two obtained comparison results, control instruction is generated.
3. according to the method described in claim 2, determination refers to threshold it is characterized in that, described be based at least two numerical value Value, comprising:
From the multiple numerical value of intensity for characterizing the mobile terminal local environment mid-infrared light, determine a numerical value as first Numerical value;
From the multiple numerical value of intensity for characterizing the infrared light that the IR remote controller emits, determine a numerical value as the second number Value;
Determine the average value of first numerical value and the second value;
Using the average value as the reference threshold.
4. according to the method in claim 2 or 3, which is characterized in that it is described based at least two obtained comparison results, it is raw At control instruction, comprising:
When comparison result characterization respective value is greater than or equal to the reference threshold, the first level is exported;
When comparison result characterization respective value is less than the reference threshold, second electrical level is exported;
Based on first level of at least one obtained and at least one second electrical level, control instruction is generated.
5. the method according to claim 1, wherein the method also includes:
Obtain the model of electronic equipment to be controlled;
Control instruction corresponding with the model is searched from the control instruction of storage;
Based on the control instruction found, infrared laser is emitted to the electronic equipment to be controlled by the infrared mould group, The electronic equipment to be controlled is opened or closed with control.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Acquisition unit, for having the infrared mould group of infrared function to acquire at least two image datas using the mobile terminal; At least two image data be in the mobile terminal local environment open IR remote controller when in preset duration by At least two single-frame images data of preset interval acquisition;
Determination unit, for determining the corresponding numerical value of at least two image data;The numerical value is from corresponding figure As the pixel value randomly selected in data;The intensity of the corresponding infrared light of determining numerical representation method;
Generation unit, for working as at least two determining numerical value comprising characterizing the mobile terminal local environment mid-infrared light When the numerical value of the intensity of the infrared light of the numerical value and characterization of intensity the IR remote controller transmitting, based at least two number Value generates control instruction, and stores;The control instruction is for controlling the infrared mould group transmitting infrared laser, to be controlled The electronic equipment of system is controlled.
7. mobile terminal according to claim 6, which is characterized in that
The generation unit is specifically used for being based at least two numerical value, determines reference threshold;By at least two numerical value In each numerical value be compared with the reference threshold, obtain at least two comparison results;Based at least two obtained ratios Compared with as a result, generating control instruction.
8. mobile terminal according to claim 6, which is characterized in that
The determination unit, specifically for multiple numerical value from the intensity for characterizing the mobile terminal local environment mid-infrared light In, determine a numerical value as the first numerical value;In multiple numerical value of the intensity of the infrared light emitted from characterization IR remote controller, really A fixed numerical value is as second value;Determine the average value of first numerical value and the second value;The average value is made For the reference threshold.
9. mobile terminal according to claim 7 or 8, which is characterized in that
The generation unit is specifically used for the output when comparison result characterization respective value is greater than or equal to the reference threshold First level;When comparison result characterization respective value is less than the reference threshold, second electrical level is exported;Based on obtaining at least One the first level and at least one second electrical level generate control instruction.
10. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Searching unit, for obtaining the model of electronic equipment to be controlled;It is searched and the model from the control instruction of storage Corresponding control instruction;Based on the control instruction found, sent out by the infrared mould group to the electronic equipment to be controlled Infrared laser is penetrated, the electronic equipment to be controlled is opened or closed with control.
11. a kind of computer storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is executed by processor The step of processing method of any one of Shi Shixian claim 1 to 5 control instruction.
12. a kind of mobile terminal including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes any one of claim 1 to 5 control instruction when executing described program Processing method the step of.
CN201811419557.3A 2018-11-26 2018-11-26 A kind of processing method of control instruction, mobile terminal and computer storage medium Pending CN109523773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419557.3A CN109523773A (en) 2018-11-26 2018-11-26 A kind of processing method of control instruction, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419557.3A CN109523773A (en) 2018-11-26 2018-11-26 A kind of processing method of control instruction, mobile terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN109523773A true CN109523773A (en) 2019-03-26

Family

ID=65778876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419557.3A Pending CN109523773A (en) 2018-11-26 2018-11-26 A kind of processing method of control instruction, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN109523773A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968819A (en) * 2021-01-18 2021-06-15 珠海格力电器股份有限公司 Household appliance control method and device based on TOF

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804925A (en) * 2006-01-24 2006-07-19 上海广电(集团)有限公司中央研究院 Data transmission method
CN1968348A (en) * 2006-08-24 2007-05-23 深圳创维-Rgb电子有限公司 Method and circuit for remote control of set top box by TV set
CN101064010A (en) * 2006-12-28 2007-10-31 华中科技大学 Image preprocess apparatus for infrared small target detecting
CN101185084A (en) * 2005-05-31 2008-05-21 皇家飞利浦电子股份有限公司 Method and a system for detecting a road at night
CN101320516A (en) * 2008-07-09 2008-12-10 四川长虹电器股份有限公司 Method for decoding infrared ray by waveshape learning circuit
CN201204669Y (en) * 2008-04-14 2009-03-04 内蒙古电子信息职业技术学院 Universal mobile phone remote controller
CN102930711A (en) * 2012-10-31 2013-02-13 鸿富锦精密工业(深圳)有限公司 System and method for processing infrared remote control signals
CN102980604A (en) * 2012-11-30 2013-03-20 深圳市华旭科技开发有限公司 Photoelectric direct-reading decoder and decoding method
CN103680113A (en) * 2012-09-11 2014-03-26 炬才微电子(深圳)有限公司 Infrared signal decoding treatment method and infrared signal decoding treatment device
CN105847654A (en) * 2015-01-14 2016-08-10 小米科技有限责任公司 Information processing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101185084A (en) * 2005-05-31 2008-05-21 皇家飞利浦电子股份有限公司 Method and a system for detecting a road at night
CN1804925A (en) * 2006-01-24 2006-07-19 上海广电(集团)有限公司中央研究院 Data transmission method
CN1968348A (en) * 2006-08-24 2007-05-23 深圳创维-Rgb电子有限公司 Method and circuit for remote control of set top box by TV set
CN101064010A (en) * 2006-12-28 2007-10-31 华中科技大学 Image preprocess apparatus for infrared small target detecting
CN201204669Y (en) * 2008-04-14 2009-03-04 内蒙古电子信息职业技术学院 Universal mobile phone remote controller
CN101320516A (en) * 2008-07-09 2008-12-10 四川长虹电器股份有限公司 Method for decoding infrared ray by waveshape learning circuit
CN103680113A (en) * 2012-09-11 2014-03-26 炬才微电子(深圳)有限公司 Infrared signal decoding treatment method and infrared signal decoding treatment device
CN102930711A (en) * 2012-10-31 2013-02-13 鸿富锦精密工业(深圳)有限公司 System and method for processing infrared remote control signals
CN102980604A (en) * 2012-11-30 2013-03-20 深圳市华旭科技开发有限公司 Photoelectric direct-reading decoder and decoding method
CN105847654A (en) * 2015-01-14 2016-08-10 小米科技有限责任公司 Information processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968819A (en) * 2021-01-18 2021-06-15 珠海格力电器股份有限公司 Household appliance control method and device based on TOF
CN112968819B (en) * 2021-01-18 2022-07-22 珠海格力电器股份有限公司 Household appliance control method and device based on TOF

Similar Documents

Publication Publication Date Title
Yue et al. Prototypical cross-domain self-supervised learning for few-shot unsupervised domain adaptation
Feichtenhofer et al. A large-scale study on unsupervised spatiotemporal representation learning
CN103903039B (en) Hidden code holographic anti-counterfeiting film and manufacturing method and recognition system thereof
CN101548551B (en) Ambient lighting
US9579790B2 (en) Apparatus and methods for removal of learned behaviors in robots
Li et al. Ego-exo: Transferring visual representations from third-person to first-person videos
CN106537816B (en) Derive method, equipment and the computer-readable medium of identifier in visible light signal
CN106101561B (en) Camera focusing detection method and device
US20160075034A1 (en) Home animation apparatus and methods
CN103988503A (en) Scene segmentation using pre-capture image motion
CN107025275B (en) Video searching method and device
CN108696682B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN107835978A (en) User terminal apparatus and its control method
CN110248098A (en) Image processing method, device, storage medium and electronic equipment
US11784845B2 (en) System and method for disambiguation of Internet-of-Things devices
CN106303266A (en) The control method of flash lamp, device and terminal
CN106647311A (en) Intelligent central control system and equipment, server and intelligent equipment control method
CN107871145B (en) Information transmission system based on packing carton image recognition
CN109155801A (en) Mobile terminal
CN110213476A (en) Image processing method and device
CN110831116A (en) Household appliance network distribution method, storage medium and terminal
CN109523773A (en) A kind of processing method of control instruction, mobile terminal and computer storage medium
TW200904502A (en) Method and apparatus for robot behavior series control based on RFID technology
CN106357977B (en) Focusing method and device
KR102358898B1 (en) Method and apparatus of captureing object

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190326