WO2022082711A1 - 电子设备的防近视方法、防近视电子设备及防近视平板 - Google Patents

电子设备的防近视方法、防近视电子设备及防近视平板 Download PDF

Info

Publication number
WO2022082711A1
WO2022082711A1 PCT/CN2020/123158 CN2020123158W WO2022082711A1 WO 2022082711 A1 WO2022082711 A1 WO 2022082711A1 CN 2020123158 W CN2020123158 W CN 2020123158W WO 2022082711 A1 WO2022082711 A1 WO 2022082711A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
distance
dynamic
application program
dynamic target
Prior art date
Application number
PCT/CN2020/123158
Other languages
English (en)
French (fr)
Inventor
陈志勇
闾灿
万丹晔
Original Assignee
中科传启(苏州)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中科传启(苏州)科技有限公司 filed Critical 中科传启(苏州)科技有限公司
Priority to PCT/CN2020/123158 priority Critical patent/WO2022082711A1/zh
Publication of WO2022082711A1 publication Critical patent/WO2022082711A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms

Definitions

  • the invention relates to the technical field of ultrasonic and audio signal processing, in particular to a method for preventing myopia for electronic equipment, an electronic device for preventing myopia and a flat panel for preventing myopia.
  • Tablets and similar electronic devices have become the primary educational device for children and their increasing use makes it a major cause of myopia in children. It is becoming more and more important to effectively prevent children from myopia caused by the use of such electronic devices for learning and entertainment.
  • a desk that corrects the sitting posture is used to keep the distance from the book to prevent myopia, such as the Chinese patent with the patent number: 201410803128.1, a table for children's prevention of myopia, by changing the inclination of the desktop and installing mechanical structures such as an anti-myopia frame Perform external force correction.
  • the disadvantage of this method is that the table and chair are inconvenient to move, and at the same time, the contact-type device is not easy to form a habit, and it is easy to restore the original incorrect posture without the device.
  • the purpose of the present invention is to provide a method for preventing myopia of an electronic device, an electronic device for preventing myopia and a tablet for preventing myopia, which utilizes the audio system provided by the electronic device to detect and remind users of distances, with simple structure and low cost.
  • the present invention proposes a method for preventing myopia of electronic equipment, which is characterized in that it includes the following steps:
  • S1 The speaker emits ultrasonic signals
  • S2 The microphone receives the echo signal
  • S3 Process the echo signal to detect whether there is a dynamic target in the detection area
  • step S3 specifically includes:
  • the echo signal is processed according to the dynamic detection part in the application program, and the dynamic target detection is performed by the inter-frame subtraction method.
  • the detection area has dynamic target; otherwise, there is no dynamic target in the detection area.
  • the speaker when there is no dynamic target in the detection area, the speaker does not issue a warning, and returns to step S1 to perform detection again.
  • step S4 specifically includes:
  • the echo signal is processed according to the distance detection part in the application program to obtain the propagation time of the echo reflected by the dynamic target, and the distance between the dynamic target and the electronic device is calculated according to the propagation speed of the ultrasonic wave.
  • the deviation in the propagation time of the echo signal is reduced by determining the position of the direct wave signal from the speaker to the microphone.
  • the frequency of the ultrasonic signal emitted by the speaker is greater than 18KHz.
  • the present invention also proposes an electronic device for preventing myopia, comprising an audio module and a central processing unit, the audio module comprising a microphone and a speaker, and characterized in that, an application program is downloaded in the central processing unit, By running the application program, the above-mentioned method for preventing myopia of an electronic device is executed.
  • the application program includes a driving part, a dynamic detection part and a distance detection part;
  • the driver part invokes the application program interface of the audio driver to complete the control of the underlying audio module
  • the dynamic detection part performs data processing on the sound wave signal received by the microphone, and detects whether there is a dynamic target in the detection area by comparing with the set dynamic threshold;
  • the distance detection part detects the distance between the dynamic target and the electronic device, compares it with the set distance threshold, and controls whether the speaker emits an alarm according to the distance detection situation.
  • the present invention also provides an anti-myopia tablet, comprising an audio module and a central processing unit, the audio module comprising a microphone and a speaker, and characterized in that, an application program is downloaded in the central processing unit, and an application program is downloaded through the central processing unit.
  • the application program is run to execute the above method for preventing myopia of the electronic device.
  • the application program includes a driving part, a dynamic detection part and a distance detection part;
  • the driver part invokes the application program interface of the audio driver to complete the control of the underlying audio module
  • the dynamic detection part performs data processing on the sound wave signal received by the microphone, and detects whether there is a dynamic target in the detection area by comparing with the set dynamic threshold;
  • the distance detection part detects the distance between the dynamic target and the tablet, compares it with the set distance threshold, and controls whether the speaker emits an alarm according to the distance detection.
  • the present invention has the following advantages:
  • the method for preventing myopia of an electronic device of the present invention adopts an audio system composed of a microphone, a speaker and a central processing unit provided by the electronic device, and performs dynamic target detection, distance detection and reminder for the user by processing the echo signal, and the structure and method are simple. , and there is no need to install additional sensors, which reduces the cost of preventing myopia, and is suitable for most of the current electronic equipment;
  • the anti-myopia electronic device of the present invention adopts an audio system composed of a microphone, a speaker and a central processing unit that comes with the electronic device, downloads an application program in the central processing unit, and executes the above-mentioned method for preventing myopia by running the application program, so as to achieve the effect of preventing myopia.
  • the realization method is simple and the cost is low, which is beneficial to the prevention of myopia for each user;
  • the anti-myopia tablet of the present invention adopts an audio system composed of a microphone, a speaker and a central processing unit that comes with the tablet, downloads an application program in the central processing unit, and executes the above-mentioned method for preventing myopia by running the application program, so as to achieve the purpose of preventing myopia,
  • the realization method is simple and the cost is low, which is beneficial to the prevention of myopia for each user.
  • Fig. 1 is the flow chart of the anti-myopia method of electronic equipment in the present invention
  • Fig. 2 is the use schematic diagram of the electronic device for preventing myopia in the present invention
  • the method for preventing myopia corresponding to the electronic device of the present invention comprises the following steps:
  • S1 The speaker emits ultrasonic signals
  • the electronic device has its own audio system composed of a microphone, a speaker and a central processing unit.
  • the central processing unit has an application program downloaded.
  • the application program controls the speaker 1 to emit sound wave signals above 18KHz by calling the audio-driven application program interface.
  • S2 The microphone receives the echo signal
  • S3 Process the echo signal to detect whether there is a dynamic target in the detection area
  • the central processing unit processes the echo signal, processes the echo signal according to the dynamic detection part in the application program, and detects the dynamic target 4 by the inter-frame subtraction method.
  • the envelope amplitude of the signal after the inter-frame subtraction is greater than If the dynamic threshold is set, there is a dynamic target 4 in the detection area; otherwise, there is no dynamic target in the detection area.
  • the echo signal is processed according to the distance detection part in the application program, the propagation time of the echo reflected by the dynamic target 4 is obtained, and the distance between the dynamic target 4 and the electronic device 3 is calculated according to the propagation speed of the ultrasonic wave.
  • the speaker 1 is controlled to issue a warning, otherwise, no warning is issued, and the process returns to step S1 to perform detection again.
  • the time difference between the start of the loudspeaker 1 transmitting signal and the start of the microphone receiving signal may change, resulting in a large deviation in the propagation time of the echo signal obtained during signal processing.
  • the propagation time of the direct wave signal from the speaker 1 to the microphone 2 is also fixed. Therefore, before calculating the distance between the dynamic target 4 and the electronic device 3, determine the speaker The position of the direct wave signal from 1 to microphone 2 reduces the deviation that occurs in the travel time of the echo signal.
  • a kind of anti-myopia electronic equipment it includes an audio module and a central processing unit, the audio module includes a microphone 2 and a loudspeaker 1, the above-mentioned loudspeaker 1, the microphone 2 and the central processing unit are common audible,
  • the hardware of the sound-collecting electronic device 3 itself, and the connection relationship between the three is also the connection relationship between the hardware of the general sound-receiving electronic device 3 itself.
  • An application program is downloaded in the central processing unit, and the method for preventing myopia of the electronic device in the first embodiment is executed by running the application program.
  • the application program includes a driving part, a dynamic detection part and a distance detection part;
  • the driver part invokes the application program interface of the audio driver to complete the control of the underlying audio module.
  • the driver part completes the control of the underlying audio hardware part by calling the application program interface of the audio driver.
  • Applications can call ALSA audio-driven applications.
  • Interface API interface
  • ALSA can be adjusted to an exclusive mode, which can control the speaker 1 to emit multiple sounds at the same time, that is, the ultrasonic waves used for ranging and the audible sounds emitted by the electronic device can be emitted at the same time without affecting each other.
  • the application program controls the speaker 1 to emit a sound wave signal above 18KHz, and the sound wave signal will not affect the audio normally played by the electronic device 3 .
  • the dynamic detection part performs data processing on the sound wave signal received by the microphone 2, and detects whether there is a dynamic target in the detection area by comparing with the set dynamic threshold.
  • the detection area here refers to the electronic equipment detection area within a certain angle range; the distance detection part Detect the distance between the dynamic target and the electronic device, compare it with the set distance threshold, and control whether the speaker 1 emits an alarm according to the distance detection situation. Beneficial for myopia prevention for every user.
  • the difference between the third embodiment and the second embodiment is that the electronic device is specifically a tablet.
  • the audio module that comes with the tablet includes a microphone and a speaker, and also has a central processing unit. The structure and connection relationship of the three are determined.
  • the application program is downloaded to the tablet, and the central processing unit runs the application program to execute the method for preventing myopia of the electronic device in the first embodiment.
  • the application program includes a driving part, a dynamic detection part and a distance detection part;
  • the driver part invokes the application program interface of the audio driver to complete the control of the audio module of the bottom layer of the tablet.
  • the driver part completes the control of the underlying audio hardware part by calling the application program interface of the audio driver.
  • Most of the tablet computers on the existing market are Android and iOS systems, and their mainstream audio driver architectures are Advanced Linux Sound Architecture (ALSA). hardware control.
  • ALSA can be adjusted to non-exclusive mode, which can control the speaker to emit multiple sounds at the same time, that is, the ultrasonic waves used for ranging and the audible sounds emitted by the tablet can be emitted at the same time without affecting each other.
  • the application program controls the speaker to emit a sound wave signal above 18KHz, and the sound wave signal will not affect the audio played normally by the tablet.
  • the dynamic detection part performs data processing on the sound wave signal received by the microphone, and detects whether there is a dynamic target in the detection area by comparing with the set dynamic threshold.
  • the detection area here refers to a certain angle range of the flat panel detection area; the distance detection part detects dynamic
  • the distance between the target and the tablet is compared with the set distance threshold, and according to the distance detection, the speaker can be controlled to sound an alarm.
  • the method for preventing myopia of an electronic device of the present invention adopts an audio system composed of a microphone, a speaker and a central processing unit provided by the electronic device, and the application program performs dynamic target detection, distance detection and reminder for the user by processing the echo signal.
  • the method is simple, and there is no need to install additional sensors, which reduces the cost of preventing myopia, and is suitable for most of the current electronic equipment; ultrasonic waves use non-audible high-frequency sound waves, which are less restricted by the external environment during use, and will not affect the original Experience with electronic devices.
  • the anti-myopia electronic device and the anti-myopia tablet of the present invention use an audio system composed of a microphone, a speaker and a central processing unit provided by the electronic device, download an application program in the central processing unit, and execute the above-mentioned method for preventing myopia by running the application program, thereby To achieve the purpose of preventing myopia, the realization method is simple and the cost is low, which is beneficial to the myopia prevention of each user.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

