WO2015172321A1 - Infrared distance-measuring anti-collision method and terminal - Google Patents

Infrared distance-measuring anti-collision method and terminal Download PDF

Info

Publication number
WO2015172321A1
WO2015172321A1 PCT/CN2014/077415 CN2014077415W WO2015172321A1 WO 2015172321 A1 WO2015172321 A1 WO 2015172321A1 CN 2014077415 W CN2014077415 W CN 2014077415W WO 2015172321 A1 WO2015172321 A1 WO 2015172321A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
user
infrared ranging
ranging module
moving speed
Prior art date
Application number
PCT/CN2014/077415
Other languages
French (fr)
Chinese (zh)
Inventor
朱小进
李光然
罗艳彪
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/077415 priority Critical patent/WO2015172321A1/en
Priority to CN201480001272.1A priority patent/CN104335260B/en
Publication of WO2015172321A1 publication Critical patent/WO2015172321A1/en

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/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to an infrared ranging anti-collision method and a terminal. Background technique
  • infrared ranging technology has matured, and smart terminals such as smart phones have anti-collision function technology.
  • the realization principle is that the rear camera of the existing mobile phone is used for image recognition and processing to determine the environment around the user. When an object is detected to be close, the user is reminded to pay attention to safety.
  • This technology has the following disadvantages: The existing mobile phone camera has a fixed position, cannot be adaptively adjusted according to the user's state, and the coverage of the camera is limited; and the mobile phone visible light camera has poor effect in dark or nighttime, and cannot effectively realize the anti-collision function.
  • the embodiment of the invention provides an infrared ranging anti-collision method and a terminal, which have better environmental adaptability, can adaptively adjust the detection direction of the infrared ranging module, and minimize the use of the handheld terminal when the user walks. Potential security risks to protect users from accidental injuries.
  • an infrared ranging anti-collision method including:
  • An alarm prompt is output to the user based on the distance and the speed of movement of the user and/or the obstacle.
  • the adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground further includes:
  • the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor
  • the infrared ranging sensor array includes first, second and third infrared ranging sensors, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, the second and the The three sensors are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60.
  • the center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
  • an alarm prompt is output to the user.
  • the alarm prompting manner includes:
  • Image alarm prompt audible alarm prompt or vibration alarm prompt.
  • the method further includes: turning off the infrared ranging when the moving speed of the user is less than a set threshold and/or the setting application is closed Module; or
  • a terminal including:
  • a startup unit configured to: when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
  • the adjusting unit is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
  • control unit configured to control the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle
  • a first output unit configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
  • the terminal further includes:
  • a first acquiring unit configured to acquire a current acceleration value of the terminal, and an acceleration value when the terminal is in a horizontal position
  • a second acquiring unit configured to acquire, according to the current acceleration value and an acceleration value when the terminal is in a horizontal position, an inclination angle of a current relative horizontal position of the terminal.
  • the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor
  • the infrared ranging sensor array includes first, second and third infrared ranging sensors, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, the second and the The three sensors are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60.
  • the center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
  • the first output unit includes: a unit, configured to acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
  • a second output unit configured to output an alarm prompt to the user when the distance reaches an alarm threshold distance corresponding to the relative moving speed.
  • the alarm prompting manner includes:
  • the terminal further includes: a closing unit, configured to close when the moving speed of the user is less than a set threshold and/or the setting application is closed The infrared ranging module; or
  • the shutdown unit is configured to close the infrared ranging module when receiving an indication that the user turns off the infrared ranging module.
  • a terminal including an input device, an output device, a memory, and a processor.
  • the processor is configured to perform the following steps:
  • An alarm prompt is output to the user based on the distance and the speed of movement of the user and/or the obstacle.
  • the processor performs the adjusting of the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is Before the steps parallel to the ground, perform the following steps:
  • the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor
  • the infrared ranging sensor array includes first, second and third infrared ranging sensors, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, the second and the The three sensors are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60.
  • the center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
  • the step of outputting an alarm prompt to the user including:
  • an alarm prompt is output to the user.
  • the alarm prompting manner includes:
  • Image alarm prompt audible alarm prompt or vibration alarm prompt.
  • the processor further performs the following steps: when the moving speed of the user is less than a set threshold and/or the setting application is closed, Infrared ranging module; or
  • the infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module. It can be seen that the infrared ranging and anti-collision method and the terminal provided by the embodiments of the present invention have better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module. , to minimize the potential safety risks caused by the use of the handheld terminal while walking, to avoid accidental injury. DRAWINGS
  • FIG. 1 is a flowchart of an infrared ranging anti-collision method according to an embodiment of the present invention
  • Figure 2 is a schematic diagram of infrared ranging anti-collision
  • FIG. 3 is a flowchart of another infrared ranging anti-collision method according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an exemplary terminal
  • Figure 5 is a schematic diagram showing the composition of an infrared ranging sensor array
  • FIG. 6 is a schematic diagram of adjustment of an infrared ranging sensor array when the terminal is horizontal to tilted
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure
  • FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of still another terminal according to an embodiment of the present invention. detailed description
  • a flowchart of an infrared ranging anti-collision method includes the following steps:
  • Step S101 When it is detected that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, the infrared ranging module on the terminal is activated.
  • an infrared ranging module is disposed on the terminal, as shown in FIG. 2, and the user of the handheld terminal often opens some applications while walking, and the user's attention is mainly concentrated on these applications. For example, answering the phone, browsing the webpage, etc., not paying attention to the surrounding traffic flow, the flow of people, etc., there is a great security risk.
  • the infrared ranging module set on the terminal in the embodiment of the present invention may be an infrared ranging sensor array, and the infrared measurement
  • the distance module can sense obstacles in front of any environment, such as insufficient light, bad weather, and the like.
  • the infrared ranging module on the startup terminal has two conditions: the user is in the mobile state and the setting application of the user to open the terminal. Therefore, in this step, detecting whether the user is in a moving state, that is, whether the user's moving speed is greater than the set width
  • the setting application here refers to an application that requires the user to concentrate on these applications, such as answering a call, opening a game, browsing a webpage or watching a video, etc., user-initiated Applications can be logged through the terminal operating system.
  • Step S102 Adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
  • the infrared ranging module Adjusting the infrared ranging module according to the tilt angle: In the initial state of starting the infrared ranging module, the terminal is generally in a horizontal position, and the infrared ranging module is also in a straight line with the terminal, that is, in a horizontal position; When the user tilts the terminal, in order to enable the infrared ranging module to accurately and comprehensively detect the obstacle in front, the axis of the detection direction of the infrared ranging module needs to be parallel to the ground. Therefore, the infrared ranging module is adjusted according to the tilt angle. The infrared distance measuring module is driven to rotate, so that the detection direction axis of the infrared distance measuring module is parallel to the ground.
  • Step S103 Control the infrared ranging module to detect a distance between the obstacle around the user and the user and/or a moving speed of the obstacle.
  • the infrared ranging module can be controlled to detect the distance between the obstacle and the user, and the existing technology can be used to detect the distance by using the infrared ray, and will not be described here.
  • the obstacles may be fixed or mobile.
  • the infrared ranging module can be used to detect the moving speed of the moving obstacles. This can also be used in existing technologies, and will not be described here.
  • Step S104 outputting an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
  • the distance between the user and the obstacle and the moving speed of the user or the relative moving speed between the user and the obstacle it can be calculated how long the distance hits the obstacle, and a certain distance can be set. When the distance is wide, an alarm prompt is output to the user.
  • FIG. 3 is a flowchart of another infrared ranging anti-collision method according to an embodiment of the present invention. The method includes the following steps:
  • Step S201 When it is detected that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, the infrared ranging module on the terminal is activated.
  • an infrared ranging module is disposed on the terminal, as shown in FIG. 4, which is a schematic structural diagram of the terminal.
  • the handheld terminal (1) includes an infrared ranging module (2), and may further include a display screen ( 3), a speaker (4), wherein the infrared ranging module (2) of the dotted line frame further comprises an infrared ranging sensor array (5) and Drive motor (6).
  • FIG. 5 it is a schematic diagram of the composition of the infrared ranging sensor array, and the detection range of the infrared ranging sensor array is a 60-degree cone.
  • the center of the sensor (51) coincides with the semi-elliptical short axis of the infrared ranging sensor array, and the sensor (52) and the sensor (53) are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60 degrees.
  • the sensor array can cover a sector of 180 degrees, and under the action of the driving motor, it can cover the environment around the user's handheld terminal.
  • the center of the drive motor coincides with the semi-elliptical long axis of the module.
  • the infrared ranging module can also use other infrared ranging sensor arrays, which is only an example.
  • the infrared ranging module on the startup terminal has two conditions: the user is in the mobile state and the setting application of the user to open the terminal. Therefore, in this step, detecting whether the user is in a moving state, that is, whether the user's moving speed is greater than the set width The value, and whether the setting application on the detection terminal is turned on.
  • the user's movement speed can be measured by the acceleration sensor in the terminal.
  • the settings application here refers to applications that require users to focus on these applications, such as answering calls, opening games, browsing web pages, or watching videos. User-initiated applications can be recorded by the terminal operating system. When the two detection conditions are satisfied at the same time, the infrared ranging module is automatically started.
  • Step S202 Acquire a current acceleration value of the terminal and an acceleration value when the terminal is in a horizontal position.
  • Step S203 Acquire an inclination angle of a current relative horizontal position of the terminal according to the current acceleration value and an acceleration value when the terminal is in a horizontal position.
  • Step S202 - Step S203 is to obtain the tilt angle of the current relative horizontal position of the terminal.
  • Fig. 6 it is an adjustment diagram of the infrared ranging sensor array when the terminal is horizontal to tilted.
  • the acceleration sensor XYZ triaxial acceleration values are XI, Y1 and Zl, and the infrared ranging sensor array at this time Consistent with the terminal; when the terminal is tilted, the accelerometer's triaxial acceleration value is
  • X2, Y2 and Z2 can calculate the tilt angle of the terminal by calculating the difference of the three-axis acceleration values in the two states.
  • Step S204 Adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
  • the tilt angle is used as an input value for adjusting the detection direction of the infrared ranging sensor array, and the starting motor adjusts the angle of the infrared ranging sensor array to ensure that the infrared ranging sensor array can be effectively detected.
  • the adjusted infrared ranging sensor detects that the direction axis is parallel to the ground.
  • Step S205 controlling the infrared ranging module to detect an obstacle around the user and using the The distance between the households and/or the speed at which the obstacle moves.
  • Step S205 is the same as step S103 of the embodiment shown in FIG. 1, and details are not described herein again.
  • Step S206 Acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance.
  • Step S207 When the distance reaches an alarm threshold distance corresponding to the relative moving speed, an alarm prompt is output to the user.
  • the infrared ranging module works normally, the environment around the user is monitored in real time.
  • the handheld terminal displays an image such as the speed and orientation of the obstacle through the interface, and can also pass the speaker. Or the vibration motor reminds the user to pay attention to safety, to provide a variety of alarm prompts to improve the user experience.
  • different alarm threshold distances can be set to accurately provide the user with an alarm prompt in advance. For example, when the user encounters a fixed object and uses lm/s for normal walking speed, we set the alarm threshold distance to 5m. When the user encounters a higher speed object, such as the speed is 20m/s, we set The alarm wide distance is 30m; when the moving speed of the object is between lm/s and 20m/s, the alarm threshold distance is set to 15m.
  • Step S208 Turn off the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is closed.
  • the closing of the infrared ranging sensor can be automatically turned off by the setting of the handheld terminal.
  • the principle of automatic shutdown is that when the handheld terminal accelerometer senses that the user stops moving or the application of the handheld terminal affects the user's attention is turned off, the control drive motor automatically turns off the infrared ranging sensor array and restores its angle to the initial state.
  • the user can cancel the alarm anti-collision function, that is, the receiving user turns off the indication of the infrared ranging module, and controls the driving motor to turn off the infrared ranging sensor array, and restores the angle to the initial state.
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 1000 includes:
  • the startup unit 11 is configured to start an infrared ranging module on the terminal when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold and the setting application on the terminal is turned on.
  • an infrared ranging module is disposed on the terminal, as shown in FIG. 2, and the user of the handheld terminal often opens some applications while walking, and the user's attention is mainly concentrated on these applications. For example, answering the phone, browsing the webpage, etc., not paying attention to the surrounding traffic flow, the flow of people, etc., there is a great security risk.
  • the infrared ranging module set on the terminal in the embodiment of the present invention may be an infrared ranging sensor array, and the infrared measurement
  • the distance module can sense obstacles in front of any environment, such as insufficient light, bad weather, and the like.
  • the activation unit 11 activates the infrared ranging module on the terminal to have two conditions: the user is in the mobile state and the setting application of the user to open the terminal, therefore, the activation unit 11 detects whether the user is in the moving state, that is, whether the user's moving speed is greater than the setting.
  • the threshold value, and whether the setting application on the detection terminal is turned on, the setting application here refers to an application that requires the user to concentrate on these applications, such as answering a call, opening a game, browsing a webpage or watching a video, etc., the user starts up.
  • the application can be recorded by the terminal operating system.
  • the startup unit 11 automatically starts the infrared ranging module.
  • the adjusting unit 12 is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
  • the setting application is enabled on the terminal
  • the user's attention is concentrated on the setting application, which is usually concentrated on the terminal display screen, and the user tilts the terminal so that the terminal display screen faces the user, and can obtain the tilt angle of the current relative horizontal position of the terminal.
  • the adjusting unit 12 adjusts the infrared ranging module according to the tilt angle: when the initial state of the infrared ranging module is started, the terminal is generally in a horizontal position, and the infrared ranging module is also in a straight line with the terminal, that is, at Horizontal position; When the user tilts the terminal, in order for the infrared ranging module to accurately and comprehensively detect the obstacle in front, the detection direction axis of the infrared ranging module needs to be parallel to the ground, and therefore, the adjustment unit 12 according to the inclination angle The infrared ranging module is adjusted to drive the infrared ranging module to rotate, so that the detection direction axis of the infrared ranging module is parallel to the ground.
  • the control unit 13 is configured to control the infrared ranging module to detect obstacles around the user and The distance between the users and/or the speed of movement of the obstacle.
  • the control unit 13 can control the infrared ranging module to detect the distance between the obstacle and the user, and the infrared technology can detect the distance and can use the existing technology, and details are not described herein.
  • the obstacle may be fixed or mobile.
  • the control unit 13 may detect the moving speed of the moving obstacle by using the infrared ranging module, which may also use the existing technology, and will not be described here.
  • the first output unit 14 is configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
  • the first output unit 14 outputs an alarm prompt to the user.
  • FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal 2000 includes:
  • the startup unit 21 is configured to start an infrared ranging module on the terminal when the moving speed of the user detecting the handheld terminal is greater than a set threshold and the setting application on the terminal is turned on.
  • an infrared ranging module is disposed on the terminal, as shown in FIG. 4, which is a schematic structural diagram of the terminal.
  • the handheld terminal (1) includes an infrared ranging module (2), and may further include a display screen ( 3), the speaker (4), wherein the infrared ranging module (2) framed by the dotted line further comprises an infrared ranging sensor array (5) and a driving motor (6).
  • FIG. 5 it is a schematic diagram of the composition of the infrared ranging sensor array.
  • the detection range of the infrared ranging sensor array is 60 degree cone.
  • the center of the sensor (51) coincides with the semi-elliptical short axis of the infrared ranging sensor array, and the sensor (52) and the sensor (53) are symmetrically distributed with respect to the short axis, wherein the angle between the center and the short axis is 60 degrees.
  • the sensor array can cover a 180-degree sector, and the driving motor can cover the surrounding environment when the user holds the terminal.
  • the center of the drive motor coincides with the semi-elliptical long axis of the module.
  • the infrared ranging module can also use other infrared ranging sensor arrays, which is only an example.
  • the startup unit 21 activates the infrared ranging module on the terminal with two conditions: the user is in motion The state and the user turn on the setting application of the terminal. Therefore, the activation unit 21 detects whether the user is in a moving state, that is, whether the moving speed of the user is greater than a set threshold, and whether the setting application on the terminal is turned on. The user's moving speed can be measured by the acceleration sensor in the terminal.
  • the setting application here refers to some applications that require the user's attention to focus on these applications, such as answering a call, opening a game, browsing a webpage or watching a video, etc. User-initiated applications can be recorded by the terminal operating system. When both detection conditions are satisfied, the startup unit 21 automatically activates the infrared ranging module.
  • the first obtaining unit 22 is configured to acquire a current acceleration value of the terminal and an acceleration value when the terminal is in a horizontal position.
  • the second obtaining unit 23 is configured to obtain an inclination angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in a horizontal position.
  • FIG. 6 it is an adjustment diagram of the infrared ranging sensor array when the terminal is horizontal to tilted.
  • the acceleration sensor XYZ triaxial acceleration values are XI, Y1 and Zl, and the infrared ranging sensor array at this time It is consistent with the terminal; when the terminal is tilted, the three-axis acceleration values of the acceleration sensor are X2, Y2 and Z2, and the tilt angle of the terminal can be derived by calculating the difference of the three-axis acceleration values in the two states.
  • the adjusting unit 24 is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
  • the tilt angle is used as an input value for adjusting the detection direction of the infrared ranging sensor array, and the adjusting unit 24 starts the motor to adjust the angle of the infrared ranging sensor array to ensure that the infrared ranging sensor array can be effectively detected.
  • the adjusted infrared ranging sensor detects that the direction axis is parallel to the ground.
  • the control unit 25 is configured to control the infrared ranging module to detect a distance between the obstacle around the user and the user and/or a moving speed of the obstacle.
  • control unit 25 The function of the control unit 25 is the same as that of the control unit 13 of the embodiment shown in Fig. 7, and will not be described again.
  • the first output unit 26 is configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
  • the first output unit 26 includes a third obtaining unit 261 and a second output unit.
  • a third obtaining unit 261 configured to acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm Wide distance.
  • the second output unit 262 is configured to output an alarm prompt to the user when the distance reaches an alarm threshold distance corresponding to the relative moving speed.
  • the infrared ranging module works normally, the environment around the user is monitored in real time.
  • the handheld terminal displays an image such as the speed and orientation of the obstacle through the interface, and can also pass the speaker. Or the vibration motor reminds the user to pay attention to safety, to provide a variety of alarm prompts to improve the user experience.
  • different alarm threshold distances can be set to accurately provide the user with an alarm prompt in advance. For example, when the user encounters a fixed object and uses lm/s for normal walking speed, we set the alarm threshold distance to 5m. When the user encounters a higher speed object, such as the speed is 20m/s, we set The alarm wide distance is 30m; when the moving speed of the object is between lm/s and 20m/s, the alarm threshold distance is set to 15m.
  • the closing unit 27 is configured to close the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is turned off.
  • the closing unit 27 can be automatically turned off by the setting of the hand-held terminal.
  • the principle of automatic shutdown is that when the handheld terminal acceleration sensor senses that the user stops moving or the application of the handheld terminal affects the user's attention is turned off, the control drive motor automatically turns off the infrared ranging sensor array and restores its angle to the initial state.
  • the closing unit 27 can also cancel the alarm anti-collision function by the user, that is, receive the user's instruction to turn off the infrared ranging module, control the driving motor to turn off the infrared ranging sensor array, and restore the angle to the initial state.
  • FIG. 9 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
  • the terminal 3000 includes: A processor 31, a memory 32, an input device 33, an output device 34, and a bus system 35, wherein:
  • the processor 31 controls the operation of the terminal 3000, which may also be referred to as a Central Processing Unit (CPU).
  • Processor 31 may be an integrated circuit chip with signal processing capabilities.
  • the processor 31 can also be a general-purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or the like. Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • Memory 32 can include read only memory and random access memory and provides instructions and data to processor 31. A portion of memory 32 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • bus system 35 which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard architecture ( Extended) Industry Standard Architecture, EISA) Bus, etc.
  • the bus may be one or more physical lines, and when it is a plurality of physical lines, it may be divided into an address bus, a data bus, a control bus, and the like.
  • the processor 31, the memory 32, and the input device 33 and the output device 34 may also be directly connected through a communication line.
  • the input device 33 can be embodied as a mouse, a keyboard, a microphone, etc.
  • the output device 34 can be embodied as a display, an audio device, and a video device.
  • the input device 33 and the output device 34 can also be implemented by an input/output device, such as a touchable screen.
  • the processor 31 reads the computer program in the memory 32 to perform the following steps: when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold and the setting application on the terminal is turned on, Infrared ranging module on the terminal;
  • the processor 31 performs the step of adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground. Previously, the following steps were also performed:
  • the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor, and the infrared ranging sensor array includes first, second, and third infrared ranging sensors.
  • a center of the first sensor coincides with a minor axis of the semi-elliptical infrared ranging sensor array
  • the second and third sensors are symmetrically distributed with respect to the short axis
  • an angle between the center and the minor axis is 60.
  • the center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
  • the infrared ranging module can also use other infrared ranging sensor arrays, which is only an example.
  • the processor 31 performs the step of outputting an alarm prompt to the user according to the distance, and the moving speed of the user and/or the obstacle, including:
  • an alarm prompt is output to the user.
  • the alarm prompting method includes:
  • Image alarm prompt audible alarm prompt or vibration alarm prompt.
  • the processor 31 further performs the following steps:
  • the infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module.
  • the computer program included in the processor 31 provided by the embodiment of the present invention may also be implemented as a startup unit, an adjustment unit, a control unit, and a first output unit.
  • the functions implemented by the four units may be referred to the foregoing embodiments, and are not described herein. Narration. It can be seen that, by using a terminal provided by the embodiment of the present invention, the infrared ranging module has better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module, thereby minimizing the user's The potential safety risks associated with using a handheld terminal while walking prevent users from receiving accidental injuries.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include a random access memory (RAM), a read-only memory (ROM), and an electrically erasable programmable read-only memory (Electrically Erasable Programmable).
  • EEPROM Electrically Error Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • Any connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, Then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the fixing of the associated medium.
  • DSL Digital Subscriber Line
  • a disk and a disc include a compact disc (CD), a laser disc, a disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data.
  • CD compact disc
  • DVD digital versatile disc
  • a floppy disk a disk and a disc
  • Blu-ray disc wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data.
  • the above combination should also be included in the computer Read the protection of the medium.

