CN106886019A - Distance measurement method and device - Google Patents

Distance measurement method and device Download PDF

Info

Publication number
CN106886019A
CN106886019A CN201710121305.1A CN201710121305A CN106886019A CN 106886019 A CN106886019 A CN 106886019A CN 201710121305 A CN201710121305 A CN 201710121305A CN 106886019 A CN106886019 A CN 106886019A
Authority
CN
China
Prior art keywords
range
mobile terminal
distance
detection
distance detector
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
CN201710121305.1A
Other languages
Chinese (zh)
Other versions
CN106886019B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710121305.1A priority Critical patent/CN106886019B/en
Publication of CN106886019A publication Critical patent/CN106886019A/en
Application granted granted Critical
Publication of CN106886019B publication Critical patent/CN106886019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/46Indirect determination of position data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/46Indirect determination of position data
    • G01S2013/462Indirect determination of position data using multipath signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of distance measurement method and device.The signal processing method is applied to include the mobile terminal of the first range finder and second distance detector, and the method includes:The detection range of object and the mobile terminal is obtained by first range finder or the second distance detector;When the detection range meets pre-conditioned, first range finder and/or the second distance detector is controlled to detect the actual range of the object and the mobile terminal.The disclosure is by setting two range finders, the detection range between object and mobile terminal is tentatively obtained according to two range finders first, then, when the detection range meets pre-conditioned, suitable detector is selected to detect the actual range of the object and the mobile terminal so that the distance between detecting objects and mobile terminal result are more accurate.

Description