电子设备的防近视方法,包括扬声器(1)发出超声波信号;麦克风(2)接收回波信号;对回波信号进行处理,检测检测区域是否存在动态目标(4);如果检测区域存在动态目标,则计算动态目标与电子设备之间的距离,当计算距离小于设定距离阈值时,扬声器发出警告;不断重复上述步骤进行循环检测。防近视电子设备和防近视平板,均包括音频模组和中央处理器,中央处理器内下载有应用程序,通过运行应用程序从而执行防近视方法。利用电子设备自带的音频系统,对使用者进行距离检测及提醒,结构简单且成本低。

Description

电子设备的防近视方法、防近视电子设备及防近视平板 技术领域
本发明涉及超声及音频信号处理技术领域,特别涉及电子设备的防近视方法、防近视电子设备及防近视平板。
背景技术
平板电脑等类似的电子设备已经成为主要的儿童教育设备,日益频繁的使用,使之成为儿童近视问题的一大主要原因。有效预防儿童在使用此类电子设备学习和娱乐导致近视,变得愈发重要。
现在,为解决此问题,主要方法以下几种:
1.利用机械结构进行外力矫正。例如利用矫正坐姿的书桌以保持与书本的距离来预防近视,常见的如专利号为:201410803128.1的中国专利,一种用于儿童防近视桌,通过改变桌面倾斜度及安装防近视架等机械结构进行外力矫正。这种方法的缺点是:桌椅不便于移动,同时,接触式的装置不易形成习惯,没有装置时容易恢复成原先的不正确姿势。
2.通过加装红外等传感器进行距离检测来进行预警。常见的如专利号为202010518073.5的中国专利,一种儿童防近视眼镜,通过在眼镜或头戴支架上加装检测传感器,判断使用者和桌面的距离。这种方法的缺点是:长时间佩戴后鼻子、耳朵会有不适,使用者容易产生抗拒心理,另外还存在由加装传感器导致的结构复杂、成本较高等问题。
3.通过视频图像处理来进行预警。常见的如专利号为201910117727.0的中国专利,一种视线跟踪学生教室预防近视系统,使用摄像头对使用者进行拍摄,再对使用者进行识别判断,当姿势不当或距离过近时进行提醒。这种方法的缺 点是:成本较高,耗电量大,且容易泄露使用者的隐私。
发明内容
本发明的目的是提供一种电子设备的防近视方法、防近视电子设备及防近视平板,利用电子设备自带的音频系统,对使用者进行距离检测及提醒,结构简单且成本低。
为了解决上述技术问题,一方面本发明提出了一种电子设备的防近视方法,其特征在于,包括以下步骤:
S1:扬声器发出超声波信号;
S2:麦克风接收回波信号;
S3:对回波信号进行处理,检测检测区域是否存在动态目标;
S4:如果检测区域存在动态目标,则计算动态目标与电子设备之间的距离,当计算距离小于设定距离阈值时,扬声器发出警告;
S5:在电子设备使用期间,不断重复步骤S1至S4进行循环检测。
作为优选,步骤S3具体包括:
根据应用程序内的动态检测部分对回波信号进行处理,通过帧间相减法进行动态目标检测,当帧间相减后的信号的包络幅值大于设定的动态阈值,则检测区域存在动态目标;否则检测区域不存在动态目标。
作为优选,当检测区域不存在动态目标时,扬声器不发出警告,并返回步骤S1重新进行检测。
作为优选,步骤S4具体包括:
根据应用程序内的距离检测部分对回波信号进行处理,获得动态目标反射回波的传播时间,根据超声波的传播速度计算动态目标与电子设备之间的距离。
作为优选,在计算动态目标与电子设备之间的距离之前,先通过确定扬声器到麦克风的直达波信号位置减小回波信号传播时间中出现的偏差。
作为优选,所述扬声器发出超声波信号频率大于18KHz。
另一方面,本发明还提出了一种防近视电子设备,包括音频模组和中央处理器,所述音频模组包括麦克风和扬声器,其特征在于,所述中央处理器内下载有应用程序,通过运行所述应用程序从而执行上述的电子设备的防近视方法。
作为优选,所述应用程序包括驱动部分、动态检测部分以及距离检测部分;
所述驱动部分调用音频驱动的应用程序接口,完成对底层音频模组的控制;
所述动态检测部分对麦克风接收的声波信号进行数据处理,通过与设定的动态阈值比较,检测检测区域是否存在动态目标;
所述距离检测部分检测动态目标与电子设备之间的距离,与设定的距离阈值比较,并根据距离检测情况控制扬声器是否发出警报。
另一方面,本发明还提出了一种防近视平板,包括音频模组和中央处理器,所述音频模组包括麦克风和扬声器,其特征在于,所述中央处理器内下载有应用程序,通过运行所述应用程序从而执行上述电子设备的防近视方法。
作为优选,所述应用程序包括驱动部分、动态检测部分以及距离检测部分;
所述驱动部分调用音频驱动的应用程序接口,完成对底层音频模组的控制;
所述动态检测部分对麦克风接收的声波信号进行数据处理,通过与设定的动态阈值比较,检测检测区域是否存在动态目标;
所述距离检测部分检测动态目标与平板之间的距离,与设定的距离阈值比较,并根据距离检测情况控制扬声器是否发出警报。
与现有技术相比,本发明具有以下优点:
本发明的电子设备的防近视方法,采用电子设备自带的麦克风、扬声器以及中央处理器组成的音频系统,通过处理回波信号对使用者进行动态目标检测、距离检测及提醒,结构、方法简单,且无需额外加装传感器,降低了防近视的成本,适用于目前大部分电子设备;
本发明的防近视电子设备,采用电子设备自带的麦克风、扬声器以及中央处理器组成的音频系统,在中央处理器内下载应用程序,通过运行应用程序执行上述防近视方法,从而达到防近视的目的,实现方法简单且成本低,有利于 每个使用者的近视预防;
本发明的防近视平板,采用平板自带的麦克风、扬声器以及中央处理器组成的音频系统,在中央处理器内下载应用程序,通过运行应用程序执行上述防近视方法,从而达到防近视的目的,实现方法简单且成本低,有利于每个使用者的近视预防。
附图说明
在此描述的附图仅用于解释目的,而不意图以任何方式来限制本发明公开的范围。另外,图中的各部件的形状和比例尺寸等仅为示意性的,用于帮助对本发明的理解,并不是具体限定本发明各部件的形状和比例尺寸。本领域的技术人员在本发明的教导下,可以根据具体情况选择各种可能的形状和比例尺寸来实施本发明。在附图中:
图1是本发明中电子设备的防近视方法的流程图;
图2是本发明中防近视电子设备的使用示意图;
图中所示:
1、扬声器;2、麦克风;3、电子设备;4、动态目标。
具体实施方式
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,当元件被称为“设置于”另一个元件,它可以直接在另一个元件上或者也可以存在居中的元件。当一个元件被认为是“连接”另一个元件,它可以是直接连接到另一个元件或者可能同时存在居中元件。本文所使用的术语“垂 直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的,并不表示是唯一的实施例。
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。
实施例一:
如图1所示,对应于本发明的电子设备的防近视方法,包括以下步骤:
S1:扬声器发出超声波信号;
电子设备自带有麦克风、扬声器以及中央处理器组成的音频系统,中央处理器内下载有应用程序,应用程序通过调用音频驱动的应用程序接口,控制扬声器1发出18KHz以上的声波信号。
S2:麦克风接收回波信号;
超声波信号传输过程中遇到目标后反射形成回波信号,由麦克风接收。
S3:对回波信号进行处理,检测检测区域是否存在动态目标;
中央处理器对回波信号进行处理,根据应用程序内的动态检测部分对回波信号进行处理,通过帧间相减法进行动态目标4检测,当帧间相减后的信号的包络幅值大于设定的动态阈值,则检测区域存在动态目标4;否则检测区域不存在动态目标。
S4:如果检测区域存在动态目标,则计算动态目标与电子设备之间的距离,当计算距离小于设定距离阈值时,扬声器发出警告;
根据应用程序内的距离检测部分对回波信号进行处理,获得动态目标4反射回波的传播时间,根据超声波的传播速度计算动态目标4与电子设备3之间的距离。当计算距离小于设定距离阈值时,控制扬声器1发出警告,否则不发出警告,并返回步骤S1重新进行检测。
此外,由于音频系统受其他应用影响,可能会导致启动扬声器1发射信号 与启动麦克接受信号的时间差发生改变,导致信号处理时得到的回波信号传播时间出现较大偏差。但由于扬声器1和麦克风2位置是固定的,从扬声器1传播到麦克风2的直达波信号传播时间也是固定的,因此,在计算动态目标4与电子设备3之间的距离之前,先通过确定扬声器1到麦克风2的直达波信号位置减小回波信号传播时间中出现的偏差。
S5:在电子设备使用期间,不断重复步骤S1至S4进行循环检测,保障使用者在使用过程中的用眼安全。
实施例二
如图2所示,一种防近视电子设备,其包括音频模组和中央处理器,所述音频模组包括麦克风2和扬声器1,上述扬声器1、麦克风2以及中央处理器为普通可发声、收声电子设备3本身所自带的硬件,三者之间的连接关系也为普通可发声、收声电子设备3本身所具备的硬件之间的连接关系。
所述中央处理器内下载有应用程序,通过运行所述应用程序从而执行实施例一中的电子设备的防近视方法。
具体的,所述应用程序包括驱动部分、动态检测部分以及距离检测部分;
所述驱动部分调用音频驱动的应用程序接口,完成对底层音频模组的控制。
所述驱动部分通过调用音频驱动的应用程序接口,完成对底层音频硬件部分的控制。现有市场上大部分的电子设备3,如平板电脑、手机大部分为Android和iOS系统,其主流音频驱动架构均为高级Linux声音架构(ALSA),应用程序可以通过调用ALSA音频驱动的应用程序接口(API接口)来实现对底层硬件的控制。并且重要的是,ALSA可调成非独占模式,可控制扬声器1同时发出多个声音,即测距使用的超声波与使用电子设备发出的可听声可以同时发出,互不影响。具体的,应用程序控制扬声器1发出18KHz以上的声波信号,该声波信号不会影响电子设备3正常播放的音频。
动态检测部分对麦克风2接收的声波信号进行数据处理,通过与设定的动态阈值比较,检测检测区域是否存在动态目标,这里的检测区域指的是电子设 备检测区域一定角度范围内;距离检测部分检测动态目标与电子设备之间的距离,与设定的距离阈值比较,并根据距离检测情况控制扬声器1是否发出警报。有利于每个使用者的近视预防。
实施例三
实施例三与实施例二的区别在于,电子设备具体为平板,平板自带的音频模组包括麦克风和扬声器,并且也自带有中央处理器,三者的结构以及连接关系是确定的,通过将应用程序下载至平板中,中央处理器运行应用程序从而执行实施例一中的电子设备的防近视方法。
具体的,所述应用程序包括驱动部分、动态检测部分以及距离检测部分;
所述驱动部分调用音频驱动的应用程序接口,完成对平板底层音频模组的控制。
所述驱动部分通过调用音频驱动的应用程序接口,完成对底层音频硬件部分的控制。现有市场上大部分的平板电脑为Android和iOS系统,其主流音频驱动架构均为高级Linux声音架构(ALSA),应用程序可以通过调用ALSA音频驱动的应用程序接口(API接口)来实现对底层硬件的控制。并且重要的是,ALSA可调成非独占模式,可控制扬声器同时发出多个声音,即测距使用的超声波与使用平板发出的可听声可以同时发出,互不影响。具体的,应用程序控制扬声器发出18KHz以上的声波信号,该声波信号不会影响平板正常播放的音频。
动态检测部分对麦克风接收的声波信号进行数据处理,通过与设定的动态阈值比较,检测检测区域是否存在动态目标,这里的检测区域指的是平板检测区域一定角度范围内;距离检测部分检测动态目标与平板之间的距离,与设定的距离阈值比较,并根据距离检测情况控制扬声器是否发出警报。有利于每个使用者的近视预防。
本发明的电子设备的防近视方法,采用电子设备自带的麦克风、扬声器以及中央处理器组成的音频系统,应用程序通过处理回波信号对使用者进行动态目标检测、距离检测及提醒,结构、方法简单,且无需额外加装传感器,降低 了防近视的成本,适用于目前大部分电子设备;超声波使用非可听高频声波,在使用时受到的外界环境限制较小,也不会影响原本电子设备的使用体验。本发明的防近视电子设备和防近视平板,采用电子设备自带的麦克风、扬声器以及中央处理器组成的音频系统,在中央处理器内下载应用程序,通过运行应用程序执行上述防近视方法,从而达到防近视的目的,实现方法简单且成本低,有利于每个使用者的近视预防。
应该理解,以上描述是为了进行图示说明而不是为了进行限制。通过阅读上述描述,在所提供的示例之外的许多实施例和许多应用对本领域技术人员来说都将是显而易见的。因此,本教导的范围不应该参照上述描述来确定,而是应该参照前述权利要求以及这些权利要求所拥有的等价物的全部范围来确定。出于全面之目的,所有文章和参考包括专利申请和公告的公开都通过参考结合在本文中。在前述权利要求中省略这里公开的主题的任何方面并不是为了放弃该主体内容,也不应该认为申请人没有将该主题考虑为所公开的发明主题的一部分。