Abstract

An infrared distance-measuring anti-collision method and terminal, the method comprising: when detecting that the movement speed of the user of a hand-held terminal is greater than a threshold, and a set application on the terminal is started, activating an infrared distance-measuring module on the terminal (S101); according to the current inclination angle of the terminal relative to the horizontal position, adjusting the infrared distance-measuring module to enable the detection direction of the infrared distance-measuring module to be axially parallel to the ground surface (S102); controlling the infrared distance-measuring module to detect the distance between the user and obstacles surrounding the user, and/or the movement speed of the obstacles (S103); and according to the distance, and the movement speed of the user and/or the obstacles, outputting an alarm prompt to the user (S104). Also disclosed is a corresponding terminal. The infrared distance-measuring anti-collision method and terminal have better environmental adaptability, and can adaptively adjust the detection direction, thus greatly reducing the potential safety risk when the user is utilizing the hand-held terminal while walking, and avoiding accidental injury to the user.

Description

一种红外测距防撞方法及终端  Infrared ranging anti-collision method and terminal
技术领域 Technical field
本发明涉及智能终端技术领域, 尤其涉及一种红外测距防撞方法及终端。 背景技术  The present invention relates to the field of intelligent terminal technologies, and in particular, to an infrared ranging anti-collision method and a terminal. Background technique
随着智能终端的迅速普及, 人们日常生活中对智能终端的依赖越来越大。 人们在行走、过马路时无法避免出现接听电话或者浏览手机或者平板信息的情 况。在这些场景下, 由于人的注意力主要集中在通话或者智能终端的信息内容 上, 存在很大的安全隐患。 为了尽可能降低此类风险, 智能终端的防撞功能就 摆在我们面前。  With the rapid spread of smart terminals, people's daily life is increasingly dependent on smart terminals. People can't avoid answering calls or browsing mobile or tablet information while walking or crossing the road. In these scenarios, since people's attention is mainly concentrated on the information content of the call or the smart terminal, there is a great security risk. In order to minimize such risks, the anti-collision function of the smart terminal is placed in front of us.
目前,红外测距技术已经成熟,智能终端例如智能手机已有防撞功能技术, 其实现原理为利用现有手机的后置摄像头进行图像识别和处理,判断用户周围 的环境。 当检测到有物体靠近时, 提醒用户注意安全。 该技术有如下缺点: 现 有手机摄像头位置固定, 无法根据用户状态进行自适应调节,摄像头覆盖的范 围有限; 以及手机可见光摄像头, 在光线较暗或夜间效果差, 无法有效实现防 撞功能。  At present, infrared ranging technology has matured, and smart terminals such as smart phones have anti-collision function technology. The realization principle is that the rear camera of the existing mobile phone is used for image recognition and processing to determine the environment around the user. When an object is detected to be close, the user is reminded to pay attention to safety. This technology has the following disadvantages: The existing mobile phone camera has a fixed position, cannot be adaptively adjusted according to the user's state, and the coverage of the camera is limited; and the mobile phone visible light camera has poor effect in dark or nighttime, and cannot effectively realize the anti-collision function.
因此, 需要提供一种具有较好的环境适应能力的终端的测距防撞方式, 可 以降低用户在行走时使用手持终端带来的潜在安全风险,避免用户受到意外伤 害。 发明内容  Therefore, it is required to provide a distance avoidance collision mode of a terminal having better environmental adaptability, which can reduce the potential safety risk brought by the user when using the handheld terminal while walking, and avoid the user from being accidentally injured. Summary of the invention
本发明实施例提供了一种红外测距防撞方法及终端,具有较好的环境适应 能力, 可以自适应地调整红外测距模组的探测方向, 最大限度地降低用户在行 走时使用手持终端带来的潜在安全风险, 避免用户受到意外伤害。  The embodiment of the invention provides an infrared ranging anti-collision method and a terminal, which have better environmental adaptability, can adaptively adjust the detection direction of the infrared ranging module, and minimize the use of the handheld terminal when the user walks. Potential security risks to protect users from accidental injuries.
一方面, 提供了一种红外测距防撞方法, 包括:  In one aspect, an infrared ranging anti-collision method is provided, including:
当检测到手持终端的用户的移动速度大于设定阔值、且所述终端上的设定 应用开启时, 启动所述终端上的红外测距模组;  When detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
根据所述终端当前相对水平位置的倾斜角度调整所述红外测距模组,使所 述红外测距模组的探测方向轴心平行于地面;  Adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
控制所述红外测距模组探测所述用户周围的障碍物与所述用户之间的距 离和 /或所述障碍物的移动速度; Controlling the infrared ranging module to detect a distance between an obstacle around the user and the user The speed of movement away from and/or the obstacle;
根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输 出报警提示。  An alarm prompt is output to the user based on the distance and the speed of movement of the user and/or the obstacle.
在第一种可能的实现方式中,所述根据所述终端当前相对水平位置的倾斜 角度调整所述红外测距模组,使所述红外测距模组的探测方向轴心平行于地面 之前, 所述方法还包括:  In a first possible implementation manner, the adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground, The method further includes:
获取所述终端的当前加速度值、 及所述终端处于水平位置时的加速度值; 根据所述当前加速度值以及所述终端处于水平位置时的加速度值,获取所 述终端当前相对水平位置的倾斜角度。  Acquiring the current acceleration value of the terminal and the acceleration value when the terminal is in the horizontal position; acquiring the tilt angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in the horizontal position .
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述红外测距模组包括半椭圓形的红外测距传感器阵列和马达, 所述 红外测距传感器阵列包括第一、第二和第三红外测距传感器, 所述第一传感器 的中心与所述半椭圓形的红外测距传感器阵列的短轴重合,所述第二和第三传 感器相对所述短轴对称分布, 所述中心和短轴的夹角为 60。, 所述马达的中心 和所述半椭圓形的红外测距传感器阵列的长轴重合。  In combination with the first aspect or the first possible implementation of the first aspect, in a second possible implementation, the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor, The infrared ranging sensor array includes first, second and third infrared ranging sensors, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, the second and the The three sensors are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种 可能的实现方式, 在第三种可能的实现方式中, 所述根据所述距离、 及所述用 户和 /或所述障碍物的移动速度, 向所述用户输出报警提示, 包括:  With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner, And/or the moving speed of the obstacle, outputting an alarm prompt to the user, including:
根据所述用户和 /或所述障碍物的移动速度, 获取所述用户与所述障碍物 之间的相对移动速度, 所述相对移动速度对应一个报警阔值距离;  Obtaining a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
当所述距离达到与所述相对移动速度对应的报警阔值距离时,向所述用户 输出报警提示。  When the distance reaches an alarm threshold distance corresponding to the relative movement speed, an alarm prompt is output to the user.
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述报警提示方式包括:  In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation manner, the alarm prompting manner includes:
图像报警提示、 声音报警提示或振动报警提示。  Image alarm prompt, audible alarm prompt or vibration alarm prompt.
结合第一方面, 在第五种可能的实现方式中, 所述方法还包括: 当所述用户的移动速度小于设定阔值和 /或所述设定应用关闭时, 关闭所 述红外测距模组; 或  With reference to the first aspect, in a fifth possible implementation, the method further includes: turning off the infrared ranging when the moving speed of the user is less than a set threshold and/or the setting application is closed Module; or
接收到用户关闭所述红外测距模组的指示时, 关闭所述红外测距模组。 第二方面, 提供了一种终端, 包括: The infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module. In a second aspect, a terminal is provided, including:
启动单元, 用于当检测到手持终端的用户的移动速度大于设定阔值、且所 述终端上的设定应用开启时, 启动所述终端上的红外测距模组;  a startup unit, configured to: when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
调整单元,用于根据所述终端当前相对水平位置的倾斜角度调整所述红外 测距模组, 使所述红外测距模组的探测方向轴心平行于地面;  The adjusting unit is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
控制单元,用于控制所述红外测距模组探测所述用户周围的障碍物与所述 用户之间的距离和 /或所述障碍物的移动速度;  a control unit, configured to control the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle;
第一输出单元, 用于根据所述距离、 及所述用户和 /或所述障碍物的移动 速度, 向所述用户输出报警提示。  And a first output unit, configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
在第一种可能的实现方式中, 所述终端还包括:  In a first possible implementation manner, the terminal further includes:
第一获取单元, 用于获取所述终端的当前加速度值、及所述终端处于水平 位置时的加速度值;  a first acquiring unit, configured to acquire a current acceleration value of the terminal, and an acceleration value when the terminal is in a horizontal position;
第二获取单元,用于根据所述当前加速度值以及所述终端处于水平位置时 的加速度值, 获取所述终端当前相对水平位置的倾斜角度。  And a second acquiring unit, configured to acquire, according to the current acceleration value and an acceleration value when the terminal is in a horizontal position, an inclination angle of a current relative horizontal position of the terminal.
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述红外测距模组包括半椭圓形的红外测距传感器阵列和马达, 所述 红外测距传感器阵列包括第一、第二和第三红外测距传感器, 所述第一传感器 的中心与所述半椭圓形的红外测距传感器阵列的短轴重合,所述第二和第三传 感器相对所述短轴对称分布, 所述中心和短轴的夹角为 60。, 所述马达的中心 和所述半椭圓形的红外测距传感器阵列的长轴重合。  With reference to the second aspect, or the first possible implementation manner of the second aspect, in a second possible implementation, the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor, The infrared ranging sensor array includes first, second and third infrared ranging sensors, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, the second and the The three sensors are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
结合第二方面或第二方面的第一种可能的实现方式或第二方面的第二种 可能的实现方式, 在第三种可能的实现方式中, 所述第一输出单元包括: 第三获取单元, 用于根据所述用户和 /或所述障碍物的移动速度, 获取所 述用户与所述障碍物之间的相对移动速度,所述相对移动速度对应一个报警阔 值距离;  With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, in a third possible implementation manner, the first output unit includes: a unit, configured to acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
第二输出单元,用于当所述距离达到与所述相对移动速度对应的报警阔值 距离时, 向所述用户输出报警提示。  And a second output unit, configured to output an alarm prompt to the user when the distance reaches an alarm threshold distance corresponding to the relative moving speed.
结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述报警提示方式包括:  In conjunction with the third possible implementation of the second aspect, in a fourth possible implementation manner, the alarm prompting manner includes:
图像报警提示、 声音报警提示或振动报警提示。 结合第一方面, 在第五种可能的实现方式中, 所述终端还包括: 关闭单元, 用于当所述用户的移动速度小于设定阔值和 /或所述设定应用 关闭时, 关闭所述红外测距模组; 或 Image alarm prompt, audible alarm prompt or vibration alarm prompt. With reference to the first aspect, in a fifth possible implementation, the terminal further includes: a closing unit, configured to close when the moving speed of the user is less than a set threshold and/or the setting application is closed The infrared ranging module; or
所述关闭单元用于接收到用户关闭所述红外测距模组的指示时,关闭所述 红外测距模组。 第三方面,提供了一种终端, 包括输入装置、输出装置、存储器和处理器; 其中, 所述处理器用于执行如下步骤:  The shutdown unit is configured to close the infrared ranging module when receiving an indication that the user turns off the infrared ranging module. In a third aspect, a terminal is provided, including an input device, an output device, a memory, and a processor. The processor is configured to perform the following steps:
当检测到手持终端的用户的移动速度大于设定阔值、且所述终端上的设定 应用开启时, 启动所述终端上的红外测距模组;  When detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
根据所述终端当前相对水平位置的倾斜角度调整所述红外测距模组,使所 述红外测距模组的探测方向轴心平行于地面;  Adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
控制所述红外测距模组探测所述用户周围的障碍物与所述用户之间的距 离和 /或所述障碍物的移动速度;  Controlling the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle;
根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输 出报警提示。  An alarm prompt is output to the user based on the distance and the speed of movement of the user and/or the obstacle.
在第一种可能的实现方式中,所述处理器执行所述根据所述终端当前相对 水平位置的倾斜角度调整所述红外测距模组,使所述红外测距模组的探测方向 轴心平行于地面的步骤之前, 还执行如下步骤:  In a first possible implementation, the processor performs the adjusting of the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is Before the steps parallel to the ground, perform the following steps:
获取所述终端的当前加速度值、 及所述终端处于水平位置时的加速度值; 根据所述当前加速度值以及所述终端处于水平位置时的加速度值,获取所 述终端当前相对水平位置的倾斜角度。  Acquiring the current acceleration value of the terminal and the acceleration value when the terminal is in the horizontal position; acquiring the tilt angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in the horizontal position .
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述红外测距模组包括半椭圓形的红外测距传感器阵列和马达, 所述 红外测距传感器阵列包括第一、第二和第三红外测距传感器, 所述第一传感器 的中心与所述半椭圓形的红外测距传感器阵列的短轴重合,所述第二和第三传 感器相对所述短轴对称分布, 所述中心和短轴的夹角为 60。, 所述马达的中心 和所述半椭圓形的红外测距传感器阵列的长轴重合。  With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation, the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor, The infrared ranging sensor array includes first, second and third infrared ranging sensors, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, the second and the The three sensors are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
结合第三方面或第三方面的第一种可能的实现方式或第三方面的第二种 可能的实现方式,在第三种可能的实现方式中, 所述处理器执行所述根据所述 距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输出报警提示的 步骤, 包括: With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner, The distance, and the moving speed of the user and/or the obstacle, the step of outputting an alarm prompt to the user, including:
根据所述用户和 /或所述障碍物的移动速度, 获取所述用户与所述障碍物 之间的相对移动速度, 所述相对移动速度对应一个报警阔值距离;  Obtaining a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
当所述距离达到与所述相对移动速度对应的报警阔值距离时,向所述用户 输出报警提示。  When the distance reaches an alarm threshold distance corresponding to the relative movement speed, an alarm prompt is output to the user.
结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述报警提示方式包括:  In conjunction with the third possible implementation of the third aspect, in a fourth possible implementation manner, the alarm prompting manner includes:
图像报警提示、 声音报警提示或振动报警提示。  Image alarm prompt, audible alarm prompt or vibration alarm prompt.
结合第三方面,在第五种可能的实现方式中,所述处理器还执行如下步骤: 当所述用户的移动速度小于设定阔值和 /或所述设定应用关闭时, 关闭所 述红外测距模组; 或  With reference to the third aspect, in a fifth possible implementation, the processor further performs the following steps: when the moving speed of the user is less than a set threshold and/or the setting application is closed, Infrared ranging module; or
接收到用户关闭所述红外测距模组的指示时, 关闭所述红外测距模组。 可见, 釆用本发明实施例提供的一种红外测距防撞方法及终端, 釆用的红 外测距模组具有较好的环境适应能力,可以自适应地调整红外测距模组的探测 方向, 最大限度地降低用户在行走时使用手持终端带来的潜在安全风险,避免 用户收到意外伤害。 附图说明  The infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module. It can be seen that the infrared ranging and anti-collision method and the terminal provided by the embodiments of the present invention have better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module. , to minimize the potential safety risks caused by the use of the handheld terminal while walking, to avoid accidental injury. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例中所需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1 为本发明实施例提供的一种红外测距防撞方法的流程图;  FIG. 1 is a flowchart of an infrared ranging anti-collision method according to an embodiment of the present invention;
图 2为红外测距防撞示意图;  Figure 2 is a schematic diagram of infrared ranging anti-collision;
图 3为本发明实施例提供的另一种红外测距防撞方法的流程图; 图 4为示例的终端的结构示意图;  FIG. 3 is a flowchart of another infrared ranging anti-collision method according to an embodiment of the present invention; FIG. 4 is a schematic structural diagram of an exemplary terminal;
图 5为红外测距传感器阵列组成方式示意图;  Figure 5 is a schematic diagram showing the composition of an infrared ranging sensor array;
图 6为红外测距传感器阵列在终端从水平到倾斜时的调整示意图; 图 7为本发明实施例提供的一种终端的结构示意图; 6 is a schematic diagram of adjustment of an infrared ranging sensor array when the terminal is horizontal to tilted; FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图 8为本发明实施例提供的另一种终端的结构示意图;  FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure;
图 9为本发明实施例提供的又一种终端的结构示意图。 具体实施方式  FIG. 9 is a schematic structural diagram of still another terminal according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
请参阅图 1, 为本发明实施例提供的一种红外测距防撞方法的流程图, 该 方法包括以下步骤:  Referring to FIG. 1, a flowchart of an infrared ranging anti-collision method according to an embodiment of the present invention includes the following steps:
步骤 S101, 当检测到手持终端的用户的移动速度大于设定阔值、 且所述 终端上的设定应用开启时, 启动所述终端上的红外测距模组。  Step S101: When it is detected that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, the infrared ranging module on the terminal is activated.
本发明实施例在终端上设置红外测距模组,如图 2所示的红外测距防撞示 意图, 手持终端的用户在行走时经常会开启一些应用,用户的注意力主要集中 在这些应用上例如接听电话、 浏览网页等, 没有注意到周边的车流、 人流等, 存在很大的安全隐患,本发明实施例在终端上设置的红外测距模组可以为红外 测距传感器阵列,该红外测距模组可以在任意环境例如光线不足、 恶劣天气等 情况下感测前方障碍物。  In the embodiment of the present invention, an infrared ranging module is disposed on the terminal, as shown in FIG. 2, and the user of the handheld terminal often opens some applications while walking, and the user's attention is mainly concentrated on these applications. For example, answering the phone, browsing the webpage, etc., not paying attention to the surrounding traffic flow, the flow of people, etc., there is a great security risk. The infrared ranging module set on the terminal in the embodiment of the present invention may be an infrared ranging sensor array, and the infrared measurement The distance module can sense obstacles in front of any environment, such as insufficient light, bad weather, and the like.
启动终端上的红外测距模组具有两个条件:用户处于移动状态和用户开启 终端的设定应用, 因此, 在本步骤中, 检测用户是否处于移动状态即用户的移 动速度是否大于设定阔值, 以及检测终端上的设定应用是否开启, 这里的设定 应用是指一些需要用户注意力集中在这些应用上的应用, 例如接听电话、开启 游戏、浏览网页或观看视频等,用户启动的应用可以通过终端操作系统记录到。 当两个检测条件同时满足时, 自动启动该红外测距模组。  The infrared ranging module on the startup terminal has two conditions: the user is in the mobile state and the setting application of the user to open the terminal. Therefore, in this step, detecting whether the user is in a moving state, that is, whether the user's moving speed is greater than the set width The value, and whether the setting application on the detection terminal is turned on, the setting application here refers to an application that requires the user to concentrate on these applications, such as answering a call, opening a game, browsing a webpage or watching a video, etc., user-initiated Applications can be logged through the terminal operating system. When the two detection conditions are satisfied at the same time, the infrared ranging module is automatically started.
步骤 S102, 根据所述终端当前相对水平位置的倾斜角度调整所述红外测 距模组, 使所述红外测距模组的探测方向轴心平行于地面。  Step S102: Adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
由于终端上开启设定应用后, 用户注意力集中在该设定应用,通常是集中 于终端显示屏, 用户会将终端倾斜使终端显示屏面向用户, 可以获取终端当前 相对水平位置的倾斜角度。 根据该倾斜角度调整红外测距模组: 在启动红外测距模组的初始状态, 此 时终端一般是处于水平位置的, 红外测距模组也是与终端处于一条直线上, 即 处于水平位置; 当用户将终端倾斜, 为了使红外测距模组准确全面地探测到前 方障碍物, 需要使红外测距模组的探测方向轴心平行于地面, 因此, 根据该倾 斜角度调整红外测距模组,驱动红外测距模组转动,使红外测距模组的探测方 向轴心平行于地面。 After the setting application is enabled on the terminal, the user's attention is focused on the setting application, which is usually concentrated on the terminal display screen, and the user tilts the terminal so that the terminal display screen faces the user, and can obtain the tilt angle of the current relative horizontal position of the terminal. Adjusting the infrared ranging module according to the tilt angle: In the initial state of starting the infrared ranging module, the terminal is generally in a horizontal position, and the infrared ranging module is also in a straight line with the terminal, that is, in a horizontal position; When the user tilts the terminal, in order to enable the infrared ranging module to accurately and comprehensively detect the obstacle in front, the axis of the detection direction of the infrared ranging module needs to be parallel to the ground. Therefore, the infrared ranging module is adjusted according to the tilt angle. The infrared distance measuring module is driven to rotate, so that the detection direction axis of the infrared distance measuring module is parallel to the ground.
步骤 S103, 控制所述红外测距模组探测所述用户周围的障碍物与所述用 户之间的距离和 /或所述障碍物的移动速度。  Step S103: Control the infrared ranging module to detect a distance between the obstacle around the user and the user and/or a moving speed of the obstacle.
可以控制红外测距模组探测障碍物与用户的距离,釆用红外线探测距离可 以釆用现有的技术, 在此不再赘述。  The infrared ranging module can be controlled to detect the distance between the obstacle and the user, and the existing technology can be used to detect the distance by using the infrared ray, and will not be described here.
障碍物可能是固定的,也可能是移动的, 可以釆用红外测距模组探测移动 障碍物的移动速度, 这也可以釆用现有的技术, 在此不再赘述。  The obstacles may be fixed or mobile. The infrared ranging module can be used to detect the moving speed of the moving obstacles. This can also be used in existing technologies, and will not be described here.
步骤 S104, 根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向 所述用户输出报警提示。  Step S104, outputting an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
根据用户与障碍物之间的距离以及用户的移动速度或用户与障碍物之间 的相对移动速度,可以计算出还有多长距离撞上障碍物, 可以设定一定的距离 阔值, 当到达该距离阔值时, 向用户输出报警提示。  According to the distance between the user and the obstacle and the moving speed of the user or the relative moving speed between the user and the obstacle, it can be calculated how long the distance hits the obstacle, and a certain distance can be set. When the distance is wide, an alarm prompt is output to the user.
当然, 也可以设定时间阔值来衡量撞上障碍物的时间。  Of course, you can also set the time threshold to measure the time of the obstacle.
可见, 釆用本发明实施例提供的一种红外测距防撞方法, 釆用的红外测距 模组具有较好的环境适应能力, 可以自适应地调整红外测距模组的探测方向, 最大限度地降低用户在行走时使用手持终端带来的潜在安全风险,避免用户收 到意外伤害。 请参阅图 3, 为本发明实施例提供的另一种红外测距防撞方法的流程图, 该方法包括以下步骤:  It can be seen that the infrared ranging and anti-collision method provided by the embodiment of the present invention has better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module. Limit the potential security risks of using the handheld terminal while walking, and avoid accidental injury. Please refer to FIG. 3 , which is a flowchart of another infrared ranging anti-collision method according to an embodiment of the present invention. The method includes the following steps:
步骤 S201, 当检测到手持终端的用户的移动速度大于设定阔值、 且所述 终端上的设定应用开启时, 启动所述终端上的红外测距模组。  Step S201: When it is detected that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, the infrared ranging module on the terminal is activated.
本发明实施例在终端上设置红外测距模组,如图 4所示, 为示例的终端的 结构示意图, 该手持终端(1)包括红外测距模组 (2), 还可以包括显示屏 (3)、 扬 声器 (4), 其中, 虚线框出的红外测距模组 (2)又包括红外测距传感器阵列 (5)和 驱动马达 (6)。 如图 5 所示, 为红外测距传感器阵列组成方式示意图, 红外测 距传感器阵列的探测范围为 60度锥形。 传感器 (51)的中心和红外测距传感器 阵列的半椭圓形短轴重合, 传感器 (52)和传感器 (53)相对短轴对称分布, 其中 心和短轴的夹角 Θ为 60度。 这样传感器阵列可以覆盖 180度的扇形区域, 在 驱动马达的作用下可以覆盖用户手持终端时周围的环境。其中驱动马达的中心 和模组的半椭圓形长轴重合。 当然, 红外测距模组还可以釆用其他的红外测距 传感器阵列组成方式, 在此仅为示例。 In the embodiment of the present invention, an infrared ranging module is disposed on the terminal, as shown in FIG. 4, which is a schematic structural diagram of the terminal. The handheld terminal (1) includes an infrared ranging module (2), and may further include a display screen ( 3), a speaker (4), wherein the infrared ranging module (2) of the dotted line frame further comprises an infrared ranging sensor array (5) and Drive motor (6). As shown in FIG. 5, it is a schematic diagram of the composition of the infrared ranging sensor array, and the detection range of the infrared ranging sensor array is a 60-degree cone. The center of the sensor (51) coincides with the semi-elliptical short axis of the infrared ranging sensor array, and the sensor (52) and the sensor (53) are symmetrically distributed with respect to the short axis, and the angle between the center and the minor axis is 60 degrees. In this way, the sensor array can cover a sector of 180 degrees, and under the action of the driving motor, it can cover the environment around the user's handheld terminal. The center of the drive motor coincides with the semi-elliptical long axis of the module. Of course, the infrared ranging module can also use other infrared ranging sensor arrays, which is only an example.
启动终端上的红外测距模组具有两个条件:用户处于移动状态和用户开启 终端的设定应用, 因此, 在本步骤中, 检测用户是否处于移动状态即用户的移 动速度是否大于设定阔值, 以及检测终端上的设定应用是否开启。用户的移动 速度可以通过终端中的加速度传感器测量出。这里的设定应用是指一些需要用 户注意力集中在这些应用上的应用, 例如接听电话、 开启游戏、 浏览网页或观 看视频等, 用户启动的应用可以通过终端操作系统记录到。 当两个检测条件同 时满足时, 自动启动该红外测距模组。  The infrared ranging module on the startup terminal has two conditions: the user is in the mobile state and the setting application of the user to open the terminal. Therefore, in this step, detecting whether the user is in a moving state, that is, whether the user's moving speed is greater than the set width The value, and whether the setting application on the detection terminal is turned on. The user's movement speed can be measured by the acceleration sensor in the terminal. The settings application here refers to applications that require users to focus on these applications, such as answering calls, opening games, browsing web pages, or watching videos. User-initiated applications can be recorded by the terminal operating system. When the two detection conditions are satisfied at the same time, the infrared ranging module is automatically started.
步骤 S202, 获取所述终端的当前加速度值、 及所述终端处于水平位置时 的加速度值。  Step S202: Acquire a current acceleration value of the terminal and an acceleration value when the terminal is in a horizontal position.
步骤 S203, 根据所述当前加速度值以及所述终端处于水平位置时的加速 度值, 获取所述终端当前相对水平位置的倾斜角度。  Step S203: Acquire an inclination angle of a current relative horizontal position of the terminal according to the current acceleration value and an acceleration value when the terminal is in a horizontal position.
步骤 S202-步骤 S203 为获取终端当前相对水平位置的倾斜角度。 如图 6 所示, 为红外测距传感器阵列在终端从水平到倾斜时的调整示意图, 当终端水 平放置时, 加速度传感器 XYZ三轴加速度值为 XI、 Y1和 Zl, 此时红外测距 传感器阵列和终端保持一致; 当终端倾斜时, 加速度传感器三轴加速度值为 Step S202 - Step S203 is to obtain the tilt angle of the current relative horizontal position of the terminal. As shown in Fig. 6, it is an adjustment diagram of the infrared ranging sensor array when the terminal is horizontal to tilted. When the terminal is horizontally placed, the acceleration sensor XYZ triaxial acceleration values are XI, Y1 and Zl, and the infrared ranging sensor array at this time Consistent with the terminal; when the terminal is tilted, the accelerometer's triaxial acceleration value is
X2、 Y2和 Z2,通过计算两种状态下三轴加速度值差值可推算出终端的倾斜角 度。 X2, Y2 and Z2 can calculate the tilt angle of the terminal by calculating the difference of the three-axis acceleration values in the two states.
步骤 S204, 根据所述终端当前相对水平位置的倾斜角度调整所述红外测 距模组, 使所述红外测距模组的探测方向轴心平行于地面。  Step S204: Adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
该倾斜角度作为红外测距传感器阵列调整探测方向的输入值,启动马达对 红外测距传感器阵列的角度进行调整, 保证红外测距传感器阵列可以有效探 测。 调整后的红外测距传感器探测方向轴心平行于地面。  The tilt angle is used as an input value for adjusting the detection direction of the infrared ranging sensor array, and the starting motor adjusts the angle of the infrared ranging sensor array to ensure that the infrared ranging sensor array can be effectively detected. The adjusted infrared ranging sensor detects that the direction axis is parallel to the ground.
步骤 S205, 控制所述红外测距模组探测所述用户周围的障碍物与所述用 户之间的距离和 /或所述障碍物的移动速度。 Step S205, controlling the infrared ranging module to detect an obstacle around the user and using the The distance between the households and/or the speed at which the obstacle moves.
步骤 S205与图 1所示实施例的步骤 S103相同, 在此不再赘述。  Step S205 is the same as step S103 of the embodiment shown in FIG. 1, and details are not described herein again.
步骤 S206, 根据所述用户和 /或所述障碍物的移动速度, 获取所述用户与 所述障碍物之间的相对移动速度, 所述相对移动速度对应一个报警阔值距离。  Step S206: Acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance.
步骤 S207, 当所述距离达到与所述相对移动速度对应的报警阔值距离时, 向所述用户输出报警提示。  Step S207: When the distance reaches an alarm threshold distance corresponding to the relative moving speed, an alarm prompt is output to the user.
红外测距模组正常工作后, 实时监控用户周围的环境, 当感测到周围物体 相对用户低速或者较高速接近时,手持终端通过界面显示图像例如接近障碍物 的速度和方位,还可以通过扬声器或者振动马达提醒用户注意安全, 以提供多 样化的报警提示方式,提高用户的体验。对于用户和障碍物之间的相对移动速 度的大小不同, 可以设定不同的报警阔值距离, 以准确地提前对用户提供报警 提示。 例如当用户遇到固定物体, 在用于正常步行速度下 lm/s, 我们设定报 警阔值距离为 5m; 当用户遇到较高速度物体接近时, 如速度为 20m/s, 我们 设定报警阔值距离为 30m; 当物体运动速度介于 lm/s到 20m/s之间时设定报 警阔值距离为 15m。  After the infrared ranging module works normally, the environment around the user is monitored in real time. When the surrounding object is sensed to be relatively low speed or close to the user, the handheld terminal displays an image such as the speed and orientation of the obstacle through the interface, and can also pass the speaker. Or the vibration motor reminds the user to pay attention to safety, to provide a variety of alarm prompts to improve the user experience. For different relative movement speeds between the user and the obstacle, different alarm threshold distances can be set to accurately provide the user with an alarm prompt in advance. For example, when the user encounters a fixed object and uses lm/s for normal walking speed, we set the alarm threshold distance to 5m. When the user encounters a higher speed object, such as the speed is 20m/s, we set The alarm wide distance is 30m; when the moving speed of the object is between lm/s and 20m/s, the alarm threshold distance is set to 15m.
步骤 S208, 当所述用户的移动速度小于设定阔值和 /或所述设定应用关闭 时, 关闭所述红外测距模组。  Step S208: Turn off the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is closed.
对于红外测距传感器的关闭可以通过手持终端的设定自动关闭。 自动关闭 的原理为手持终端加速度传感器感测到用户停止运动或者手持终端影响用户 注意力的应用程序关闭时,控制驱动马达自动关闭红外测距传感器阵列, 并将 其角度恢复到初始态。  The closing of the infrared ranging sensor can be automatically turned off by the setting of the handheld terminal. The principle of automatic shutdown is that when the handheld terminal accelerometer senses that the user stops moving or the application of the handheld terminal affects the user's attention is turned off, the control drive motor automatically turns off the infrared ranging sensor array and restores its angle to the initial state.
对于红外测距传感器的关闭还可以通过用户取消报警防撞功能, 即接收 用户关闭红外测距模组的指示,控制驱动马达关闭红外测距传感器阵列, 并将 其角度恢复到初始态。  For the closing of the infrared ranging sensor, the user can cancel the alarm anti-collision function, that is, the receiving user turns off the indication of the infrared ranging module, and controls the driving motor to turn off the infrared ranging sensor array, and restores the angle to the initial state.
可见, 釆用本发明实施例提供的一种红外测距防撞方法, 釆用的红外测距 模组具有较好的环境适应能力, 可以自适应地调整红外测距模组的探测方向, 最大限度地降低用户在行走时使用手持终端带来的潜在安全风险,避免用户收 到意外伤害;且可根据用户和障碍物之间的相对移动速度设定不同的报警阔值 距离, 以准确地提前对用户提供报警提示; 且提供多样化的报警提示方式, 提 高用户的体验。 请参阅图 7, 为本发明实施例提供的一种终端的结构示意图, 该终端 1000 包括: It can be seen that the infrared ranging and anti-collision method provided by the embodiment of the present invention has better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module. Limiting the potential security risks caused by the user's use of the handheld terminal while walking, avoiding the user receiving accidental injury; and setting different alarm threshold distances according to the relative movement speed between the user and the obstacle to accurately advance Provide users with alarm prompts; and provide a variety of alarm prompts to improve the user experience. FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 1000 includes:
启动单元 11, 用于当检测到手持终端的用户的移动速度大于设定阔值、 且所述终端上的设定应用开启时, 启动所述终端上的红外测距模组。  The startup unit 11 is configured to start an infrared ranging module on the terminal when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold and the setting application on the terminal is turned on.
本发明实施例在终端上设置红外测距模组,如图 2所示的红外测距防撞示 意图, 手持终端的用户在行走时经常会开启一些应用,用户的注意力主要集中 在这些应用上例如接听电话、 浏览网页等, 没有注意到周边的车流、 人流等, 存在很大的安全隐患,本发明实施例在终端上设置的红外测距模组可以为红外 测距传感器阵列,该红外测距模组可以在任意环境例如光线不足、 恶劣天气等 情况下感测前方障碍物。  In the embodiment of the present invention, an infrared ranging module is disposed on the terminal, as shown in FIG. 2, and the user of the handheld terminal often opens some applications while walking, and the user's attention is mainly concentrated on these applications. For example, answering the phone, browsing the webpage, etc., not paying attention to the surrounding traffic flow, the flow of people, etc., there is a great security risk. The infrared ranging module set on the terminal in the embodiment of the present invention may be an infrared ranging sensor array, and the infrared measurement The distance module can sense obstacles in front of any environment, such as insufficient light, bad weather, and the like.
启动单元 11启动终端上的红外测距模组具有两个条件: 用户处于移动状 态和用户开启终端的设定应用, 因此, 启动单元 11检测用户是否处于移动状 态即用户的移动速度是否大于设定阔值, 以及检测终端上的设定应用是否开 启, 这里的设定应用是指一些需要用户注意力集中在这些应用上的应用,例如 接听电话、 开启游戏、 浏览网页或观看视频等, 用户启动的应用可以通过终端 操作系统记录到。 当两个检测条件同时满足时, 启动单元 11 自动启动该红外 测距模组。  The activation unit 11 activates the infrared ranging module on the terminal to have two conditions: the user is in the mobile state and the setting application of the user to open the terminal, therefore, the activation unit 11 detects whether the user is in the moving state, that is, whether the user's moving speed is greater than the setting. The threshold value, and whether the setting application on the detection terminal is turned on, the setting application here refers to an application that requires the user to concentrate on these applications, such as answering a call, opening a game, browsing a webpage or watching a video, etc., the user starts up. The application can be recorded by the terminal operating system. When both detection conditions are satisfied, the startup unit 11 automatically starts the infrared ranging module.
调整单元 12, 用于根据所述终端当前相对水平位置的倾斜角度调整所述 红外测距模组, 使所述红外测距模组的探测方向轴心平行于地面。  The adjusting unit 12 is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
由于终端上开启设定应用后, 用户注意力集中在该设定应用,通常是集中 于终端显示屏, 用户会将终端倾斜使终端显示屏面向用户, 可以获取终端当前 相对水平位置的倾斜角度。  After the setting application is enabled on the terminal, the user's attention is concentrated on the setting application, which is usually concentrated on the terminal display screen, and the user tilts the terminal so that the terminal display screen faces the user, and can obtain the tilt angle of the current relative horizontal position of the terminal.
调整单元 12根据该倾斜角度调整红外测距模组: 在启动红外测距模组的 初始状态, 此时终端一般是处于水平位置的, 红外测距模组也是与终端处于一 条直线上, 即处于水平位置; 当用户将终端倾斜, 为了使红外测距模组准确全 面地探测到前方障碍物, 需要使红外测距模组的探测方向轴心平行于地面, 因 此,调整单元 12根据该倾斜角度调整红外测距模组,驱动红外测距模组转动, 使红外测距模组的探测方向轴心平行于地面。  The adjusting unit 12 adjusts the infrared ranging module according to the tilt angle: when the initial state of the infrared ranging module is started, the terminal is generally in a horizontal position, and the infrared ranging module is also in a straight line with the terminal, that is, at Horizontal position; When the user tilts the terminal, in order for the infrared ranging module to accurately and comprehensively detect the obstacle in front, the detection direction axis of the infrared ranging module needs to be parallel to the ground, and therefore, the adjustment unit 12 according to the inclination angle The infrared ranging module is adjusted to drive the infrared ranging module to rotate, so that the detection direction axis of the infrared ranging module is parallel to the ground.
控制单元 13, 用于控制所述红外测距模组探测所述用户周围的障碍物与 所述用户之间的距离和 /或所述障碍物的移动速度。 The control unit 13 is configured to control the infrared ranging module to detect obstacles around the user and The distance between the users and/or the speed of movement of the obstacle.
控制单元 13可以控制红外测距模组探测障碍物与用户的距离, 釆用红外 线探测距离可以釆用现有的技术, 在此不再赘述。  The control unit 13 can control the infrared ranging module to detect the distance between the obstacle and the user, and the infrared technology can detect the distance and can use the existing technology, and details are not described herein.
障碍物可能是固定的, 也可能是移动的, 控制单元 13可以釆用红外测距 模组探测移动障碍物的移动速度, 这也可以釆用现有的技术, 在此不再赘述。  The obstacle may be fixed or mobile. The control unit 13 may detect the moving speed of the moving obstacle by using the infrared ranging module, which may also use the existing technology, and will not be described here.
第一输出单元 14, 用于根据所述距离、 及所述用户和 /或所述障碍物的移 动速度, 向所述用户输出报警提示。  The first output unit 14 is configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
根据用户与障碍物之间的距离以及用户的移动速度或用户与障碍物之间 的相对移动速度,可以计算出还有多长距离撞上障碍物, 可以设定一定的距离 阔值, 当到达该距离阔值时, 第一输出单元 14向用户输出报警提示。  According to the distance between the user and the obstacle and the moving speed of the user or the relative moving speed between the user and the obstacle, it can be calculated how long the distance hits the obstacle, and a certain distance can be set. When the distance is wide, the first output unit 14 outputs an alarm prompt to the user.
当然, 也可以设定时间阔值来衡量撞上障碍物的时间。  Of course, you can also set the time threshold to measure the time of the obstacle.
可见, 釆用本发明实施例提供的一种终端, 釆用的红外测距模组具有较好 的环境适应能力,可以自适应地调整红外测距模组的探测方向, 最大限度地降 低用户在行走时使用手持终端带来的潜在安全风险, 避免用户收到意外伤害。 请参阅图 8, 为本发明实施例提供的另一种终端的结构示意图, 该终端 2000包括:  It can be seen that, by using a terminal provided by the embodiment of the present invention, the infrared ranging module has better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module, thereby minimizing the user's The potential safety risks associated with using a handheld terminal while walking prevent users from receiving accidental injuries. FIG. 8 is a schematic structural diagram of another terminal according to an embodiment of the present invention. The terminal 2000 includes:
启动单元 21, 用于当检测到手持终端的用户的移动速度大于设定阔值、 且所述终端上的设定应用开启时, 启动所述终端上的红外测距模组。  The startup unit 21 is configured to start an infrared ranging module on the terminal when the moving speed of the user detecting the handheld terminal is greater than a set threshold and the setting application on the terminal is turned on.
本发明实施例在终端上设置红外测距模组,如图 4所示, 为示例的终端的 结构示意图, 该手持终端(1)包括红外测距模组 (2), 还可以包括显示屏 (3)、 扬 声器 (4), 其中, 虚线框出的红外测距模组 (2)又包括红外测距传感器阵列 (5)和 驱动马达 (6)。 如图 5 所示, 为红外测距传感器阵列组成方式示意图, 红外测 距传感器阵列的探测范围为 60度锥形。 传感器 (51)的中心和红外测距传感器 阵列的半椭圓形短轴重合, 传感器 (52)和传感器 (53)相对短轴对称分布, 其中 心和短轴的夹角 Θ为 60度。 这样传感器阵列可以覆盖 180度的扇形区域, 在 驱动马达的作用下可以覆盖用户手持终端时周围的环境。其中驱动马达的中心 和模组的半椭圓形长轴重合。 当然, 红外测距模组还可以釆用其他的红外测距 传感器阵列组成方式, 在此仅为示例。  In the embodiment of the present invention, an infrared ranging module is disposed on the terminal, as shown in FIG. 4, which is a schematic structural diagram of the terminal. The handheld terminal (1) includes an infrared ranging module (2), and may further include a display screen ( 3), the speaker (4), wherein the infrared ranging module (2) framed by the dotted line further comprises an infrared ranging sensor array (5) and a driving motor (6). As shown in Figure 5, it is a schematic diagram of the composition of the infrared ranging sensor array. The detection range of the infrared ranging sensor array is 60 degree cone. The center of the sensor (51) coincides with the semi-elliptical short axis of the infrared ranging sensor array, and the sensor (52) and the sensor (53) are symmetrically distributed with respect to the short axis, wherein the angle between the center and the short axis is 60 degrees. In this way, the sensor array can cover a 180-degree sector, and the driving motor can cover the surrounding environment when the user holds the terminal. The center of the drive motor coincides with the semi-elliptical long axis of the module. Of course, the infrared ranging module can also use other infrared ranging sensor arrays, which is only an example.
启动单元 21启动终端上的红外测距模组具有两个条件: 用户处于移动状 态和用户开启终端的设定应用, 因此, 启动单元 21检测用户是否处于移动状 态即用户的移动速度是否大于设定阔值, 以及检测终端上的设定应用是否开 启。用户的移动速度可以通过终端中的加速度传感器测量出。 这里的设定应用 是指一些需要用户注意力集中在这些应用上的应用,例如接听电话、开启游戏、 浏览网页或观看视频等, 用户启动的应用可以通过终端操作系统记录到。 当两 个检测条件同时满足时, 启动单元 21 自动启动该红外测距模组。 The startup unit 21 activates the infrared ranging module on the terminal with two conditions: the user is in motion The state and the user turn on the setting application of the terminal. Therefore, the activation unit 21 detects whether the user is in a moving state, that is, whether the moving speed of the user is greater than a set threshold, and whether the setting application on the terminal is turned on. The user's moving speed can be measured by the acceleration sensor in the terminal. The setting application here refers to some applications that require the user's attention to focus on these applications, such as answering a call, opening a game, browsing a webpage or watching a video, etc. User-initiated applications can be recorded by the terminal operating system. When both detection conditions are satisfied, the startup unit 21 automatically activates the infrared ranging module.
第一获取单元 22, 用于获取所述终端的当前加速度值、 及所述终端处于 水平位置时的加速度值。  The first obtaining unit 22 is configured to acquire a current acceleration value of the terminal and an acceleration value when the terminal is in a horizontal position.
第二获取单元 23, 用于根据所述当前加速度值以及所述终端处于水平位 置时的加速度值, 获取所述终端当前相对水平位置的倾斜角度。  The second obtaining unit 23 is configured to obtain an inclination angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in a horizontal position.
如图 6 所示, 为红外测距传感器阵列在终端从水平到倾斜时的调整示意 图, 当终端水平放置时, 加速度传感器 XYZ三轴加速度值为 XI、 Y1和 Zl, 此时红外测距传感器阵列和终端保持一致; 当终端倾斜时,加速度传感器三轴 加速度值为 X2、 Y2和 Z2, 通过计算两种状态下三轴加速度值差值可推算出 终端的倾斜角度。  As shown in Fig. 6, it is an adjustment diagram of the infrared ranging sensor array when the terminal is horizontal to tilted. When the terminal is horizontally placed, the acceleration sensor XYZ triaxial acceleration values are XI, Y1 and Zl, and the infrared ranging sensor array at this time It is consistent with the terminal; when the terminal is tilted, the three-axis acceleration values of the acceleration sensor are X2, Y2 and Z2, and the tilt angle of the terminal can be derived by calculating the difference of the three-axis acceleration values in the two states.
调整单元 24, 用于根据所述终端当前相对水平位置的倾斜角度调整所述 红外测距模组, 使所述红外测距模组的探测方向轴心平行于地面。  The adjusting unit 24 is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground.
该倾斜角度作为红外测距传感器阵列调整探测方向的输入值, 调整单元 24 启动马达对红外测距传感器阵列的角度进行调整, 保证红外测距传感器阵 列可以有效探测。 调整后的红外测距传感器探测方向轴心平行于地面。  The tilt angle is used as an input value for adjusting the detection direction of the infrared ranging sensor array, and the adjusting unit 24 starts the motor to adjust the angle of the infrared ranging sensor array to ensure that the infrared ranging sensor array can be effectively detected. The adjusted infrared ranging sensor detects that the direction axis is parallel to the ground.
控制单元 25, 用于控制所述红外测距模组探测所述用户周围的障碍物与 所述用户之间的距离和 /或所述障碍物的移动速度。  The control unit 25 is configured to control the infrared ranging module to detect a distance between the obstacle around the user and the user and/or a moving speed of the obstacle.
控制单元 25的功能与图 7所示实施例的控制单元 13的功能相同,在此不 再赘述。  The function of the control unit 25 is the same as that of the control unit 13 of the embodiment shown in Fig. 7, and will not be described again.
第一输出单元 26, 用于根据所述距离、 及所述用户和 /或所述障碍物的移 动速度, 向所述用户输出报警提示。  The first output unit 26 is configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
在本实施例中, 第一输出单元 26包括第三获取单元 261和第二输出单元 In the embodiment, the first output unit 26 includes a third obtaining unit 261 and a second output unit.
262。 262.
第三获取单元 261, 用于根据所述用户和 /或所述障碍物的移动速度, 获取 所述用户与所述障碍物之间的相对移动速度,所述相对移动速度对应一个报警 阔值距离。 a third obtaining unit 261, configured to acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm Wide distance.
第二输出单元 262, 用于当所述距离达到与所述相对移动速度对应的报警 阔值距离时, 向所述用户输出报警提示。  The second output unit 262 is configured to output an alarm prompt to the user when the distance reaches an alarm threshold distance corresponding to the relative moving speed.
红外测距模组正常工作后, 实时监控用户周围的环境, 当感测到周围物体 相对用户低速或者较高速接近时,手持终端通过界面显示图像例如接近障碍物 的速度和方位,还可以通过扬声器或者振动马达提醒用户注意安全, 以提供多 样化的报警提示方式,提高用户的体验。对于用户和障碍物之间的相对移动速 度的大小不同, 可以设定不同的报警阔值距离, 以准确地提前对用户提供报警 提示。 例如当用户遇到固定物体, 在用于正常步行速度下 lm/s, 我们设定报 警阔值距离为 5m; 当用户遇到较高速度物体接近时, 如速度为 20m/s, 我们 设定报警阔值距离为 30m; 当物体运动速度介于 lm/s到 20m/s之间时设定报 警阔值距离为 15m。  After the infrared ranging module works normally, the environment around the user is monitored in real time. When the surrounding object is sensed to be relatively low speed or close to the user, the handheld terminal displays an image such as the speed and orientation of the obstacle through the interface, and can also pass the speaker. Or the vibration motor reminds the user to pay attention to safety, to provide a variety of alarm prompts to improve the user experience. For different relative movement speeds between the user and the obstacle, different alarm threshold distances can be set to accurately provide the user with an alarm prompt in advance. For example, when the user encounters a fixed object and uses lm/s for normal walking speed, we set the alarm threshold distance to 5m. When the user encounters a higher speed object, such as the speed is 20m/s, we set The alarm wide distance is 30m; when the moving speed of the object is between lm/s and 20m/s, the alarm threshold distance is set to 15m.
关闭单元 27, 用于当所述用户的移动速度小于设定阔值和 /或所述设定应 用关闭时, 关闭所述红外测距模组。  The closing unit 27 is configured to close the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is turned off.
对于红外测距传感器的关闭, 关闭单元 27可以通过手持终端的设定自动 关闭。 自动关闭的原理为手持终端加速度传感器感测到用户停止运动或者手持 终端影响用户注意力的应用程序关闭时,控制驱动马达自动关闭红外测距传感 器阵列, 并将其角度恢复到初始态。  For the closing of the infrared ranging sensor, the closing unit 27 can be automatically turned off by the setting of the hand-held terminal. The principle of automatic shutdown is that when the handheld terminal acceleration sensor senses that the user stops moving or the application of the handheld terminal affects the user's attention is turned off, the control drive motor automatically turns off the infrared ranging sensor array and restores its angle to the initial state.
关闭单元 27还可以通过用户取消报警防撞功能, 即接收用户关闭红外测 距模组的指示,控制驱动马达关闭红外测距传感器阵列, 并将其角度恢复到初 始态。  The closing unit 27 can also cancel the alarm anti-collision function by the user, that is, receive the user's instruction to turn off the infrared ranging module, control the driving motor to turn off the infrared ranging sensor array, and restore the angle to the initial state.
可见, 釆用本发明实施例提供的一种终端, 釆用的红外测距模组具有较 好的环境适应能力, 可以自适应地调整红外测距模组的探测方向, 最大限度地 降低用户在行走时使用手持终端带来的潜在安全风险, 避免用户收到意外伤 害; 且可根据用户和障碍物之间的相对移动速度设定不同的报警阔值距离, 以 准确地提前对用户提供报警提示; 且提供多样化的报警提示方式,提高用户的 体验。 请参阅图 9, 为本发明实施例提供的又一种终端的结构示意图, 该终端 3000包括: 处理器 31、 存储器 32、 输入设备 33、 输出设备 34以及总线系统 35, 其 中: It can be seen that, by using the terminal provided by the embodiment of the present invention, the infrared ranging module has better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module, thereby minimizing the user's The potential safety risk caused by using the handheld terminal while walking, to avoid the user receiving accidental injury; and different alarm wide distances can be set according to the relative movement speed between the user and the obstacle, so as to accurately provide the user with an alarm prompt in advance. And provide a variety of alarm prompts to improve the user experience. FIG. 9 is a schematic structural diagram of still another terminal according to an embodiment of the present invention. The terminal 3000 includes: A processor 31, a memory 32, an input device 33, an output device 34, and a bus system 35, wherein:
处理器 31控制终端 3000的操作, 处理器 31还可以称为中央处理单元 ( Central Processing Unit, CPU )。 处理器 31可能是一种集成电路芯片, 具有 信号的处理能力。 处理器 31还可以是通用处理器、 数字信号处理器(Digital Signal Processing, DSP )、专用集成电路( Application Specific Integrated Circuit, ASIC )、 现场可编程门阵列 ( Field - Programmable Gate Array, FPGA )或者其 他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 通用处理器 可以是微处理器或者该处理器也可以是任何常规的处理器等。  The processor 31 controls the operation of the terminal 3000, which may also be referred to as a Central Processing Unit (CPU). Processor 31 may be an integrated circuit chip with signal processing capabilities. The processor 31 can also be a general-purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or the like. Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器 32可以包括只读存储器和随机存取存储器,并向处理器 31提供指 令和数据。 存储器 32 的一部分还可以包括非易失性随机存取存储器 ( NVRAM )。  Memory 32 can include read only memory and random access memory and provides instructions and data to processor 31. A portion of memory 32 may also include non-volatile random access memory (NVRAM).
终端 3000的各个组件通过总线系统 35耦合在一起,该总线可以是工业标 准体系结构( Industry Standard Architecture, ISA )总线、外部设备互连( Peripheral Component Interconnect, PCI )总线或扩展工业标准体系结构( Extended Industry Standard Architecture, EISA ) 总线等。 所述总线可以是一条或多条物理线路, 当是多条物理线路时可以分为地址总线、 数据总线、 控制总线等。 在本发明的 其它一些实施例中, 处理器 31、 存储器 32以及输入设备 33、 输出设备 34也 可以通过通信线路直接连接。  The various components of terminal 3000 are coupled together by a bus system 35, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard architecture ( Extended) Industry Standard Architecture, EISA) Bus, etc. The bus may be one or more physical lines, and when it is a plurality of physical lines, it may be divided into an address bus, a data bus, a control bus, and the like. In some other embodiments of the present invention, the processor 31, the memory 32, and the input device 33 and the output device 34 may also be directly connected through a communication line.
输入设备 33可以具体实现为鼠标、键盘、 麦克风等, 而输出设备 34可以 具体实现为显示器、 音频设备、 视频设备。 当然, 输入设备 33和输出设备 34 也可以通过一个输入输出设备来实现其功能, 比如实现为可触摸的屏幕。  The input device 33 can be embodied as a mouse, a keyboard, a microphone, etc., and the output device 34 can be embodied as a display, an audio device, and a video device. Of course, the input device 33 and the output device 34 can also be implemented by an input/output device, such as a touchable screen.
其中, 处理器 31读取存储器 32中的计算机程序用以执行以下步骤: 当检测到手持终端的用户的移动速度大于设定阔值、且所述终端上的设定 应用开启时, 启动所述终端上的红外测距模组;  The processor 31 reads the computer program in the memory 32 to perform the following steps: when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold and the setting application on the terminal is turned on, Infrared ranging module on the terminal;
根据所述终端当前相对水平位置的倾斜角度调整所述红外测距模组,使所 述红外测距模组的探测方向轴心平行于地面;  Adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
控制所述红外测距模组探测所述用户周围的障碍物与所述用户之间的距 离和 /或所述障碍物的移动速度; 根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输 出报警提示。 Controlling the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle; An alarm prompt is output to the user based on the distance and the moving speed of the user and/or the obstacle.
作为一种实施方式, 处理器 31执行所述根据所述终端当前相对水平位置 的倾斜角度调整所述红外测距模组,使所述红外测距模组的探测方向轴心平行 于地面的步骤之前, 还执行如下步骤:  As an implementation manner, the processor 31 performs the step of adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground. Previously, the following steps were also performed:
获取所述终端的当前加速度值、 及所述终端处于水平位置时的加速度值; 根据所述当前加速度值以及所述终端处于水平位置时的加速度值,获取所 述终端当前相对水平位置的倾斜角度。  Acquiring the current acceleration value of the terminal and the acceleration value when the terminal is in the horizontal position; acquiring the tilt angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in the horizontal position .
作为另一种实施方式,所述红外测距模组包括半椭圓形的红外测距传感器 阵列和马达,所述红外测距传感器阵列包括第一、第二和第三红外测距传感器, 所述第一传感器的中心与所述半椭圓形的红外测距传感器阵列的短轴重合,所 述第二和第三传感器相对所述短轴对称分布, 所述中心和短轴的夹角为 60。, 所述马达的中心和所述半椭圓形的红外测距传感器阵列的长轴重合。 当然, 红 外测距模组还可以釆用其他的红外测距传感器阵列组成方式, 在此仅为示例。  In another embodiment, the infrared ranging module includes a semi-elliptical infrared ranging sensor array and a motor, and the infrared ranging sensor array includes first, second, and third infrared ranging sensors. a center of the first sensor coincides with a minor axis of the semi-elliptical infrared ranging sensor array, the second and third sensors are symmetrically distributed with respect to the short axis, and an angle between the center and the minor axis is 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array. Of course, the infrared ranging module can also use other infrared ranging sensor arrays, which is only an example.
作为又一种实施方式, 处理器 31执行所述根据所述距离、 及所述用户和 / 或所述障碍物的移动速度, 向所述用户输出报警提示的步骤, 包括:  In still another embodiment, the processor 31 performs the step of outputting an alarm prompt to the user according to the distance, and the moving speed of the user and/or the obstacle, including:
根据所述用户和 /或所述障碍物的移动速度, 获取所述用户与所述障碍物 之间的相对移动速度, 所述相对移动速度对应一个报警阔值距离;  Obtaining a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
当所述距离达到与所述相对移动速度对应的报警阔值距离时,向所述用户 输出报警提示。  When the distance reaches an alarm threshold distance corresponding to the relative movement speed, an alarm prompt is output to the user.
其中, 所述报警提示方式包括:  The alarm prompting method includes:
图像报警提示、 声音报警提示或振动报警提示。  Image alarm prompt, audible alarm prompt or vibration alarm prompt.
作为又一种实施方式, 处理器 31还执行如下步骤:  As still another embodiment, the processor 31 further performs the following steps:
当所述用户的移动速度小于设定阔值和 /或所述设定应用关闭时, 关闭所 述红外测距模组; 或  Turning off the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is turned off; or
接收到用户关闭所述红外测距模组的指示时, 关闭所述红外测距模组。 本发明实施例提供的处理器 31中包含的计算机程序还可以实现为启动单 元、 调整单元、控制单元和第一输出单元, 四个单元实现的功能可以参考前述 实施例所述, 在此不再赘述。 可见, 釆用本发明实施例提供的一种终端, 釆用的红外测距模组具有较好 的环境适应能力,可以自适应地调整红外测距模组的探测方向, 最大限度地降 低用户在行走时使用手持终端带来的潜在安全风险, 避免用户收到意外伤害。 The infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module. The computer program included in the processor 31 provided by the embodiment of the present invention may also be implemented as a startup unit, an adjustment unit, a control unit, and a first output unit. The functions implemented by the four units may be referred to the foregoing embodiments, and are not described herein. Narration. It can be seen that, by using a terminal provided by the embodiment of the present invention, the infrared ranging module has better environmental adaptability, and can adaptively adjust the detection direction of the infrared ranging module, thereby minimizing the user's The potential safety risks associated with using a handheld terminal while walking prevent users from receiving accidental injuries.
需要说明的是, 对于前述的各方法实施例, 为了简单描述, 故将其都表述 为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的 动作顺序的限制,因为根据本发明,某些步骤可以釆用其他顺序或者同时进行。 其次, 本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施 例, 所涉及的动作和模块并不一定是本发明所必须的。  It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重, 某个实施例中没有详 述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the details are not described in the specific embodiments. For details, refer to related descriptions of other embodiments.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发 明可以用硬件实现, 或固件实现, 或它们的组合方式来实现。 当使用软件实现 时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个 或多个指令或代码进行传输。 计算机可读介质包括计算机存储介质和通信介 质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介 质。 存储介质可以是计算机能够存取的任何可用介质。 以此为例但不限于: 计 算机可读介质可以包括随机存取存储器 (Random Access Memory, RAM),只读 存储器 (Read-Only Memory , ROM) , 电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory, EEPROM)、只读光盘 (Compact Disc Read-Only Memory, CD-ROM)或其他光盘存储、 磁盘存储介质或者其他磁存 储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码 并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机 可读介质。 例如, 如果软件是使用同轴电缆、 光纤光缆、 双绞线、 数字用户线 ( Digital Subscriber Line, DSL )或者诸如红外线、 无线电和微波之类的无线 技术从网站、 服务器或者其他远程源传输的, 那么同轴电缆、 光纤光缆、 双绞 线、 DSL或者诸如红外线、 无线和微波之类的无线技术包括在所属介质的定 影中。 如本发明所使用的, 盘(Disk )和碟(disc ) 包括压缩光碟(CD )、 激 光碟、 光碟、 数字通用光碟(DVD )、 软盘和蓝光光碟, 其中盘通常磁性的复 制数据, 而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可 读介质的保护范围之内。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware implementation, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. For example, but not limited to: the computer readable medium may include a random access memory (RAM), a read-only memory (ROM), and an electrically erasable programmable read-only memory (Electrically Erasable Programmable). Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, disk storage media or other magnetic storage devices, or can be used to carry or store an instruction or data structure The desired program code and any other medium that can be accessed by the computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, Then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the fixing of the associated medium. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. The above combination should also be included in the computer Read the protection of the medium.
总之, 以上所述仅为本发明技术方案的较佳实施例而已, 并非用于限定本 发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、 改进等, 均应包含在本发明的保护范围之内。  In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种红外测距防撞方法, 其特征在于, 包括: 1. An infrared ranging anti-collision method, characterized in that:
当检测到手持终端的用户的移动速度大于设定阔值、且所述终端上的设定 应用开启时, 启动所述终端上的红外测距模组;  When detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
根据所述终端当前相对水平位置的倾斜角度调整所述红外测距模组,使所 述红外测距模组的探测方向轴心平行于地面;  Adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
控制所述红外测距模组探测所述用户周围的障碍物与所述用户之间的距 离和 /或所述障碍物的移动速度;  Controlling the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle;
根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输 出报警提示。  An alarm prompt is output to the user based on the distance and the speed of movement of the user and/or the obstacle.
2、 如权利要求 1所述的方法, 其特征在于, 所述根据所述终端当前相对 水平位置的倾斜角度调整所述红外测距模组,使所述红外测距模组的探测方向 轴心平行于地面之前, 还包括: 2. The method according to claim 1, wherein the adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module Before paralleling the ground, it also includes:
获取所述终端的当前加速度值、 及所述终端处于水平位置时的加速度值; 根据所述当前加速度值以及所述终端处于水平位置时的加速度值,获取所 述终端当前相对水平位置的倾斜角度。  Acquiring the current acceleration value of the terminal and the acceleration value when the terminal is in the horizontal position; acquiring the tilt angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in the horizontal position .
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述红外测距模组包括 半椭圓形的红外测距传感器阵列和马达, 所述红外测距传感器阵列包括第一、 第二和第三红外测距传感器,所述第一传感器的中心与所述半椭圓形的红外测 距传感器阵列的短轴重合, 所述第二和第三传感器相对所述短轴对称分布, 所 述中心和短轴的夹角为 60。, 所述马达的中心和所述半椭圓形的红外测距传感 器阵列的长轴重合。 The method according to claim 1 or 2, wherein the infrared ranging module comprises a semi-elliptical infrared ranging sensor array and a motor, and the infrared ranging sensor array comprises a first and a a second and a third infrared ranging sensor, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, and the second and third sensors are symmetrically distributed with respect to the short axis, The center and the minor axis have an included angle of 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
4、 如权利要求 1-3任意一项所述的方法, 其特征在于, 所述根据所述距 离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输出报警提示, 包 括: 根据所述用户和 /或所述障碍物的移动速度, 获取所述用户与所述障碍物 之间的相对移动速度, 所述相对移动速度对应一个报警阔值距离; The method according to any one of claims 1 to 3, wherein the alarm prompt is output to the user according to the distance and the moving speed of the user and/or the obstacle, include: Obtaining a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
当所述距离达到与所述相对移动速度对应的报警阔值距离时,向所述用户 输出报警提示。  When the distance reaches an alarm threshold distance corresponding to the relative movement speed, an alarm prompt is output to the user.
5、 如权利要求 4所述的方法, 其特征在于, 所述报警提示方式包括: 图像报警提示、 声音报警提示或振动报警提示。 The method according to claim 4, wherein the alarm prompting manner comprises: an image alarm prompt, an audible alarm prompt or a vibration alarm prompt.
6、 如权利要求 1所述的方法, 其特征在于, 还包括: 6. The method of claim 1, further comprising:
当所述用户的移动速度小于设定阔值和 /或所述设定应用关闭时, 关闭所 述红外测距模组; 或  Turning off the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is turned off; or
接收到用户关闭所述红外测距模组的指示时, 关闭所述红外测距模组。  The infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module.
7、 一种终端, 其特征在于, 包括: 7. A terminal, comprising:
启动单元, 用于当检测到手持终端的用户的移动速度大于设定阔值、且所 述终端上的设定应用开启时, 启动所述终端上的红外测距模组;  a startup unit, configured to: when detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
调整单元,用于根据所述终端当前相对水平位置的倾斜角度调整所述红外 测距模组, 使所述红外测距模组的探测方向轴心平行于地面;  The adjusting unit is configured to adjust the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground;
控制单元,用于控制所述红外测距模组探测所述用户周围的障碍物与所述 用户之间的距离和 /或所述障碍物的移动速度;  a control unit, configured to control the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle;
第一输出单元, 用于根据所述距离、 及所述用户和 /或所述障碍物的移动 速度, 向所述用户输出报警提示。  And a first output unit, configured to output an alarm prompt to the user according to the distance and the moving speed of the user and/or the obstacle.
8、 如权利要求 7所述的终端, 其特征在于, 还包括: 8. The terminal according to claim 7, further comprising:
第一获取单元, 用于获取所述终端的当前加速度值、及所述终端处于水平 位置时的加速度值;  a first acquiring unit, configured to acquire a current acceleration value of the terminal, and an acceleration value when the terminal is in a horizontal position;
第二获取单元,用于根据所述当前加速度值以及所述终端处于水平位置时 的加速度值, 获取所述终端当前相对水平位置的倾斜角度。  And a second acquiring unit, configured to acquire, according to the current acceleration value and an acceleration value when the terminal is in a horizontal position, an inclination angle of a current relative horizontal position of the terminal.
9、 如权利要求 7或 8所述的终端, 其特征在于, 所述红外测距模组包括 半椭圓形的红外测距传感器阵列和马达, 所述红外测距传感器阵列包括第一、 第二和第三红外测距传感器,所述第一传感器的中心与所述半椭圓形的红外测 距传感器阵列的短轴重合, 所述第二和第三传感器相对所述短轴对称分布, 所 述中心和短轴的夹角为 60。, 所述马达的中心和所述半椭圓形的红外测距传感 器阵列的长轴重合。 The terminal according to claim 7 or 8, wherein the infrared ranging module comprises a semi-elliptical infrared ranging sensor array and a motor, the infrared ranging sensor array comprising first, second and third infrared ranging sensors, a center of the first sensor and the semi-elliptical infrared The short axes of the ranging sensor arrays coincide, the second and third sensors are symmetrically distributed with respect to the short axis, and the center and the minor axis have an included angle of 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
10、 如权利要求 7-9任意一项所述的终端, 其特征在于, 所述第一输出单 元包括: The terminal according to any one of claims 7-9, wherein the first output unit comprises:
第三获取单元, 用于根据所述用户和 /或所述障碍物的移动速度, 获取所 述用户与所述障碍物之间的相对移动速度,所述相对移动速度对应一个报警阔 值距离;  a third acquiring unit, configured to acquire a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
第二输出单元,用于当所述距离达到与所述相对移动速度对应的报警阔值 距离时, 向所述用户输出报警提示。  And a second output unit, configured to output an alarm prompt to the user when the distance reaches an alarm threshold distance corresponding to the relative moving speed.
11、 如权利要求 10所述的终端, 其特征在于, 所述报警提示方式包括: 图像报警提示、 声音报警提示或振动报警提示。 The terminal according to claim 10, wherein the alarm prompting method comprises: an image alarm prompt, an audible alarm prompt or a vibration alarm prompt.
12、 如权利要求 7所述的终端, 其特征在于, 还包括: The terminal according to claim 7, further comprising:
关闭单元, 用于当所述用户的移动速度小于设定阔值和 /或所述设定应用 关闭时, 关闭所述红外测距模组; 或  a closing unit, configured to close the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is closed; or
所述关闭单元用于接收到用户关闭所述红外测距模组的指示时,关闭所述 红外测距模组。  The shutdown unit is configured to close the infrared ranging module when receiving an indication that the user turns off the infrared ranging module.
13、 一种终端, 其特征在于, 包括输入装置、 输出装置、 存储器和处理 器; 13. A terminal, comprising: an input device, an output device, a memory, and a processor;
其中, 所述处理器用于执行如下步骤:  The processor is configured to perform the following steps:
当检测到手持终端的用户的移动速度大于设定阔值、且所述终端上的设定 应用开启时, 启动所述终端上的红外测距模组;  When detecting that the moving speed of the user of the handheld terminal is greater than a set threshold, and the setting application on the terminal is turned on, starting the infrared ranging module on the terminal;
根据所述终端当前相对水平位置的倾斜角度调整所述红外测距模组,使所 述红外测距模组的探测方向轴心平行于地面; 控制所述红外测距模组探测所述用户周围的障碍物与所述用户之间的距 离和 /或所述障碍物的移动速度; Adjusting the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the detecting direction axis of the infrared ranging module is parallel to the ground; Controlling the infrared ranging module to detect a distance between an obstacle around the user and the user and/or a moving speed of the obstacle;
根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户输 出报警提示。  An alarm prompt is output to the user based on the distance and the speed of movement of the user and/or the obstacle.
14、 如权利要求 13所述的终端, 其特征在于, 所述处理器执行所述根据 所述终端当前相对水平位置的倾斜角度调整所述红外测距模组,使所述红外测 距模组的探测方向轴心平行于地面的步骤之前, 还执行如下步骤: The terminal according to claim 13, wherein the processor performs the infrared ranging module according to the tilt angle of the current relative horizontal position of the terminal, so that the infrared ranging module is Before the step of detecting the direction of the axis parallel to the ground, the following steps are performed:
获取所述终端的当前加速度值、 及所述终端处于水平位置时的加速度值; 根据所述当前加速度值以及所述终端处于水平位置时的加速度值,获取所 述终端当前相对水平位置的倾斜角度。  Acquiring the current acceleration value of the terminal and the acceleration value when the terminal is in the horizontal position; acquiring the tilt angle of the current relative horizontal position of the terminal according to the current acceleration value and the acceleration value when the terminal is in the horizontal position .
15、 如权利要求 13或 14所述的终端, 其特征在于, 所述红外测距模组包 括半椭圓形的红外测距传感器阵列和马达, 所述红外测距传感器阵列包括第 一、第二和第三红外测距传感器, 所述第一传感器的中心与所述半椭圓形的红 外测距传感器阵列的短轴重合, 所述第二和第三传感器相对所述短轴对称分 布, 所述中心和短轴的夹角为 60。, 所述马达的中心和所述半椭圓形的红外测 距传感器阵列的长轴重合。 The terminal according to claim 13 or 14, wherein the infrared ranging module comprises a semi-elliptical infrared ranging sensor array and a motor, and the infrared ranging sensor array comprises a first a second and a third infrared ranging sensor, a center of the first sensor coincides with a short axis of the semi-elliptical infrared ranging sensor array, and the second and third sensors are symmetrically distributed with respect to the short axis, The center and the minor axis have an included angle of 60. The center of the motor coincides with the long axis of the semi-elliptical infrared ranging sensor array.
16、 如权利要求 13-15任意一项所述的终端, 其特征在于, 所述处理器执 行所述根据所述距离、 及所述用户和 /或所述障碍物的移动速度, 向所述用户 输出报警提示的步骤, 包括: The terminal according to any one of claims 13-15, wherein the processor performs the according to the distance, and a moving speed of the user and/or the obstacle, to the The steps for the user to output an alarm prompt include:
根据所述用户和 /或所述障碍物的移动速度, 获取所述用户与所述障碍物 之间的相对移动速度, 所述相对移动速度对应一个报警阔值距离;  Obtaining a relative moving speed between the user and the obstacle according to a moving speed of the user and/or the obstacle, where the relative moving speed corresponds to an alarm threshold distance;
当所述距离达到与所述相对移动速度对应的报警阔值距离时,向所述用户 输出报警提示。  When the distance reaches an alarm threshold distance corresponding to the relative movement speed, an alarm prompt is output to the user.
17、 如权利要求 16所述的终端, 其特征在于, 所述报警提示方式包括: 图像报警提示、 声音报警提示或振动报警提示。 The terminal according to claim 16, wherein the alarm prompting method comprises: an image alarm prompt, an audible alarm prompt or a vibration alarm prompt.
18、 如权利要求 13所述的终端, 其特征在于, 所述处理器还执行如下步 骤: The terminal according to claim 13, wherein the processor further performs the following steps:
当所述用户的移动速度小于设定阈值和 /或所述设定应用关闭时, 关闭所 述红外测距模组; 或  Turning off the infrared ranging module when the moving speed of the user is less than a set threshold and/or the setting application is turned off; or
接收到用户关闭所述红外测距模组的指示时, 关闭所述红外测距模组。  The infrared ranging module is turned off when receiving an indication that the user turns off the infrared ranging module.
PCT/CN2014/077415 2014-05-14 2014-05-14 Infrared distance-measuring anti-collision method and terminal WO2015172321A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/077415 WO2015172321A1 (en) 2014-05-14 2014-05-14 Infrared distance-measuring anti-collision method and terminal
CN201480001272.1A CN104335260B (en) 2014-05-14 2014-05-14 A kind of infrared distance measurement avoiding collision and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/077415 WO2015172321A1 (en) 2014-05-14 2014-05-14 Infrared distance-measuring anti-collision method and terminal

