WO2024022178A1 - Sensor position self-adaptive method, sensor, and sensor apparatus - Google Patents

Sensor position self-adaptive method, sensor, and sensor apparatus Download PDF

Info

Publication number
WO2024022178A1
WO2024022178A1 PCT/CN2023/108015 CN2023108015W WO2024022178A1 WO 2024022178 A1 WO2024022178 A1 WO 2024022178A1 CN 2023108015 W CN2023108015 W CN 2023108015W WO 2024022178 A1 WO2024022178 A1 WO 2024022178A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensor
angle
distance
coordinate axis
component
Prior art date
Application number
PCT/CN2023/108015
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 华为技术有限公司
Publication of WO2024022178A1 publication Critical patent/WO2024022178A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • G01D18/002Automatic recalibration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Telephone Function (AREA)

Abstract

A sensor position self-adaptive method, a sensor, and a sensor apparatus (400, 500), the method comprising: a sensor acquiring a first angle, the first angle being the angular variation of a current position of the sensor relative to a preset position, and the preset position being an initial position at which the sensor is mounted (S610); and according to the first angle, the sensor adjusting the angle of the current position to be the same as the angle of the preset position (S620). The sensor can sense changes in its own angle and adjust automatically, thereby ensuring the use performance of the sensor and improving the user experience.

Description