Claims (10)

  1. 一种电子设备的防近视方法,其特征在于,包括以下步骤:
    S1:扬声器发出超声波信号;
    S2:麦克风接收回波信号;
    S3:对回波信号进行处理,检测检测区域是否存在动态目标;
    S4:如果检测区域存在动态目标,则计算动态目标与电子设备之间的距离,当计算距离小于设定距离阈值时,扬声器发出警告;
    S5:在电子设备使用期间,不断重复步骤S1至S4进行循环检测。
  2. 根据权利要求1所述的电子设备的防近视方法,其特征在于,步骤S3具体包括:
    根据应用程序内的动态检测部分对回波信号进行处理,通过帧间相减法进行动态目标检测,当帧间相减后的信号的包络幅值大于设定的动态阈值,则检测区域存在动态目标;否则检测区域不存在动态目标。
  3. 根据权利要求2所述的电子设备的防近视方法,其特征在于,当检测区域不存在动态目标时,扬声器不发出警告,并返回步骤S1重新进行检测。
  4. 根据权利要求1所述的电子设备的防近视方法,其特征在于,步骤S4具体包括:
    根据应用程序内的距离检测部分对回波信号进行处理,获得动态目标反射回波的传播时间,根据超声波的传播速度计算动态目标与电子设备之间的距离。
  5. 根据权利要求1所述的电子设备的防近视方法,其特征在于,在计算动态目标与电子设备之间的距离之前,先通过确定扬声器到麦克风的直达波信号位置减小回波信号传播时间中出现的偏差。
  6. 根据权利要求1所述的电子设备的防近视方法,其特征在于,所述扬声器发出超声波信号频率大于18KHz。
  7. 一种防近视电子设备,包括音频模组和中央处理器,所述音频模组包括麦克风和扬声器,其特征在于,所述中央处理器内下载有应用程序,通过运行 所述应用程序从而执行权利要求1-6中任一项所述的电子设备的防近视方法。
  8. 根据权利要求7所述的防近视电子设备,其特征在于:所述应用程序包括驱动部分、动态检测部分以及距离检测部分;
    所述驱动部分调用音频驱动的应用程序接口,完成对底层音频模组的控制;
    所述动态检测部分对麦克风接收的声波信号进行数据处理,通过与设定的动态阈值比较,检测检测区域是否存在动态目标;
    所述距离检测部分检测动态目标与电子设备之间的距离,与设定的距离阈值比较,并根据距离检测情况控制扬声器是否发出警报。
  9. 一种防近视平板,包括音频模组和中央处理器,所述音频模组包括麦克风和扬声器,其特征在于,所述中央处理器内下载有应用程序,通过运行所述应用程序从而执行权利要求1-6中任一项所述的电子设备的防近视方法。
  10. 根据权利要求9所述的防近视平板,其特征在于:所述应用程序包括驱动部分、动态检测部分以及距离检测部分;
    所述驱动部分调用音频驱动的应用程序接口,完成对底层音频模组的控制;
    所述动态检测部分对麦克风接收的声波信号进行数据处理,通过与设定的动态阈值比较,检测检测区域是否存在动态目标;
    所述距离检测部分检测动态目标与平板之间的距离,与设定的距离阈值比较,并根据距离检测情况控制扬声器是否发出警报。
