CN106850943A - A kind of apparatus and method for detecting terminal and the distance of shelter - Google Patents

A kind of apparatus and method for detecting terminal and the distance of shelter Download PDF

Info

Publication number
CN106850943A
CN106850943A CN201611116858.XA CN201611116858A CN106850943A CN 106850943 A CN106850943 A CN 106850943A CN 201611116858 A CN201611116858 A CN 201611116858A CN 106850943 A CN106850943 A CN 106850943A
Authority
CN
China
Prior art keywords
intensity
intensity threshold
infrared signal
threshold
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611116858.XA
Other languages
Chinese (zh)
Other versions
CN106850943B (en
Inventor
鲍琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611116858.XA priority Critical patent/CN106850943B/en
Publication of CN106850943A publication Critical patent/CN106850943A/en
Application granted granted Critical
Publication of CN106850943B publication Critical patent/CN106850943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
    • H04M1/72421User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with automatic activation of emergency service functions, e.g. upon sensing an alarm
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of apparatus and method for detecting terminal and the distance of shelter, the device includes:The intensity of the infrared signal that judge module is reflected shelter judges;When the intensity for judging infrared signal is more than the first intensity threshold, determining module determines shelter with terminal distance less than or equal to the first distance threshold;When judging that intensity is less than the second intensity threshold, determining module determines shelter with terminal distance more than or equal to second distance threshold value;Second intensity threshold is less than the first intensity threshold, and the first distance threshold is less than second distance threshold value;When judging that intensity is more than three intensity thresholds, the first intensity threshold is updated to infrared signal full scale and is most worth and gradually updates the second intensity threshold by update module;3rd intensity threshold is more than the first intensity threshold.The present invention is updated by greasy dirt offset to infrared signal intensity threshold, accurate when infrared sensor tapping has greasy dirt to judge terminal and shelter distance, smoothly performs go out screen and bright screen operation.

Description

A kind of apparatus and method for detecting terminal and the distance of shelter
Technical field
The present invention relates to the information processing technology, espespecially a kind of apparatus and method for detecting terminal and the distance of shelter.
Background technology
With the popularization and development of mobile terminal, the function of mobile terminal is also increasingly various, but it is still use to take phone The purposes that family frequently uses.During phone is taken, to prevent the touch screen of false triggering mobile terminal, it is necessary to using infrared Proximity transducer determines whether shelter close to mobile terminal.When judging to have shelter close to mobile terminal, mobile terminal Execution is gone out and shields operation;When judging to have shelter away from mobile terminal, mobile terminal performs bright screen operation.
However, when mobile terminal surface has greasy dirt, infrared proximity transducer cannot determine whether to block exactly Thing causes mobile terminal that the screen that goes out cannot be performed according to user's communication process and operates and bright close to mobile terminal or away from mobile terminal Screen operation.
The content of the invention
In order to solve the above-mentioned technical problem, device of the terminal with the distance of shelter and side are detected the invention provides a kind of Method, the tapping of the infrared sensor that can be set in terminal is accurate in the case of there is greasy dirt to judge terminal with shelter Distance, smoothly performs go out screen and bright screen operation.
In order to reach the object of the invention, the invention provides a kind of device for detecting terminal and the distance of shelter, the dress Put including:Judge module, determining module and update module.
Judge module, the intensity for the infrared signal to being reflected through shelter judges.
Determining module, for when the intensity for judging infrared signal is more than default first intensity threshold, determining shelter Distance with terminal is less than or equal to default first distance threshold.
Determining module, is additionally operable to when the intensity for judging infrared signal is less than default second intensity threshold, it is determined that blocking Thing is more than or equal to default second distance threshold value with the distance of terminal;Wherein, the second intensity threshold is less than the first intensity threshold, First distance threshold is less than second distance threshold value.
Update module, for when the intensity for judging infrared signal is more than default three intensity threshold, determining end panel There is greasy dirt on curtain, the first intensity threshold is updated into infrared signal full scale is most worth, and gradually updates the second intensity threshold;Its In, the 3rd intensity threshold is more than the first intensity threshold.
Alternatively, update module is additionally operable to:
After it is determined that there is greasy dirt on terminal screen, before the second intensity threshold is gradually updated, by the second intensity threshold Value is added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
Alternatively, update module gradually updates second intensity threshold and includes:
When the intensity for detecting infrared signal be reduced to update after the second intensity threshold when, by renewal after the second intensity Threshold value is updated to the 4th intensity threshold;Wherein the 4th intensity threshold is less than the second intensity threshold after updating;
When the intensity of infrared signal no longer reduces and after the intensity stabilization of infrared signal, if current infrared signal Intensity is more than the 4th intensity threshold, then keep the 4th intensity threshold constant;
When the intensity of infrared signal no longer reduces and after the intensity stabilization of infrared signal, if current infrared signal Intensity is less than or equal to the 4th intensity threshold, then the 4th intensity threshold is updated into the 5th intensity threshold;Wherein the 5th intensity threshold Intensity of the value less than current infrared signal.
Alternatively, update module is additionally operable to:
The intensity of the current infrared signal after by stabilization subtracts the dry value in default bottom, obtains the second greasy dirt offset, and will First greasy dirt offset is updated to the second greasy dirt offset.
Alternatively, update module is additionally operable to:
After the first greasy dirt offset is updated to the second greasy dirt offset, the first intensity threshold is completely measured by infrared signal Journey is most worth and is updated to the first initial intensity threshold plus the second greasy dirt offset;
The first wherein initial intensity threshold refers to be updated to the first intensity threshold before infrared signal full scale is most worth.
Additionally, in order to reach the object of the invention, present invention also offers a kind of side for detecting terminal and the distance of shelter Method, the method includes:
The intensity of the infrared signal to being reflected through shelter judges;
When the intensity for judging infrared signal is more than default first intensity threshold, determine that shelter is small with the distance of terminal In or equal to default first distance threshold;
When the intensity for judging infrared signal is less than default second intensity threshold, determine that shelter is big with the distance of terminal In or equal to default second distance threshold value;Wherein, the second intensity threshold is less than the first intensity threshold, and the first distance threshold is less than Second distance threshold value;
When the intensity for judging infrared signal is more than default three intensity threshold, determine there is greasy dirt on terminal screen, First intensity threshold is updated into infrared signal full scale to be most worth, and gradually updates the second intensity threshold;Wherein, the 3rd intensity threshold Value is more than the first intensity threshold.
Alternatively, the method also includes:
After it is determined that there is greasy dirt on terminal screen, before the second intensity threshold is gradually updated, by the second intensity threshold Value is added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
Alternatively, gradually updating the second intensity threshold includes:
When the intensity for detecting infrared signal be reduced to update after the second intensity threshold when, by renewal after the second intensity Threshold value is updated to the 4th intensity threshold;Wherein the 4th intensity threshold is less than the second intensity threshold after updating;
When the intensity of infrared signal no longer reduces and after the intensity stabilization of infrared signal, if current infrared signal Intensity is more than the 4th intensity threshold, then keep the 4th intensity threshold constant;
When the intensity of infrared signal no longer reduces and after the intensity stabilization of infrared signal, if current infrared signal Intensity is less than or equal to the 4th intensity threshold, then the 4th intensity threshold is updated into the 5th intensity threshold;Wherein the 5th intensity threshold Intensity of the value less than current infrared signal.
Alternatively, the method also includes:
The intensity of the current infrared signal after by stabilization subtracts the dry value in default bottom, obtains the second greasy dirt offset, and will First greasy dirt offset is updated to the second greasy dirt offset.
Alternatively, the method also includes:
After the first greasy dirt offset is updated to the second greasy dirt offset, the first intensity threshold is completely measured by infrared signal Journey is most worth and is updated to the first initial intensity threshold plus the second greasy dirt offset;
The first wherein initial intensity threshold refers to be updated to the first intensity threshold before infrared signal full scale is most worth.
Compared with prior art, the embodiment of the present invention passes through greasy dirt offset to the distance for judging shelter and terminal The intensity threshold of infrared signal be updated, in the case of there is greasy dirt in the tapping of the infrared sensor set in terminal The distance of terminal and shelter is accurately judged to, go out screen and bright screen operation is smoothly performed.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this The embodiment of application for explaining technical scheme, does not constitute the limitation to technical solution of the present invention together.
Fig. 1 is the hardware architecture diagram of the mobile terminal for realizing each embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the detection terminal of the embodiment of the present invention and the device composition frame chart of the distance of shelter;
Fig. 4 is the detection terminal of the embodiment of the present invention and the method flow diagram of the distance of shelter;
Fig. 5 is conventional infrared sensor fundamental diagram;
Fig. 6 is the change curve schematic diagram between the intensity and distance of the infrared signal of the embodiment of the present invention;
Fig. 7 sets schematic diagram for the intensity threshold of the infrared signal of the embodiment of the present invention;
Fig. 8 is the method schematic diagram for gradually updating the second intensity threshold of the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the such as one group computer system of computer executable instructions the step of the flow of accompanying drawing is illustrated Perform.And, although logical order is shown in flow charts, but in some cases, can be with suitable different from herein Sequence performs shown or described step.
The terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, using being used for The suffix of such as " module ", " part " or " unit " of element is represented only for being conducive to explanation of the invention, itself is not There is specific meaning.Therefore, " module " can be used mixedly with " part ".
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, Smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP are (portable Multimedia player), the mobile terminal and the such as fixed terminal of numeral TV, desktop computer etc. of guider etc.. Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving purpose Outside element, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for showing Part.More or less component can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB) The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@) Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 is calculated and comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, so as to according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, defended using three for calculating the method for position and temporal information Star and the position that is calculated by using other satellite correction and the error of temporal information.Additionally, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121 Microphone 1220, the static map that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus The view data of piece or video is processed.Picture frame after treatment may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or carried out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (voice data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be by Such acoustic processing is voice data.Audio (voice) data after treatment can be changed in the case of telephone calling model For the form that can be sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can implement all kinds Noise eliminate (or suppress) algorithm eliminating (or suppression) in the noise for receiving and producing during sending audio signal or Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00 The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can will be combined below including proximity transducer 1410 Touch-screen is described to this.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed. Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incomingcommunication) are received, alarm list Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or can be structured as and control Device processed 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or figure Piece draws input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180. For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language Implement, software code can be stored in memory 160 and performed by controller 180.
So far, oneself according to its function through describing mobile terminal.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any Line and wireless communication system and satellite-based communication system are operated.
The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. If any one in the interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to be believed with obtaining desired positioning Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use other of the position of mobile terminal can be tracked Technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00 Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 1 00.
Based on above-mentioned optional mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.
As shown in figure 3, first embodiment of the invention provides a kind of device 1 for detecting terminal and the distance of shelter, should Device includes:Judge module 11, determining module 12 and update module 13.
Judge module 11, the intensity for the infrared signal to being reflected through shelter judges.
Determining module 12, for when the intensity for judging infrared signal is more than default first intensity threshold, it is determined that blocking Thing is less than or equal to default first distance threshold with the distance of terminal.
Determining module 12, is additionally operable to when the intensity for judging infrared signal is less than default second intensity threshold, it is determined that hiding Block material is more than or equal to default second distance threshold value with the distance of terminal;Wherein, the second intensity threshold is less than the first intensity threshold Value, the first distance threshold is less than second distance threshold value.
Update module 13, for when the intensity for judging infrared signal is more than default three intensity threshold, determining terminal There is greasy dirt on screen, the first intensity threshold is updated into infrared signal full scale is most worth, and gradually updates the second intensity threshold; Wherein, the 3rd intensity threshold is more than the first intensity threshold.
Alternatively, update module 13 is additionally operable to:
After it is determined that there is greasy dirt on terminal screen, before the second intensity threshold is gradually updated, by the second intensity threshold Value is added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
Alternatively, update module 13 gradually updates second intensity threshold and includes:
When the intensity for detecting infrared signal be reduced to update after the second intensity threshold when, by renewal after the second intensity Threshold value is updated to the 4th intensity threshold;Wherein the 4th intensity threshold is less than the second intensity threshold after updating;
When the intensity of infrared signal no longer reduces and after the intensity stabilization of infrared signal, if current infrared signal Intensity is more than the 4th intensity threshold, then keep the 4th intensity threshold constant;
When the intensity of infrared signal no longer reduces and after the intensity stabilization of infrared signal, if current infrared signal Intensity is less than or equal to the 4th intensity threshold, then the 4th intensity threshold is updated into the 5th intensity threshold;Wherein the 5th intensity threshold Intensity of the value less than current infrared signal.
Alternatively, update module 13 is additionally operable to:
The intensity of the current infrared signal after by stabilization subtracts the dry value in default bottom, obtains the second greasy dirt offset, and will First greasy dirt offset is updated to the second greasy dirt offset.
Alternatively, update module 13 is additionally operable to:
After the first greasy dirt offset is updated to the second greasy dirt offset, the first intensity threshold is completely measured by infrared signal Journey is most worth and is updated to the first initial intensity threshold plus the second greasy dirt offset;
The first wherein initial intensity threshold refers to be updated to the first intensity threshold before infrared signal full scale is most worth.
Additionally, in order to reach the object of the invention, second embodiment of the invention additionally provides a kind of detection terminal and shelter Distance method, as shown in figure 4, the method include S101-S103:
S101, the intensity of infrared signal to being reflected through shelter judge.
In embodiments of the present invention, the basic functional principle of infrared proximity transducer work is as follows:Infrared proximity transducer Comprising transmitting terminal and receiving terminal.Transmitting terminal launches infrared signal, and receiving terminal receives reflected infrared signal.Receiving terminal is received Signal magnitude and top whether there is the shelter to have much relations, when unobstructed object, infrared signal is internal anti-except a part Penetrate outer, most of perforate through top is launched;When there is shelter, the infrared signal major part quilt launched through perforate Receiver hole is reflexed to, as shown in Figure 5.
Therefore, by judge the size of the different infrared signal intensity that receiving terminal reflects may determine that before terminal whether There is shelter, in embodiments of the present invention, it is necessary to the intensity of the infrared signal first to being reflected through shelter judges.
S102, when the intensity for judging infrared signal is more than default first intensity threshold, determine shelter and terminal Distance is less than or equal to default first distance threshold.
When the intensity for judging infrared signal is less than default second intensity threshold, determine that shelter is big with the distance of terminal In or equal to default second distance threshold value;Wherein, the second intensity threshold is less than the first intensity threshold, and the first distance threshold is less than Second distance threshold value.
In embodiments of the present invention, it can be seen from the operation principle according to foregoing infrared proximity transducer, infrared signal it is strong Whether degree can be with having shelter and the distance of range shelter thing to change, and the change curve of its data is with reference to shown in Fig. 6. In figure 6, alternatively, the first distance threshold is 3cm;Second distance threshold value is 5cm.In this embodiment, when we require to hide Block material goes out when shielding from receiving terminal screen surfaces distance 3cm, and now infrared signal correspondence Hi thresholdings are (i.e. in embodiment of the present invention scheme Second intensity threshold), when shelter is required away to 5cm bright screens, now (i.e. the present invention is implemented infrared signal correspondence Lo thresholdings The first intensity threshold in example scheme).It is red terminal structure inside in minimum signal value when shelter infinity The signal value that external signal diffraction is caused, referred to as bottom are made an uproar value.
In embodiments of the present invention, terminal is close as described below away from decision logic with shelter:(arranging value is Infrared signal intensity level, status represents the distance state of terminal and shelter):
Status=is away from state, if value>Hi, reports proximity state;
Status=proximity states, if value<Lo, reports away from state.
By the treatment of threshold data dimension, as shown in fig. 7, gray area represents that state changes, white portion is represented Continue to keep Last status.
According to Fig. 7, when infrared proximity transducer works, relying primarily on two thresholdings (Lo, Hi) carries out condition adjudgement, The two threshold values can be write register and be write corresponding chip IC, and corresponding device can be operated in poll pattern or interruption Pattern.
Assuming that be operated in interrupt mode, under normal circumstances, during without greasy dirt, when meet thresholding decision logic be when, device Part triggering is interrupted, and system detectio is to interruption, and the current state for obtaining and reporting units test to arrive.When making a phone call, mobile phone is leaned on Nearly cheek part, screen is normally gone out screen, now blocks to the greasy dirt possibility of cheek infrared sensor perforate, and greasy dirt can be caused just The part infrared signal often launched is reflected, and causes signal value bigger than normal, and when away from infinity, infrared signal intensity is still Higher than Lo.Now will result in infrared sensor cannot report away from event, cause system not bright screen.For such case, can Two above-mentioned threshold values (Lo, Hi) are adjusted in real time with by following steps, to have in infrared sensor perforate Greasy dirt still can smoothly perform go out screen and bright screen operation in the case of blocking.
S103, when judge infrared signal intensity be more than default three intensity threshold when, determine exist on terminal screen Greasy dirt, is updated to the first intensity threshold infrared signal full scale and is most worth, and gradually update the second intensity threshold;Wherein, the 3rd Intensity threshold is more than the first intensity threshold.
In embodiments of the present invention, when terminal is close with the distance of shelter, it is, for example, less than 1cm or directly connects with terminal When touching, the intensity of the infrared signal of return can be very big.According to this principle, a threshold value, as escribed above can be set herein Three intensity thresholds, when the intensity for detecting infrared signal is more than three intensity thresholds, (the 3rd intensity threshold is more than first Intensity threshold), then can be determined that the distance of terminal and shelter is close, further, since when terminal and shelter away from Close to enough, or when directly being contacted with shelter, for example, mobile phone screen is contacted with face, greasy dirt will be very likely infected with, And can be always maintained at when making a phone call being placed directly against mobile phone under few cases due to people on the face or special apart from face Closely.Therefore, when the intensity of the infrared signal for detecting only is that instantaneous value reaches three intensity thresholds, then the number can be ignored Value, but if the intensity continuous of the infrared signal for detecting longer time, for example, be more than or equal to 10 seconds or 20 seconds, Then can be determined that the tapping of infrared sensor has been infected with greasy dirt.Therefore, when the intensity of judgement infrared signal is more than default 3rd intensity threshold, and after maintaining default time span, then can determine that the tapping of infrared sensor has oil It is dirty.Now, can continue to play thresholding effect to ensure above-mentioned Hi threshold values, i.e. the first intensity threshold, can be by first Intensity threshold is updated to infrared signal full scale and is most worth.Similarly, for above-mentioned Lo threshold values, i.e., the second above-mentioned intensity threshold Value, in order to ensure that its Lower Threshold is acted on, needs also exist for adjusting its numerical value, but due to not knowing infrared sensor under present case Perforate on specific greasy dirt amount, it is impossible to estimate the concrete numerical value of the intensity of the infrared signal that the greasy dirt amount can influence, i.e., under The greasy dirt offset stated, therefore, it can during terminal is away from face, and the intensity according to the infrared signal for detecting is gradually Adjust the second intensity threshold.
Alternatively, the method also includes:
After it is determined that there is greasy dirt on terminal screen, before the second intensity threshold is gradually updated, by the second intensity threshold Value is added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
In embodiments of the present invention, it is originally determined go out infrared sensor tapping there is greasy dirt when, can be first preliminary Estimate a numerical value, i.e., the influence value of the intensity of above-mentioned the first greasy dirt offset as greasy dirt amount to infrared signal, and just Second intensity threshold is added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
Alternatively, as shown in figure 8, gradually updating the second intensity threshold includes S201-S203:
S201, when the intensity for detecting infrared signal is reduced to the second intensity threshold after updating, by renewal after the Two intensity thresholds are updated to the 4th intensity threshold;Wherein the 4th intensity threshold is less than the second intensity threshold after updating.
In embodiments of the present invention, during terminal is away from shelter, for example, after user makes a phone call, by hand During machine removes face, the infrared signal for detecting can be gradually reduced, due to the perforate of the now infrared sensor of terminal Greasy dirt has been infected with place, therefore, when terminal has moved away from shelter certain distance, the intensity of the infrared signal for detecting may Or than larger.If the intensity for detecting infrared signal has been decreased to the Lo values after foregoing being updated over, that is, after updating The second intensity threshold, but now the intensity of infrared signal is not still stablized, and is constantly in during reduction, then can determine What preliminary the first greasy dirt offset for setting was set in such scheme is larger, it is necessary to further be adjusted to the second intensity threshold It is whole, because second intensity threshold is the lower threshold of infrared signal intensity, therefore, it can for the second intensity threshold to be adjusted to small In the 4th intensity threshold of current value.
S202, no longer reduce and after the intensity stabilization of infrared signal when the intensity of infrared signal, if current infrared The intensity of signal is more than the 4th intensity threshold, then keep the 4th intensity threshold constant.
In embodiments of the present invention, by renewal after the second intensity threshold be updated to again after the 4th intensity threshold, such as The current infrared signal intensity that fruit detects has been stablized, and the intensity of the infrared signal after stabilization is more than the 4th intensity threshold Value, the then Lo values that the 4th intensity threshold can be kept to be infrared signal are constant.
S203, no longer reduce and after the intensity stabilization of infrared signal when the intensity of infrared signal, if current infrared The intensity of signal is less than or equal to the 4th intensity threshold, then the 4th intensity threshold is updated into the 5th intensity threshold;Wherein the 5th Intensity of the intensity threshold less than current infrared signal.
In embodiments of the present invention, by renewal after the second intensity threshold be updated to again after the 4th intensity threshold, such as The current infrared signal intensity that fruit detects has been stablized, and the intensity of the infrared signal after stabilization is less than the 4th intensity threshold Value, then illustrate that the 4th above-mentioned intensity threshold is still improper as lower threshold, then can continue the 4th intensity adjusting thresholds It is the 5th intensity threshold, the 5th intensity threshold is less than the 4th intensity threshold, and the 5th intensity threshold is less than current detection The intensity of the infrared signal for going out.
If it should be noted that the intensity of the current infrared signal for detecting continues to reduce, and being reduced to the last five Below degree threshold value or the 5th intensity threshold, then the 5th intensity threshold further can be adjusted to the 6th intensity threshold, the 6th Intensity of the intensity threshold still less than the infrared signal that current detection goes out.By that analogy, with the intensity of the infrared signal for detecting It is gradually reduced, can continues for the 6th current intensity threshold to be adjusted to the 7th intensity threshold, the 8th intensity threshold ... etc., And the intensity threshold after adjusting is required for the intensity of the infrared signal for meeting to go out less than current detection.
If it is further to note that detect that current infrared signal has been stablized, and the infrared letter after stabilization Number intensity threshold of the intensity more than current setting, then current intensity threshold can be kept constant.
In the above-described embodiments, step S202 and step S203 is the Different treatments under different situations, therefore step S202 and step S203 do not have dividing for sequencing.
Alternatively, the method also includes:
The intensity of the current infrared signal after by stabilization subtracts the dry value in default bottom, obtains the second greasy dirt offset, and will First greasy dirt offset is updated to the second greasy dirt offset.
In embodiments of the present invention, the intensity of the infrared signal for going out when current detection no longer reduces, reach stable state with Afterwards, it is possible to determine that present terminal has been in the place of range shelter thing infinity, then the infrared signal that current detection goes out it is strong Degree must be the dry value in bottom of infrared signal plus there is the reflected value of greasy dirt in the case of greasy dirt to infrared signal intensity, can be by The greasy dirt is defined as the second greasy dirt offset to the reflected value of infrared signal intensity.The bottom of the infrared sensor of terminal it is dry value In the case of knowing, by stabilization after the intensity of current infrared signal subtract the dry value in default bottom, just can obtain the second greasy dirt benefit Repay value.So far the accurate greasy dirt offset during infrared sensor tapping contamination greasy dirt of terminal can be determined, i.e., this Two greasy dirt offsets, it is therefore possible to use the second greasy dirt offset updates the first greasy dirt pre-estimated in aforementioned schemes mending Repay value.
Alternatively, the method also includes:
After the first greasy dirt offset is updated to the second greasy dirt offset, the first intensity threshold is completely measured by infrared signal Journey is most worth and is updated to the first initial intensity threshold plus the second greasy dirt offset;
The first wherein initial intensity threshold refers to be updated to the first intensity threshold before infrared signal full scale is most worth.
In embodiments of the present invention, the accurate greasy dirt compensation when infrared sensor tapping contamination greasy dirt is determined Value, i.e., after the second greasy dirt offset, can select by infrared signal full scale to be most worth the first intensity threshold be updated to just The first intensity threshold for beginning adds the second greasy dirt offset, it is also possible to continue to keep Upper threshold Hi values for infrared signal full scale most Value, is not particularly limited herein.
It should be noted that above-mentioned any intensity threshold and distance threshold can be according to different application scenarios voluntarily Definition, is not limited for concrete numerical value.
So far, by the agency of be over the embodiment of the present invention whole essential characteristics, it is necessary to explanation be the above all only It is the specific embodiment of the embodiment of the present invention, in other embodiments, can also be using other implementation methods, any and sheet The same or analogous implementation method of inventive embodiments, and the essential characteristic of the embodiment of the present invention any combination, in this hair Within the protection domain of bright embodiment.
Compared with prior art, the embodiment of the present invention passes through greasy dirt offset to the distance for judging shelter and terminal The intensity threshold of infrared signal be updated, in the case of there is greasy dirt in the tapping of the infrared sensor set in terminal The distance of terminal and shelter is accurately judged to, go out screen and bright screen operation is smoothly performed.
Although disclosed herein implementation method as above, described content be only readily appreciate the present invention and use Implementation method, is not limited to the present invention.Technical staff in any art of the present invention, is taken off the present invention is not departed from On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details implemented Scope of patent protection, must be still defined by the scope of which is defined in the appended claims.