Distance measurement method and device
Technical field
This disclosure relates to the communications field, more particularly to a kind of distance measurement method and device.
Background technology
In correlation technique, smart mobile phone perceives mobile phone screen to the distance of user face by range finder.Mobile phone In experience of the process of conversing, after mobile phone is connected, range finder can register a monitor and monitor use user in internal system Family face and the distance of mobile phone screen;When the distance of mobile phone screen is pressed close to less than the threshold value that certain sets by face, screen is put out in triggering Operation, and then prevent in communication process because mobile phone screen is pressed close to by face, there is false touch and hang up call in progress.
In above-mentioned correlation technique, the range finder can only low coverage perceive, and greasy dirt on mobile phone screen stop or The color (scattering or absorption on light) of person's mobile phone screen can all influence distance to the error that the measurement of range finder is caused The actual range finding of detector, so that experience sense becomes particularly inconvenient.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of distance measurement method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of distance measurement method, mobile terminal, the shifting are applied to Dynamic terminal includes the first range finder and second distance detector;The signal processing method includes:
Object and the mobile terminal are obtained by first range finder or the second distance detector Detection range;
When the detection range meets pre-conditioned, first range finder and/or the second distance are controlled Detector detects the actual range of the object and the mobile terminal.
Alternatively, first range finder includes being reflected for the transmitter module of emission detection signal and for receiving The receiver module of detectable signal afterwards;
It is described when the detection range meets pre-conditioned, control first range finder and/or described second Range finder detects the actual range of the object and the mobile terminal, including:
Determine the detection range in the first preset range;
The receiver module is closed, and controls the second distance detector to detect the object and the mobile terminal Actual range.
Alternatively, it is described determine the detection range in the first preset range after, the distance measurement method also includes: Increase the transmission power of the transmitter module.
Alternatively, it is described when the detection range meets pre-conditioned, control first range finder and/or institute State second distance detector and detect the object and the actual range of the mobile terminal, also include:
The detection range is determined in the second preset range, and the higher limit of second preset range is less than described first The lower limit of preset range;
The second distance detector is closed, and controls first range finder to detect the object and the shifting The actual range of dynamic terminal.
Alternatively, it is described when the detection range meets pre-conditioned, control first range finder and/or institute State second distance detector and detect the object and the actual range of the mobile terminal, also include:
The detection range is determined in the 3rd preset range, and the lower limit of the 3rd preset range is more than described first The higher limit of preset range;
First range finder and the second distance detector is controlled to detect the object jointly with the shifting The actual range of dynamic terminal.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of distance detector, mobile terminal, the shifting are applied to Dynamic terminal includes the first range finder and second distance detector;The distance detector includes:
Acquisition module, is configured to first range finder or the second distance detector obtains object With the detection range of the mobile terminal;
Control module, is configured as, when the detection range meets pre-conditioned, controlling first range finder And/or the second distance detector detects the actual range of the object and the mobile terminal.
Alternatively, first range finder includes being reflected for the transmitter module of emission detection signal and for receiving The receiver module of detectable signal afterwards;
The control module includes:
First determination sub-module, is configured to determine that the detection range in the first preset range;
First control submodule, is configured as closing the receiver module, and control the second distance detector to detect The actual range of the object and the mobile terminal.
Alternatively, the control module also includes:
Increase submodule, after being configured to determine that the detection range in the first preset range, increases the transmitting mould The transmission power of block.
Alternatively, the control module also includes:
Second determination sub-module, is configured to determine that the detection range in the second preset range, and described second presets Lower limit of the higher limit of scope less than first preset range;
Second control submodule, is configured as closing the second distance detector, and control first distance measurement Device detects the actual range of the object and the mobile terminal.
Alternatively, the control module also includes:
3rd determination sub-module, is configured to determine that the detection range in the 3rd preset range, and the described 3rd presets The lower limit of scope is more than in the higher limit of first preset range;
3rd control submodule, is configured as controlling first range finder and the second distance detector common Detect the actual range of the object and the mobile terminal.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of distance detector, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The detection range of object and mobile terminal is obtained by the first range finder or second distance detector;
When the detection range meets pre-conditioned, first range finder and/or the second distance are controlled Detector detects the actual range of the object and the mobile terminal.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, when described Instruction in storage medium by mobile terminal computing device when so that mobile terminal is able to carry out a kind of distance measurement side Method, methods described includes:
The detection range of object and mobile terminal is obtained by the first range finder or second distance detector;
When the detection range meets pre-conditioned, first range finder and/or the second distance are controlled Detector detects the actual range of the object and the mobile terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The disclosure tentatively obtains object and moves according to two range finders first by setting two range finders Detection range between dynamic terminal, then, when the detection range meets pre-conditioned, selects suitable detector detection institute State the actual range of object and the mobile terminal so that the distance between detecting objects and mobile terminal result are more smart It is accurate.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the distance measurement method according to an exemplary embodiment.
Fig. 2 is a kind of application scenario diagram of the distance measurement method according to an exemplary embodiment.
Fig. 3 is a kind of another flow chart of the distance measurement method according to an exemplary embodiment.
Fig. 4 is a kind of another flow chart of the distance measurement method according to an exemplary embodiment.
Fig. 5 is a kind of another flow chart of the distance measurement method according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the distance detector according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the control module of the distance detector according to an exemplary embodiment.
Fig. 8 is a kind of another block diagram of the control module of the distance detector according to an exemplary embodiment.
Fig. 9 is a kind of another block diagram of the control module of the distance detector according to an exemplary embodiment.
Figure 10 is a kind of another block diagram of the control module of the distance detector according to an exemplary embodiment.
Figure 11 is a kind of block diagram of the device according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the distance measurement method according to an exemplary embodiment, as shown in figure 1, distance Detection method is used in mobile terminal, comprises the following steps.
In step s 11, object and institute are obtained by first range finder or the second distance detector State the detection range of mobile terminal.
In step s 12, when the detection range meets pre-conditioned, control first range finder and/or The second distance detector detects the actual range of the object and the mobile terminal.
Mobile terminal in the disclosure is probably smart mobile phone, intelligent watch, Intelligent bracelet, panel computer etc..The shifting Dynamic terminal includes the first range finder and second distance detector, wherein, first range finder can be used for carrying out The detection range of proximity detection object and the mobile terminal, the second distance detector can be used for carrying out remote The detection range of detecting objects and the mobile terminal.Fig. 2 is a kind of distance measurement according to an exemplary embodiment The application scenario diagram of method, as shown in Fig. 2 when user uses certain function in smart mobile phone 10, such as when calling, First range finder or the second distance detector are carried out between face and the screen of smart mobile phone 10 of detection user Distance.
First, in step S11, by first range finder or the second distance detector obtain object with The detection range of the mobile terminal.Mesh is obtained by first range finder or the second distance detector first Preliminary distance between mark thing and the mobile terminal, wherein, the object can be the face of user.
Alternatively, first range finder and the second distance detector can be holeless two-way Distance-sensings Device, first range finder and the second distance detector are synchronous by a synchronizer control.Holeless two-way away from Perforate is reduced from sensor, system can be made to strengthen antistatic effect, minimizing electrostatic coupling path, while can be conducive to preventing Water, dust-proof, the outward appearance of improvement mobile device.
For example, it is described in smart mobile phone 10 as shown in Fig. 2 when user is called using smart mobile phone 10 First range finder and the second distance detector start to detect the spy between the face of user and the screen of smart mobile phone 10 Find range from.When between user face and the screen of smart mobile phone 10 farther out, the second distance for carrying out long-range detection is detected Device can carry out detection and obtain detection range;When nearer between user face and the screen of smart mobile phone 10, for carrying out low coverage Detection can be carried out from the first range finder of detection obtain detection range.
After detection range of the object with the mobile terminal is obtained, step S12 is performed, it is full in the detection range When foot is pre-conditioned, first range finder and/or the second distance detector is controlled to detect the object and institute State the actual range of mobile terminal.Wherein, it is described it is pre-conditioned can be pre- between the object and the mobile terminal If distance range, such as, and 0 to 5cm, 5cm to 10cm.
For example, as shown in Fig. 2 when the object is 0 to 5cm with the detection range of the mobile terminal, controlling First range finder made for proximity detection detects the actual range of the object and the mobile terminal;When When the object is 5cm to 10cm with the detection range of the mobile terminal, described second for long-range detection is controlled Range finder detects the actual range of the object and the mobile terminal;When the object and the mobile terminal When detection range is more than 10cm, first range finder and the second distance detector is controlled to detect the target simultaneously The actual range of thing and the mobile terminal.
The disclosure tentatively obtains object and moves according to two range finders first by setting two range finders Detection range between dynamic terminal, then, when the detection range meets pre-conditioned, selects suitable detector detection institute State the actual range of object and the mobile terminal so that the distance between detecting objects and mobile terminal result are more smart It is accurate.
Fig. 3 is a kind of another flow chart of the distance measurement method according to an exemplary embodiment.As shown in figure 3, First range finder is included for the transmitter module of emission detection signal and for receiving the detectable signal after reflection Receiver module, the distance measurement method is used in mobile terminal, comprises the following steps.
In step S31, object and institute are obtained by first range finder or the second distance detector State the detection range of mobile terminal.
In step s 32, determine the detection range in the first preset range.
In step S33, close the receiver module, and control the second distance detector detect the object with The actual range of the mobile terminal.
Wherein, first range finder is used for proximity detection, and first range finder is needed for sending out The transmitter module and the receiver module for receiving the detectable signal after reflection of detectable signal are penetrated, when the receiver module is received After detectable signal after reflection, it is possible to calculate the distance between object and mobile terminal.The second distance detector is used In long-range detection, alternatively, the second distance detector can need to only have second of the detectable signal after receiving reflection Receiver module, and then can be with cost-effective.First preset range is to be suitable for second distance detector detecting objects Distance range.
Optionally it is determined that after the detection range is in the first preset range, by the synchronizer control increase transmitting The transmission power of module, and then enable that the detectable signal run into after the object reflection of distant place is detected by the second distance Device is received.
For example, as shown in Fig. 2 first preset range can be 5cm to 10cm, i.e., when the object and institute When the detection range for stating mobile terminal is 5cm to 10cm, the receiver module of first range finder is closed, such as to described Receiver module carries out power down process, and controls the second distance detector to detect the reality of the object and the mobile terminal Border distance.
The disclosure selects suitable range finder according to the preliminary detection range for obtaining object and the mobile terminal Detect the actual range of the object and the mobile terminal, when the detection range is in the first preset range, And close the receiver module of first range finder, not only cause that result of detection is more accurate, and can save it is mobile eventually The power consumption at end.
Fig. 4 is a kind of another flow chart of the distance measurement method according to an exemplary embodiment, as shown in figure 4, Distance measurement method is used in mobile terminal, comprises the following steps.
In step S41, object and institute are obtained by first range finder or the second distance detector State the detection range of mobile terminal.
In step S42, the detection range is determined in the second preset range, the higher limit of second preset range Less than the lower limit of first preset range.
In step S43, the transmission power of the transmitter module is reduced.
In step S44, the second distance detector is closed, and control first range finder to detect the mesh Mark the actual range of thing and the mobile terminal.
For example, as shown in Fig. 2 first preset range can be 5cm to 10cm, second preset range can With less than 5cm, i.e., when the object is less than 5cm with the detection range of the mobile terminal, controlled to reduce by synchronizer The transmission power of the transmitter module, closes the second distance detector, such as the second distance detector is broken Electric treatment, and control first range finder to detect the actual range of the object and the mobile terminal.
The disclosure selects suitable range finder according to the preliminary detection range for obtaining object and the mobile terminal Detect the actual range of the object and the mobile terminal, when the detection range is in the second preset range, The transmission power of the transmitter module is reduced, the light returned by glass-reflected is prevented so that the reception energy of receiver module is satisfied With, reduce influence of the external environment to detection range, the robustness of detection system is improved, reduce greasy dirt and dark hair etc. outside other The influence of boundary's factor;And second distance detector is closed, not only cause that result of detection is more accurate, and mobile terminal can be saved Power consumption.
Fig. 5 is a kind of another flow chart of the distance measurement method according to an exemplary embodiment, as shown in figure 5, Distance measurement method is used in mobile terminal, comprises the following steps.
In step s 51, object and institute are obtained by first range finder or the second distance detector State the detection range of mobile terminal.
In step S52, the detection range is determined in the 3rd preset range, the lower limit of the 3rd preset range More than the higher limit of first preset range.
In step S53, first range finder and the second distance detector is controlled to detect the mesh jointly Mark the actual range of thing and the mobile terminal.
Optionally it is determined that after the detection range is in the 3rd preset range, by the synchronizer control increase transmitting The transmission power of module, and then enable to run into the detectable signal after the object reflection of distant place by first distance measurement Device and the second distance detector are received.
For example, as shown in Fig. 2 first preset range can be 5cm to 10cm, the 3rd preset range can More than 10cm, i.e., when the object is more than 10cm with the detection range of the mobile terminal, to control first distance Detector and the second distance detector detect the actual range of the object and the mobile terminal jointly.
The disclosure selects suitable range finder according to the preliminary detection range for obtaining object and the mobile terminal Detect the actual range of the object and the mobile terminal, when the detection range is in the 3rd preset range, First range finder and the second distance detector is controlled to detect the object jointly with the mobile terminal Actual range so that result of detection is more accurate.
Fig. 6 is a kind of block diagram of the distance detector according to an exemplary embodiment.Reference picture 6, the device 600 Including acquisition module 610 and control module 620.
The acquisition module 610 is configured to first range finder or the second distance detector obtains mesh Mark the detection range of thing and the mobile terminal.
The control module 620 is configured as, when the detection range meets pre-conditioned, controlling first distance to visit Survey device and/or the second distance detector detects the actual range of the object and the mobile terminal.
Alternatively, first range finder includes being reflected for the transmitter module of emission detection signal and for receiving The receiver module of detectable signal afterwards.As shown in fig. 7, the control module 620 can include:
First determination sub-module 621, is configured to determine that the detection range in the first preset range;
First control submodule 622, is configured as closing the receiver module, and control the second distance detector to visit Survey the actual range of the object and the mobile terminal.
Alternatively, as shown in figure 8, the control module 620 is except including the first determination sub-module 621 and the first control Outside module 622, can also include:
Increase submodule 623, after being configured to determine that the detection range in the first preset range, increases the transmitting The transmission power of module.
Alternatively, as shown in figure 9, the control module 620 can include:
Second determination sub-module 624, is configured to determine that the detection range in the second preset range, and described second is pre- If the higher limit of scope is less than the lower limit of first preset range;
Submodule 628 is reduced, is configured as reducing the transmission power of the transmitter module;
Second control submodule 625, is configured as closing the second distance detector, and control first distance to visit Survey the actual range that device detects the object and the mobile terminal.
Alternatively, as shown in Figure 10, the control module 620 can include:
3rd determination sub-module 626, is configured to determine that the detection range in the 3rd preset range, and the described 3rd is pre- If the lower limit of scope is more than in the higher limit of first preset range;
3rd control submodule 627, is configured as controlling first range finder and the second distance detector The actual range of the object and the mobile terminal is detected jointly.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of block diagram of the device 800 for distance measurement according to an exemplary embodiment.For example, dress It can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to put 800 Equipment, body-building equipment, personal digital assistant etc..
Reference picture 11, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned distance measurement method.Additionally, processing assembly 802 can include one or more Module, is easy to the interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, To facilitate the interaction between multimedia groupware 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction for any application program or method operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in one screen of output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing above-mentioned distance measurement method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete above-mentioned distance measurement side by the processor 820 of device 800 Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering specification and putting into practice the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptability Change follows the general principle of the disclosure and including the undocumented common knowledge or usual skill in the art of the disclosure Art means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following claim Point out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of distance measurement method, is applied to mobile terminal, it is characterised in that the mobile terminal includes the first distance measurement Device and second distance detector;The signal processing method includes:
The detection of object and the mobile terminal is obtained by first range finder or the second distance detector Distance;
When the detection range meets pre-conditioned, first range finder and/or second distance detection are controlled Device detects the actual range of the object and the mobile terminal.
2. distance measurement method according to claim 1, it is characterised in that first range finder is included for sending out Penetrate the transmitter module and the receiver module for receiving the detectable signal after reflection of detectable signal;
It is described when the detection range meets pre-conditioned, control first range finder and/or the second distance Detector detects the actual range of the object and the mobile terminal, including:
Determine the detection range in the first preset range;
The receiver module is closed, and controls the second distance detector to detect the reality of the object and the mobile terminal Border distance.
3. distance measurement method according to claim 2, it is characterised in that the determination detection range is pre- first If after in scope, the distance measurement method also includes:Increase the transmission power of the transmitter module.
4. distance measurement method according to claim 2, it is characterised in that described to meet default bar in the detection range During part, first range finder and/or the second distance detector is controlled to detect the object mobile whole with described The actual range at end, also includes:
The detection range is determined in the second preset range, and the higher limit of second preset range is preset less than described first The lower limit of scope;
Reduce the transmission power of the transmitter module;
The second distance detector is closed, and it is mobile whole with described to control first range finder to detect the object The actual range at end.
5. distance measurement method according to claim 2, it is characterised in that described to meet default bar in the detection range During part, first range finder and/or the second distance detector is controlled to detect the object mobile whole with described The actual range at end, also includes:
The detection range is determined in the 3rd preset range, and the lower limit of the 3rd preset range is preset more than described first The higher limit of scope;
First range finder and the second distance detector is controlled to detect the object jointly mobile whole with described The actual range at end.
6. a kind of distance detector, is applied to mobile terminal, it is characterised in that the mobile terminal includes the first distance measurement Device and second distance detector;The distance detector includes:
Acquisition module, is configured to first range finder or the second distance detector obtains object and institute State the detection range of mobile terminal;
Control module, is configured as when the detection range meets pre-conditioned, control first range finder and/or The second distance detector detects the actual range of the object and the mobile terminal.
7. distance detector according to claim 6, it is characterised in that first range finder is included for sending out Penetrate the transmitter module and the receiver module for receiving the detectable signal after reflection of detectable signal;
The control module includes:
First determination sub-module, is configured to determine that the detection range in the first preset range;
First control submodule, is configured as closing the receiver module, and control the second distance detector detection described The actual range of object and the mobile terminal.
8. distance detector according to claim 7, it is characterised in that the control module also includes:
Increase submodule, after being configured to determine that the detection range in the first preset range, increases the transmitter module Transmission power.
9. distance detector according to claim 7, it is characterised in that the control module also includes:
Second determination sub-module, is configured to determine that the detection range in the second preset range, second preset range Higher limit less than first preset range lower limit;
Submodule is reduced, is configured as reducing the transmission power of the transmitter module;
Second control submodule, is configured as closing the second distance detector, and control first range finder to visit Survey the actual range of the object and the mobile terminal.
10. distance detector according to claim 7, it is characterised in that the control module also includes:
3rd determination sub-module, is configured to determine that the detection range in the 3rd preset range, the 3rd preset range Lower limit be more than in the higher limit of first preset range;
3rd control submodule, is configured as controlling first range finder and the second distance detector to detect jointly The actual range of the object and the mobile terminal.
A kind of 11. distance detectors, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The detection range of object and mobile terminal is obtained by the first range finder or second distance detector;
When the detection range meets pre-conditioned, first range finder and/or second distance detection are controlled Device detects the actual range of the object and the mobile terminal.
CN201710121305.1A 2017-03-02 2017-03-02 Distance measurement method and device Active CN106886019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710121305.1A CN106886019B (en) 2017-03-02 2017-03-02 Distance measurement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710121305.1A CN106886019B (en) 2017-03-02 2017-03-02 Distance measurement method and device