传感器位置的自适应方法、传感器和传感器装置Adaptive method for sensor position, sensor and sensor device
本申请要求于2022年07月28日提交中国国家知识产权局、申请号为202210901126.0、申请名称为“传感器位置的自适应方法、传感器和传感器装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority for the Chinese patent application submitted to the State Intellectual Property Office of China on July 28, 2022, with application number 202210901126.0 and the application name "Adaptive method for sensor position, sensor and sensor device", and its entire content has been approved This reference is incorporated into this application.
技术领域Technical field
本申请实施例涉及人工智能技术领域,更具体的,涉及一种传感器位置的自适应方法、传感器和传感器装置。The embodiments of the present application relate to the field of artificial intelligence technology, and more specifically, to an adaptive method for sensor position, a sensor, and a sensor device.
背景技术Background technique
传感器可以对目标物,例如人体的位置和轨迹进行感知和测量。在进行传感器的安装时,装维人员通常利用专业工具对传感器进行调测,将传感器固定于能够测量到更大角度范围的位置。但是,在用户的使用过程中,难免因为碰撞等因素导致传感器的角度发生变化,进而影响传感器的测量的准确性,影响用户体验。Sensors can sense and measure the position and trajectory of targets, such as human bodies. When installing the sensor, installation and maintenance personnel usually use professional tools to debug the sensor and fix the sensor in a position that can measure a wider angular range. However, during the user's use, it is inevitable that the angle of the sensor will change due to factors such as collision, which will affect the measurement accuracy of the sensor and affect the user experience.
发明内容Contents of the invention
本申请实施例提供一种传感器位置的自适应方法、传感器和传感器装置,能够对传感器的位置进行自动调整,保证传感器的使用性能,提升用户体验。Embodiments of the present application provide a sensor position adaptive method, a sensor and a sensor device, which can automatically adjust the position of the sensor, ensure the performance of the sensor, and improve the user experience.
第一方面,提供了一种传感器位置的自适应方法,应用于传感器,该方法包括:获取第一角度,该第一角度包括该传感器的当前位置相对于预设位置的角度变化量和变化方向,该预设位置为该传感器安装的初始位置;根据该第一角度,将该当前位置的角度调整为与该预设位置的角度相同。In a first aspect, an adaptive method for sensor position is provided, which is applied to a sensor. The method includes: obtaining a first angle, which includes the angular change amount and direction of change of the current position of the sensor relative to a preset position. , the preset position is the initial position where the sensor is installed; according to the first angle, the angle of the current position is adjusted to be the same as the angle of the preset position.
在本申请提供的实施例中,在传感器的使用过程中,该传感器能够时刻感知和测量自身的角度是否发生变化。若该传感器的角度发生变化,无需进行人工校准,该传感器能够自动调整自身的角度,也就是说,该传感器调整当前位置的角度,使当前位置的角度与预设位置的角度相同,该预设位置的角度可以为该传感器安装时设定的角度,实现传感器位置的自适应或者说自校准,从而能够保证传感器的角度变化前后测量信号的准确和一致。In the embodiment provided in this application, during the use of the sensor, the sensor can sense and measure whether its own angle changes at all times. If the angle of the sensor changes, there is no need for manual calibration. The sensor can automatically adjust its own angle. That is to say, the sensor adjusts the angle of the current position so that the angle of the current position is the same as the angle of the preset position. The angle of the position can be the angle set when the sensor is installed to realize the adaptive or self-calibration of the sensor position, thereby ensuring the accuracy and consistency of the measurement signal before and after the angle of the sensor changes.
结合第一方面,在第一方面的某些实现方式中,该预设位置位于第一坐标轴、第二坐标轴和第三坐标轴构成的坐标系中,该第一坐标轴、该第二坐标轴和该第三坐标轴两两垂直,该当前位置位于第四坐标轴、第五坐标轴和第六坐标轴构成的坐标系中,该第一角度包括第一角度分量、第二角度分量和第三角度分量中的至少一项,该第一角度分量为该第四坐标轴相对于该第一坐标轴的角度变化量,该第二角度分量为该第五坐标轴相对于该第二坐标轴的角度变化量,该第三角度分量为该第六坐标轴相对于该第三坐标轴的角度变化量,根据该第一角度,将该当前位置的角度调整为与该预设位置的角度相同,包括:根据该第一角度分量、该第二角度分量和该第三角度分量中的至少一项,将该当前位置的角度调整为与该预设位置的角度相同。With reference to the first aspect, in some implementations of the first aspect, the preset position is located in a coordinate system composed of a first coordinate axis, a second coordinate axis, and a third coordinate axis, and the first coordinate axis, the second coordinate axis The coordinate axes and the third coordinate axis are perpendicular to each other. The current position is located in the coordinate system composed of the fourth coordinate axis, the fifth coordinate axis and the sixth coordinate axis. The first angle includes a first angular component and a second angular component. and at least one of the third angular components, the first angular component is the angular change amount of the fourth coordinate axis relative to the first coordinate axis, and the second angular component is the angular change of the fifth coordinate axis relative to the second The angular change amount of the coordinate axis. The third angular component is the angular change amount of the sixth coordinate axis relative to the third coordinate axis. According to the first angle, the angle of the current position is adjusted to the angle of the preset position. The angles are the same, including: adjusting the angle of the current position to be the same as the angle of the preset position according to at least one of the first angle component, the second angle component and the third angle component.
在本申请提供的实施例中,以该传感器的预设位置所在的坐标系为原始坐标系,在该传感器的角度发生变化时,可以将该空间上的角度变化情况对应到该传感器原始坐标系的三个坐标轴各自的变化情况,该传感器可以自动检测原始坐标系的三个坐标轴变化的角度,根据三个坐标轴变化的角度,将当前位置的角度自动调整至与预设位置的角度相同,实现角度的自适应,保证角度变化前后测量信号的准确和一致。In the embodiments provided by this application, the coordinate system in which the preset position of the sensor is located is used as the original coordinate system. When the angle of the sensor changes, the angle change in the space can be mapped to the original coordinate system of the sensor. The sensor can automatically detect the changing angles of the three coordinate axes of the original coordinate system, and automatically adjust the angle of the current position to the angle of the preset position based on the changing angles of the three coordinate axes. The same, the angle can be adapted to ensure the accuracy and consistency of the measurement signal before and after the angle changes.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:发送第一通知信息,该第一通知信息用于指示该传感器的角度发生变化。With reference to the first aspect, in some implementations of the first aspect, the method further includes: sending first notification information, the first notification information being used to indicate that the angle of the sensor changes.
在本申请提供的实施例中,该传感器在检测到自身角度发生变化时,可以向配对的电子设备发送该第一通知信息,用于通知用户该传感器的角度发生了变化。在另一种可能的实现方式中,该传感器 通过告警装置向外界发送告警信息,即该第一通知信息,通知用户该传感器的角度发生了变化,便于用户了解该传感器的工作状态。In the embodiment provided by this application, when the sensor detects that its own angle changes, it can send the first notification information to the paired electronic device to notify the user that the angle of the sensor has changed. In another possible implementation, the sensor The alarm information, that is, the first notification information, is sent to the outside world through the alarm device, notifying the user that the angle of the sensor has changed, so that the user can understand the working status of the sensor.
该传感器可以在感知到自身角度发生变化时,发送该第一通知信息;也可以在将角度调整回与预设位置的角度相同的同时,发送该第一通知信息;也可以在调整完成后发送该第一通知信息,本申请对此不作限定。The sensor can send the first notification information when it senses a change in its own angle; it can also send the first notification information while adjusting the angle back to the same angle as the preset position; it can also send the first notification information after the adjustment is completed. This first notification information is not limited in this application.
基于本申请所提供的方案,在传感器发生角度变化时,向外界发送通知信息,能够使得用户知晓传感器的工作状态,提升用户体验。Based on the solution provided by this application, when the angle of the sensor changes, notification information is sent to the outside world, so that the user can know the working status of the sensor and improve the user experience.
结合第一方面,在第一方面的某些实现方式中,该第一通知信息还用于指示该第一角度分量、该第二角度分量和该第三角度分量中的至少一项。In conjunction with the first aspect, in some implementations of the first aspect, the first notification information is also used to indicate at least one of the first angular component, the second angular component and the third angular component.
在本申请提供的实施例中,该传感器还可以将各个坐标轴变化的角度,或者说该传感器调整的角度发送给配对的电子设备,便于用户获知该传感器的使用情况以及工作状态,优化用户体验。In the embodiment provided by this application, the sensor can also send the angle of change of each coordinate axis, or the angle of adjustment of the sensor, to the paired electronic device, so that the user can learn the usage and working status of the sensor and optimize the user experience. .
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:获取第一距离,该第一距离为该传感器的当前位置相对于该预设位置的距离变化量。With reference to the first aspect, in some implementations of the first aspect, the method further includes: obtaining a first distance, where the first distance is a distance change of the current position of the sensor relative to the preset position.
在本申请提供的实施例中,该传感器中还可以感知和测量自身的距离的变化情况。例如,使用过程中,该传感器由于碰撞导致位置发生移动甚至从固定位置脱落时,该传感器可以感知和测量自身的当前位置相对于固定位置,在高度或其他方向上的距离变化情况。In the embodiment provided by this application, the sensor can also sense and measure changes in its own distance. For example, when the sensor moves due to a collision or even falls off the fixed position during use, the sensor can sense and measure the change in distance in height or other directions between its current position and the fixed position.
结合第一方面,在第一方面的某些实现方式中,该第一距离包括第一距离分量、第二距离分量和第三距离分量中的至少一项,该第一距离分量为该传感器的当前位置到该第一坐标轴和该第二坐标轴所形成的平面的距离,该第二距离分量为该传感器的当前位置到该第一坐标轴和该第三坐标轴所形成的平面的距离,该第三距离分量为该传感器的当前位置到该第二坐标轴和该第三坐标轴所形成的平面的距离。In conjunction with the first aspect, in some implementations of the first aspect, the first distance includes at least one of a first distance component, a second distance component, and a third distance component, and the first distance component is of the sensor. The distance from the current position to the plane formed by the first coordinate axis and the second coordinate axis. The second distance component is the distance from the current position of the sensor to the plane formed by the first coordinate axis and the third coordinate axis. , the third distance component is the distance from the current position of the sensor to the plane formed by the second coordinate axis and the third coordinate axis.
在本申请提供的实施例中,以该传感器的预设位置所在的坐标系为原始坐标系,在该传感器的当前位置相对于预设位置发生距离变化时,该传感器可以自动检测当前位置相对于原始位置所在坐标系的三个面的距离,例如原始坐标系包括x轴、y轴和z轴,且原点为O,该第一距离分量为当前位置到xOy平面的距离,第二距离分量为当前位置到xOz平面的距离,第三距离分量为当前位置到yOz平面的距离。基于本申请所提供的方案,该传感器能够自动感知和检测自己的距离变化量和变化方向,并发送给用户,提醒用户对该传感器的距离变化进行调整和校准。In the embodiment provided by this application, the coordinate system in which the sensor's preset position is located is used as the original coordinate system. When the current position of the sensor changes in distance relative to the preset position, the sensor can automatically detect the distance between the current position and the preset position. The distance between the three faces of the coordinate system where the original position is located. For example, the original coordinate system includes the x-axis, y-axis, and z-axis, and the origin is O. The first distance component is the distance from the current position to the xOy plane, and the second distance component is The distance from the current position to the xOz plane, and the third distance component is the distance from the current position to the yOz plane. Based on the solution provided by this application, the sensor can automatically sense and detect its own distance change amount and direction, and send it to the user to remind the user to adjust and calibrate the distance change of the sensor.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:发送第二通知信息,该第二通知信息用于指示该第一距离分量、该第二距离分量的大小和该第三距离分量中的至少一项。With reference to the first aspect, in some implementations of the first aspect, the method further includes: sending second notification information, the second notification information being used to indicate the first distance component, the size of the second distance component and the At least one of the third distance components.
在本申请提供的实施例中,该传感器可以向配对的电子设备发送第二通知信息,指示当前位置的距离变化强开,便于用户对该传感器的位置进行调整,将该传感器调整至预设位置。In the embodiment provided by this application, the sensor can send second notification information to the paired electronic device, indicating the distance change of the current location, so that the user can adjust the position of the sensor and adjust the sensor to a preset position. .
在一种可能的实现方式中,该第一通知信息与该第二通知信息可以为同一条信息,也就是说,在该传感器的距离和角度都发生了变化时,该传感器可以将角度和距离的变化情况同时发送给配对的电子设备,或者发送给告警装置。In a possible implementation, the first notification information and the second notification information can be the same piece of information. That is to say, when both the distance and angle of the sensor change, the sensor can change the angle and distance. The changes are simultaneously sent to the paired electronic device or to the alarm device.
第二方面,提供了一种传感器,该传感器包括:角度测量装置,用于获取第一角度,该第一角度包括传感器的当前位置相对于预设位置的角度变化量和变化方向,该预设位置为该传感器装置安装的初始位置;处理器,该处理器与该角度测量装置相连接,该处理器用于从该角度测量装置获取该第一角度;该调节装置,该调节装置与该处理器相连接,该调节装置用于从处理器获取该第一角度,并根据该第一角度,驱动该传感器将当前位置的角度调整为与该预设位置的角度相同。In a second aspect, a sensor is provided. The sensor includes: an angle measurement device for acquiring a first angle. The first angle includes the angular change amount and direction of change of the current position of the sensor relative to a preset position. The preset position is The position is the initial position of installation of the sensor device; a processor, the processor is connected to the angle measurement device, the processor is used to obtain the first angle from the angle measurement device; the adjustment device, the adjustment device and the processor Connected, the adjustment device is used to obtain the first angle from the processor, and drive the sensor to adjust the angle of the current position to be the same as the angle of the preset position according to the first angle.
结合第二方面,在第二方面的某些实现方式中,该预设位置位于第一坐标轴、第二坐标轴和第三坐标轴构成的坐标系中,该第一坐标轴、该第二坐标轴和该第三坐标轴两两垂直,该当前位置位于第四坐标轴、第五坐标轴和第六坐标轴构成的坐标系中,该第一角度包括第一角度分量、第二角度分量和第三角度分量中的至少一项,该第一角度分量为该第四坐标轴相对于该第一坐标轴的角度变化量,该第二角度分量为该第五坐标轴相对于该第二坐标轴的角度变化量,该第三角度分量为该第六坐标轴相对于该第三坐标轴的角度变化量,该调节装置具体用于:根据该第一角度分量、该第二角度分量和该第三角度分量中的至少一项,驱动该传感器将当前位置的角度调整为与该预设位置的角度相同。With reference to the second aspect, in some implementations of the second aspect, the preset position is located in a coordinate system composed of a first coordinate axis, a second coordinate axis, and a third coordinate axis, and the first coordinate axis, the second coordinate axis The coordinate axes and the third coordinate axis are perpendicular to each other. The current position is located in the coordinate system composed of the fourth coordinate axis, the fifth coordinate axis and the sixth coordinate axis. The first angle includes a first angular component and a second angular component. and at least one of the third angular components, the first angular component is the angular change amount of the fourth coordinate axis relative to the first coordinate axis, and the second angular component is the angular change of the fifth coordinate axis relative to the second The angular change amount of the coordinate axis, the third angular component is the angular change amount of the sixth coordinate axis relative to the third coordinate axis, the adjustment device is specifically used to: according to the first angular component, the second angular component and At least one of the third angle components drives the sensor to adjust the angle of the current position to be the same as the angle of the preset position.
结合第二方面,在第二方面的某些实现方式中,该处理器还用于,发送第一通知信息,该第一通 知信息用于指示该传感器的角度发生变化。In conjunction with the second aspect, in some implementations of the second aspect, the processor is further configured to send first notification information. Information is used to indicate changes in the angle of the sensor.
结合第二方面,在第二方面的某些实现方式中,该第一通知信息用于指示该第一角度分量、该第二角度分量和该第三角度分量。In conjunction with the second aspect, in some implementations of the second aspect, the first notification information is used to indicate the first angular component, the second angular component and the third angular component.
结合第二方面,在第二方面的某些实现方式中,该传感器还包括:距离测量装置,该距离测量装置与该处理器相连接,该距离测量装置用于获取第一距离,并向该处理器发送该第一距离,该第一距离为该传感器的当前位置相对于该预设位置的距离变化量。With reference to the second aspect, in some implementations of the second aspect, the sensor further includes: a distance measurement device connected to the processor, the distance measurement device is used to obtain the first distance and send the signal to the processor. The processor sends the first distance, which is a distance change of the current position of the sensor relative to the preset position.
结合第二方面,在第二方面的某些实现方式中,该第一距离包括第一距离分量、第二距离分量和第三距离分量中的至少一项,该第一距离分量为该传感器的当前位置到第一坐标轴和第二坐标轴所形成的平面的距离,该第二距离分量为该传感器的当前位置到该第一坐标轴和该第三坐标轴所形成的平面的距离,该第三距离分量为该传感器的当前位置到该第二坐标轴和该第三坐标轴所形成的平面之间的距离。In conjunction with the second aspect, in some implementations of the second aspect, the first distance includes at least one of a first distance component, a second distance component, and a third distance component, and the first distance component is of the sensor. The distance from the current position to the plane formed by the first coordinate axis and the second coordinate axis. The second distance component is the distance from the current position of the sensor to the plane formed by the first coordinate axis and the third coordinate axis. The second distance component is the distance from the current position of the sensor to the plane formed by the first coordinate axis and the third coordinate axis. The third distance component is the distance between the current position of the sensor and the plane formed by the second coordinate axis and the third coordinate axis.
结合第二方面,在第二方面的某些实现方式中,该处理器还用于,发送第二通知信息,该第二通知信息用于指示该第一距离分量、该第二距离分量和该第三距离分量中的至少一项。In conjunction with the second aspect, in some implementations of the second aspect, the processor is further configured to send second notification information, where the second notification information is used to indicate the first distance component, the second distance component and the At least one of the third distance components.
第三方面,提供了一种传感器装置,该传感器装置包括如上述第二方面和上述第二方面的任意一种实现方式中的传感器。In a third aspect, a sensor device is provided. The sensor device includes the sensor in the above-mentioned second aspect and any one of the implementations of the above-mentioned second aspect.
第四方面,提供了一种传感器装置,该传感器装置包括本体和底座,该本体与该底座转动连接,该本体中设置有角度测量装置,该角度测量装置用于测量该传感器装置的角度变化。In a fourth aspect, a sensor device is provided. The sensor device includes a body and a base. The body is rotationally connected to the base. An angle measurement device is provided in the body. The angle measurement device is used to measure the angle change of the sensor device.
结合第四方面,在第四方面的某些实现方式中,该底座中设置有距离测量装置,该距离测量装置用于测量该传感器装置的距离变化。In conjunction with the fourth aspect, in some implementations of the fourth aspect, a distance measuring device is provided in the base, and the distance measuring device is used to measure distance changes of the sensor device.
结合第四方面,在第四方面的某些实现方式中,该传感器装置为人体传感器的装置。In conjunction with the fourth aspect, in some implementations of the fourth aspect, the sensor device is a human body sensor device.
第五方面,提供了一种传感器装置,应用于传感器,该传感器装置包括:获取单元,用于获取第一角度,该第一角度包括传感器的当前位置相对于预设位置的角度变化量和变化方向,该预设位置为该传感器安装的初始位置;处理单元,用于根据该第一角度,驱动该传感器将当前位置的角度调整为与该预设位置的角度相同。In a fifth aspect, a sensor device is provided, which is applied to a sensor. The sensor device includes: an acquisition unit configured to acquire a first angle. The first angle includes the angular change amount and change of the current position of the sensor relative to the preset position. direction, the preset position is the initial position where the sensor is installed; the processing unit is configured to drive the sensor to adjust the angle of the current position to be the same as the angle of the preset position according to the first angle.
结合第五方面,在第五方面的某些实现方式中,该预设位置位于第一坐标轴、第二坐标轴和第三坐标轴构成的坐标系中,该第一坐标轴、该第二坐标轴和该第三坐标轴两两垂直,该当前位置位于第四坐标轴、第五坐标轴和第六坐标轴构成的坐标系中,该第一角度包括第一角度分量、第二角度分量和第三角度分量中的至少一项,该第一角度分量为该第四坐标轴相对于该第一坐标轴的角度变化量,该第二角度分量为该第五坐标轴相对于该第二坐标轴的角度变化量,该第三角度分量为该第六坐标轴相对于该第三坐标轴的角度变化量,该处理单元具体用于:根据该第一角度分量、该第二角度分量和该第三角度分量中的至少一项,驱动该传感器将该当前位置的角度调整为与该预设位置的角度相同。With reference to the fifth aspect, in some implementations of the fifth aspect, the preset position is located in a coordinate system composed of a first coordinate axis, a second coordinate axis, and a third coordinate axis, and the first coordinate axis, the second coordinate axis The coordinate axes and the third coordinate axis are perpendicular to each other. The current position is located in the coordinate system composed of the fourth coordinate axis, the fifth coordinate axis and the sixth coordinate axis. The first angle includes a first angular component and a second angular component. and at least one of the third angular components, the first angular component is the angular change amount of the fourth coordinate axis relative to the first coordinate axis, and the second angular component is the angular change of the fifth coordinate axis relative to the second The angular change amount of the coordinate axis, the third angular component is the angular change amount of the sixth coordinate axis relative to the third coordinate axis, the processing unit is specifically configured to: according to the first angular component, the second angular component and At least one of the third angle components drives the sensor to adjust the angle of the current position to be the same as the angle of the preset position.
结合第五方面,在第五方面的某些实现方式中,该装置还包括发送单元,用于发送第一通知信息,该第一通知信息用于指示该传感器的角度发生变化。In conjunction with the fifth aspect, in some implementations of the fifth aspect, the device further includes a sending unit configured to send first notification information, where the first notification information is used to indicate that the angle of the sensor changes.
结合第五方面,在第五方面的某些实现方式中,该第一通知信息用于指示该第一角度分量、该第二角度分量和该第三角度分量中的至少一项。In conjunction with the fifth aspect, in some implementations of the fifth aspect, the first notification information is used to indicate at least one of the first angular component, the second angular component and the third angular component.
结合第五方面,在第五方面的某些实现方式中,该获取单元还用于,获取第一距离,该第一距离为该传感器的当前位置相对于该预设位置的距离变化量。In conjunction with the fifth aspect, in some implementations of the fifth aspect, the acquisition unit is further configured to acquire a first distance, where the first distance is a distance change of the current position of the sensor relative to the preset position.
结合第五方面,在第五方面的某些实现方式中,该第一距离包括第一距离分量、第二距离分量和第三距离分量中的至少一项,该第一距离分量为该传感器的当前位置到第一坐标轴和第二坐标轴所形成的平面的距离,该第二距离分量为该传感器的当前位置到该第一坐标轴和该第三坐标轴所形成的平面的距离,该第三距离分量为该传感器的当前位置到该第二坐标轴和该第三坐标轴所形成的平面之间的距离。In conjunction with the fifth aspect, in some implementations of the fifth aspect, the first distance includes at least one of a first distance component, a second distance component, and a third distance component, and the first distance component is of the sensor. The distance from the current position to the plane formed by the first coordinate axis and the second coordinate axis. The second distance component is the distance from the current position of the sensor to the plane formed by the first coordinate axis and the third coordinate axis. The second distance component is the distance from the current position of the sensor to the plane formed by the first coordinate axis and the third coordinate axis. The third distance component is the distance between the current position of the sensor and the plane formed by the second coordinate axis and the third coordinate axis.
结合第五方面,在第五方面的某些实现方式中,该发送单元还用于,发送第二通知信息,该第二通知信息用于指示该第一距离分量、该第二距离分量和该第三距离分量中的至少一项。In conjunction with the fifth aspect, in some implementations of the fifth aspect, the sending unit is further configured to send second notification information, where the second notification information is used to indicate the first distance component, the second distance component and the At least one of the third distance components.
第六方面,提供了一种芯片系统,该芯片系统包括至少一个处理器,当指令程序在该至少一个处理器中执行时,使得如上述第一方面和第一方面的任意一种实现方式的方法得以实现。In a sixth aspect, a chip system is provided. The chip system includes at least one processor. When the instruction program is executed in the at least one processor, the above-mentioned first aspect and any one of the implementations of the first aspect are implemented. method is implemented.
第七方面,提供了一种计算机程序存储介质,所述计算机可读介质存储有程序代码,当所述计算 机程序代码在计算机上运行时,使得计算机执行如上述第一方面以及第一方面中的任意一种实现方式的方法。In a seventh aspect, a computer program storage medium is provided. The computer readable medium stores program code. When the computer program When the machine program code is run on a computer, it causes the computer to execute the method described in the above first aspect and any one of the first aspect implementations.
附图说明Description of drawings
图1是本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
图2是本申请实施例提供的一种电子设备的软件结构框图。Figure 2 is a software structure block diagram of an electronic device provided by an embodiment of the present application.
图3是本申请实施例适用的系统架构示意图。Figure 3 is a schematic diagram of the system architecture applicable to the embodiment of this application.
图4是本申请实施例提供的一种传感器装置的结构示意图。Figure 4 is a schematic structural diagram of a sensor device provided by an embodiment of the present application.
图5是本申请实施例提供的一种传感器装置的结构示意图。Figure 5 is a schematic structural diagram of a sensor device provided by an embodiment of the present application.
图6是本申请实施例提供的一种传感器位置的自适应方法的流程示意图。FIG. 6 is a schematic flowchart of a sensor position adaptation method provided by an embodiment of the present application.
图7是本申请实施例提供的一种传感器测量方式的示意图。FIG. 7 is a schematic diagram of a sensor measurement method provided by an embodiment of the present application.
图8是本申请实施例提供的一种传感器测量方式的示意图。Figure 8 is a schematic diagram of a sensor measurement method provided by an embodiment of the present application.
图9是本申请实施例提供的一种传感器测量方式的示意图。Figure 9 is a schematic diagram of a sensor measurement method provided by an embodiment of the present application.
图10是本申请实施例提供的一种传感器装置的结构框图。Figure 10 is a structural block diagram of a sensor device provided by an embodiment of the present application.
图11是本申请实施例提供的一种电子设备用户界面的示意图。Figure 11 is a schematic diagram of an electronic device user interface provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。Reference in this specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Therefore, the phrases "in one embodiment", "in some embodiments", "in other embodiments", "in other embodiments", etc. appearing in different places in this specification are not necessarily References are made to the same embodiment, but rather to "one or more but not all embodiments" unless specifically stated otherwise.
本申请实施例中,“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),表示:a,b,c,a和b,a和c,b和c,或者a和b和c,其中a,b,c可以是单个,也可以是多个。In the embodiments of this application, "at least one of the following" or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items). For example, at least one of a, b or c means: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can It can be single or multiple.
术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。The terms “including,” “includes,” “having,” and variations thereof all mean “including but not limited to,” unless otherwise specifically emphasized.
本申请实施例的方法应用于传感器,例如人体传感器,该传感器可以与电子设备连接配对,传感器将工作状态等信息发送给电子设备,并在该电子设备上呈现。示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,指南针190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。The method of the embodiment of the present application is applied to sensors, such as human body sensors. The sensor can be connected and paired with an electronic device. The sensor sends information such as working status to the electronic device and presents it on the electronic device. By way of example, FIG. 1 shows a schematic structural diagram of an electronic device 100 . The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (SIM) card interface 195, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备100也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备100处理数据 或执行指令的效率。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processing unit (NPU), etc. Among them, different processing units can be independent components or integrated in one or more processors. In some embodiments, electronic device 100 may also include one or more processors 110 . Among them, the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions. In some other embodiments, the processor 110 may also be provided with a memory for storing instructions and data. By way of example, the memory in processor 110 may be a cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the data processing efficiency of the electronic device 100. or the efficiency with which instructions are executed.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口,集成电路间音频(nter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,SIM卡接口,和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。In some embodiments, processor 110 may include one or more interfaces. Interfaces may include inter-integrated circuit (I2C) interface, inter-integrated circuit sound (I2S) interface, pulse code modulation (PCM) interface, universal asynchronous receiver and transmitter (universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface, and/or USB interface, etc. Among them, the USB interface 130 is an interface that complies with USB standard specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. The USB interface 130 can also be used to connect headphones and play audio through the headphones.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142, it can also provide power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, wireless communication module 160, etc. The power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters. In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communication including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,WiFi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (WiFi) network), Bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED)、柔性发光二 极管(flex light-emitting diode,FLED)、Miniled、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。The display screen 194 is used to display images, videos, etc. Display 194 includes a display panel. The display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light emitting diode Flex light-emitting diodes (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc. In some embodiments, electronic device 100 may include one or more display screens 194.
电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。ISP用于处理摄像头193反馈的数据,摄像头193用于捕获静态图像或视频。视频编解码器用于对数字视频压缩或解压缩。The electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. The ISP is used to process data fed back by the camera 193, which is used to capture still images or videos. Video codecs are used to compress or decompress digital video.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别、人脸识别、语音识别、文本理解等。NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can continuously learn by itself. The NPU can realize intelligent cognitive applications of the electronic device 100, such as image recognition, face recognition, speech recognition, text understanding, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. Such as saving music, videos, etc. files in external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的方法,以及各种应用以及数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用(比如图库、联系人等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储部件,闪存部件,通用闪存存储器(universal flash storage,UFS)等。在一些实施例中,处理器110可以通过运行存储在内部存储器121的指令,和/或存储在设置于处理器110中的存储器的指令,来使得电子设备100执行本申请实施例中所提供的方法,以及其他应用及数据处理。电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。Internal memory 121 may be used to store one or more computer programs including instructions. The processor 110 can execute the above instructions stored in the internal memory 121 to cause the electronic device 100 to execute the methods provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the stored program area can store the operating system; the stored program area can also store one or more applications (such as photo galleries, contacts, etc.). The storage data area may store data created during use of the electronic device 100 (such as photos, contacts, etc.). In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (UFS), etc. In some embodiments, the processor 110 can cause the electronic device 100 to execute the instructions provided in the embodiments of the present application by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110 . methods, and other applications and data processing. The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. For example, music playback, recording, etc.
传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor. 180L, bone conduction sensor 180M, etc.
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。FIG. 2 is a software structure block diagram of the electronic device 100 according to the embodiment of the present application. The layered architecture divides the software into several layers, and each layer has clear roles and division of labor. The layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime and system libraries, and kernel layer. The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机、图库、日历、通话、地图、导航、WLAN、蓝牙、音乐、视频、短信息等。As shown in Figure 2, the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
其中,第一应用位于该应用程序层,也就是说,可以由应用程序层的任意一个应用程序触发对远端系统服务的调用。The first application is located in the application layer, that is to say, any application in the application layer can trigger the call to the remote system service.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架,应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器、内容提供器、视图系统、电话管理器、资源管理器、通知管理器等。As shown in Figure 2, the application framework layer can include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
窗口管理器用于管理窗口程序,窗口管理器可以获取显示屏大小,判断是否有状态栏、锁定屏幕、截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频、图像、音频、拨打和接听的电话、浏览历史和书签、电话簿等。Content providers are used to store and retrieve data and make this data accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, etc. A view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, call status management (including connected, hung up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串、图标、图片、布局文件、视频文件等等。 The resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息、发出提示音、电子设备振动、指示灯闪烁等。The notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text messages are prompted in the status bar, beeps are emitted, electronic devices vibrate, lights flash, etc.
系统库可以包括多个功能模块。例如:表面管理器(surface manager)、媒体库(media libraries)、三维图形处理库(例如:OpenGL ES)、2D图形引擎(例如:SGL)等。System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (media libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频、视频格式回放和录制以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4、H.264、MP3、AAC、AMR、JPG和PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG and PNG, etc.
三维图形处理库用于实现三维图形绘图、图像渲染、合成和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D Graphics Engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动、摄像头驱动、音频驱动、传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
以下介绍本申请实施例适用的系统架构,如图3所示,在家居场景下,该传感器可以为人体传感器,或者可以称为人体接近传感器,该人体传感器可以用于感知人体信号以及人体运动轨迹等。该传感器也可以应用于工厂、智能驾驶等不同的场景下,本申请对该传感器的应用场景不作限定。该传感器可以采用以下感知技术中的一种或多种进行信号感知:毫米波(millimeter wave,mmW)、无线保真(wireless fidelity,WiFi)、蓝牙(bluetooth,BT)、超宽带(ultra-wideband,UWB)以及直接飞行时间(direct time-of-flight,DTOF)等。The following introduces the system architecture applicable to the embodiments of this application, as shown in Figure 3. In a home scenario, the sensor can be a human body sensor, or can be called a human body proximity sensor. The human body sensor can be used to sense human body signals and human body movement trajectories. wait. The sensor can also be used in different scenarios such as factories and smart driving. This application does not limit the application scenarios of the sensor. The sensor can use one or more of the following sensing technologies for signal sensing: millimeter wave (mmW), wireless fidelity (WiFi), Bluetooth (bluetooth, BT), ultra-wideband (ultra-wideband) , UWB) and direct time-of-flight (DTOF), etc.
该传感器可以用于感知该传感器与目标物(例如人体)的距离和角度,以及目标物的移动情况等信息,并将测量信号例如距离和/或角度信号传输到主芯片,主芯片可以通过天线输入输出接口(antenna,ANT)向其他设备传输(TX)BT或WiFi信号,或接收(RX)其他设备的BT或WiFi信号,实现设备之间的联动。示例性地,在智能家居场景下,该传感器可以通过主芯片与智能灯WiFi或BT连接,该传感器在夜间检测到有人移动时,控制智能灯打开;又例如,该传感器可以与空调建立连接,在检测到主人打开大门回家时,控制空调打开,调节室温至适宜温度。The sensor can be used to sense the distance and angle between the sensor and the target (such as the human body), as well as the movement of the target, and transmit measurement signals such as distance and/or angle signals to the main chip. The main chip can pass the antenna The input and output interface (antenna, ANT) transmits (TX) BT or WiFi signals to other devices, or receives (RX) BT or WiFi signals from other devices to achieve linkage between devices. For example, in a smart home scenario, the sensor can be connected to the smart light WiFi or BT through the main chip. When the sensor detects someone moving at night, it controls the smart light to turn on; for another example, the sensor can establish a connection with the air conditioner. When it is detected that the owner opens the door to go home, the air conditioner is controlled to turn on and the room temperature is adjusted to a suitable temperature.
该传感器中还可以包括角度测量装置,该角度测量装置也可以为角度传感器,用于感知和测量该传感器的角度变化情况,便于对自身的角度进行校准和适应。该传感器中还可以包括距离测量装置,该距离测量装置也可以为距离传感器,用于感知和测量该传感器的距离变化情况。The sensor may also include an angle measurement device, which may also be an angle sensor, used to sense and measure angle changes of the sensor to facilitate calibration and adaptation of its own angle. The sensor may also include a distance measuring device, which may also be a distance sensor, for sensing and measuring distance changes of the sensor.
该主芯片可以设置于传感器的主板上,该主芯片可以为处理器,该主芯片也可以为支持BT或WiFi传输的系统级芯片(system on chip,SoC),该SoC为集成了系统关键功能的芯片。例如,该SoC可以进行信号的传输和接收,实现该传感器与其他设备的联动;该SoC还可以控制红绿蓝发光二极管(red green blue light-emitting diode,RGB LED)的显示指示该传感器的工作状态;该SoC可以与电子设备建立连接,实现传感器与电子设备之间的信息收发,电子设备可以对传感器进行功能参数设置和重置,并便于用户在电子设备上随时随地地查看该传感器的工作状态;再例如,该SoC还可以对传感器传输的感知信号进行处理,并驱动马达等调节装置控制传感器进行角度调整。该SoC可以根据实际需求赋予具体的功能,本申请对此不作限定。The main chip can be set on the motherboard of the sensor. The main chip can be a processor. The main chip can also be a system on chip (SoC) that supports BT or WiFi transmission. The SoC integrates key functions of the system. of chips. For example, the SoC can transmit and receive signals to realize linkage between the sensor and other devices; the SoC can also control the display of red green blue light-emitting diode (RGB LED) to indicate the work of the sensor. status; the SoC can establish a connection with the electronic device to realize the sending and receiving of information between the sensor and the electronic device. The electronic device can set and reset the functional parameters of the sensor, and facilitate the user to view the work of the sensor on the electronic device anytime and anywhere. status; for another example, the SoC can also process the sensing signal transmitted by the sensor, and drive the motor and other adjustment devices to control the sensor to adjust the angle. The SoC can be provided with specific functions according to actual needs, which is not limited in this application.
图4是本申请实施例提供的一种传感器装置的结构示意图,如图4所示,该传感器装置400可以包括转动部分410和固定部分440,该转动部分410也可以称为本体410,该固定部分440也可以称为底座440。用户可以根据实际使用需求将该底座440固定于桌面,或者倒挂于墙顶,或者固定于墙面等,该固定方式可以为粘接,也可以为螺接等,本申请对该传感器装置的固定方式不作限定。Figure 4 is a schematic structural diagram of a sensor device provided by an embodiment of the present application. As shown in Figure 4, the sensor device 400 may include a rotating part 410 and a fixed part 440. The rotating part 410 may also be called a body 410. The fixed part Portion 440 may also be referred to as base 440. The user can fix the base 440 on the desktop, hang it upside down on the top of the wall, or fix it on the wall according to actual needs. The fixing method can be adhesive, screw connection, etc. This application fixes the sensor device. The method is not limited.
该本体410与底座440转动连接,示例性地,该传感器装置还可以包括连杆420和转轴430,该转轴430可以设置在该底座440上,使得本体410与连杆420作为一个整体可以以转轴430为中心作360°旋转,使得该传感器装置更能够满足用户使用需求,监测更多方位的信号。该连杆420的一端与转轴430连接,另一端与本体410相连接。该本体410可以在水平方向上进行360°旋转,示例性地,该本体410可以包括一个壳体(图中未示出),该壳体可以与该本体410的上下两端连接,使得该本体410可以围绕该固定的两端在水平方向上作360°旋转,该上下两端分别指该本体410在垂直于旋转方向上尺寸最大的部位的上端和下端。应理解,该传感器的结构仅作为示例说明,不应对本申请的传感器结 构和形态做出限定。The body 410 is rotatably connected to the base 440. For example, the sensor device may also include a connecting rod 420 and a rotating shaft 430. The rotating shaft 430 may be disposed on the base 440, so that the body 410 and the connecting rod 420 as a whole can rotate as a whole. 430 as the center for 360° rotation, making the sensor device more able to meet user needs and monitor signals from more directions. One end of the connecting rod 420 is connected to the rotating shaft 430 , and the other end is connected to the body 410 . The body 410 can rotate 360° in the horizontal direction. For example, the body 410 can include a shell (not shown in the figure), which can be connected to the upper and lower ends of the body 410 so that the body 410 can rotate 360° in the horizontal direction around the two fixed ends. The upper and lower ends respectively refer to the upper end and the lower end of the largest part of the body 410 perpendicular to the rotation direction. It should be understood that the structure of this sensor is only used as an example and should not be used to describe the sensor structure of the present application. Limit the structure and form.
由于传感器在安装时需要装维人员利用专业工具获取该传感器的高度和角度等信息,以便对感知信号进行校准适应,使得感知到的目标物信息在不同的安装高度和角度下,达到准确和一致。例如,传感器在出厂时通常包括不同的高度和角度的建议档位,用户也可以根据实际使用需求设置想要的高度和角度,无论上述哪种情况,都需要装维人员使用专业的测量工具获取该传感器的高度和角度。该方案的校准复杂度较大,并且该传感器若是由消费者自行购买和安装,则难以对传感器进行调测适应,从而影响该传感器的性能和体验。除了安装上的校准和适应较为复杂以外,在传感器的使用过程中,难以避免因为磕碰而导致传感器的高度或角度发生改变,此时,传感器无法感知自身的高度或角度是否发生变化,仍以安装时调测的高度和角度测试目标物信号,这将导致传感器感知到的目标物信息产生偏差,影响传感器性能。When installing the sensor, installation and maintenance personnel need to use professional tools to obtain information such as the height and angle of the sensor in order to calibrate and adapt the sensing signal so that the perceived target information is accurate and consistent at different installation heights and angles. . For example, sensors usually include recommended heights and angles when they leave the factory. Users can also set the desired height and angle according to actual usage needs. In either case, installation and maintenance personnel need to use professional measurement tools to obtain the desired height and angle. The height and angle of the sensor. The calibration complexity of this solution is relatively large, and if the sensor is purchased and installed by consumers themselves, it will be difficult to debug and adapt the sensor, thus affecting the performance and experience of the sensor. In addition to the complexity of calibration and adaptation during installation, it is difficult to avoid changes in the height or angle of the sensor due to bumps during use of the sensor. At this time, the sensor cannot sense whether its own height or angle has changed, and it still needs to be installed. Test the target signal at the height and angle during commissioning, which will cause deviations in the target information perceived by the sensor and affect sensor performance.
因此,本申请实施例提供了一种传感器装置500,能够自动感知角度和位置变化,并自动进行适应调整。如图5所示,在传感器装置500中设置角度测量装置511距离测量装置使传感器装置500能够感知到角度和距离的变化,进而实现自适应。Therefore, the embodiment of the present application provides a sensor device 500 that can automatically sense angle and position changes and automatically make adaptive adjustments. As shown in FIG. 5 , an angle measurement device 511 and a distance measurement device are provided in the sensor device 500 so that the sensor device 500 can sense changes in angle and distance, thereby realizing self-adaptation.
如图5所示,在该本体510中可以包括角度测量装置511,该角度测量装置511也可以为角度传感器,例如可以为陀螺仪等,本申请对此不作限定。该角度测量装置511可以用于测量该传感器的角度变化。在一些实施例中,该角度测量装置511还可以用于测量目标物与该传感器之间的俯仰角、目标物与该传感器的水平线之间的夹角等角度信息。As shown in FIG. 5 , the body 510 may include an angle measurement device 511 , and the angle measurement device 511 may also be an angle sensor, such as a gyroscope, which is not limited in this application. The angle measuring device 511 can be used to measure the angle change of the sensor. In some embodiments, the angle measurement device 511 can also be used to measure angle information such as the pitch angle between the target object and the sensor, the angle between the target object and the horizontal line of the sensor, and so on.
在一些实施例中,该本体510中还可以包括主板512,该角度测量装置511可以设置于该主板512上,并与该主板512建立连接。该主板512包括主芯片,或者也可以为处理器,该主芯片也可以为SoC。In some embodiments, the body 510 may also include a mainboard 512 , and the angle measurement device 511 may be disposed on the mainboard 512 and connected to the mainboard 512 . The motherboard 512 includes a main chip, which may also be a processor, and the main chip may also be an SoC.
在一些实施例中,在该底座540中可以设置距离测量装置541,该距离测量装置541可以用于测量该传感器装置的距离变化,该距离测量装置541也可以用于测量该传感器装置与地面的距离、该传感器装置与目标物的距离以及目标物的高度等距离信息。该距离测量装置541也可以为距离传感器,该距离测量装置541的测距技术可以包括以下感知技术中的一种或多种:激光、超声波、mmW和DTOF等,本申请对此不作限定。In some embodiments, a distance measurement device 541 may be provided in the base 540 . The distance measurement device 541 may be used to measure the distance change of the sensor device. The distance measurement device 541 may also be used to measure the distance between the sensor device and the ground. distance, the distance between the sensor device and the target, and the height of the target. The distance measurement device 541 may also be a distance sensor, and the distance measurement technology of the distance measurement device 541 may include one or more of the following sensing technologies: laser, ultrasonic, mmW, DTOF, etc., which is not limited in this application.
在一些实施例中,在该底座540中还可以包括副主板(图中未示出),该副主板可以与该距离测量装置541连接。In some embodiments, the base 540 may also include a secondary motherboard (not shown in the figure), and the secondary motherboard may be connected to the distance measuring device 541 .
在一些实施例中,该传感器装置中还可以包括调节装置(图中未示出),例如马达,该马达可以用于在该传感器装置的使用过程中,在角度发生变化时,驱动传感器装置进行角度调整;也可以用于根据用户的设置驱动传感器装置的角度进行相应地调整,或者说驱动本体510进行角度调整。该调节装置可以设置于该底座540中,或者也可以设置于该本体510中。In some embodiments, the sensor device may also include an adjustment device (not shown in the figure), such as a motor. The motor may be used to drive the sensor device when the angle changes during use of the sensor device. Angle adjustment; it can also be used to adjust the angle of the driving sensor device according to the user's settings, or drive the body 510 to adjust the angle. The adjustment device can be provided in the base 540 or can also be provided in the body 510 .
图6是本申请实施例提供的一种传感器位置的自适应方法,该传感器可以对应图5所描述的传感器装置,该自适应也可以称为自校准。Figure 6 is a sensor position adaptation method provided by an embodiment of the present application. The sensor can correspond to the sensor device described in Figure 5. This adaptation can also be called self-calibration.
S610,获取第一角度。S610, obtain the first angle.
具体地,该传感器中的角度测量装置511用于获取该第一角度,或者说,用于测量该第一角度。Specifically, the angle measuring device 511 in the sensor is used to obtain the first angle, or in other words, to measure the first angle.
该第一角度包括该传感器的当前位置相对于预设位置的角度变化量,或者,该第一角度也可以包括该传感器的角度变化方向。示例性地,该第一角度可以为北偏西30°。The first angle includes the angular change amount of the current position of the sensor relative to the preset position, or the first angle may also include the angular change direction of the sensor. For example, the first angle may be 30° north by west.
在一些实施例中,该预设位置位于第一坐标轴、第二坐标轴和第三坐标轴构成的坐标系中,该第一坐标轴、该第二坐标轴和该第三坐标轴两两垂直。该第一坐标轴可以为图7所示坐标系的x轴,该第二坐标轴可以为图7所示坐标系的y轴,该第三坐标轴可以为图7所示坐标系的z轴。该当前位置位于第四坐标轴、第五坐标轴和第六坐标轴构成的坐标系中,该第四坐标轴可以为图7所示坐标系中的x′轴,该第五坐标轴可以为图7所示坐标系中的y′轴,该第六坐标轴可以为图7所示坐标轴中的z′轴。在该传感器仅发生角度变化时,该x′y′z′坐标系与xyz坐标系的原点相同。In some embodiments, the preset position is located in a coordinate system composed of a first coordinate axis, a second coordinate axis, and a third coordinate axis, and the first coordinate axis, the second coordinate axis, and the third coordinate axis are in pairs. vertical. The first coordinate axis may be the x-axis of the coordinate system shown in Figure 7, the second coordinate axis may be the y-axis of the coordinate system shown in Figure 7, and the third coordinate axis may be the z-axis of the coordinate system shown in Figure 7 . The current position is located in the coordinate system composed of the fourth coordinate axis, the fifth coordinate axis and the sixth coordinate axis. The fourth coordinate axis can be the x' axis in the coordinate system shown in Figure 7, and the fifth coordinate axis can be The sixth coordinate axis may be the y′ axis in the coordinate system shown in FIG. 7 , and the sixth coordinate axis may be the z′ axis in the coordinate system shown in FIG. 7 . When the sensor only changes in angle, the origin of the x'y'z' coordinate system is the same as the xyz coordinate system.
该第一角度可以包括第一角度分量、第二角度分量和第三角度分量中的至少一项,该第一角度分量为该第四坐标轴相对于该第一坐标轴的角度变化量,也就是x′轴相对于x轴的角度变化量α1,该第二角度分量为该第五坐标轴相对于该第二坐标轴的角度变化量,也就是y′轴相对于y轴的角度变化量β2,该第三角度分量为该第六坐标轴相对于该第三坐标轴的角度变化量,也就是z′轴相对于z轴的角度变化量γ3,如图7所示。 The first angle may include at least one of a first angular component, a second angular component and a third angular component. The first angular component is an angular change amount of the fourth coordinate axis relative to the first coordinate axis, and also It is the angular change α 1 of the x′ axis relative to the x axis. The second angular component is the angular change of the fifth coordinate axis relative to the second coordinate axis, that is, the angular change of the y′ axis relative to the y axis. The third angular component is the angular change amount of the sixth coordinate axis relative to the third coordinate axis, that is, the angular change amount γ 3 of the z′ axis relative to the z axis, as shown in Figure 7 .
应理解,在该传感器的角度发生变化时,若x′轴相对于x轴发生转动,y′轴和/或z′也会相应地发生转动,也就是说,在转动后的位置上,α1、β2和γ3为确定的角度,进一步地,传感器根据α1、β2和γ3的大小即可将传感器在当前位置的角度调整为与预设位置的角度相同。It should be understood that when the angle of the sensor changes, if the x' axis rotates relative to the x axis, the y' axis and/or z' will also rotate accordingly. That is to say, at the rotated position, α 1 , β 2 and γ 3 are determined angles. Furthermore, the sensor can adjust the angle of the sensor at the current position to be the same as the angle at the preset position according to the sizes of α 1 , β 2 and γ 3 .
在一些实施例中,该传感器中的角度测量装置511可以测量得到三个坐标轴各自的角度转动量,也就是当前位置所在坐标系的各坐标轴与预设位置所在坐标系的各坐标轴的夹角,如表1所示。In some embodiments, the angle measurement device 511 in the sensor can measure the angular rotation amount of each of the three coordinate axes, that is, the difference between each coordinate axis of the coordinate system where the current position is located and each coordinate axis of the coordinate system where the preset position is located. angle, as shown in Table 1.
表1
Table 1
在一些实施例中,在该传感器获取第一角度之前,该方法还可以包括:确定预设位置,该预设位置为该传感器安装的初始位置。In some embodiments, before the sensor acquires the first angle, the method may further include: determining a preset position, the preset position being an initial position for installation of the sensor.
该预设位置,或者说该xyz坐标系,可以由该传感器中的角度测量装置511确定。例如,该传感器固定于墙面时,可以设定固定的位置为原点,以墙面高度方向为z轴方向,该墙面与地面连接位置方向为x轴方向,xOy平面平行于地面。The preset position, or the xyz coordinate system, can be determined by the angle measuring device 511 in the sensor. For example, when the sensor is fixed on the wall, the fixed position can be set as the origin, the wall height direction is the z-axis direction, the connection position between the wall and the ground is the x-axis direction, and the xOy plane is parallel to the ground.
该预设位置的角度可以为该本体510在预设位置的空间角度,示例性地,可以用该本体510与xOy平面的俯仰角,以及与xOz或yOz平面的夹角来表示。在该传感器的角度发生变化时,可以将该预设位置的角度视为0°以确定角度的偏转情况。The angle of the preset position can be the spatial angle of the body 510 at the preset position. For example, it can be represented by the pitch angle of the body 510 with the xOy plane, and the angle with the xOz or yOz plane. When the angle of the sensor changes, the angle of the preset position can be regarded as 0° to determine the deflection of the angle.
S620,根据该第一角度,将当前位置的角度调整为与该预设位置的角度相同。S620: According to the first angle, adjust the angle of the current position to be the same as the angle of the preset position.
该传感器中包括主芯片,也就是处理器,该处理器与该角度测量装置511相连接,该处理器可以从该角度测量装置511获取该第一角度,该处理器与该角度测量装置511的连接方式可以为BT连接或WiFi连接等方式。The sensor includes a main chip, that is, a processor. The processor is connected to the angle measurement device 511. The processor can obtain the first angle from the angle measurement device 511. The processor is connected to the angle measurement device 511. The connection method can be BT connection or WiFi connection.
该传感器中还包括调节装置,该调节装置与该处理器相连接,该调节装置可以为马达,该调节装置与该处理器的连接方式可以为BT连接或WiFi连接等方式。该处理器从该角度测量装置511获取该第一角度后,将该第一角度发送给该调节装置,该调节装置根据该第一角度,驱动该传感器将当前位置的角度调整为与该预设位置的角度相同。The sensor also includes an adjustment device, which is connected to the processor. The adjustment device can be a motor. The connection between the adjustment device and the processor can be a BT connection or a WiFi connection. After the processor obtains the first angle from the angle measurement device 511, it sends the first angle to the adjustment device. According to the first angle, the adjustment device drives the sensor to adjust the angle of the current position to be consistent with the preset angle. The angle of the position is the same.
在一些实施例中,该处理器还可以向该调节装置发送指示信息,指示该调节装置进行角度调整。In some embodiments, the processor may also send instruction information to the adjustment device to instruct the adjustment device to perform angle adjustment.
在一些实施例中,根据该第一角度,将当前位置的角度调整为与预设位置的角度相同,包括:根据该第一角度分量、该第二角度分量和该第三角度分量中的至少一项,将该当前位置的角度调整为与该预设位置的角度相同。该传感器可以自动感知和测量三个坐标轴的角度变化情况,并根据三个坐标轴的角度变化量以及变化方向将该传感器在当前位置的角度调整为与预设位置的角度相同。In some embodiments, adjusting the angle of the current position to the same angle as the preset position according to the first angle includes: according to at least one of the first angular component, the second angular component and the third angular component. One item, adjust the angle of the current position to be the same as the angle of the preset position. The sensor can automatically sense and measure the angle changes of the three coordinate axes, and adjust the angle of the sensor at the current position to be the same as the angle of the preset position based on the angle change amount and direction of the three coordinate axes.
具体地,该调节装置用于根据该第一角度分量、该第二角度分量和该第三角度分量中的至少一项,将该当前位置的角度调整为与该预设位置的角度相同。Specifically, the adjustment device is used to adjust the angle of the current position to be the same as the angle of the preset position according to at least one of the first angular component, the second angular component and the third angular component.
基于本申请所提供的方案,该传感器可以自动感知和测量当前位置的角度相对于预设位置的角度的变化情况,并根据该变化情况,将传感器的角度或者说传感器的本体510的角度转动至与原始位置的角度相同。Based on the solution provided by this application, the sensor can automatically sense and measure the change of the angle of the current position relative to the angle of the preset position, and according to the change, rotate the angle of the sensor or the angle of the sensor body 510 to The same angle as the original position.
在一些实施例中,该方法还包括:发送第一通知信息,该第一通知信息用于指示该传感器的角度发生变化。该传感器可以向配对的电子设备发送该第一通知信息,便于用户获知该传感器的角度变化和调整情况。也可以由该传感器的告警装置向外界发送告警信息,也就是该第一通知信息,例如指示灯闪烁或者告警音提示等方式,告知用户该传感器的角度变化和调整情况。In some embodiments, the method further includes: sending first notification information, the first notification information being used to indicate that the angle of the sensor changes. The sensor can send the first notification information to the paired electronic device to facilitate the user to learn the angle change and adjustment of the sensor. The alarm device of the sensor can also send alarm information to the outside world, that is, the first notification information, such as a flashing indicator light or an alarm sound prompt, etc. to inform the user of the angle change and adjustment of the sensor.
具体地,该处理器可以向配对的电子设备发送该第一通知信息,或者,该处理器可以向告警装置发送该第一通知信息,并由该告警装置向外界转发该第一通知信息。该处理器还可以向该告警装置发送指示信息,指示该告警装置进行告警,也就是转发该第一通知信息。Specifically, the processor may send the first notification information to the paired electronic device, or the processor may send the first notification information to the alarm device, and the alarm device forwards the first notification information to the outside world. The processor may also send instruction information to the alarm device to instruct the alarm device to alarm, that is, forward the first notification information.
在一些实施例中,该第一通知信息还用于指示该第一角度分量、该第二角度分量和该第三角度分量中的至少一项。In some embodiments, the first notification information is also used to indicate at least one of the first angle component, the second angle component and the third angle component.
在一些实施例中,该方法还包括:获取第一距离,该第一距离为该传感器的当前位置相对于该预 设位置的距离变化量。In some embodiments, the method further includes: obtaining a first distance, where the first distance is the current position of the sensor relative to the preset distance. Set the distance change of the position.
具体地,该距离测量装置541获取该第一距离。Specifically, the distance measuring device 541 obtains the first distance.
在该传感器的使用过程中,可能由于碰撞等导致传感器的位置脱离原固定位置,也就是当前位置相对于预设位置发生距离上的变化,该传感器中的距离测量装置541可以感知和测量该距离变化量和变化方向。During the use of the sensor, the position of the sensor may deviate from the original fixed position due to collision, that is, the current position changes in distance relative to the preset position. The distance measuring device 541 in the sensor can sense and measure the distance. Amount and direction of change.
在一些实施例中,该第一距离包括第一距离分量、第二距离分量和第三距离分量中的至少一项,该第一距离分量为该传感器的当前位置到该第一坐标轴和该第二坐标轴所形成的平面的距离,该第二距离分量为该传感器的当前位置到该第一坐标轴和该第三坐标轴所形成的平面的距离,该第三距离分量为该传感器的当前位置到该第二坐标轴和该第三坐标轴所形成的平面的距离。In some embodiments, the first distance includes at least one of a first distance component, a second distance component, and a third distance component, and the first distance component is from the current position of the sensor to the first coordinate axis and the first coordinate axis. The distance from the plane formed by the second coordinate axis. The second distance component is the distance from the current position of the sensor to the plane formed by the first coordinate axis and the third coordinate axis. The third distance component is the distance between the sensor and the plane formed by the first coordinate axis and the third coordinate axis. The distance from the current position to the plane formed by the second coordinate axis and the third coordinate axis.
该传感器的距离发生变化时,该传感器的当前位置的坐标系可以如图8所示的x″y″z″坐标系,该原点O″可以为该传感器的距离变化后,该传感器的底座540所在的位置。该第一距离分量可以为当前位置的坐标原点O″到预设位置所在的坐标系xOy所在平面的距离,该第二距离分量可以为当前位置的坐标原点O″到预设位置所在的坐标系xOz所在平面的距离,该第三距离分量可以为当前位置的坐标原点O″到预设位置所在的坐标系yOz所在平面的距离。该第一距离分量、第二距离分量和第三距离分量也可以包括该距离变化的方向,例如,当该第一距离分量的大小为负值时,可以表示该传感器的位置是往z轴负方向移动的。When the distance of the sensor changes, the coordinate system of the current position of the sensor can be the x"y"z" coordinate system as shown in Figure 8, and the origin O" can be the base 540 of the sensor after the distance of the sensor changes. location. The first distance component may be the distance from the coordinate origin O″ of the current position to the plane of the coordinate system xOy of the preset position, and the second distance component may be the distance from the coordinate origin O″ of the current position to the coordinate system of the preset position. The distance on the plane where xOz is located, the third distance component can be the distance from the coordinate origin O″ of the current position to the plane on which the coordinate system yOz is located at the preset position. The first distance component, the second distance component and the third distance component are also The direction in which the distance changes may be included. For example, when the magnitude of the first distance component is a negative value, it may mean that the position of the sensor moves in the negative direction of the z-axis.
应理解,在该传感器的角度和距离都发生了变化时,该传感器的第一角度分量、第二角度分量和第三角度分量的大小仍然分别为x″轴与x轴的夹角、y″轴与y轴的夹角、z″轴与z轴的夹角,相当于将x″y″z″移动回原x′y′z′位置,为x′轴与x轴的夹角、y′轴与y轴的夹角、z′轴与z轴的夹角。该角度测量装置511可以自动测量出该x″轴与x轴的夹角、y″轴与y轴的夹角、z″轴与z轴的夹角。It should be understood that when the angle and distance of the sensor change, the magnitudes of the first angular component, the second angular component and the third angular component of the sensor are still the angle between the x" axis and the x axis, y" respectively. The angle between the x-axis and the y-axis, the angle between the z″-axis and the z-axis, is equivalent to moving x″y″z″ back to the original x′y′z′ position, which is the angle between the x′-axis and the x-axis, y The angle between the ′ axis and the y axis, and the angle between the z′ axis and the z axis. The angle measuring device 511 can automatically measure the angle between the x″ axis and the x axis, the angle between the y″ axis and the y axis, and the angle between the z″ axis and the z axis.
在一些实施例中,该方法还包括:发送第二通知信息,该第二通知信息用于指示该第一距离分量、该第二距离分量和该第三距离分量中的至少一项。该第一距离分量可以包括该距离变化的方向,例如以距离大小的正负指示该传感器的位置沿坐标轴的正向或反向移动。In some embodiments, the method further includes: sending second notification information, the second notification information being used to indicate at least one of the first distance component, the second distance component and the third distance component. The first distance component may include the direction of the distance change, for example, the positive or negative value of the distance indicates the positive or negative movement of the sensor's position along the coordinate axis.
该传感器可以向配对的电子设备发送该第二通知信息,用户可以直接在电子设备上查看该传感器的距离变化情况,或者,该传感器的告警装置可以向外界发送告警信息,也就是该第二通知信息,告知用户该传感器发生距离变化,以便于用户对该传感器的固定位置进行调整。The sensor can send the second notification information to the paired electronic device, and the user can directly check the distance change of the sensor on the electronic device, or the alarm device of the sensor can send alarm information, that is, the second notification, to the outside world. Information to inform the user of the change in distance of the sensor so that the user can adjust the fixed position of the sensor.
具体地,该距离测量装置541与该处理器相连接,在该距离测量装置541获取该第一距离后,该距离测量装置541将该第一距离发送给该处理器,该处理器与该距离测量装置541的连接方式可以为BT连接或WiFi连接方式。该处理器向配对的电子设备发送该第二通知信息,或者,该处理器向告警装置发送该第二通知信息,并由该告警装置向外界转发该第二通知信息。该处理器还可以向该告警装置发送指示信息,指示该告警装置进行告警,也就是转发该第二通知信息。Specifically, the distance measurement device 541 is connected to the processor. After the distance measurement device 541 obtains the first distance, the distance measurement device 541 sends the first distance to the processor. The processor communicates with the distance The connection mode of the measurement device 541 may be a BT connection or a WiFi connection. The processor sends the second notification information to the paired electronic device, or the processor sends the second notification information to the alarm device, and the alarm device forwards the second notification information to the outside world. The processor may also send instruction information to the alarm device to instruct the alarm device to issue an alarm, that is, forward the second notification information.
通过本申请提供的实施例,该传感器可以时刻感知自身的角度和距离变化情况,在角度发生变化时,自动调整当前位置的角度至与预设位置的角度相同,从而保证角度变化前后测量信号的准确和一致。在距离发生变化时,通过通知信息指示用户对该传感器的位置进行调整。Through the embodiments provided by this application, the sensor can sense its own angle and distance changes at all times. When the angle changes, it automatically adjusts the angle of the current position to the same angle as the preset position, thereby ensuring the accuracy of the measurement signal before and after the angle change. Accurate and consistent. When the distance changes, the user is instructed to adjust the position of the sensor through notification information.
基于本申请实施例提供的传感器,还能够降低用户安装该传感器的难度。用户对该传感器进行安装时,该传感器中的距离测量装置541和角度测量装置511可以直接测量得到不同位置的高度和角度,并提示给用户,便于用户确定合适的安装位置。或者,该传感器可以包括不同的高度和角度档位,用户可以根据实际需要选择合适的档位,并通过该角度测量装置511和该距离测量装置541测量和感知用户是否将该传感器安装在了所选档位的对应位置,用户无需采用专业的校准工具即可进行该传感器的安装。Based on the sensor provided by the embodiment of the present application, it can also reduce the difficulty for users to install the sensor. When the user installs the sensor, the distance measuring device 541 and the angle measuring device 511 in the sensor can directly measure the height and angle of different positions and prompt the user to facilitate the user to determine the appropriate installation position. Alternatively, the sensor can include different height and angle gears. The user can select the appropriate gear according to actual needs, and measure and sense whether the user has installed the sensor at the desired location through the angle measuring device 511 and the distance measuring device 541. Select the corresponding position of the gear, and the user can install the sensor without using professional calibration tools.
图6至图8所描述的方法是由该传感器中的角度测量装置511测量预设位置所在坐标系中的三个坐标轴分别转动的角度,并根据三个坐标轴转动的角度对该传感器的角度进行,以下结合图9介绍本申请提供的另一种传感器角度的自适应方法,在该传感器的角度发生变化时,该传感器可以根据目标物相对于传感器的俯仰角以及与原始位置所在坐标系的y轴之间的夹角对角度进行调整。The method described in Figures 6 to 8 is to use the angle measurement device 511 in the sensor to measure the rotation angles of the three coordinate axes in the coordinate system where the preset position is located, and to measure the sensor based on the rotation angles of the three coordinate axes. Angle is carried out. The following is an adaptation method of the sensor angle provided by this application in conjunction with Figure 9. When the angle of the sensor changes, the sensor can adjust the angle of the sensor according to the pitch angle of the target relative to the sensor and the coordinate system of the original position. The angle is adjusted by the angle between the y-axes.
如图9所示,该传感器可以用于测量目标物例如人体的位置。As shown in Figure 9, the sensor can be used to measure the position of a target such as a human body.
示例性地,该传感器可以固定于墙面,假设以该传感器到地面的垂足为原点建立三轴坐标系,该传感器到地面的垂线所在直线为z轴,墙面与地面的交线为x轴,y轴则为垂直于该xOz面的坐标轴。 For example, the sensor can be fixed on the wall. Assume that a three-axis coordinate system is established with the perpendicular foot of the sensor to the ground as the origin. The straight line where the perpendicular line of the sensor to the ground is located is the z-axis, and the intersection line between the wall and the ground is The x-axis and the y-axis are the coordinate axes perpendicular to the xOz plane.
位于底座540中的距离测量装置541可以测量出该底座540也就是该传感器装置到地面的距离d,以及与人体的直线距离r,位于本体510中的角度测量装置511可以测量得到该目标物与该传感器的俯仰角θ,也就是该目标物和传感器之间的连线与xOy面的夹角,以及该传感器在xOy面的垂足和目标物在xOy面的垂足之间的连线与y轴之间的夹角 The distance measuring device 541 located in the base 540 can measure the distance d between the base 540, that is, the sensor device and the ground, and the straight-line distance r from the human body. The angle measuring device 511 located in the body 510 can measure the distance between the target object and the human body. The pitch angle θ of the sensor is the angle between the line between the target and the sensor and the xOy plane, as well as the line between the vertical foot of the sensor on the xOy plane and the vertical foot of the target on the xOy plane. The angle between the y-axes
假设该目标物的位置为(x0,y0,z0),z0即目标物的高度,则该目标物的位置可以由以下公式计算得到:
z1=r·sinθ         (1)


z0=d-z1          (4)
Assuming that the position of the target is (x 0 , y 0 , z 0 ), z 0 is the height of the target, then the position of the target can be calculated by the following formula:
z 1 =r·sinθ (1)


z 0 =dz 1 (4)
其中,z1为该目标物与该传感器之间的高度差,在该传感器的安装高度d低于目标物高度z0时,z0=d+z1,从而计算得到该目标物的位置(x0,y0,z0)。Among them, z 1 is the height difference between the target object and the sensor. When the installation height d of the sensor is lower than the height of the target object z 0 , z 0 =d+z 1 , thus calculating the position of the target object ( x 0 , y 0 , z 0 ).
当该传感器的角度发生变化时,上述的角θ和将随传感器的角度变化而相应地变化。仍以图7所示的坐标系对传感器的角度变化情况进行说明,x′y′z′为转动之后传感器所在的坐标系。When the angle of the sensor changes, the above angle θ and will change accordingly as the angle of the sensor changes. The angle change of the sensor is still explained using the coordinate system shown in Figure 7. x′y′z′ is the coordinate system where the sensor is located after rotation.
如上述的表1所示,假设该传感器转动后所在的坐标系的坐标轴分别为x′、y′和z′,该本体510中的角度测量装置511可以分别测量得到转动后的坐标轴与原始坐标轴之间的夹角:该x′轴与x轴的夹角为α1,与y轴的夹角为β1,与z轴的夹角为γ1;该y′轴与x轴的夹角为α2,与y轴的夹角为β2,与z轴的夹角为γ2;该z′轴与x轴的夹角为α3,与y轴的夹角为β3,与z轴的夹角为γ3。则转动后的坐标系x′y′z′与原坐标系xyz之间的转换关系可以由以下的式(5)、(6)和(7)表示:
x′=x·cosα1+y·cosβ1+z·cosγ1  (5)
y′=x·cosα2+y·cosβ2+z·cosγ2  (6)
z′=x·cosα3+y·cosβ3+z·cosγ3  (7)
As shown in Table 1 above, assuming that the coordinate axes of the coordinate system where the sensor is rotated are x', y' and z' respectively, the angle measuring device 511 in the body 510 can respectively measure the rotated coordinate axes and The angle between the original coordinate axes: the angle between the x′ axis and the x axis is α 1 , the angle between the x axis and the y axis is β 1 , and the angle between the z axis and the z axis is γ 1 ; the angle between the y′ axis and the x axis The angle between is α 2 , the angle between it and the y-axis is β 2 , and the angle between it and the z-axis is γ 2 ; the angle between the z′-axis and the x-axis is α 3 , and the angle between it and the y-axis is β 3 , the angle with the z-axis is γ 3 . Then the conversion relationship between the rotated coordinate system x′y′z′ and the original coordinate system xyz can be expressed by the following formulas (5), (6) and (7):
x′=x·cosα 1 +y·cosβ 1 +z·cosγ 1 (5)
y′=x·cosα 2 +y·cosβ 2 +z·cosγ 2 (6)
z′=x·cosα 3 +y·cosβ 3 +z·cosγ 3 (7)
在原始坐标系中已经测得该目标物的位置,也就是该x0、y0、z0和z1为已知数,结合式(1),也就是在转动后的坐标系下,该目标物相对于传感器的俯仰角为θ′如式(8)所示:
θ′=arcsinz′/r  (8)
The position of the target object has been measured in the original coordinate system, that is, x 0 , y 0 , z 0 and z 1 are known numbers. Combined with formula (1), that is, in the rotated coordinate system, the The pitch angle of the target relative to the sensor is θ′, as shown in equation (8):
θ′=arcsinz′/r (8)
应理解,在该传感器发生角度变化时,若参照物不发生位移,该传感器与该参照物之间的距离视为不变。It should be understood that when the angle of the sensor changes, if the reference object does not shift, the distance between the sensor and the reference object is regarded as unchanged.
类似地,结合上式(2),该参照物与该传感器的y轴夹角的大小如式(9)所示:
Similarly, combined with the above formula (2), the angle between the reference object and the y-axis of the sensor is The size of is shown in equation (9):
则Δθ=arcsinz′/r–θ    (10)
Then Δθ=arcsinz′/r–θ (10)
可以由角度测量装置511测量该θ和以及各坐标轴之间的夹角,并发送给SoC进行校准,也就是说,可以由SoC端执行上式(1)~(11)的运算,并向调节装置发送指示信息,指示调节装置根据Δθ和对该传感器的角度进行调整。或者,也可以角度测量装置511和/或距离测量装置541执行上式的运算,例如,由距离测量装置541执行上述目标物位置的计算,也就是执行上式(1)~(4)的运算,由角度测量装置511执行坐标系的转换的运算以及需要调整的角度的运算,也就是执行上式(5)~(11)的运算。该距离测量装置541和角度测量装置511之间可以以BT连接或WiFi连接的方式建立连接,用于传输角度和距离的测量结果等信息。The θ and and the angle between each coordinate axis, and send them to the SoC for calibration. That is to say, the SoC can perform the calculations of the above formulas (1) to (11) and send instruction information to the adjustment device, instructing the adjustment device according to Δθ and Adjust the angle of the sensor. Alternatively, the angle measurement device 511 and/or the distance measurement device 541 may also perform the calculation of the above formula. For example, the distance measurement device 541 performs the calculation of the target position, that is, performs the calculation of the above formulas (1) to (4). , the angle measuring device 511 performs the calculation of the coordinate system conversion and the calculation of the angle that needs to be adjusted, that is, the calculation of the above equations (5) to (11) is performed. The distance measuring device 541 and the angle measuring device 511 may be connected through a BT connection or a WiFi connection for transmitting angle and distance measurement results and other information.
基于本申请提供的实施例,在传感器中,例如在人体传感器中加入角度测量装置511和距离测量装置541,能够自动感知当前位置相对于预设位置的角度和距离变化情况,并在角度发生变化时自动对自己的角度进行调整,保证角度变化前后测量信号的准确和一致。利用本申请提供的传感器,还能够降低传感器的安装难度。Based on the embodiments provided by this application, adding an angle measurement device 511 and a distance measurement device 541 to a sensor, such as a human body sensor, can automatically sense the angle and distance changes of the current position relative to the preset position, and detect changes in the angle when the angle changes. It automatically adjusts its own angle at any time to ensure the accuracy and consistency of the measurement signal before and after the angle changes. Using the sensor provided by this application can also reduce the difficulty of sensor installation.
上文结合图6至图9介绍了本申请所提供的传感器位置的自适应方法,以下结合图10介绍能够支持以上方法实现的传感器装置。The sensor position adaptation method provided by the present application is introduced above with reference to Figures 6 to 9. Hereinafter, a sensor device that can support the implementation of the above method is introduced with reference to Figure 10.
图10是根据本申请方法实施例提供的一种传感器装置的结构框图,该传感器装置可具备上述方法实施例中传感器的功能,并用于执行上述方法实施例中由传感器执行的步骤。Figure 10 is a structural block diagram of a sensor device provided according to a method embodiment of the present application. The sensor device can have the function of the sensor in the above method embodiment, and is used to perform the steps performed by the sensor in the above method embodiment.
如图10所示,该传感器装置1000可以包括获取单元1010和处理单元1020。 As shown in FIG. 10 , the sensor device 1000 may include an acquisition unit 1010 and a processing unit 1020 .
获取单元1010可用于支持传感器装置1000获取测量信号,例如执行图6中的S610,以及执行上述方法实施例中传感器获取第一距离等由传感器执行的获取动作。The acquisition unit 1010 may be used to support the sensor device 1000 in acquiring measurement signals, for example, performing S610 in FIG. 6 , and performing acquisition actions performed by the sensor such as the sensor acquiring the first distance in the above method embodiment.
处理单元1020可用于支持传感器装置1000处理信息,例如执行图6中的S620等由传感器执行的处理动作。The processing unit 1020 may be used to support the sensor device 1000 in processing information, for example, performing processing actions performed by the sensor such as S620 in FIG. 6 .
可选地,该传感器装置1000还可以包括发送单元1030,该发送单元1030与获取单元1010和处理单元1020耦合,可用于支持传感器装置1000执行上述方法实施例中的发送动作,例如执行上述方法实施例中的发送第一通知信息和发送第二通知信息等发送动作。Optionally, the sensor device 1000 may also include a sending unit 1030, which is coupled to the acquisition unit 1010 and the processing unit 1020 and may be used to support the sensor device 1000 in performing the sending action in the above method embodiment, for example, performing the above method implementation. In the example, sending actions such as sending the first notification information and sending the second notification information are included.
可选地,传感器装置1000还可以包括存储单元1040,用于存储传感器装置1000的程序代码和数据。Optionally, the sensor device 1000 may also include a storage unit 1040 for storing program codes and data of the sensor device 1000 .
以上方法和装置实施例中涉及的传感器可以与电子设备进行连接配对,例如与用户的手机、笔记本电脑、平板或者中控设备等进行连接配对,便于用户在电子设备上查看该传感器的工作状态等信息,并对该传感器的使用参数进行设置等。The sensors involved in the above method and device embodiments can be connected and paired with electronic devices, such as the user's mobile phone, laptop computer, tablet or central control device, etc., so that the user can view the working status of the sensor on the electronic device. information, and set the usage parameters of the sensor, etc.
图11是本申请实施例提供的一种传感器的用户界面示意图。以智能家居场景下的人体传感器为例,该人体传感器可以包括对应的应用程序(Application,APP),用户可以在该APP上查看和设置该人体传感器的状态,或者在智慧场景中包括该人体传感器的用户界面,如图11中的(a)图所示,该人体传感器可以与智能家居设备连接配对,实现设备联动。Figure 11 is a schematic diagram of a user interface of a sensor provided by an embodiment of the present application. Taking the human body sensor in a smart home scenario as an example, the human body sensor can include a corresponding application (Application, APP). The user can view and set the status of the human body sensor on the APP, or include the human body sensor in the smart scene. The user interface, as shown in (a) in Figure 11, the human body sensor can be connected and paired with smart home devices to achieve device linkage.
如图11中的(b)图所示,该人体传感器APP的预览界面可以包括该人体传感器当前的工作状态,例如当前的工作状态为检测中,或者角度调整中,或者提示传感器高度发生变化等;该预览界面还可以包括该传感器的网络状态,例如网络信号的强弱等;该预览界面还可以包括该传感器的当前高度和当前角度,当前高度可以为该传感器相对于地面的高度,当前角度可以为该人体传感器本体与空间直角坐标系的三个坐标轴的夹角,例如,在图7所示的坐标系中,该人体传感器本体与三个坐标轴的夹角;该预览界面还可以包括当前环境下的光照度,例如光照度90勒克斯(lux);此外,该预览界面还可以包括当前环境下的人数、人体位置、与该人体传感器联动的智能设备等,本申请对此不作限定。该人体传感器可以时刻感知和测量角度和距离的变化情况,并将变化情况发送给该电子设备,电子设备呈现于用户界面,例如上述方法实施例中,该人体传感器向该电子设备发送第一通知信息,该电子设备可以将该第一通知信息中包括的信息呈现于用户界面,便于用户查看。As shown in (b) of Figure 11, the preview interface of the human sensor APP can include the current working status of the human sensor, for example, the current working status is detecting, or the angle is being adjusted, or it prompts that the height of the sensor has changed, etc. ;The preview interface can also include the network status of the sensor, such as the strength of the network signal, etc.; The preview interface can also include the current height and current angle of the sensor. The current height can be the height of the sensor relative to the ground, and the current angle. It can be the angle between the human body sensor body and the three coordinate axes of the space rectangular coordinate system. For example, in the coordinate system shown in Figure 7, the angle between the human body sensor body and the three coordinate axes; the preview interface can also Including the illumination in the current environment, for example, the illumination is 90 lux; in addition, the preview interface can also include the number of people in the current environment, human body positions, smart devices linked to the human body sensor, etc. This application does not limit this. The human body sensor can sense and measure changes in angle and distance at all times, and send the changes to the electronic device. The electronic device is presented on the user interface. For example, in the above method embodiment, the human body sensor sends a first notification to the electronic device. Information, the electronic device can present the information included in the first notification information on the user interface to facilitate the user's viewing.
如图11中的(c)图所示,用户可以在该人体传感器的用户界面上对该人体传感器的安装高度、安装角度、设备状态等进行查看和设置。例如,用户可以在用户界面上设定该传感器的安装高度,并根据该设定的安装高度调整该人体传感器的安装高度;或者,用户可以根据实际需要选择该传感器的安装位置,该传感器可以将角度和距离信息等发送给电子设备,辅助用户进行该传感器的安装,降低安装难度,优化用户体验。As shown in (c) of Figure 11, the user can view and set the installation height, installation angle, equipment status, etc. of the human sensor on the user interface of the human sensor. For example, the user can set the installation height of the sensor on the user interface and adjust the installation height of the human body sensor according to the set installation height; or the user can select the installation position of the sensor according to actual needs, and the sensor can be Angle and distance information are sent to electronic devices to assist users in installing the sensor, reducing installation difficulty and optimizing user experience.
应理解,图11所示的用户界面仅作为示例介绍本申请提供的传感器具备的功能以及与电子设备之间的配对显示,不应对该传感器的用户界面设置和功能显示等作出限定。It should be understood that the user interface shown in Figure 11 is only used as an example to introduce the functions of the sensor provided by this application and the pairing display with the electronic device, and the user interface settings and function display of the sensor should not be limited.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令,该计算机程序或指令被计算机(例如,处理器)执行,以实现本申请实施例中由任意装置执行的任意一种方法的部分或全部步骤。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores computer programs or instructions. The computer programs or instructions are executed by a computer (for example, a processor) to implement the steps in the embodiments of the present application. Some or all of the steps of any method performed by any device.
本申请实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得本申请实施例中由任意装置执行的任意一种方法的部分或全部步骤被执行。Embodiments of the present application also provide a computer program product containing instructions that, when run on a computer, cause some or all of the steps of any method executed by any device in the embodiments of the present application to be executed.
本申请实施例还提供一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得本申请实施例中由任意装置执行的任意一种方法的部分或全部步骤被执行。An embodiment of the present application also provides a chip system, which is characterized in that the chip system includes at least one processor. When the program instructions are executed in the at least one processor, the instructions executed by any device in the embodiment of the present application are Some or all of the steps of either method are performed.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (20)

  1. 一种传感器位置的自适应方法,应用于传感器,其特征在于,所述方法包括:An adaptive method for sensor position, applied to sensors, characterized in that the method includes:
    获取第一角度,所述第一角度包括所述传感器的当前位置相对于预设位置的角度变化量和变化方向,所述预设位置为所述传感器安装的初始位置;Obtain a first angle, where the first angle includes the angular change amount and direction of change of the current position of the sensor relative to a preset position, which is the initial position where the sensor is installed;
    根据所述第一角度,将所述当前位置的角度调整为与所述预设位置的角度相同。According to the first angle, the angle of the current position is adjusted to be the same as the angle of the preset position.
  2. 根据权利要求1所述的方法,其特征在于,所述预设位置位于第一坐标轴、第二坐标轴和第三坐标轴构成的坐标系中,所述第一坐标轴、所述第二坐标轴和所述第三坐标轴两两垂直,所述当前位置位于第四坐标轴、第五坐标轴和第六坐标轴构成的坐标系中,The method according to claim 1, characterized in that the preset position is located in a coordinate system composed of a first coordinate axis, a second coordinate axis and a third coordinate axis, and the first coordinate axis, the second coordinate axis The coordinate axes are perpendicular to the third coordinate axis in pairs, and the current position is located in the coordinate system composed of the fourth coordinate axis, the fifth coordinate axis and the sixth coordinate axis,
    所述第一角度包括第一角度分量、第二角度分量和第三角度分量中的至少一项,所述第一角度分量为所述第四坐标轴相对于所述第一坐标轴的角度变化量,所述第二角度分量为所述第五坐标轴相对于所述第二坐标轴的角度变化量,所述第三角度分量为所述第六坐标轴相对于所述第三坐标轴的角度变化量,The first angle includes at least one of a first angular component, a second angular component, and a third angular component, and the first angular component is an angular change of the fourth coordinate axis relative to the first coordinate axis. The second angular component is the angular change of the fifth coordinate axis relative to the second coordinate axis, and the third angular component is the angular change of the sixth coordinate axis relative to the third coordinate axis. Angle change,
    所述根据所述第一角度,将所述当前位置的角度调整为与所述预设位置的角度相同,包括:Adjusting the angle of the current position to the same angle as the preset position according to the first angle includes:
    根据所述第一角度分量、所述第二角度分量和所述第三角度分量中的至少一项,将所述当前位置的角度调整为与所述预设位置的角度相同。According to at least one of the first angular component, the second angular component and the third angular component, the angle of the current position is adjusted to be the same as the angle of the preset position.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising:
    发送第一通知信息,所述第一通知信息用于指示所述传感器的角度发生变化。First notification information is sent, where the first notification information is used to indicate that the angle of the sensor changes.
  4. 根据权利要求3所述的方法,其特征在于,所述第一通知信息还用于指示所述第一角度分量、所述第二角度分量和所述第三角度分量中的至少一项。The method according to claim 3, characterized in that the first notification information is also used to indicate at least one of the first angular component, the second angular component and the third angular component.
  5. 根据权利要求2至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 4, characterized in that the method further includes:
    获取第一距离,所述第一距离包括所述当前位置相对于所述预设位置的距离变化量。Obtain a first distance, where the first distance includes a distance change of the current position relative to the preset position.
  6. 根据权利要求5所述的方法,其特征在于,所述第一距离包括第一距离分量、第二距离分量和第三距离分量中的至少一项,所述第一距离分量为所述当前位置到所述第一坐标轴和所述第二坐标轴所形成的平面的距离,所述第二距离分量为所述当前位置到所述第一坐标轴和所述第三坐标轴所形成的平面的距离,所述第三距离分量为所述当前位置到所述第二坐标轴和所述第三坐标轴所形成的平面的距离。The method of claim 5, wherein the first distance includes at least one of a first distance component, a second distance component, and a third distance component, and the first distance component is the current location. The distance to the plane formed by the first coordinate axis and the second coordinate axis, the second distance component is the distance from the current position to the plane formed by the first coordinate axis and the third coordinate axis distance, and the third distance component is the distance from the current position to the plane formed by the second coordinate axis and the third coordinate axis.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:发送第二通知信息,所述第二通知信息用于指示所述第一距离分量、所述第二距离分量和所述第三距离分量中的至少一项。The method of claim 6, further comprising: sending second notification information, the second notification information being used to indicate the first distance component, the second distance component and the At least one of the third distance components.
  8. 一种传感器,其特征在于,所述传感器包括:A sensor, characterized in that the sensor includes:
    角度测量装置,用于获取第一角度,所述第一角度包括所述传感器的当前位置相对于预设位置的角度变化量和变化方向,所述预设位置为所述传感器安装的初始位置;Angle measuring device, used to obtain a first angle, the first angle including the angular change amount and direction of change of the current position of the sensor relative to a preset position, the preset position being the initial position where the sensor is installed;
    处理器,所述处理器与所述角度测量装置相连接,所述处理器用于从所述角度测量装置获取所述第一角度;A processor, the processor is connected to the angle measurement device, and the processor is used to obtain the first angle from the angle measurement device;
    调节装置,所述调节装置与所述处理器相连接,所述调节装置用于从所述处理器获取所述第一角度,并根据所述第一角度,驱动所述传感器将所述当前位置的角度调整为与所述预设位置的角度相同。Adjustment device, the adjustment device is connected to the processor, the adjustment device is used to obtain the first angle from the processor, and drive the sensor to adjust the current position according to the first angle. The angle is adjusted to be the same as the angle of the preset position.
  9. 根据权利要求8所述的传感器,其特征在于,所述预设位置位于第一坐标轴、第二坐标轴和第三坐标轴构成的坐标系中,所述第一坐标轴、所述第二坐标轴和所述第三坐标轴两两垂直,所述当前位置位于第四坐标轴、第五坐标轴和第六坐标轴构成的坐标系中,The sensor according to claim 8, characterized in that the preset position is located in a coordinate system composed of a first coordinate axis, a second coordinate axis and a third coordinate axis, and the first coordinate axis, the second coordinate axis The coordinate axes are perpendicular to the third coordinate axis in pairs, and the current position is located in the coordinate system composed of the fourth coordinate axis, the fifth coordinate axis and the sixth coordinate axis,
    所述第一角度包括第一角度分量、第二角度分量和第三角度分量中的至少一项,所述第一角度分量为所述第四坐标轴相对于所述第一坐标轴的角度变化量,所述第二角度分量为所述第五坐标轴相对于所述第二坐标轴的角度变化量,所述第三角度分量为所述第六坐标轴相对于所述第三坐标轴的角度变化量,The first angle includes at least one of a first angular component, a second angular component, and a third angular component, and the first angular component is an angular change of the fourth coordinate axis relative to the first coordinate axis. The second angular component is the angular change of the fifth coordinate axis relative to the second coordinate axis, and the third angular component is the angular change of the sixth coordinate axis relative to the third coordinate axis. Angle change,
    所述调节装置具体用于:The adjustment device is specifically used for:
    根据所述第一角度分量、所述第二角度分量和所述第三角度分量中的至少一项,驱动所述传感器调整所述当前位置的角度为与所述预设位置的角度相同。 According to at least one of the first angular component, the second angular component and the third angular component, the sensor is driven to adjust the angle of the current position to be the same as the angle of the preset position.
  10. 根据权利要求9所述的传感器,其特征在于,所述处理器还用于,发送第一通知信息,所述第一通知信息用于指示所述传感器的角度发生变化。The sensor according to claim 9, wherein the processor is further configured to send first notification information, and the first notification information is used to indicate that the angle of the sensor changes.
  11. 根据权利要求10所述的传感器,其特征在于,所述第一通知信息用于指示所述第一角度分量、所述第二角度分量和所述第三角度分量中的至少一项。The sensor according to claim 10, wherein the first notification information is used to indicate at least one of the first angular component, the second angular component and the third angular component.
  12. 根据权利要求8至11中任一项所述的传感器,其特征在于,所述传感器还包括:The sensor according to any one of claims 8 to 11, characterized in that the sensor further includes:
    距离测量装置,所述距离测量装置与所述处理器相连接,所述距离测量装置用于获取第一距离,并向所述处理器发送所述第一距离,所述第一距离包括所述当前位置相对于所述预设位置的距离变化量。a distance measuring device, the distance measuring device is connected to the processor, the distance measuring device is used to obtain a first distance and send the first distance to the processor, the first distance includes the The distance change of the current position relative to the preset position.
  13. 根据权利要求12所述的传感器,其特征在于,所述第一距离包括第一距离分量、第二距离分量和第三距离分量中的至少一项,所述第一距离分量为所述当前位置到第一坐标轴和第二坐标轴所形成的平面的距离,所述第二距离分量为所述当前位置到所述第一坐标轴和所述第三坐标轴所形成的平面的距离,所述第三距离分量为所述当前位置到所述第二坐标轴和所述第三坐标轴所形成的平面之间的距离。The sensor according to claim 12, wherein the first distance includes at least one of a first distance component, a second distance component and a third distance component, and the first distance component is the current position. The distance to the plane formed by the first coordinate axis and the second coordinate axis, the second distance component is the distance from the current position to the plane formed by the first coordinate axis and the third coordinate axis, so The third distance component is the distance between the current position and the plane formed by the second coordinate axis and the third coordinate axis.
  14. 根据权利要求13所述的传感器,其特征在于,所述处理器还用于,发送第二通知信息,所述第二通知信息用于指示所述第一距离分量、所述第二距离分量和所述第三距离分量中的至少一项。The sensor according to claim 13, characterized in that the processor is further configured to send second notification information, the second notification information is used to indicate the first distance component, the second distance component and at least one of the third distance components.
  15. 一种传感器装置,其特征在于,包括如权利要求8至14中任一项所述的传感器。A sensor device, characterized by comprising the sensor according to any one of claims 8 to 14.
  16. 一种传感器装置,其特征在于,所述装置包括本体和底座,所述本体与所述底座转动连接,所述本体中设置有角度测量装置,所述角度测量装置用于测量所述传感器装置的角度变化。A sensor device, characterized in that the device includes a body and a base, the body is rotationally connected to the base, an angle measuring device is provided in the body, and the angle measuring device is used to measure the angle of the sensor device. Angle changes.
  17. 根据权利要求16所述的装置,其特征在于,所述底座中设置有距离测量装置,所述距离测量装置用于测量所述传感器装置的距离变化。The device according to claim 16, characterized in that a distance measuring device is provided in the base, and the distance measuring device is used to measure the distance change of the sensor device.
  18. 根据权利要求16或17所述的装置,其特征在于,所述装置为人体传感器的装置。The device according to claim 16 or 17, characterized in that the device is a human body sensor device.
  19. 一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器,当程序指令在所述至少一个处理器中执行时,使得如权利要求1至7中任一项所述的方法得以实现。A chip system, characterized in that the chip system includes at least one processor, and when the program instructions are executed in the at least one processor, the method according to any one of claims 1 to 7 is implemented. .
  20. 一种计算机程序存储介质,其特征在于,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行如权利要求1至7中任一项所述的方法。 A computer program storage medium, characterized in that the computer-readable medium stores program code. When the computer program code is run on a computer, it causes the computer to execute the method described in any one of claims 1 to 7. method.
PCT/CN2023/108015 2022-07-28 2023-07-19 Sensor position self-adaptive method, sensor, and sensor apparatus WO2024022178A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210901126.0 2022-07-28
CN202210901126.0A CN117516613A (en) 2022-07-28 2022-07-28 Sensor position adaptation method, sensor and sensor device

Publications (1)

Publication Number Publication Date
WO2024022178A1 true WO2024022178A1 (en) 2024-02-01

Family

ID=89705393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/108015 WO2024022178A1 (en) 2022-07-28 2023-07-19 Sensor position self-adaptive method, sensor, and sensor apparatus

Country Status (2)

Country Link
CN (1) CN117516613A (en)
WO (1) WO2024022178A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0571961A (en) * 1991-09-18 1993-03-23 Nikon Corp Automatic leveling device
CN109597407A (en) * 2018-11-12 2019-04-09 初速度(苏州)科技有限公司 Adjusting method and device
CN111289012A (en) * 2020-02-20 2020-06-16 北京邮电大学 Attitude calibration method and device for sensor
CN113296053A (en) * 2021-05-27 2021-08-24 维沃移动通信有限公司 UWB calibration method and device and electronic equipment
CN113819901A (en) * 2020-06-19 2021-12-21 长鑫存储技术有限公司 Attitude adjusting device and method of optical sensor and automatic material conveying system
CN114184931A (en) * 2021-11-08 2022-03-15 深圳橙子自动化有限公司 Probe adjustment method, probe adjustment device, electronic device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0571961A (en) * 1991-09-18 1993-03-23 Nikon Corp Automatic leveling device
CN109597407A (en) * 2018-11-12 2019-04-09 初速度(苏州)科技有限公司 Adjusting method and device
CN111289012A (en) * 2020-02-20 2020-06-16 北京邮电大学 Attitude calibration method and device for sensor
CN113819901A (en) * 2020-06-19 2021-12-21 长鑫存储技术有限公司 Attitude adjusting device and method of optical sensor and automatic material conveying system
CN113296053A (en) * 2021-05-27 2021-08-24 维沃移动通信有限公司 UWB calibration method and device and electronic equipment
CN114184931A (en) * 2021-11-08 2022-03-15 深圳橙子自动化有限公司 Probe adjustment method, probe adjustment device, electronic device, and storage medium

Also Published As

Publication number Publication date
CN117516613A (en) 2024-02-06

Similar Documents

Publication Publication Date Title
US10679053B2 (en) Method and device for recognizing biometric information
WO2020168977A1 (en) Screen control method, electronic device, and storage medium
WO2021013230A1 (en) Robot control method, robot, terminal, server, and control system
WO2021052016A1 (en) Body posture detection method and electronic device
EP3588264A1 (en) Electronic device and screen sharing method of electronic device
WO2015120726A1 (en) Portable terminal with controllable display position and display method thereof
EP2891959A2 (en) Method and apparatus for controlling electronic devices in proximity
US20200296319A1 (en) Method for driving display including curved display area, display driving circuit supporting the same, and electronic device including the same
WO2020029974A1 (en) Data transmission method, chip, controller, and display device
US10848669B2 (en) Electronic device and method for displaying 360-degree image in the electronic device
WO2022042656A1 (en) Interface display method, and device
US20220358864A1 (en) Compensation Method and Electronic Device
WO2021051982A1 (en) Method for calling hardware interface and electronic device
WO2021098790A1 (en) Compensation method and electronic device
WO2022028362A1 (en) Device positioning method and related device therefor
JP2022526857A (en) Illuminator control methods, luminaires, and electronic devices
WO2021254438A1 (en) Drive control method and related device
WO2022048378A1 (en) Portable device based user alerting method, electronic device and server
WO2022179275A1 (en) Terminal application control method, terminal device, and chip system
WO2023103951A1 (en) Display method for foldable screen and related apparatus
WO2022135186A1 (en) Device control method and terminal device
KR102475304B1 (en) Electronic device and cable and operation method thereof
WO2022028290A1 (en) Method for interaction between devices based on pointing operation, and electronic device
WO2021170129A1 (en) Pose determination method and related device
WO2024022178A1 (en) Sensor position self-adaptive method, sensor, and sensor apparatus

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: 23845390

Country of ref document: EP

Kind code of ref document: A1