Claims (10)

1. a kind of device of the distance for detecting terminal and shelter, it is characterised in that described device includes:Judge module, determination Module and update module;
The judge module, the intensity for the infrared signal to being reflected through shelter judges;
The determining module, for when the intensity for judging infrared signal is more than default first intensity threshold, determining shelter Distance with terminal is less than or equal to default first distance threshold;
The determining module, is additionally operable to when the intensity for judging infrared signal is less than default second intensity threshold, it is determined that blocking Thing is more than or equal to default second distance threshold value with the distance of terminal;Wherein, second intensity threshold is less than described first Intensity threshold, first distance threshold is less than the second distance threshold value;
The update module, for when the intensity for judging infrared signal is more than default three intensity threshold, determining the end There is greasy dirt on the screen of end, first intensity threshold is updated into infrared signal full scale is most worth, and gradually update described the Two intensity thresholds;Wherein, the 3rd intensity threshold is more than the first intensity threshold.
2. the device of the distance of detection terminal and shelter according to claim 1, it is characterised in that the update module It is additionally operable to:
After it is determined that there is greasy dirt on the terminal screen, before second intensity threshold is gradually updated, by described Two intensity thresholds are added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
3. the device of the distance of detection terminal and shelter according to claim 2, it is characterised in that the update module Gradually updating second intensity threshold includes:
When the intensity for detecting the infrared signal be reduced to update after the second intensity threshold when, by renewal after the second intensity Threshold value is updated to the 4th intensity threshold;Wherein described 4th intensity threshold is less than the second intensity threshold after the renewal;
No longer reduce when the intensity of the infrared signal and after the intensity stabilization of the infrared signal, if current infrared letter Number intensity be more than the 4th intensity threshold, then keep the 4th intensity threshold constant;
No longer reduce when the intensity of the infrared signal and after the intensity stabilization of the infrared signal, if current infrared letter Number intensity be less than or equal to the 4th intensity threshold, then the 4th intensity threshold is updated to the 5th intensity threshold;Its Described in the 5th intensity threshold less than the current infrared signal intensity.
4. the device of the distance of detection terminal and shelter according to claim 3, it is characterised in that the update module It is additionally operable to:
The intensity of the described current infrared signal after by stabilization subtracts the dry value in default bottom, obtains the second greasy dirt offset, and will The first greasy dirt offset is updated to the second greasy dirt offset.
5. the device of the distance of detection terminal and shelter according to claim 4, it is characterised in that the update module It is additionally operable to:
After the first greasy dirt offset is updated to the second greasy dirt offset, by first intensity threshold by described Infrared signal full scale is most worth and is updated to the first initial intensity threshold plus the second greasy dirt offset;
Wherein described the first initial intensity threshold refers to be updated to the first intensity before the infrared signal full scale is most worth Threshold value.
6. a kind of method of the distance for detecting terminal and shelter, it is characterised in that methods described includes:
The intensity of the infrared signal to being reflected through shelter judges;
When the intensity for judging infrared signal is more than default first intensity threshold, determine shelter and terminal distance be less than or Equal to default first distance threshold;
When the intensity for judging infrared signal is less than default second intensity threshold, determine shelter and terminal distance be more than or Equal to default second distance threshold value;Wherein, second intensity threshold is less than first intensity threshold, first distance Threshold value is less than the second distance threshold value;
When the intensity for judging infrared signal is more than default three intensity threshold, determine there is greasy dirt on the terminal screen, First intensity threshold is updated into infrared signal full scale to be most worth, and gradually updates second intensity threshold;Wherein, Three intensity thresholds are more than the first intensity threshold.
7. the method for the distance of detection terminal and shelter according to claim 6, it is characterised in that methods described is also wrapped Include:
After it is determined that there is greasy dirt on the terminal screen, before second intensity threshold is gradually updated, by described Two intensity thresholds are added with default first greasy dirt offset, and the result that will be obtained is used as the second intensity threshold after renewal.
8. the method for the distance of detection terminal and shelter according to claim 7, it is characterised in that described gradually to update Second intensity threshold includes:
When the intensity for detecting the infrared signal be reduced to update after the second intensity threshold when, by renewal after the second intensity Threshold value is updated to the 4th intensity threshold;Wherein described 4th intensity threshold is less than the second intensity threshold after the renewal;
No longer reduce when the intensity of the infrared signal and after the intensity stabilization of the infrared signal, if current infrared letter Number intensity be more than the 4th intensity threshold, then keep the 4th intensity threshold constant;
No longer reduce when the intensity of the infrared signal and after the intensity stabilization of the infrared signal, if current infrared letter Number intensity be less than or equal to the 4th intensity threshold, then the 4th intensity threshold is updated to the 5th intensity threshold;Its Described in the 5th intensity threshold less than the current infrared signal intensity.
9. the method for the distance of detection terminal and shelter according to claim 8, it is characterised in that methods described is also wrapped Include:
The intensity of the described current infrared signal after by stabilization subtracts the dry value in default bottom, obtains the second greasy dirt offset, and will The first greasy dirt offset is updated to the second greasy dirt offset.
10. the method for the distance of detection terminal and shelter according to claim 9, it is characterised in that methods described is also Including:
After the first greasy dirt offset is updated to the second greasy dirt offset, by first intensity threshold by described Infrared signal full scale is most worth and is updated to the first initial intensity threshold plus the second greasy dirt offset;
Wherein described the first initial intensity threshold refers to be updated to the first intensity before the infrared signal full scale is most worth Threshold value.
CN201611116858.XA 2016-12-07 2016-12-07 A kind of device and method detecting terminal at a distance from shelter Active CN106850943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611116858.XA CN106850943B (en) 2016-12-07 2016-12-07 A kind of device and method detecting terminal at a distance from shelter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611116858.XA CN106850943B (en) 2016-12-07 2016-12-07 A kind of device and method detecting terminal at a distance from shelter