Publications (2)

Publication Number Publication Date
CN106886019A true CN106886019A (en) 2017-06-23
CN106886019B CN106886019B (en) 2019-09-20

Family

ID=59180087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710121305.1A Active CN106886019B (en) 2017-03-02 2017-03-02 Distance measurement method and device

Country Status (1)

Country Link
CN (1) CN106886019B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656317A (en) * 2017-10-11 2019-04-19 北京小米移动软件有限公司 With the equipment apart from inducing function and apart from inducing method
CN112929492A (en) * 2021-03-03 2021-06-08 惠州Tcl移动通信有限公司 Control method, control device, storage medium and mobile terminal
CN114265006A (en) * 2020-09-16 2022-04-01 Oppo广东移动通信有限公司 Distance detection method and device, electronic equipment and storage medium
CN115755216A (en) * 2023-01-10 2023-03-07 北京北斗星通导航技术股份有限公司 Beidou terminal data processing method and system
CN116668581A (en) * 2022-11-30 2023-08-29 荣耀终端有限公司 Method and device for preventing false touch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1566656A2 (en) * 2004-02-17 2005-08-24 Fujitsu Ten Limited Radar apparatus
CN103747586A (en) * 2014-01-10 2014-04-23 惠州Tcl移动通信有限公司 Mobile terminal, and illumination brightness regulation method and device for same
CN105511558A (en) * 2015-11-30 2016-04-20 广东小天才科技有限公司 Support control method, support and system of mobile terminal
CN105704317A (en) * 2016-03-08 2016-06-22 北京小米移动软件有限公司 Antenna parameter adjustment method and apparatus, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1566656A2 (en) * 2004-02-17 2005-08-24 Fujitsu Ten Limited Radar apparatus
CN103747586A (en) * 2014-01-10 2014-04-23 惠州Tcl移动通信有限公司 Mobile terminal, and illumination brightness regulation method and device for same
CN105511558A (en) * 2015-11-30 2016-04-20 广东小天才科技有限公司 Support control method, support and system of mobile terminal
CN105704317A (en) * 2016-03-08 2016-06-22 北京小米移动软件有限公司 Antenna parameter adjustment method and apparatus, and electronic device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656317A (en) * 2017-10-11 2019-04-19 北京小米移动软件有限公司 With the equipment apart from inducing function and apart from inducing method
CN109656317B (en) * 2017-10-11 2020-12-04 北京小米移动软件有限公司 Apparatus having distance sensing function and distance sensing method
CN114265006A (en) * 2020-09-16 2022-04-01 Oppo广东移动通信有限公司 Distance detection method and device, electronic equipment and storage medium
CN112929492A (en) * 2021-03-03 2021-06-08 惠州Tcl移动通信有限公司 Control method, control device, storage medium and mobile terminal
CN116668581A (en) * 2022-11-30 2023-08-29 荣耀终端有限公司 Method and device for preventing false touch
CN115755216A (en) * 2023-01-10 2023-03-07 北京北斗星通导航技术股份有限公司 Beidou terminal data processing method and system