PCT/CN2020/123158 2020-10-23 2020-10-23 电子设备的防近视方法、防近视电子设备及防近视平板 WO2022082711A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/123158 WO2022082711A1 (zh) 2020-10-23 2020-10-23 电子设备的防近视方法、防近视电子设备及防近视平板

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/123158 WO2022082711A1 (zh) 2020-10-23 2020-10-23 电子设备的防近视方法、防近视电子设备及防近视平板

Publications (1)

Publication Number Publication Date
WO2022082711A1 true WO2022082711A1 (zh) 2022-04-28

Family

ID=81291154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123158 WO2022082711A1 (zh) 2020-10-23 2020-10-23 电子设备的防近视方法、防近视电子设备及防近视平板

Country Status (1)

Country Link
WO (1) WO2022082711A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307800A (ja) * 1995-08-22 1996-11-22 Utec:Kk テレビ近傍聴視防止器
CN103188463A (zh) * 2011-12-31 2013-07-03 青岛海尔软件有限公司 应用超声测距的电视防近视预警系统以及预警方法
CN104052871A (zh) * 2014-05-27 2014-09-17 上海电力学院 移动终端护眼装置及方法
CN104076364A (zh) * 2014-07-15 2014-10-01 哈尔滨工业大学 基于超声波定位技术的汽车障碍探测系统
CN106483525A (zh) * 2016-11-21 2017-03-08 北京凌宇智控科技有限公司 全向超声信号接收组件、全向超声测距系统及方法
CN109146927A (zh) * 2018-09-06 2019-01-04 广州市保伦电子有限公司 一种基于机器视觉的图像追踪定位方法及系统
US20190172329A1 (en) * 2016-07-22 2019-06-06 Lucis Technologies Holdings Limited Security system and method
CN110251210A (zh) * 2019-05-28 2019-09-20 聚融医疗科技(杭州)有限公司 一种基于分块rht的穿刺增强方法及装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307800A (ja) * 1995-08-22 1996-11-22 Utec:Kk テレビ近傍聴視防止器
CN103188463A (zh) * 2011-12-31 2013-07-03 青岛海尔软件有限公司 应用超声测距的电视防近视预警系统以及预警方法
CN104052871A (zh) * 2014-05-27 2014-09-17 上海电力学院 移动终端护眼装置及方法
CN104076364A (zh) * 2014-07-15 2014-10-01 哈尔滨工业大学 基于超声波定位技术的汽车障碍探测系统
US20190172329A1 (en) * 2016-07-22 2019-06-06 Lucis Technologies Holdings Limited Security system and method
CN106483525A (zh) * 2016-11-21 2017-03-08 北京凌宇智控科技有限公司 全向超声信号接收组件、全向超声测距系统及方法
CN109146927A (zh) * 2018-09-06 2019-01-04 广州市保伦电子有限公司 一种基于机器视觉的图像追踪定位方法及系统
CN110251210A (zh) * 2019-05-28 2019-09-20 聚融医疗科技(杭州)有限公司 一种基于分块rht的穿刺增强方法及装置