Publications (2)

Publication Number Publication Date
CN106850943A true CN106850943A (en) 2017-06-13
CN106850943B CN106850943B (en) 2019-10-08

Family

ID=59139375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611116858.XA Active CN106850943B (en) 2016-12-07 2016-12-07 A kind of device and method detecting terminal at a distance from shelter

Country Status (1)

Country Link
CN (1) CN106850943B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704182A (en) * 2017-09-29 2018-02-16 维沃移动通信有限公司 A kind of barcode scanning method and mobile terminal
CN107765232A (en) * 2017-09-27 2018-03-06 歌尔科技有限公司 The calibration method and device of proximity transducer
CN108200493A (en) * 2017-12-29 2018-06-22 广州酷狗计算机科技有限公司 The function control method and device of headset assembly, earphone
CN109862169A (en) * 2017-11-30 2019-06-07 北京小米移动软件有限公司 Control method of electronic device and device
CN110381200A (en) * 2019-07-08 2019-10-25 维沃移动通信有限公司 It goes out and shields control method and mobile terminal
CN111524342A (en) * 2020-05-06 2020-08-11 上海创功通讯技术有限公司 Infrared remote control equipment testing device and method
CN112101340A (en) * 2020-11-16 2020-12-18 展讯通信(上海)有限公司 Screen stain recognition method and device
CN112687214A (en) * 2020-12-28 2021-04-20 维沃移动通信有限公司 Screen control circuit and electronic equipment
CN112698420A (en) * 2019-10-23 2021-04-23 广州奕至家居科技有限公司 Object approach sensing method and device
CN113296085A (en) * 2021-05-21 2021-08-24 联合汽车电子有限公司 Ultra-wideband ranging method, storage medium and system
US11115930B2 (en) 2019-02-26 2021-09-07 Asustek Computer Inc. Electronic device and controlling method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665008A (en) * 2012-05-08 2012-09-12 广东欧珀移动通信有限公司 Detecting algorithm for infrared proximity sensor of touch screen mobile phone
CN103197357A (en) * 2013-02-26 2013-07-10 深圳市中兴移动通信有限公司 Infrared proximity detector self-calibration method and device
CN103941310A (en) * 2014-04-09 2014-07-23 苏州佳世达电通有限公司 Correcting method and system of proximity sensor
CN104516641A (en) * 2013-10-08 2015-04-15 宏达国际电子股份有限公司 Automatic calibration method and electronic apparatus
CN105025159A (en) * 2015-06-05 2015-11-04 广东欧珀移动通信有限公司 A proximity sensor adjusting method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665008A (en) * 2012-05-08 2012-09-12 广东欧珀移动通信有限公司 Detecting algorithm for infrared proximity sensor of touch screen mobile phone
CN103197357A (en) * 2013-02-26 2013-07-10 深圳市中兴移动通信有限公司 Infrared proximity detector self-calibration method and device
CN104516641A (en) * 2013-10-08 2015-04-15 宏达国际电子股份有限公司 Automatic calibration method and electronic apparatus
CN103941310A (en) * 2014-04-09 2014-07-23 苏州佳世达电通有限公司 Correcting method and system of proximity sensor
CN105025159A (en) * 2015-06-05 2015-11-04 广东欧珀移动通信有限公司 A proximity sensor adjusting method and apparatus

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765232A (en) * 2017-09-27 2018-03-06 歌尔科技有限公司 The calibration method and device of proximity transducer
CN107765232B (en) * 2017-09-27 2023-10-24 歌尔科技有限公司 Calibration method and device of proximity sensor
CN107704182A (en) * 2017-09-29 2018-02-16 维沃移动通信有限公司 A kind of barcode scanning method and mobile terminal
CN107704182B (en) * 2017-09-29 2020-03-31 维沃移动通信有限公司 Code scanning method and mobile terminal
CN109862169A (en) * 2017-11-30 2019-06-07 北京小米移动软件有限公司 Control method of electronic device and device
CN108200493A (en) * 2017-12-29 2018-06-22 广州酷狗计算机科技有限公司 The function control method and device of headset assembly, earphone
CN108200493B (en) * 2017-12-29 2020-09-29 广州酷狗计算机科技有限公司 Earphone assembly, and function control method and device of earphone
US11115930B2 (en) 2019-02-26 2021-09-07 Asustek Computer Inc. Electronic device and controlling method thereof
CN110381200A (en) * 2019-07-08 2019-10-25 维沃移动通信有限公司 It goes out and shields control method and mobile terminal
CN110381200B (en) * 2019-07-08 2022-03-08 维沃移动通信有限公司 Screen-off control method and mobile terminal
CN112698420A (en) * 2019-10-23 2021-04-23 广州奕至家居科技有限公司 Object approach sensing method and device
CN112698420B (en) * 2019-10-23 2023-11-03 广州奕至家居科技有限公司 Object proximity sensing method and device
CN111524342A (en) * 2020-05-06 2020-08-11 上海创功通讯技术有限公司 Infrared remote control equipment testing device and method
CN112101340A (en) * 2020-11-16 2020-12-18 展讯通信(上海)有限公司 Screen stain recognition method and device
WO2022099823A1 (en) * 2020-11-16 2022-05-19 展讯通信(上海)有限公司 Screen stain identification method and apparatus
CN112687214A (en) * 2020-12-28 2021-04-20 维沃移动通信有限公司 Screen control circuit and electronic equipment
CN112687214B (en) * 2020-12-28 2023-12-19 维沃移动通信有限公司 Screen control circuit and electronic equipment
CN113296085A (en) * 2021-05-21 2021-08-24 联合汽车电子有限公司 Ultra-wideband ranging method, storage medium and system
CN113296085B (en) * 2021-05-21 2024-04-26 联合汽车电子有限公司 Ultra-wideband ranging method, storage medium and system

