Movatterモバイル変換


[0]ホーム

URL:


CN108742581A - Heartbeat detecting method, device, storage medium and terminal - Google Patents

Heartbeat detecting method, device, storage medium and terminal
Download PDF

Info

Publication number
CN108742581A
CN108742581ACN201810622710.6ACN201810622710ACN108742581ACN 108742581 ACN108742581 ACN 108742581ACN 201810622710 ACN201810622710 ACN 201810622710ACN 108742581 ACN108742581 ACN 108742581A
Authority
CN
China
Prior art keywords
information
pressure
heartbeat
pressure information
periodic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810622710.6A
Other languages
Chinese (zh)
Other versions
CN108742581B (en
Inventor
陈岩
刘耀勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810622710.6ApriorityCriticalpatent/CN108742581B/en
Publication of CN108742581ApublicationCriticalpatent/CN108742581A/en
Application grantedgrantedCritical
Publication of CN108742581BpublicationCriticalpatent/CN108742581B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请实施例公开了一种心跳检测方法、装置、存储介质及终端,该方法包括:首先当接收到启动指令时,根据预设时间间隔获取侧边压力信息;然后,根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;最后,根据所述周期性压力波确定并输出心跳信息,进而实现通过脉搏压力检测用户心跳,提高心跳检测准确性。

The embodiment of the present application discloses a heartbeat detection method, device, storage medium, and terminal. The method includes: firstly, when a startup instruction is received, acquiring side pressure information according to a preset time interval; then, according to the side pressure The information determines the periodic pressure wave, and the periodic pressure wave represents the heartbeat frequency; finally, the heartbeat information is determined and output according to the periodic pressure wave, so as to detect the user's heartbeat through the pulse pressure and improve the accuracy of heartbeat detection.

Description

Translated fromChinese
心跳检测方法、装置、存储介质及终端Heartbeat detection method, device, storage medium and terminal

技术领域technical field

本申请实施例涉及移动终端技术领域,尤其涉及心跳检测方法、装置、存储介质及终端。The embodiments of the present application relate to the technical field of mobile terminals, and in particular to a heartbeat detection method, device, storage medium and terminal.

背景技术Background technique

随着移动终端的不断发展,移动终端的功能越来越丰富。目前移动终端可以通过加速度传感器测量用户的运动信息,为用户提供健身建议。用户还可以通过终端设置的红外传感检测心跳。但是,通过红外传感器检测容易出现误差,且终端无法通过其他方式为用户提供心跳检测。With the continuous development of mobile terminals, the functions of mobile terminals are becoming more and more abundant. At present, the mobile terminal can measure the motion information of the user through the acceleration sensor, and provide fitness suggestions for the user. Users can also detect heartbeat through the infrared sensor set by the terminal. However, errors are prone to occur in the detection by the infrared sensor, and the terminal cannot provide the user with heartbeat detection in other ways.

发明内容Contents of the invention

本申请实施例的目的是提供一种心跳检测方法、装置、存储介质及终端,可以实现通过脉搏压力检测用户心跳,提高心跳检测准确性。The purpose of the embodiments of the present application is to provide a heartbeat detection method, device, storage medium, and terminal, which can detect a user's heartbeat through pulse pressure and improve the accuracy of heartbeat detection.

第一方面,本申请实施例提供了一种心跳检测方法,包括:In the first aspect, the embodiment of the present application provides a heartbeat detection method, including:

当接收到启动指令时,根据预设时间间隔获取侧边压力信息;When a start command is received, side pressure information is obtained according to a preset time interval;

根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;determining a periodic pressure wave based on the side pressure information, the periodic pressure wave representing a heartbeat frequency;

根据所述周期性压力波确定并输出心跳信息。Heartbeat information is determined and output based on the periodic pressure waves.

第二方面,本申请实施例提供了一种心跳检测装置,包括:In the second aspect, the embodiment of the present application provides a heartbeat detection device, including:

获取模块,用于当接收到启动指令时,根据预设时间间隔获取侧边压力信息;An acquisition module, configured to acquire side pressure information according to a preset time interval when a startup instruction is received;

确定模块,用于根据所述获取模块获取的所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;A determination module, configured to determine a periodic pressure wave according to the side pressure information acquired by the acquisition module, where the periodic pressure wave represents the heartbeat frequency;

输出模块,用于根据所述确定模块确定的所述周期性压力波确定并输出心跳信息。An output module, configured to determine and output heartbeat information according to the periodic pressure wave determined by the determination module.

第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所示的心跳检测方法。In a third aspect, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the heartbeat detection method as shown in the first aspect is implemented.

第四方面,本申请实施例提供了一种终端,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面所示的心跳检测方法。In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the computer program described in the first aspect is implemented. The heartbeat detection method shown.

本申请实施例中提供的心跳检测方案,首先当接收到启动指令时,根据预设时间间隔获取侧边压力信息;然后,根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;最后,根据所述周期性压力波确定并输出心跳信息,进而实现通过脉搏压力检测用户心跳,提高心跳检测准确性。In the heartbeat detection scheme provided in the embodiment of the present application, firstly, when a startup instruction is received, side pressure information is acquired according to a preset time interval; then, periodic pressure waves are determined according to the side pressure information, and the periodic pressure The wave represents the beating frequency of the heartbeat; finally, the heartbeat information is determined and output according to the periodic pressure wave, so as to realize the detection of the user's heartbeat through the pulse pressure and improve the accuracy of heartbeat detection.

附图说明Description of drawings

图1为本申请实施例提供的一种心跳检测方法的流程示意图;FIG. 1 is a schematic flow diagram of a heartbeat detection method provided in an embodiment of the present application;

图2为本申请实施例提供的另一种心跳检测方法的流程示意图;FIG. 2 is a schematic flow chart of another heartbeat detection method provided in the embodiment of the present application;

图3为本申请实施例提供的另一种心跳检测方法的流程示意图;FIG. 3 is a schematic flow diagram of another heartbeat detection method provided in the embodiment of the present application;

图4为本申请实施例提供的另一种心跳检测方法的流程示意图;FIG. 4 is a schematic flow diagram of another heartbeat detection method provided in the embodiment of the present application;

图5为本申请实施例提供的另一种心跳检测方法的流程示意图;FIG. 5 is a schematic flow chart of another heartbeat detection method provided in the embodiment of the present application;

图6为本申请实施例提供的另一种心跳检测方法的流程示意图;FIG. 6 is a schematic flow chart of another heartbeat detection method provided in the embodiment of the present application;

图7为本申请实施例提供的一种心跳检测装置的结构示意图;FIG. 7 is a schematic structural diagram of a heartbeat detection device provided in an embodiment of the present application;

图8为本申请实施例提供的一种移动终端的结构示意图。FIG. 8 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图并通过具体实施方式来进一步说明本申请的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The technical solution of the present application will be further described below in conjunction with the accompanying drawings and through specific implementation methods. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

随着移动终端的不断发展,移动终端的功能越来越丰富。目前移动终端可以通过终端设置的红外传感检测心跳。但是,通过红外传感器检测容易出现误差,且终端无法通过其他方式为用户提供心跳检测。With the continuous development of mobile terminals, the functions of mobile terminals are becoming more and more abundant. At present, the mobile terminal can detect the heartbeat through the infrared sensor set on the terminal. However, errors are prone to occur in the detection by the infrared sensor, and the terminal cannot provide the user with heartbeat detection in other ways.

本申请实施例提供了一种心跳检测方法,能够通过终端侧边设置的压力传感器获取表示心跳的周期性压力波,并基于周期性压力波确定心跳信息,进而实现通过脉搏压力检测用户心跳,提高心跳检测准确性。具体方案如下所示:The embodiment of the present application provides a heartbeat detection method, which can obtain the periodic pressure wave representing the heartbeat through the pressure sensor installed on the side of the terminal, and determine the heartbeat information based on the periodic pressure wave, thereby realizing the detection of the user's heartbeat through the pulse pressure, improving the Heartbeat detection accuracy. The specific plan is as follows:

图1为本申请实施例提供的心跳检测方法的流程示意图,该方法用于单手持握终端进行心跳检测的情况,该方法可以由移动终端来执行,该移动终端可以为智能手机、平板电脑、可穿戴设备、笔记本电脑等,该方法具体包括如下步骤:Figure 1 is a schematic flow diagram of a heartbeat detection method provided by an embodiment of the present application. The method is used in the case of holding a terminal with one hand for heartbeat detection. The method can be performed by a mobile terminal, which can be a smart phone, a tablet computer, Wearable devices, notebook computers, etc., the method specifically includes the following steps:

步骤110、当接收到启动指令时,根据预设时间间隔获取侧边压力信息。Step 110, when receiving the start instruction, acquire side pressure information according to a preset time interval.

终端由两长边和两短边组成。可以在两长边上分别设置压力传感器。压力传感器的触点可以位于长边的中间,触点长度为长边长度的三分之一。压力传感器还可以位于长边两端的三分之一处。由于用户在单手持握时,通常持握终端的底端,在底端设置压力传感器的触点能够更加便捷的检测压力。可以在长边设置多个触点,每个触点将检测到的变量信息传输至压力传感器。压力传感器可以采用压阻式力传感器、陶瓷压力传感器、扩散硅压力传感器或压电式压力传感器中的至少一种。The terminal consists of two long sides and two short sides. Pressure sensors can be respectively arranged on the two long sides. The contact point of the pressure sensor can be located in the middle of the long side, and the contact length is one-third of the length of the long side. The pressure sensors can also be located in one-third of the ends of the long sides. Since the user usually holds the bottom end of the terminal when holding it with one hand, it is more convenient to detect the pressure by setting the contacts of the pressure sensor at the bottom end. Multiple contacts can be provided on the long side, each contact transmitting the detected variable information to the pressure sensor. The pressure sensor can be at least one of piezoresistive force sensor, ceramic pressure sensor, diffused silicon pressure sensor or piezoelectric pressure sensor.

压力传感器包括压力敏感组件和处理组件,压力敏感组件与上述触点连接,处理组件根据压力敏感组件获取到的变量信号确定压力值。侧边压力信息可以包括该压力值,还可以包括压力值对应的出点信息,即用户施压的位置,进而得到侧边上多个触点检测到的不同压力值。The pressure sensor includes a pressure sensitive component and a processing component, the pressure sensitive component is connected to the above contacts, and the processing component determines the pressure value according to the variable signal obtained by the pressure sensitive component. The side pressure information may include the pressure value, and may also include information about the exit point corresponding to the pressure value, that is, the position where the user exerts pressure, so as to obtain different pressure values detected by multiple contacts on the side.

进一步的,用户可以通过执行预设的终端操作,以启动执行步骤110。例如,用户单手持握时,将终端进行倾斜。通过陀螺仪可检测到终端处于倾斜状态。此时如果用户通过持握终端的手对终端侧边上的压力传感器触点进行施压,则可触发执行步骤110。Further, the user may execute step 110 by executing a preset terminal operation. For example, when the user holds the terminal with one hand, the terminal is tilted. The tilting state of the terminal can be detected by the gyroscope. At this time, if the user presses the contact of the pressure sensor on the side of the terminal by holding the terminal, step 110 may be triggered.

可选的,用户启动预设应用程序(APP)的脉搏压力检测功能,当用户点击该功能中的检测按钮时,执行步骤110。Optionally, the user starts the pulse pressure detection function of the preset application program (APP), and when the user clicks the detection button in the function, step 110 is executed.

进一步的,为了在合适的时间中确定心跳信息,在预设时间内通过侧边设置的压力传感器获取压力信息。预设时间可以为10s-30s,可选为20s。Further, in order to determine the heartbeat information at an appropriate time, the pressure information is acquired through the pressure sensor arranged on the side within the preset time. The preset time can be 10s-30s, 20s is optional.

步骤120、根据侧边压力信息确定周期性压力波,周期性压力波表示心跳跳动频率。Step 120: Determine the periodic pressure wave according to the side pressure information, where the periodic pressure wave represents the beating frequency of the heartbeat.

随着心跳周期性的调动,用户施加在压力传感器上的压力会出现周期性的增加,压力增加时对应脉搏收缩压。由于心脏收缩引起的脉搏跳动所对应的压力增加值是固定的,或在较小的偏差值范围内的。且当心脏舒张时,检测到的压力会降低固定值。因此根据预设压力范围内的压力增加和压力减小的变化特征,确定周期性压力波。With the periodic mobilization of the heartbeat, the pressure exerted by the user on the pressure sensor will increase periodically, and the increase in pressure corresponds to the systolic blood pressure of the pulse. The pressure increase value corresponding to the pulse beat caused by the systole is fixed, or within a small deviation range. And when the heart relaxes, the detected pressure will decrease by a fixed value. Periodic pressure waves are therefore determined according to the variation characteristics of pressure increases and pressure decreases within a preset pressure range.

进一步的,根据预设放大函数放大侧边压力信息,得到参考压力信息;然后,根据预设滤波函数和参考压力信息确定周期性压力波。Further, the side pressure information is amplified according to a preset amplification function to obtain reference pressure information; then, the periodic pressure wave is determined according to a preset filter function and the reference pressure information.

由于心跳引起的压力变化较小,所以在获取到侧边压力信息后,通过预设放大函数对侧边压力信息进行放大。可以通过放大电路实现预设放大函数功能,通过放大电路进行函数放大能够快速稳定的进行放大。Since the pressure change caused by the heartbeat is small, after the side pressure information is obtained, the side pressure information is amplified by a preset amplification function. The preset amplification function can be realized through the amplification circuit, and the function amplification through the amplification circuit can be rapidly and stably amplified.

预设放大函数可以为,将侧边压力信息放大至原信号值的N倍,其中,N大于1,可选为2倍。The preset amplification function may be to amplify the side pressure information to N times the original signal value, where N is greater than 1, and may be 2 times.

用户施加在压力传感器上的压力值可能持续相同,也可能持续不同。如果持续相同,则可以通过带通滤波器(band-pass filter)获取周期性压力波对参考压力信息进行滤波,得到心跳对应的周期性压力波。The pressure value exerted by the user on the pressure sensor may be continuously the same or may be continuously different. If it remains the same, a band-pass filter (band-pass filter) can be used to obtain periodic pressure waves to filter the reference pressure information to obtain periodic pressure waves corresponding to the heartbeat.

步骤130、根据周期性压力波确定并输出心跳信息。Step 130: Determine and output heartbeat information according to the periodic pressure wave.

根据周期性压力波的确定心跳收缩压,根据心跳收缩压的频率确定心跳信息。The heartbeat systolic pressure is determined according to the periodic pressure wave, and the heartbeat information is determined according to the frequency of the heartbeat systolic pressure.

本申请实施例中提供的心跳检测方法,首先当接收到启动指令时,根据预设时间间隔获取侧边压力信息;然后,根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;最后,根据所述周期性压力波确定并输出心跳信息,进而实现通过脉搏压力检测用户心跳,提高心跳检测准确性。In the heartbeat detection method provided in the embodiment of the present application, firstly, when a startup command is received, side pressure information is acquired according to a preset time interval; then, periodic pressure waves are determined according to the side pressure information, and the periodic pressure The wave represents the beating frequency of the heartbeat; finally, the heartbeat information is determined and output according to the periodic pressure wave, so as to realize the detection of the user's heartbeat through the pulse pressure and improve the accuracy of heartbeat detection.

图2为本申请实施例提供的另一种心跳检测方法的流程示意图,作为对上述实施例的进一步说明,包括:FIG. 2 is a schematic flow diagram of another heartbeat detection method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤210、当接收到启动指令时,根据预设时间间隔获取侧边压力信息。Step 210, when receiving the start instruction, acquire side pressure information according to a preset time interval.

步骤220、根据侧边压力信息确定提示信息。Step 220, determine prompt information according to the side pressure information.

在测量心率时,用户在压力传感器上施加的压力可能过低,导致无法准确的测量出心率。此时,终端在获取到侧边压力信息后,判断侧边压力信息是否大于预设压力阈值,预设压力阈值可以为1kg对应的重力。When measuring heart rate, the pressure exerted by the user on the pressure sensor may be too low, resulting in the inability to accurately measure the heart rate. At this time, after acquiring the side pressure information, the terminal judges whether the side pressure information is greater than a preset pressure threshold, and the preset pressure threshold may be the gravity corresponding to 1 kg.

如果侧边压力信息小于预设压力信息,则确定提示信息为“再用力些”。如果侧边压力信息大于等于预设压力信息,则确定提示信息为“用力正合适”。If the side pressure information is less than the preset pressure information, it is determined that the prompt information is "use more force". If the side pressure information is greater than or equal to the preset pressure information, it is determined that the prompt information is "the force is just right".

步骤230、输出提示信息。Step 230, output prompt information.

步骤210在接收到启动指令时,通过检测界面显示检测到的压力值。但步骤220确定提示信息时,在检测界面显示确定的提示信息。当侧边压力信息小于预设压力信息时,提示信息通过闪烁和加亮方式显示。In step 210, when the start command is received, the detected pressure value is displayed through the detection interface. However, when the prompt information is determined in step 220, the confirmed prompt information is displayed on the detection interface. When the side pressure information is less than the preset pressure information, the prompt information will be displayed by flashing and highlighting.

步骤240、根据侧边压力信息确定周期性压力波,周期性压力波表示心跳跳动频率。Step 240: Determine the periodic pressure wave according to the side pressure information, where the periodic pressure wave represents the beating frequency of the heartbeat.

步骤250、根据周期性压力波确定并输出心跳信息。Step 250: Determine and output heartbeat information according to the periodic pressure wave.

本申请实施例提供的心跳检测方法,能够根据用户施加的压力值确定提示信息,并在检测过程中显示确定的提示信息,使用户更加准确的施加压力,提高心跳检测的准确性。The heartbeat detection method provided by the embodiment of the present application can determine the prompt information according to the pressure value applied by the user, and display the determined prompt information during the detection process, so that the user can apply pressure more accurately and improve the accuracy of heartbeat detection.

图3为本申请实施例提供的另一种心跳检测方法的流程示意图,作为对上述实施例的进一步说明,包括:FIG. 3 is a schematic flowchart of another heartbeat detection method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤310、当接收到启动指令时,根据预设时间间隔获取侧边压力信息。Step 310, when receiving the start instruction, acquire side pressure information according to a preset time interval.

步骤320、根据预设放大函数放大侧边压力信息,得到参考压力信息。Step 320: Amplify the side pressure information according to a preset amplification function to obtain reference pressure information.

步骤330、根据第一预设阈值和参考压力信息确定目标压力信息。Step 330: Determine target pressure information according to the first preset threshold and reference pressure information.

第一预设阈值可以为带通滤波对应的两个端值,用于从参考压力信息中滤出用力过大或用力过小时对应的噪点。The first preset threshold may be two end values corresponding to the band-pass filter, and is used to filter out noise points corresponding to too much or too little force from the reference pressure information.

步骤340、根据预设滤波函数和目标压力信息确定周期性压力波。Step 340, determine the periodic pressure wave according to the preset filter function and the target pressure information.

预设滤波函数可以为带通滤波函数,具体的可以通过带通滤波器进行滤波,进而确定出周期性压力波。The preset filter function may be a band-pass filter function, and specifically, the band-pass filter may be used for filtering to determine the periodic pressure wave.

步骤350、根据周期性压力波确定并输出心跳信息。Step 350: Determine and output heartbeat information according to the periodic pressure wave.

本申请实施例提供的心跳检测方法,能够通过第一预设阈值对非正常的压力值进行去噪,并通过带通滤波函数确定出周期性压力波,提高心跳检测的准确性。The heartbeat detection method provided by the embodiment of the present application can denoise abnormal pressure values through the first preset threshold, and determine periodic pressure waves through a band-pass filter function, thereby improving the accuracy of heartbeat detection.

图4为本申请实施例提供的另一种心跳检测方法的流程示意图,作为对上述实施例的进一步说明,包括:FIG. 4 is a schematic flowchart of another heartbeat detection method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤410、当接收到启动指令时,根据预设时间间隔获取侧边压力信息。Step 410, when receiving the start instruction, acquire side pressure information according to a preset time interval.

步骤420、根据预设放大函数放大侧边压力信息,得到参考压力信息。Step 420: Amplify the side pressure information according to a preset amplification function to obtain reference pressure information.

步骤430、计算预设检测周期中参考压力信息的平均压力值。Step 430, calculating the average pressure value of the reference pressure information in the preset detection period.

预设检测周期可以为2-5秒。用户在检测过程中,其输入的压力趋势可能会不断的发生变化。例如,用户开始阶段力量较大,后续力量逐渐降低。此时,计算每个预设检测周期中的平均压力值。The preset detection cycle can be 2-5 seconds. During the detection process of the user, the pressure trend input by the user may change continuously. For example, the user's power is relatively high at the beginning, and gradually decreases in the subsequent stages. At this time, the average pressure value in each preset detection cycle is calculated.

步骤440、根据平均压力值、高通滤波函数和参考压力信息确定周期性压力波。Step 440, determine the periodic pressure wave according to the average pressure value, the high-pass filter function and the reference pressure information.

根据每个预设检测周期中的平均压力值,使用高通滤波函数进行高通滤波,得到压力值较大的参考压力信息。根据每个预设检测周期的平均压力值进行归一化处理,得到周期性压力波。According to the average pressure value in each preset detection cycle, a high-pass filter function is used to perform high-pass filtering to obtain reference pressure information with a larger pressure value. Normalization is performed according to the average pressure value of each preset detection period to obtain periodic pressure waves.

步骤450、根据周期性压力波确定并输出心跳信息。Step 450: Determine and output heartbeat information according to the periodic pressure wave.

本申请实施例提供的心跳检测方法,能够将用户输入的侧边压力信息,按照预设检测周期进行划分,并根据每个预设检测周期中的平均压力值进行滤波,实现准确的检测压力变化过程中的心跳,提高心跳检测的准确性。The heartbeat detection method provided by the embodiment of the present application can divide the side pressure information input by the user according to the preset detection cycle, and filter according to the average pressure value in each preset detection cycle, so as to realize accurate detection of pressure changes heartbeat during the process, improving the accuracy of heartbeat detection.

图5为本申请实施例提供的另一种心跳检测方法的流程示意图,作为对上述实施例的进一步说明,包括:FIG. 5 is a schematic flowchart of another heartbeat detection method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤510、当接收到启动指令时,根据预设时间间隔通过终端第一侧边设置的第一压力传感器获取第一压力信息。Step 510, when receiving the activation instruction, acquire the first pressure information through the first pressure sensor provided on the first side of the terminal according to the preset time interval.

可以在终端的两侧分别设置压力传感器。预设时间间隔可以为0.5s-1.5s,可选为1s。第一侧边可以为屏幕左侧的长边。Pressure sensors may be respectively provided on both sides of the terminal. The preset time interval can be 0.5s-1.5s, and 1s is optional. The first side may be the long side on the left side of the screen.

步骤520、根据预设时间间隔通过终端第二侧边设置的第二压力传感器获取第二压力信息。Step 520: Obtain second pressure information through a second pressure sensor provided on the second side of the terminal according to a preset time interval.

第一侧边可以为屏幕右侧的长边。第二压力传感器可以与第一压力传感器相邻设置,并分别通过导线连接到终端两侧边上的压力触点上。The first side may be the long side on the right side of the screen. The second pressure sensor can be arranged adjacent to the first pressure sensor, and is respectively connected to the pressure contacts on both sides of the terminal through wires.

步骤530、根据第一压力信息和第二压力信息确定侧边压力信息。Step 530: Determine side pressure information according to the first pressure information and the second pressure information.

可选的,根据第一压力信息确定第一侧边压力信息,并根据第一侧边压力信息确定第一心跳信息。根据第二压力信息确定第二侧边压力信息,并根据第二侧边压力信息确定第二心跳信息。根据第一心跳信息和第二心跳信息确定最终的心跳信息。示例性的,如果一侧边无法准确度检测出心跳,而另一边能够较为准确的检测出心跳,则使用有效心跳信息作为输出的心跳信息。Optionally, the first side pressure information is determined according to the first pressure information, and the first heartbeat information is determined according to the first side pressure information. The second side pressure information is determined according to the second pressure information, and the second heartbeat information is determined according to the second side pressure information. Final heartbeat information is determined according to the first heartbeat information and the second heartbeat information. Exemplarily, if one side cannot accurately detect the heartbeat, but the other side can detect the heartbeat more accurately, valid heartbeat information is used as the output heartbeat information.

步骤540、根据侧边压力信息确定周期性压力波,周期性压力波表示心跳跳动频率。Step 540: Determine the periodic pressure wave according to the side pressure information, where the periodic pressure wave represents the beating frequency of the heartbeat.

步骤550、根据周期性压力波确定并输出心跳信息。Step 550: Determine and output heartbeat information according to the periodic pressure wave.

本申请实施例提供的心跳检测方法,能够通过两个侧边分别进行心跳检测,进而提高心跳检测的可靠性。The heartbeat detection method provided in the embodiment of the present application can respectively perform heartbeat detection through two sides, thereby improving the reliability of heartbeat detection.

图6为本申请实施例提供的另一种心跳检测方法的流程示意图,作为对上述实施例的进一步说明,包括:FIG. 6 is a schematic flowchart of another heartbeat detection method provided by the embodiment of the present application, as a further description of the above embodiment, including:

步骤610、当接收到启动指令时,根据预设时间间隔获取侧边压力信息。Step 610, when receiving an activation instruction, acquire side pressure information according to a preset time interval.

步骤620、根据侧边压力信息确定周期性压力波,周期性压力波表示心跳跳动频率。Step 620: Determine the periodic pressure wave according to the side pressure information, where the periodic pressure wave represents the beating frequency of the heartbeat.

步骤630、获取周期性压力波的波峰信息。Step 630, acquiring peak information of the periodic pressure wave.

步骤640、根据波峰信息确定心率信息。Step 640, determine heart rate information according to the peak information.

由于心跳对应的压力信息为瞬间升高连接瞬间降低,因此可以根据波峰的峰值以及波峰出现的频率,确定心率信息。进一步的,可以根据波峰的峰值确定每次心跳的收缩压,进而确定是否存在窦性心律不齐等异常情况。基于异常情况确定心率信息。Since the pressure information corresponding to the heartbeat is an instantaneous increase and an instantaneous decrease, the heart rate information can be determined according to the peak value of the wave peak and the frequency of the wave peak. Furthermore, the systolic blood pressure of each heartbeat can be determined according to the peak value of the peak, and then whether there is abnormality such as sinus arrhythmia can be determined. Heart rate information is determined based on abnormalities.

步骤650、输出心率信息。Step 650, output heart rate information.

本申请实施例提供的心跳检测方法,能够根据周期性压力波的波峰信息确定心率信息,提高心跳检测准确性。The heartbeat detection method provided in the embodiment of the present application can determine the heart rate information according to the peak information of the periodic pressure wave, and improve the accuracy of the heartbeat detection.

图7为本申请实施例提供的一种心跳检测装置的结构示意图。如图7所示,该装置包括:获取模块710、确定模块720和输出模块730。FIG. 7 is a schematic structural diagram of a heartbeat detection device provided by an embodiment of the present application. As shown in FIG. 7 , the device includes: an acquisition module 710 , a determination module 720 and an output module 730 .

获取模块710,用于当接收到启动指令时,根据预设时间间隔获取侧边压力信息;An acquisition module 710, configured to acquire side pressure information according to a preset time interval when a startup instruction is received;

确定模块720,用于根据所述获取模块710获取的所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;A determination module 720, configured to determine a periodic pressure wave according to the side pressure information acquired by the acquisition module 710, the periodic pressure wave representing the heartbeat frequency;

输出模块730,用于根据所述确定模块720确定的所述周期性压力波确定并输出心跳信息。The output module 730 is configured to determine and output heartbeat information according to the periodic pressure wave determined by the determination module 720 .

进一步的,输出模块730还用于:Further, the output module 730 is also used for:

根据所述侧边压力信息确定提示信息;determining prompt information according to the side pressure information;

输出所述提示信息。Output the prompt information.

进一步的,确定模块720用于:Further, the determining module 720 is used for:

根据预设放大函数放大所述侧边压力信息,得到参考压力信息;amplifying the side pressure information according to a preset amplification function to obtain reference pressure information;

根据预设滤波函数和所述参考压力信息确定周期性压力波。Periodic pressure waves are determined according to a preset filter function and the reference pressure information.

进一步的,确定模块720用于根据预设滤波函数和所述参考压力信息确定周期性压力波,包括:Further, the determination module 720 is used to determine the periodic pressure wave according to the preset filter function and the reference pressure information, including:

根据第一预设阈值和所述参考压力信息确定目标压力信息;determining target pressure information according to a first preset threshold and the reference pressure information;

根据预设滤波函数和所述目标压力信息确定周期性压力波。Periodic pressure waves are determined according to a preset filter function and the target pressure information.

进一步的,确定模块720用于根据预设滤波函数和所述参考压力信息确定周期性压力波,包括:Further, the determination module 720 is used to determine the periodic pressure wave according to the preset filter function and the reference pressure information, including:

计算预设检测周期中所述参考压力信息的平均压力值;calculating the average pressure value of the reference pressure information in the preset detection period;

根据所述平均压力值、高通滤波函数和所述参考压力信息确定周期性压力波。Periodic pressure waves are determined based on the average pressure value, a high-pass filter function and the reference pressure information.

进一步的,获取模块710用于:Further, the acquiring module 710 is used for:

根据预设时间间隔通过终端第一侧边设置的第一压力传感器获取第一压力信息;acquiring first pressure information through a first pressure sensor provided on the first side of the terminal according to a preset time interval;

根据预设时间间隔通过终端第二侧边设置的第二压力传感器获取第二压力信息;Obtaining second pressure information through a second pressure sensor provided on the second side of the terminal according to a preset time interval;

根据所述第一压力信息和所述第二压力信息确定侧边压力信息。Side pressure information is determined according to the first pressure information and the second pressure information.

进一步的,输出模块730用于:Further, the output module 730 is used for:

获取周期性压力波的波峰信息;Obtain the peak information of the periodic pressure wave;

根据所述波峰信息确定心率信息。Heart rate information is determined according to the peak information.

本申请实施例中提供的心跳检测方法,首先当接收到启动指令时,获取模块710根据预设时间间隔获取侧边压力信息;然后,确定模块720根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;最后,输出模块730根据所述周期性压力波确定并输出心跳信息,进而实现通过脉搏压力检测用户心跳,提高心跳检测准确性。In the heartbeat detection method provided in the embodiment of the present application, firstly, when a startup instruction is received, the acquisition module 710 acquires side pressure information according to a preset time interval; then, the determination module 720 determines the periodic pressure wave according to the side pressure information , the periodic pressure wave represents the beating frequency of the heartbeat; finally, the output module 730 determines and outputs heartbeat information according to the periodic pressure wave, so as to detect the user's heartbeat through the pulse pressure and improve the accuracy of heartbeat detection.

上述装置可执行本申请前述所有实施例所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请前述所有实施例所提供的方法。The above-mentioned device can execute the methods provided by all the foregoing embodiments of the present application, and has corresponding functional modules and beneficial effects for executing the above-mentioned methods. For technical details not exhaustively described in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present application.

图8是本申请实施例提供的一种终端设备的结构示意图。如图8所示,该终端可以包括:壳体(图中未示出)、存储器801、中央处理器(Central ProcessingUnit,CPU)802(又称处理器,以下简称CPU)、存储在存储器801上并可在处理器802上运行的计算机程序、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU802和所述存储器801设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述存储器801,用于存储可执行程序代码;所述CPU802通过读取所述存储器801中存储的可执行程序代码来运行与所述可执行程序代码对应的程序。FIG. 8 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 8 , the terminal may include: a housing (not shown in the figure), a memory 801, a central processing unit (Central Processing Unit, CPU) 802 (also known as a processor, hereinafter referred to as CPU), and stored in the memory 801. A computer program, a circuit board (not shown in the figure) and a power supply circuit (not shown in the figure) that can run on the processor 802 . The circuit board is placed inside the space surrounded by the housing; the CPU 802 and the memory 801 are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the terminal; The memory 801 is used to store executable program codes; the CPU 802 runs programs corresponding to the executable program codes by reading the executable program codes stored in the memory 801 .

所述终端还包括:外设接口803、RF(Radio Frequency,射频)电路805、音频电路806、扬声器811、电源管理芯片808、输入/输出(I/O)子系统809、触摸屏812、其他输入/控制设备810以及外部端口804,这些部件通过一个或多个通信总线或信号线807来通信。The terminal also includes: peripheral interface 803, RF (Radio Frequency, radio frequency) circuit 805, audio circuit 806, speaker 811, power management chip 808, input/output (I/O) subsystem 809, touch screen 812, other input /control device 810 and external port 804 , these components communicate via one or more communication buses or signal lines 807 .

应该理解的是,图示终端设备800仅仅是终端的一个范例,并且终端设备800可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal device 800 is only an example of a terminal, and that the terminal device 800 may have more or fewer components than shown in the figure, two or more components may be combined, or Different component configurations are possible. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于一种终端设备进行详细的描述,该终端设备以智能手机为例。The following describes a terminal device provided in this embodiment in detail, and the terminal device takes a smart phone as an example.

存储器801,所述存储器801可以被CPU802、外设接口803等访问,所述存储器801可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 801, the memory 801 can be accessed by the CPU 802, the peripheral interface 803, etc., the memory 801 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口803,所述外设接口803可以将设备的输入和输出外设连接到CPU802和存储器801。Peripheral interface 803 , which can connect the input and output peripherals of the device to CPU 802 and memory 801 .

I/O子系统809,所述I/O子系统809可以将设备上的输入输出外设,例如触摸屏812和其他输入/控制设备810,连接到外设接口803。I/O子系统809可以包括显示控制器8091和用于控制其他输入/控制设备810的一个或多个输入控制器8092。其中,一个或多个输入控制器8092从其他输入/控制设备810接收电信号或者向其他输入/控制设备810发送电信号,其他输入/控制设备810可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器8092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 809 , the I/O subsystem 809 can connect input and output peripherals on the device, such as a touch screen 812 and other input/control devices 810 , to the peripheral interface 803 . I/O subsystem 809 may include a display controller 8091 and one or more input controllers 8092 for controlling other input/control devices 810 . Among them, one or more input controllers 8092 receive electrical signals from or send electrical signals to other input/control devices 810, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 8092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

其中,按照触摸屏的工作原理和传输信息的介质分类,触摸屏812可以为电阻式、电容感应式、红外线式或表面声波式。按照安装方式分类,触摸屏812可以为:外挂式、内置式或整体式。按照技术原理分类,触摸屏812可以为:矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏或表面声波技术触摸屏。Wherein, according to the working principle of the touch screen and the classification of the medium for transmitting information, the touch screen 812 can be a resistive type, a capacitive sensing type, an infrared type or a surface acoustic wave type. Classified according to the installation method, the touch screen 812 can be: plug-in type, built-in type or integral type. Classified according to technical principles, the touch screen 812 can be: a touch screen with vector pressure sensing technology, a touch screen with resistive technology, a touch screen with capacitive technology, a touch screen with infrared technology or a touch screen with surface acoustic wave technology.

触摸屏812,所述触摸屏812是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。可选的,触摸屏812将用户在触屏幕上触发的电信号(如接触面的电信号),发送给处理器802。A touch screen 812. The touch screen 812 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like. Optionally, the touch screen 812 sends an electrical signal triggered by the user on the touch screen (such as an electrical signal on the contact surface) to the processor 802 .

I/O子系统809中的显示控制器8091从触摸屏812接收电信号或者向触摸屏812发送电信号。触摸屏812检测触摸屏上的接触,显示控制器8091将检测到的接触转换为与显示在触摸屏812上的用户界面对象的交互,即实现人机交互,显示在触摸屏812上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 8091 in the I/O subsystem 809 receives electrical signals from the touch screen 812 or sends electrical signals to the touch screen 812 . The touch screen 812 detects the contact on the touch screen, and the display controller 8091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 812, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 812 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touch screen.

RF电路805,主要用于建立智能音箱与无线网络(即网络侧)的通信,实现智能音箱与无线网络的数据接收和发送。例如收发短信息、电子邮件等。The RF circuit 805 is mainly used to establish communication between the smart speaker and the wireless network (that is, the network side), and realize data reception and transmission between the smart speaker and the wireless network. Such as sending and receiving short messages, e-mails, etc.

音频电路806,主要用于从外设接口803接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器811。The audio circuit 806 is mainly used to receive audio data from the peripheral interface 803 , convert the audio data into electrical signals, and send the electrical signals to the speaker 811 .

扬声器811,用于将智能音箱通过RF电路805从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 811 is used to restore the voice signal received by the smart speaker from the wireless network through the RF circuit 805 into sound and play the sound to the user.

电源管理芯片808,用于为CPU802、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 808 is used for power supply and power management for the hardware connected to the CPU 802 , the I/O subsystem and the peripheral interface.

在本实施例中,中央处理器802用于:In this embodiment, the central processing unit 802 is used for:

当接收到启动指令时,根据预设时间间隔获取侧边压力信息;When a start command is received, side pressure information is obtained according to a preset time interval;

根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;determining a periodic pressure wave based on the side pressure information, the periodic pressure wave representing a heartbeat frequency;

根据所述周期性压力波确定并输出心跳信息。Heartbeat information is determined and output based on the periodic pressure waves.

进一步的,在根据预设时间间隔获取侧边压力信息之后,包括:Further, after obtaining side pressure information according to a preset time interval, including:

根据所述侧边压力信息确定提示信息;determining prompt information according to the side pressure information;

输出所述提示信息。Output the prompt information.

进一步的,所述根据所述侧边压力信息确定周期性压力波,包括:Further, the determining the periodic pressure wave according to the side pressure information includes:

根据预设放大函数放大所述侧边压力信息,得到参考压力信息;amplifying the side pressure information according to a preset amplification function to obtain reference pressure information;

根据预设滤波函数和所述参考压力信息确定周期性压力波。Periodic pressure waves are determined according to a preset filter function and the reference pressure information.

进一步的,所述根据预设滤波函数和所述参考压力信息确定周期性压力波,包括:Further, the determining the periodic pressure wave according to the preset filter function and the reference pressure information includes:

根据第一预设阈值和所述参考压力信息确定目标压力信息;determining target pressure information according to a first preset threshold and the reference pressure information;

根据预设滤波函数和所述目标压力信息确定周期性压力波。Periodic pressure waves are determined according to a preset filter function and the target pressure information.

进一步的,所述根据预设滤波函数和所述参考压力信息确定周期性压力波,包括:Further, the determining the periodic pressure wave according to the preset filter function and the reference pressure information includes:

计算预设检测周期中所述参考压力信息的平均压力值;calculating the average pressure value of the reference pressure information in the preset detection period;

根据所述平均压力值、高通滤波函数和所述参考压力信息确定周期性压力波。Periodic pressure waves are determined based on the average pressure value, a high-pass filter function and the reference pressure information.

进一步的,所述根据预设时间间隔获取侧边压力信息,包括:Further, the acquisition of side pressure information according to a preset time interval includes:

根据预设时间间隔通过终端第一侧边设置的第一压力传感器获取第一压力信息;acquiring first pressure information through a first pressure sensor provided on the first side of the terminal according to a preset time interval;

根据预设时间间隔通过终端第二侧边设置的第二压力传感器获取第二压力信息;Obtaining second pressure information through a second pressure sensor provided on the second side of the terminal according to a preset time interval;

根据所述第一压力信息和所述第二压力信息确定侧边压力信息。Side pressure information is determined according to the first pressure information and the second pressure information.

进一步的,根据所述周期性压力波确定心跳信息,包括:Further, determining the heartbeat information according to the periodic pressure wave includes:

获取周期性压力波的波峰信息;Obtain the peak information of the periodic pressure wave;

根据所述波峰信息确定心率信息。Heart rate information is determined according to the peak information.

本申请实施例还提供一种包含终端设备可执行指令的存储介质,所述终端设备可执行指令在由终端设备处理器执行时用于执行一种心跳检测方法,该方法包括:The embodiment of the present application also provides a storage medium containing executable instructions of the terminal device, the executable instructions of the terminal device are used to execute a heartbeat detection method when executed by the processor of the terminal device, the method includes:

当接收到启动指令时,根据预设时间间隔获取侧边压力信息;When a start command is received, side pressure information is obtained according to a preset time interval;

根据所述侧边压力信息确定周期性压力波,所述周期性压力波表示心跳跳动频率;determining a periodic pressure wave based on the side pressure information, the periodic pressure wave representing a heartbeat frequency;

根据所述周期性压力波确定并输出心跳信息。Heartbeat information is determined and output based on the periodic pressure waves.

进一步的,在根据预设时间间隔获取侧边压力信息之后,包括:Further, after obtaining side pressure information according to a preset time interval, including:

根据所述侧边压力信息确定提示信息;determining prompt information according to the side pressure information;

输出所述提示信息。Output the prompt information.

进一步的,所述根据所述侧边压力信息确定周期性压力波,包括:Further, the determining the periodic pressure wave according to the side pressure information includes:

根据预设放大函数放大所述侧边压力信息,得到参考压力信息;amplifying the side pressure information according to a preset amplification function to obtain reference pressure information;

根据预设滤波函数和所述参考压力信息确定周期性压力波。Periodic pressure waves are determined according to a preset filter function and the reference pressure information.

进一步的,所述根据预设滤波函数和所述参考压力信息确定周期性压力波,包括:Further, the determining the periodic pressure wave according to the preset filter function and the reference pressure information includes:

根据第一预设阈值和所述参考压力信息确定目标压力信息;determining target pressure information according to a first preset threshold and the reference pressure information;

根据预设滤波函数和所述目标压力信息确定周期性压力波。Periodic pressure waves are determined according to a preset filter function and the target pressure information.

进一步的,所述根据预设滤波函数和所述参考压力信息确定周期性压力波,包括:Further, the determining the periodic pressure wave according to the preset filter function and the reference pressure information includes:

计算预设检测周期中所述参考压力信息的平均压力值;calculating the average pressure value of the reference pressure information in the preset detection period;

根据所述平均压力值、高通滤波函数和所述参考压力信息确定周期性压力波。Periodic pressure waves are determined based on the average pressure value, a high-pass filter function and the reference pressure information.

进一步的,所述根据预设时间间隔获取侧边压力信息,包括:Further, the acquisition of side pressure information according to a preset time interval includes:

根据预设时间间隔通过终端第一侧边设置的第一压力传感器获取第一压力信息;acquiring first pressure information through a first pressure sensor provided on the first side of the terminal according to a preset time interval;

根据预设时间间隔通过终端第二侧边设置的第二压力传感器获取第二压力信息;Obtaining second pressure information through a second pressure sensor provided on the second side of the terminal according to a preset time interval;

根据所述第一压力信息和所述第二压力信息确定侧边压力信息。Side pressure information is determined according to the first pressure information and the second pressure information.

进一步的,根据所述周期性压力波确定心跳信息,包括:Further, determining the heartbeat information according to the periodic pressure wave includes:

获取周期性压力波的波峰信息;Obtain the peak information of the periodic pressure wave;

根据所述波峰信息确定心率信息。Heart rate information is determined according to the peak information.

本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present application may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional procedural Programming language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).