Publications (1)

Publication Number Publication Date
WO2015172321A1 true WO2015172321A1 (en) 2015-11-19

Family

ID=52408643

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077415 WO2015172321A1 (en) 2014-05-14 2014-05-14 Infrared distance-measuring anti-collision method and terminal

Country Status (2)

Country Link
CN (1) CN104335260B (en)
WO (1) WO2015172321A1 (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139576A (en) * 2015-07-09 2015-12-09 小米科技有限责任公司 Road condition prompting method and device
CN106556375A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 Alarm method and device
CN105629260A (en) * 2015-12-23 2016-06-01 吉林大学 Laser ranging anti-collision alarming device
WO2017185268A1 (en) * 2016-04-27 2017-11-02 华为技术有限公司 Method and apparatus for detecting obstacle on road
CN106652329A (en) * 2016-11-08 2017-05-10 厦门精图信息技术有限公司 Public security-ensured anti-falling system and method for smartphone addicts during walking
WO2018090202A1 (en) * 2016-11-15 2018-05-24 华为技术有限公司 Prompt method for obstacle and terminal device
CN106506854A (en) * 2016-11-29 2017-03-15 惠州Tcl移动通信有限公司 A kind of method and system that is reported to the police based on mobile terminal safety
CN106713639A (en) * 2016-12-27 2017-05-24 宇龙计算机通信科技(深圳)有限公司 Obstacle avoidance prompting method, obstacle avoidance prompting device and mobile terminal
CN106686290B (en) * 2016-12-30 2018-12-04 维沃移动通信有限公司 A kind of alarm method and mobile terminal based on rotating camera
CN107015231B (en) * 2017-03-22 2021-02-19 联想(北京)有限公司 Information processing method and electronic equipment
CN107784787A (en) * 2017-11-22 2018-03-09 苏州岸肯电子科技有限公司 A kind of anticollision mobile phone
CN109391801A (en) * 2018-12-14 2019-02-26 湖州职业技术学院 A kind of safety monitoring system and method for mobile communication equipment
CN111325972B (en) * 2018-12-17 2022-08-23 北京小米移动软件有限公司 Radar detection method, terminal and storage medium
CN109587343A (en) * 2018-12-28 2019-04-05 贵州财富之舟科技有限公司 Safety prompt function method, apparatus, computer equipment and the storage medium of anticollision
CN109760699A (en) * 2019-02-12 2019-05-17 张慧琳 Pressure-bearing type electric vehicle track lifts system
CN110517446A (en) * 2019-08-28 2019-11-29 Oppo(重庆)智能科技有限公司 A kind of security prompt method and portable device
CN111337925A (en) * 2020-02-18 2020-06-26 Oppo广东移动通信有限公司 Obstacle detection method, obstacle detection device, electronic device, and storage medium
CN111327743A (en) * 2020-04-01 2020-06-23 南京工业职业技术学院 Smart mobile phone obstacle early warning device
CN113093166A (en) * 2021-04-07 2021-07-09 毕思文 Detection imaging optical system based on compressed-state light field

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100294938A1 (en) * 2009-05-22 2010-11-25 Rachid Alameh Sensing Assembly for Mobile Device
CN102089989A (en) * 2008-06-05 2011-06-08 苹果公司 Electronic device with proximity-based radio power control
GB2482853A (en) * 2009-12-15 2012-02-22 Earlybird Corp Ltd Portable anti collision sensor
CN102445694A (en) * 2011-09-20 2012-05-09 中南大学 Navigation robot obstacle detection method and system
CN102891914A (en) * 2011-05-11 2013-01-23 深圳市福智软件技术有限公司 Mobile terminal and method for switching answer modes of mobile terminal
CN102928833A (en) * 2011-08-10 2013-02-13 广州三星通信技术研究有限公司 Anti-collision device and anti-collision method for portable terminal, and portable terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100652666B1 (en) * 2004-09-01 2006-12-06 엘지전자 주식회사 Apparatus and method for sensing obstacle in mobile communication device
CN102316193B (en) * 2010-07-06 2015-05-27 希姆通信息技术(上海)有限公司 Mobile phone and blind guiding method
WO2012037621A1 (en) * 2010-09-22 2012-03-29 Victor Francisco Machay "cellular telephone with tape measure function"
CN103327151A (en) * 2013-07-17 2013-09-25 上海华勤通讯技术有限公司 Infrared blind guide device and method as well as mobile phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102089989A (en) * 2008-06-05 2011-06-08 苹果公司 Electronic device with proximity-based radio power control
US20100294938A1 (en) * 2009-05-22 2010-11-25 Rachid Alameh Sensing Assembly for Mobile Device
GB2482853A (en) * 2009-12-15 2012-02-22 Earlybird Corp Ltd Portable anti collision sensor
CN102891914A (en) * 2011-05-11 2013-01-23 深圳市福智软件技术有限公司 Mobile terminal and method for switching answer modes of mobile terminal
CN102928833A (en) * 2011-08-10 2013-02-13 广州三星通信技术研究有限公司 Anti-collision device and anti-collision method for portable terminal, and portable terminal
CN102445694A (en) * 2011-09-20 2012-05-09 中南大学 Navigation robot obstacle detection method and system

Also Published As

Publication number Publication date
CN104335260B (en) 2017-06-20
CN104335260A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
WO2015172321A1 (en) Infrared distance-measuring anti-collision method and terminal
US10136036B2 (en) Control flap
US20200336660A1 (en) Panoramic Photo Shooting Method and Apparatus
KR101441735B1 (en) Camera-based orientation fix from portrait to landscape
JP6290514B2 (en) Road condition presentation method and apparatus
US20180124223A1 (en) Screen control method, apparatus, and non-transitory tangible computer readable storage medium
EP2743795B1 (en) Electronic device and method for driving camera module in sleep mode
EP2713242B1 (en) Smart screen rotation based on user orientation
US9348454B2 (en) Electronic device with touch screen and method and system for protecting same
US20150277720A1 (en) Systems and Methods for Managing Operating Modes of an Electronic Device
CN104832446A (en) Method and device for controlling fan
US10073671B2 (en) Detecting noise or object interruption in audio video viewing and altering presentation based thereon
WO2013139220A1 (en) Standby operation control method and device
JP2018523089A (en) Adaptable depth detection system
EP2701302B1 (en) Amethod and apparatus for controlling vibration intensity according to situation awareness in electronic device
KR101788496B1 (en) Method and apparatus for controlling video image and terminal
CN104780311A (en) Terminal control method
CN105915803A (en) Shooting method and system based on sensor
US11856294B2 (en) Electronic device and focusing method for electronic device
CN104780312A (en) Terminal
GB2522748A (en) Detecting pause in audible input to device
US20160273908A1 (en) Prevention of light from exterior to a device having a camera from being used to generate an image using the camera based on the distance of a user to the device
CN104574799A (en) Anti-collision reminding system and method
JP2013021477A (en) Electronic apparatus, operation control method, and program
US20200192485A1 (en) Gaze-based gesture recognition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14891999

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14891999

Country of ref document: EP

Kind code of ref document: A1