Also Published As

Publication number Publication date
CN106850943B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN106850943B (en) A kind of device and method detecting terminal at a distance from shelter
CN104915582B (en) unlocking method and device
CN104980588B (en) A kind of method and apparatus for detecting mobile terminal state
CN104850799B (en) The method and mobile terminal of a kind of data in hiding mobile terminal
CN105094532B (en) Data access method and device
CN106778159A (en) Virtual key management method and device
CN104917891B (en) A kind of mobile terminal and its flipping-over control method
CN107422899A (en) A kind of terminal and the method for ensureing sensitivity of touch screen
CN105278752B (en) A kind of touch-operated device and method
CN106973163A (en) The dynamic calibration method and its device of a kind of infrared proximity transducer
CN105573916B (en) Fault detection method and mobile terminal
CN109040370A (en) A kind of fingerprint identification method, terminal and computer readable storage medium
CN106412297A (en) Barrier warning method and device as well as mobile terminal
CN105302457B (en) Terminal control method and device
CN105100408B (en) A kind of method and apparatus controlling mobile terminal
CN106993084A (en) The method, device and mobile terminal that a kind of control information is shown
CN106125898A (en) The method and device of screen rotation
CN106227454B (en) A kind of touch trajectory detection system and method
CN105974437B (en) A kind of method, apparatus and terminal promoting terminal applies performance
CN106897010A (en) Touch screen terminal and control method
CN106775381A (en) The apparatus and method of adjustment screen touch area
CN106569690A (en) Mistaken touch prevention device and method
CN106303080B (en) A kind of method and apparatus prompting new information on a display screen
CN106055154B (en) A kind of contact action control method and device and mobile terminal
CN104883446B (en) A kind of method and apparatus of control mobile terminal

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
GR01 Patent grant
GR01 Patent grant