当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的心跳检测操作,还可以执行本申请任意实施例所提供的心跳检测方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided in the embodiments of the present application, the computer-executable instructions are not limited to the above-mentioned heartbeat detection operation, and can also execute the heartbeat detection method provided in any embodiment of the present application. related operations.

注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and technical principles used in this application. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope is determined by the scope of the appended claims.

Claims (10)

CN201810622710.6A2018-06-152018-06-15 Heartbeat detection method, device, storage medium and terminalExpired - Fee RelatedCN108742581B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810622710.6ACN108742581B (en)2018-06-152018-06-15 Heartbeat detection method, device, storage medium and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810622710.6ACN108742581B (en)2018-06-152018-06-15 Heartbeat detection method, device, storage medium and terminal

Publications (2)

Publication NumberPublication Date
CN108742581Atrue CN108742581A (en)2018-11-06
CN108742581B CN108742581B (en)2021-08-20

Family

ID=63978287

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810622710.6AExpired - Fee RelatedCN108742581B (en)2018-06-152018-06-15 Heartbeat detection method, device, storage medium and terminal

Country Status (1)

CountryLink
CN (1)CN108742581B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115299891A (en)*2022-08-012022-11-08东南大学 Heartbeat timing state detection method based on radar signal
CN116530956A (en)*2023-04-112023-08-04歌尔股份有限公司Physiological characteristic detection method, handheld device and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US4038976A (en)*1975-03-141977-08-02Hardy Frank MPulse indicator
JPS63302824A (en)*1987-06-031988-12-09Sanyo Electric Co LtdElectronic hemomanometer
CN1318346A (en)*2000-04-142001-10-24曾罗麟Pulse beat analyzing and recording method
CN201123024Y (en)*2007-12-032008-09-24比亚迪股份有限公司 A mobile phone with heart rate test function
CN201356133Y (en)*2009-02-232009-12-09张占腾Finger ring capable of measuring heart-beat
CN102355513A (en)*2011-07-282012-02-15北京百纳威尔科技有限公司Blood pressure/heart rate measuring method by mobile terminal and mobile terminal
CN202526161U (en)*2012-05-182012-11-14宋轶华Heart rhythm counting device
CN102813512A (en)*2011-06-102012-12-12鸿富锦精密工业(深圳)有限公司Electronic device with pulse detection function and pulse detection method of electronic device
CN105615861A (en)*2015-12-212016-06-01联想(北京)有限公司Method for measuring pulse and electronic device
CN105640531A (en)*2015-12-292016-06-08惠州Tcl移动通信有限公司Pulse measuring method and system based on pressure touch screen and mobile terminal
CN105686818A (en)*2016-03-302016-06-22华为技术有限公司Measuring device and method
CN105725998A (en)*2015-11-052016-07-06香港应用科技研究院有限公司 System for Blood Pressure Measurement Using Mental State Verification

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US4038976A (en)*1975-03-141977-08-02Hardy Frank MPulse indicator
JPS63302824A (en)*1987-06-031988-12-09Sanyo Electric Co LtdElectronic hemomanometer
CN1318346A (en)*2000-04-142001-10-24曾罗麟Pulse beat analyzing and recording method
CN201123024Y (en)*2007-12-032008-09-24比亚迪股份有限公司 A mobile phone with heart rate test function
CN201356133Y (en)*2009-02-232009-12-09张占腾Finger ring capable of measuring heart-beat
CN102813512A (en)*2011-06-102012-12-12鸿富锦精密工业(深圳)有限公司Electronic device with pulse detection function and pulse detection method of electronic device
CN102355513A (en)*2011-07-282012-02-15北京百纳威尔科技有限公司Blood pressure/heart rate measuring method by mobile terminal and mobile terminal
CN202526161U (en)*2012-05-182012-11-14宋轶华Heart rhythm counting device
CN105725998A (en)*2015-11-052016-07-06香港应用科技研究院有限公司 System for Blood Pressure Measurement Using Mental State Verification
CN105615861A (en)*2015-12-212016-06-01联想(北京)有限公司Method for measuring pulse and electronic device
CN105640531A (en)*2015-12-292016-06-08惠州Tcl移动通信有限公司Pulse measuring method and system based on pressure touch screen and mobile terminal
CN105686818A (en)*2016-03-302016-06-22华为技术有限公司Measuring device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115299891A (en)*2022-08-012022-11-08东南大学 Heartbeat timing state detection method based on radar signal
CN115299891B (en)*2022-08-012025-03-28东南大学 Heartbeat timing state detection method based on radar signal
CN116530956A (en)*2023-04-112023-08-04歌尔股份有限公司Physiological characteristic detection method, handheld device and computer readable storage medium