Also Published As

Publication number Publication date
CN106886019B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN106886019B (en) Distance measurement method and device
EP3041206A1 (en) Method and device for displaying notification information
EP3173970A1 (en) Image processing method and apparatus
EP3043246A1 (en) Apparatus and method for implementing functions of touch button and fingerprint identification, and terminal device
CN104158946A (en) Method and device for controlling terminal
US10027785B2 (en) Method for switching screen state of terminal, terminal thereof, and computer-readable medium thereof
CN104618575B (en) The close method and apparatus of detection object
US11178501B2 (en) Methods, devices, and computer-readable medium for microphone selection
US20150288764A1 (en) Method and apparatus for controlling smart terminal
CN106790043A (en) The method and device of message is sent in live application
CN104601204B (en) trigger condition detection method and device
CN107463052A (en) Shoot exposure method and device
CN104243829A (en) Self-shooting method and self-shooting device
US10885298B2 (en) Method and device for optical fingerprint recognition, and computer-readable storage medium
CN111599273B (en) Display screen control method and device, terminal equipment and storage medium
CN105208510B (en) The method and device of intelligent alarm
CN106572268A (en) Information display method and device
CN107566750A (en) Control method, device and the storage medium of flash lamp
CN107734303B (en) Video identification method and device
CN107656616B (en) Input interface display method and device and electronic equipment
CN112799582A (en) Terminal, holding posture recognition method and device of terminal, and storage medium
CN107682101B (en) Noise detection method and device and electronic equipment
CN108962189A (en) Luminance regulating method and device
CN108319899A (en) Fingerprint identification method and device
CN111629104B (en) Distance determination method, distance determination device, and computer storage medium

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