Similar Documents

Publication Publication Date Title
US10110986B1 (en) Haptic feedback for head-wearable speaker mount such as headphones or earbuds to indicate ambient sound
US10306355B2 (en) Orientation free handsfree device
JP6100286B2 (ja) 複数のタイプのセンサーからの情報に基づくジェスチャー検出
US10002429B2 (en) Apparatus and method for notifying a virtual reality user of real world objects
WO2019233325A1 (zh) 提示方法及移动终端
US10976432B2 (en) Acoustic locationing for smart environments
US20170169818A1 (en) User focus activated voice recognition
US9276541B1 (en) Event-based presentation and processing of content
US20230247360A1 (en) Modifying and transferring audio between devices
CN106453789B (zh) 一种闹钟音量的调节方法、装置及智能终端
TW201833728A (zh) 終端狀態判斷方法、裝置及終端
WO2019080775A1 (zh) 通知消息的提示方法及移动终端
WO2019157938A1 (zh) 条件切换取消方法及通信设备
WO2021017947A1 (zh) 终端控制方法、装置、移动终端及存储介质
US20210368230A1 (en) Loudness adjustment method and apparatus, and electronic device and storage medium
CN106030505A (zh) 显示装置及其控制方法
US20200296178A1 (en) Apparatus, method and computer program for triggering a function
WO2022082711A1 (zh) 电子设备的防近视方法、防近视电子设备及防近视平板
US20170287460A1 (en) Minimizing nuisance audio in an interior space
CN110380792B (zh) 屏幕状态的控制方法、移动终端以及计算机存储介质
US11232781B2 (en) Information processing device, information processing method, voice output device, and voice output method
CN113656260B (zh) 电子设备的控制方法、控制装置、电子设备及存储介质
US20190018493A1 (en) Actuating vibration element on device based on sensor input
CN112489394A (zh) 电子设备的防近视方法、防近视电子设备及防近视平板
CN108536272B (zh) 一种调整应用程序帧率的方法及移动终端

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20958293

Country of ref document: EP

Kind code of ref document: A1