Also Published As

Publication numberPublication date
CN108742581B (en)2021-08-20

Similar Documents

PublicationPublication DateTitle
KR102553493B1 (en)Touch sensing device and pen and method for measuring position
CN107294522B (en) Response method, device, storage medium and electronic device based on touch key
CN106775087B (en) A touch screen control method, device and mobile terminal of a mobile terminal
CN107278138B (en) Electronic device capable of automatically recognizing body part to be measured and body composition measurement method for electronic device
EP2945045B1 (en)Electronic device and method of playing music in electronic device
US8300020B2 (en)Hybrid inertial and touch sensing input device
CN106598335A (en)Touch screen control method and apparatus for mobile terminal, and mobile terminal
CN106468971A (en)The method of pressure and the electronic installation being suitable to the method are sensed by touch sensor
KR20180015987A (en)Touch sensing device for determining infomration associated with pen and method for controlling thereof and pen
US11294463B2 (en)Augmenting the functionality of user input devices using a digital glove
WO2019105376A1 (en)Gesture recognition method, terminal and storage medium
CN106681636B (en)Method and device for preventing false touch and mobile terminal
CN107835969A (en)Method, electronic equipment, the method and touch-sensing module to setting touch-sensing module in the electronic device to be operated being controlled to the touch-sensing module of electronic equipment
CN106951850B (en)A kind of method and mobile terminal controlling fingerprint recognition mould group
WO2019205706A1 (en)Application component processing method, device, and computer readable storage medium
CN106504777A (en) A recording data processing method and mobile terminal
WO2018148902A1 (en)Button detection method and device
CN109495573A (en)Data transmission method, device, storage medium and terminal
CN103914196A (en)Electronic apparatus and method for determining validity of touch key input used for the electronic apparatus
CN106055959B (en)Unlocking method and mobile terminal
CN106960530A (en) Alarm method, device and terminal based on vital sign parameters
JP6742385B2 (en) Electronic device for measuring water content using display and method of operating electronic device
CN108742581A (en)Heartbeat detecting method, device, storage medium and terminal
US10564719B1 (en)Augmenting the functionality of user input devices using a digital glove
CN107508979A (en) Volume adjustment method, device, terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20210820


[8]ページ先頭

©2009-2025 Movatter.jp