CN105425962A - Stop method and system of multimedia playing - Google Patents

Stop method and system of multimedia playing Download PDF

Info

Publication number
CN105425962A
CN105425962A CN201510823692.4A CN201510823692A CN105425962A CN 105425962 A CN105425962 A CN 105425962A CN 201510823692 A CN201510823692 A CN 201510823692A CN 105425962 A CN105425962 A CN 105425962A
Authority
CN
China
Prior art keywords
physiological characteristic
characteristic parameter
multimedia
physiological
setting quantity
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
CN201510823692.4A
Other languages
Chinese (zh)
Other versions
CN105425962B (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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510823692.4A priority Critical patent/CN105425962B/en
Publication of CN105425962A publication Critical patent/CN105425962A/en
Application granted granted Critical
Publication of CN105425962B publication Critical patent/CN105425962B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

本发明涉及一种多媒体播放的停止方法和系统,其方法包括如下步骤:在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数;结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率;若所述变化趋势与预设趋势一致,且所述变化率超过预设门限值,则停止多媒体播放。采用本发明的方案,可以现有技术中存在的停止音乐播放的有效性较低的问题。

The present invention relates to a method and system for stopping multimedia playback. The method includes the following steps: when performing multimedia playback, acquiring the first physiological characteristic parameter of the target user in the current period and the second physiological characteristic parameter in the previous period; The first physiological characteristic parameter and the second physiological characteristic parameter, obtaining the change trend and change rate of the first physiological characteristic parameter relative to the second physiological characteristic parameter; if the change trend is consistent with the preset trend, and If the rate of change exceeds the preset threshold value, multimedia playback is stopped. By adopting the solution of the present invention, the problem of low effectiveness of stopping music playing existing in the prior art can be solved.

Description

多媒体播放的停止方法和系统Method and system for stopping multimedia playback

技术领域technical field

本发明涉及多媒体技术领域,特别是涉及一种多媒体播放的停止方法和系统。The invention relates to the field of multimedia technologies, in particular to a method and system for stopping multimedia playback.

背景技术Background technique

手机等移动终端已成为人们随身携带的工具,在科技的不断发展下,手机除了打电话、收发短消息外,还具备更多的功能。现在的手机基本都具备MP3播放的作用,很多用户习惯在晚上听着轻音乐入睡,但是当用户睡着以后音乐会不停的播放,这既耗费了手机的电量,又可能影响到用户的睡眠,甚至将睡梦中的用户吵醒。Mobile terminals such as mobile phones have become tools that people carry with them. With the continuous development of science and technology, mobile phones have more functions besides making calls and sending and receiving short messages. The current mobile phones basically have the function of playing MP3. Many users are used to listening to light music to fall asleep at night, but when the user falls asleep, the music will be played continuously, which not only consumes the power of the mobile phone, but also may affect the user's sleep. Even wake up sleeping users.

现有的解决方式,一种是设定时间,在设定时间到达时停止播放音乐,另一种是设定音乐文件,在设定这些音乐文件的播放次数达到设定次数后,停止播放音乐。Existing solutions, one is to set the time, and stop playing music when the set time arrives, and the other is to set music files, and stop playing music after the number of times these music files are played reaches the set number of times .

然而,这两种方式停止音乐播放的有效性都较低,例如,对于前一种方式,在设定时间到达时,有可能用户还没进入睡眠状态,或者在设定时间还未到达时,用户就已经进入睡眠状态,对于后一种方式,也会同样出现类似的问题。However, the effectiveness of these two methods to stop music playback is low. For example, for the former method, when the set time arrives, it is possible that the user has not yet entered the sleep state, or when the set time has not yet arrived, The user has already entered the sleep state, and similar problems will also occur for the latter method.

发明内容Contents of the invention

基于此,本发明的目的针对现有技术中存在的停止音乐播放的有效性较低的问题,提供一种多媒体播放的停止方法和系统。Based on this, the purpose of the present invention is to provide a method and system for stopping music playing in the prior art to solve the problem of low effectiveness in stopping music playing.

本发明的目的通过如下技术方案实现:The purpose of the present invention is achieved through the following technical solutions:

一种多媒体播放的停止方法,包括如下步骤:A method for stopping multimedia playback, comprising the steps of:

在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数;When performing multimedia playback, acquire the first physiological characteristic parameter of the target user in the current period and the second physiological characteristic parameter in the previous period;

结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率;Combining the first physiological characteristic parameter and the second physiological characteristic parameter, acquiring a change trend and a change rate of the first physiological characteristic parameter relative to the second physiological characteristic parameter;

若所述变化趋势与预设趋势一致,且所述变化率超过预设门限值,则停止多媒体播放。If the change trend is consistent with the preset trend, and the change rate exceeds the preset threshold value, then stop playing the multimedia.

一种多媒体播放的停止系统,包括:A system for stopping multimedia playback, comprising:

获取模块,用于在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数;An acquisition module, configured to acquire the first physiological characteristic parameter of the current period of the target user and the second physiological characteristic parameter of the previous period during multimedia playback;

采集模块,用于结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率;An acquisition module, configured to combine the first physiological characteristic parameter with the second physiological characteristic parameter, and acquire the change trend and rate of change of the first physiological characteristic parameter relative to the second physiological characteristic parameter;

停止模块,用于在所述变化趋势与预设趋势一致,且所述变化率超过预设门限值时,停止多媒体播放。A stop module, configured to stop multimedia playback when the change trend is consistent with a preset trend and the change rate exceeds a preset threshold.

根据上述本发明的方案,其是在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数,结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率,若所述变化趋势与预设趋势一致,且所述变化率超过预设门限值,则停止多媒体播放,由于所述变化趋势与预设趋势一致且所述变化率超过预设门限值表明目标用户进入睡眠状态,在这时候停止多媒体播放,既避免了多媒体播放造成的电量消耗,又不会影响到用户的睡眠,还提高了停止多媒体播放的有效性,同时,本发明的方案中,是通过所述变化率与预设门限值进行比较的方式确定目标用户是否进入睡眠,采用这种方式,即便不同用户的生理特征参数有差异,例如有的用户的生理特征参数偏高,有的用户的生理特征参数偏低,都同样适用,可见,本发明的方案还具有较好的适用性。According to the above solution of the present invention, when performing multimedia playback, the first physiological characteristic parameter of the target user in the current period and the second physiological characteristic parameter of the previous period are obtained, and the first physiological characteristic parameter and the second physiological characteristic parameter are combined. Physiological characteristic parameters, obtaining the change trend and rate of change of the first physiological characteristic parameter relative to the second physiological characteristic parameter, if the change trend is consistent with a preset trend, and the change rate exceeds a preset threshold value , then stop the multimedia playback. Since the change trend is consistent with the preset trend and the change rate exceeds the preset threshold value, it indicates that the target user is in a sleep state. Stop the multimedia playback at this time, which avoids the power consumption caused by the multimedia playback. , will not affect the sleep of the user, and also improve the effectiveness of stopping multimedia playback. At the same time, in the solution of the present invention, it is determined whether the target user enters sleep by comparing the change rate with a preset threshold value , using this method, even if the physiological characteristic parameters of different users are different, for example, some users have higher physiological characteristic parameters and some users have lower physiological characteristic parameters, it is equally applicable. It can be seen that the solution of the present invention also has a relatively high Good applicability.

附图说明Description of drawings

图1为本发明的多媒体播放的停止方法实施例的流程示意图;Fig. 1 is a schematic flow diagram of an embodiment of a method for stopping multimedia playback of the present invention;

图2为其中一个实施例中的生理特征参数获取方式的细化流程示意图;Fig. 2 is a schematic flow chart of the refinement of the physiological characteristic parameter acquisition method in one of the embodiments;

图3为本发明的多媒体播放的停止系统的一个实施例的结构示意图;Fig. 3 is a structural schematic diagram of an embodiment of a system for stopping multimedia playback of the present invention;

图4为图3中的获取模块在其中一个实施例中的细化结构示意图;Fig. 4 is a schematic diagram of a detailed structure of the acquisition module in Fig. 3 in one embodiment;

图5为本发明的多媒体播放的停止系统的另一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of another embodiment of the system for stopping multimedia playback of the present invention;

图6为本发明的多媒体播放的停止系统的第三个实施例的结构示意图。FIG. 6 is a schematic structural diagram of a third embodiment of the system for stopping multimedia playback according to the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步的详细说明。应当理解,此处所描述的具体实施方式仅仅用以解释本发明,并不限定本发明的保护范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and do not limit the protection scope of the present invention.

本发明是考虑人体正常情况下和在睡眠后的多种生理特征参数存在差异给给出的方案,例如,人体正常情况下的心率为70-100之间,睡眠后心率会下降到40-70之间。以下对本发明方案进行详细阐述。The present invention considers the differences in various physiological characteristic parameters of the human body under normal conditions and after sleep. For example, the heart rate of the human body under normal conditions is between 70-100, and the heart rate will drop to 40-70 after sleep. between. The scheme of the present invention is described in detail below.

在下述说明中,首先针对本发明的多媒体播放的停止方法的实施例进行说明,再对本发明的多媒体播放的停止系统的各实施例进行说明。In the following description, firstly, the embodiments of the method for stopping multimedia playing of the present invention will be described, and then the embodiments of the system for stopping multimedia playing of the present invention will be described.

参见图1所示,为本发明的多媒体播放的停止方法的实施例的流程示意图。如图1所示,本实施中的多媒体播放的停止方法包括如下步骤:Referring to FIG. 1 , it is a schematic flowchart of an embodiment of a method for stopping multimedia playback according to the present invention. As shown in Figure 1, the stop method of the multimedia playback in the present implementation comprises the steps:

步骤S101:在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数;Step S101: during multimedia playback, acquire the first physiological characteristic parameter of the target user in the current period and the second physiological characteristic parameter in the previous period;

这里,所述多媒体包括音频、或者视频;Here, the multimedia includes audio or video;

这里,生理特征参数的类型可以根据需要设定,比如运动状态、心率、脉搏、或者其他的人体正常情况下和在睡眠后存在差异的生理特征参数;Here, the type of physiological characteristic parameters can be set according to needs, such as exercise state, heart rate, pulse, or other physiological characteristic parameters that differ between normal conditions and after sleep;

这里,所述第一生理特征参数和所述第二生理特征参数的类型一致;Here, the types of the first physiological characteristic parameter and the second physiological characteristic parameter are consistent;

这里,所述第一生理特征参数和所述第二生理特征参数可以分别根据生理特征参数检测装置的一个数据采集周期内所采集的生理特征参数得到,也可以是根据生理特征参数检测装置的多个数据采集周期内的所采集的生理特征参数得到,例如,分别根据每三个采集周期内的数据得到,则可以获取当前采集周期及其之前的六个采集周期内的生理特征参数,根据与当前采集周期最接近的三个采集周期内的数据获取第一生理特征参数(例如取平均值),根据剩下的三个采集周期内的生理特征参数获取第二生理特征参数(例如取平均值);Here, the first physiological characteristic parameter and the second physiological characteristic parameter can be respectively obtained according to the physiological characteristic parameters collected in one data acquisition cycle of the physiological characteristic parameter detection device, or can be obtained according to multiple physiological characteristic parameter detection devices. The collected physiological characteristic parameters in a data collection cycle are obtained. For example, according to the data obtained in every three collection cycles, the physiological characteristic parameters in the current collection cycle and the previous six collection cycles can be obtained. The data in the three closest acquisition periods of the current acquisition period obtains the first physiological characteristic parameter (for example, taking the average value), and obtains the second physiological characteristic parameter (for example, taking the average value) according to the physiological characteristic parameters in the remaining three acquisition periods );

在其中一个实施例中,如图2所述,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数的过程具体可以包括:In one of the embodiments, as shown in FIG. 2, the process of obtaining the first physiological characteristic parameter of the target user in the current period and the second physiological characteristic parameter in the previous period may specifically include:

步骤S201:获取所述生理特征参数检测装置当前采集周期以及当前采集周期之前发送的第一设定数量的生理特征参数;Step S201: Obtain the current collection period of the physiological characteristic parameter detection device and the first set number of physiological characteristic parameters sent before the current collection period;

这里,第一设定数量可以从大于1的整数中任意选取;Here, the first set quantity can be arbitrarily selected from integers greater than 1;

其中,生理特征参数检测装置可以每(经历一个采集周期)采集到一个生理特征参数后,发送出当前采集的生理特征参数,本发明方案接收到生理特征参数检测装置发送的当前采集的生理特征参数进行存储,以便获取多个生理特征参数;Wherein, the physiological characteristic parameter detecting device can send out the currently collected physiological characteristic parameter after collecting a physiological characteristic parameter every time (experiencing a collection period), and the solution of the present invention receives the currently collected physiological characteristic parameter sent by the physiological characteristic parameter detecting device storing so as to obtain multiple physiological characteristic parameters;

为了避免存储生理特征参数占用过多的存储空间,可以定时清理存储空间中的部分数据,此外,一种较佳的方式是,在接收到所述生理特征参数检测装置发送的生理特征参数时,检测已存储的生理特征参数的数量是否已经达到所述第一设定数量;若未达到所述第一设定数量,则存储当前接收到的生理特征参数;若已经达到所述第一设定数量,则从已存储的生理特征参数中删除最早存储的生理特征参数,存储当前接收到的生理特征参数;In order to avoid storing too much storage space for physiological characteristic parameters, some data in the storage space can be cleared regularly. In addition, a better way is that when receiving the physiological characteristic parameters sent by the physiological characteristic parameter detection device, Detecting whether the number of stored physiological characteristic parameters has reached the first set quantity; if the first set quantity has not been reached, then storing the currently received physiological characteristic parameters; if the first set quantity has been reached quantity, delete the earliest stored physiological characteristic parameters from the stored physiological characteristic parameters, and store the currently received physiological characteristic parameters;

步骤S202:在所述第一设定数量的生理特征参数中,根据最接近所述当前采集周期的第二设定数量的生理特征参数获取所述第一生理特征参数;Step S202: among the first set number of physiological feature parameters, acquire the first physiological feature parameter according to the second set number of physiological feature parameters closest to the current collection period;

这里,最接近所述当前采集周期包括所述当前采集周期本身;Here, the closest to the current collection period includes the current collection period itself;

这里,所述第二设定数量为大于或者等于1且小于所述第一设定数量的整数,可以正好等于所述第二设定数量的一半,也可以大于或者小于所述第二设定数量的一半;Here, the second set number is an integer greater than or equal to 1 and less than the first set number, which may be exactly equal to half of the second set number, or greater than or less than the second set number half of the quantity;

具体地,可以根据生理特征参数的接收时间确定最接近所述当前采集周期的第二设定数量的生理特征参数,再通过将所确定的生理特征参数取平均值的方式获得所述第一生理特征参数;但并不限于这种方式,例如,还可以通过生理特征参数的接收次序、或者存储时间最接近所述当前采集周期的第二设定数量的生理特征参数,或者通过将所确定的生理特征参数求和的方式获得所述第一生理特征参数;Specifically, the second set number of physiological characteristic parameters closest to the current collection period may be determined according to the receiving time of the physiological characteristic parameters, and then the first physiological characteristic parameters may be obtained by averaging the determined physiological characteristic parameters. characteristic parameters; but it is not limited to this way, for example, it is also possible to use the receiving order of the physiological characteristic parameters, or store the second set number of physiological characteristic parameters closest to the current collection period, or by combining the determined Obtaining the first physiological characteristic parameter by summing the physiological characteristic parameter;

步骤S203:在所述第一设定数量的生理特征参数中,根据最远离所述当前采集周期的第二设定数量的生理特征参数获取所述第二生理特征参数;Step S203: among the first set number of physiological characteristic parameters, acquire the second physiological characteristic parameter according to the second set number of physiological characteristic parameters farthest from the current collection period;

其中,用于获取所述第二生理特征参数的生理特征参数和用于获取所述第一生理特征参数的生理特征参数可以部分重复,此外,用于获取所述第二生理特征参数的生理特征参数和用于获取所述第一生理特征参数的生理特征参数的总数量可以小于所述第一设定数量,例如,在步骤S201中获取了B1、B2、B3、B4、B5这5个生理特征参数,若第二设定数量为3,则根据B1、B2、B3获取所述第一生理特征参数,根据B3、B4、B5所述第二生理特征参数,若第二设定数量为2,则根据B1、B2获取所述第一生理特征参数,根据B4、B5所述第二生理特征参数;Wherein, the physiological characteristic parameter used to obtain the second physiological characteristic parameter and the physiological characteristic parameter used to obtain the first physiological characteristic parameter may be partially repeated, and in addition, the physiological characteristic parameter used to obtain the second physiological characteristic parameter The total number of parameters and physiological characteristic parameters used to acquire the first physiological characteristic parameters may be less than the first set quantity, for example, five physiological characteristic parameters B1, B2, B3, B4, and B5 are obtained in step S201. For characteristic parameters, if the second set number is 3, then obtain the first physiological characteristic parameters according to B1, B2, B3, and according to the second physiological characteristic parameters described in B3, B4, B5, if the second set number is 2 , the first physiological characteristic parameter is obtained according to B1 and B2, and the second physiological characteristic parameter is obtained according to B4 and B5;

具体地,可以根据生理特征参数的接收时间确定最远离所述当前采集周期的第二设定数量的生理特征参数,再通过将所确定的生理特征参数取平均值的方式获得所述第二生理特征参数;但并不限于这种方式,例如,还可以通过生理特征参数的接收次序、或者存储时间最接近所述当前采集周期的第二设定数量的生理特征参数,或者通过将所确定的生理特征参数求和的方式获得所述第二生理特征参数;Specifically, a second set number of physiological characteristic parameters farthest from the current acquisition cycle may be determined according to the receiving time of the physiological characteristic parameters, and then the second physiological characteristic parameters may be obtained by averaging the determined physiological characteristic parameters. characteristic parameters; but it is not limited to this way, for example, it is also possible to use the receiving order of the physiological characteristic parameters, or store the second set number of physiological characteristic parameters closest to the current collection period, or by combining the determined Obtaining the second physiological characteristic parameter by summing the physiological characteristic parameter;

考虑到人体正常情况下的心率为70-100之间,睡眠后心率会下降到40-70之间,可见,相差较为明显,为此,在其中一个实施例中,上述的生理特征参数为心率值;相应地,第一生理特征参数为第一心率值,第二生理特征参数为第二心率值,并考虑到,现有的一些耳机配置有心率监测装置,可通过与人体皮肤的接触感应人体心率,为此,在其中一个实施例中,上述的生理特征参数检测装置为配置有心率监测装置的耳机;但也并不限于配置有心率监测装置的耳机,还可以是智能手表、智能手环、或者智能眼镜等可穿戴设备;Considering that the heart rate of the human body is between 70-100 under normal conditions, the heart rate will drop to between 40-70 after sleep. It can be seen that the difference is relatively obvious. Therefore, in one of the embodiments, the above-mentioned physiological characteristic parameters are heart rate Correspondingly, the first physiological characteristic parameter is the first heart rate value, and the second physiological characteristic parameter is the second heart rate value, and it is considered that some existing earphones are equipped with a heart rate monitoring device, which can be sensed by contact with human skin Human heart rate. For this reason, in one of the embodiments, the above-mentioned physiological characteristic parameter detection device is an earphone equipped with a heart rate monitoring device; but it is not limited to an earphone equipped with a heart rate monitoring device. Rings, or wearable devices such as smart glasses;

步骤S102:结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率;Step S102: Combining the first physiological characteristic parameter and the second physiological characteristic parameter to obtain the change trend and rate of change of the first physiological characteristic parameter relative to the second physiological characteristic parameter;

这里,所述变化趋势包括增大、或者减小;Here, the change trend includes increase or decrease;

具体地,可以比较所述第一生理特征参数与所述第二生理特征参数的大小,若所述第一生理特征参数大于所述第二生理特征参数,则确定所述变化趋势为增大,若所述第一生理特征参数小于所述第二生理特征参数,则确定所述变化趋势为减小;Specifically, the size of the first physiological characteristic parameter and the second physiological characteristic parameter may be compared, and if the first physiological characteristic parameter is greater than the second physiological characteristic parameter, it is determined that the change trend is increasing, If the first physiological characteristic parameter is smaller than the second physiological characteristic parameter, then determine that the change trend is decreasing;

并求取所述第一生理特征参数与所述第二生理特征参数的差值的绝对值,将所述绝对值与所述第一生理特征参数、或者所述第二生理特征参数求取比值,则得到的比值为所述变化率;And calculate the absolute value of the difference between the first physiological characteristic parameter and the second physiological characteristic parameter, and calculate the ratio between the absolute value and the first physiological characteristic parameter or the second physiological characteristic parameter , then the obtained ratio is the rate of change;

步骤S103:若所述变化趋势与预设趋势一致,且所述变化率超过预设门限值,则停止多媒体播放;Step S103: If the change trend is consistent with the preset trend, and the change rate exceeds the preset threshold value, stop multimedia playback;

这里,所述预设门限值、所述预设趋势可以默认设置的,也可以是用户自行设置的,所述预设门限值、所述预设趋势与所述生理特征参数的类型相关;Here, the preset threshold value and the preset trend can be set by default, or can be set by the user, and the preset threshold value and the preset trend are related to the type of the physiological characteristic parameter ;

具体地,在所述变化趋势与预设趋势一致,且所述变化率超过预设门限值时,生成用于触发停止多媒体播放的指令,根据该用于触发停止多媒体播放的指令停止多媒体播放。Specifically, when the change trend is consistent with the preset trend, and the rate of change exceeds the preset threshold value, an instruction for triggering stop of multimedia playback is generated, and multimedia playback is stopped according to the instruction for trigger stop of multimedia playback .

此外,考虑到目标用户有时还需要在停止多媒体播放后顺便对终端进行关机,以节约电能以及防止终端产生的其他声音影响到睡眠,为此,在其中一个实施例中,还可以包括步骤:在停止多媒体播放后,检测用于触发停止多媒体播放的指令是否关联有关机指令,若是,则根据所述关机指令根据所述关机指令关闭进行多媒体播放的终端,其中,是否需要将用于触发停止多媒体播放的指令关联关机指令可以是用户自行选择设置的,具体地,接收关联指令,在接收到关联指令后,将用于触发停止多媒体播放的指令与关机指令进行关联。采用本实施例的方案,可以实现停止多媒体播放与关闭进行多媒体播放的终端之间联动。In addition, considering that the target user sometimes needs to shut down the terminal by the way after stopping the multimedia playback, in order to save power and prevent other sounds generated by the terminal from affecting sleep, for this reason, in one of the embodiments, the steps may also be included: After the multimedia playback is stopped, it is detected whether the instruction for triggering the stop of the multimedia playback is associated with a shutdown instruction, and if so, the terminal for multimedia playback is closed according to the shutdown instruction according to the shutdown instruction. The instruction to be played may be associated with the shutdown instruction by the user. Specifically, the associated instruction is received, and after receiving the associated instruction, the instruction for triggering stop of multimedia playback is associated with the shutdown instruction. By adopting the solution of this embodiment, the linkage between stopping the multimedia playing and closing the terminal for multimedia playing can be realized.

据此,根据上述实施例的方案,其是在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数,结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率,若所述变化趋势与预设趋势一致,且所述变化率超过预设门限值,则停止多媒体播放,由于所述变化趋势与预设趋势一致且所述变化率超过预设门限值表明目标用户进入睡眠状态,在这时候停止多媒体播放,既避免了多媒体播放造成的电量消耗,又不会影响到用户的睡眠,还提高了停止多媒体播放的有效性,同时,本发明的方案中,是通过所述变化率与预设门限值进行比较的方式确定目标用户是否进入睡眠,采用这种方式,即便不同用户的生理特征参数有差异,例如有的用户的生理特征参数偏高,有的用户的生理特征参数偏低,都同样适用,可见,本发明的方案还具有较好的适用性。Accordingly, according to the solution of the above-mentioned embodiment, when performing multimedia playback, the first physiological characteristic parameter of the target user in the current period and the second physiological characteristic parameter of the previous period are acquired, and the first physiological characteristic parameter is combined with the For the second physiological characteristic parameter, obtain the change trend and rate of change of the first physiological characteristic parameter relative to the second physiological characteristic parameter, if the change trend is consistent with the preset trend, and the change rate exceeds the preset threshold value, then stop multimedia playback, because the change trend is consistent with the preset trend and the rate of change exceeds the preset threshold value to indicate that the target user enters a sleep state, stop multimedia playback at this time, which avoids the The power consumption will not affect the user's sleep, and the effectiveness of stopping multimedia playback is also improved. At the same time, in the solution of the present invention, the target user is determined by comparing the change rate with the preset threshold value. Whether to enter sleep or not, in this way, even if the physiological characteristic parameters of different users are different, for example, the physiological characteristic parameters of some users are on the high side, and the physiological characteristic parameters of some users are on the low side, both are equally applicable. It can be seen that the scheme of the present invention It also has better applicability.

上述实施例中的方案,可以用于多媒体播放应用中,也可以应用于终端系统中。The solutions in the above embodiments can be used in multimedia playback applications, and can also be applied in terminal systems.

根据上述本发明的多媒体播放的停止方法,本发明还提供一种多媒体播放的停止系统,以下就本发明的多媒体播放的停止系统的实施例进行详细说明。图3中示出了本发明的多媒体播放的停止系统的一个实施例的结构示意图。为了便于说明,在图3中只示出了与本发明相关的部分。According to the above method for stopping multimedia playing of the present invention, the present invention also provides a system for stopping multimedia playing. The embodiments of the system for stopping multimedia playing of the present invention will be described in detail below. FIG. 3 shows a schematic structural diagram of an embodiment of a system for stopping multimedia playback according to the present invention. For ease of description, only the parts related to the present invention are shown in FIG. 3 .

如图3所示,本实施例的多媒体播放的停止系统包括获取模块301、采集模块302、停止模块303,其中:As shown in Figure 3, the stop system of the multimedia playback of the present embodiment includes acquisition module 301, collection module 302, stop module 303, wherein:

获取模块301,用于在进行多媒体播放时,获取目标用户当前时段的第一生理特征参数和上一时段的第二生理特征参数;The obtaining module 301 is used to obtain the first physiological characteristic parameter of the current period of the target user and the second physiological characteristic parameter of the previous period during multimedia playback;

采集模块302,用于结合所述第一生理特征参数与所述第二生理特征参数,获取所述第一生理特征参数相对于所述第二生理特征参数的变化趋势和变化率;The acquisition module 302 is configured to combine the first physiological characteristic parameter and the second physiological characteristic parameter to acquire the change trend and rate of change of the first physiological characteristic parameter relative to the second physiological characteristic parameter;

停止模块303,用于在所述变化趋势与预设趋势一致,且所述变化率超过预设门限值时,停止多媒体播放。The stop module 303 is configured to stop multimedia playing when the change trend is consistent with a preset trend and the change rate exceeds a preset threshold.

在其中一个实施例中,如图4所示,获取模块301可以包括:In one of the embodiments, as shown in FIG. 4, the obtaining module 301 may include:

第一获取单元401,用于获取所述生理特征参数检测装置当前采集周期以及当前采集周期之前发送的第一设定数量的生理特征参数;The first acquisition unit 401 is configured to acquire the current acquisition period of the physiological characteristic parameter detection device and the first set number of physiological characteristic parameters sent before the current acquisition period;

第二获取单元402,用于在所述第一设定数量的生理特征参数中,根据最接近所述当前采集周期的第二设定数量的生理特征参数获取所述第一生理特征参数;The second acquiring unit 402 is configured to acquire the first physiological characteristic parameter according to the second set quantity of physiological characteristic parameters closest to the current collection cycle among the first set quantity of physiological characteristic parameters;

第三获取单元403,用于在所述第一设定数量的生理特征参数中,根据最远离所述当前采集周期的第二设定数量的生理特征参数获取所述第二生理特征参数。The third acquiring unit 403 is configured to acquire the second physiological characteristic parameter according to a second set quantity of physiological characteristic parameters farthest from the current collection period among the first set quantity of physiological characteristic parameters.

在其中一个实施例中的多媒体播放的停止系统,如图5所示,还可以包括:The stop system of multimedia playback in one of the embodiments, as shown in Figure 5, can also include:

接收模块304,用于接收所述生理特征参数检测装置发送的生理特征参数;A receiving module 304, configured to receive the physiological characteristic parameters sent by the physiological characteristic parameter detection device;

存储模块305,用于在接收模块304接收到所述生理特征参数检测装置发送的生理特征参数时,检测已存储的生理特征参数的数量是否已经达到所述第一设定数量,若未达到所述第一设定数量,则存储当前接收到的生理特征参数,若已经达到所述第一设定数量,则从已存储的生理特征参数中删除最早存储的生理特征参数,存储当前接收到的生理特征参数。The storage module 305 is configured to detect whether the number of stored physiological characteristic parameters has reached the first set number when the receiving module 304 receives the physiological characteristic parameters sent by the physiological characteristic parameter detection device, and if not If the first set number is set, the currently received physiological characteristic parameters are stored. If the first set quantity has been reached, the earliest stored physiological characteristic parameters are deleted from the stored physiological characteristic parameters, and the currently received physiological characteristic parameters are stored. Physiological characteristic parameters.

在其中一个实施例中,所述生理特征参数为心率值,所述生理特征参数检测装置为配置有心率监测装置的耳机。In one embodiment, the physiological characteristic parameter is a heart rate value, and the physiological characteristic parameter detection device is an earphone equipped with a heart rate monitoring device.

在其中一个实施例中的多媒体播放的停止系统,如图6所示,还可以包括:The stop system of multimedia playback in one of the embodiments, as shown in Figure 6, can also include:

联动模块306,用于在停止多媒体播放后,检测用于触发停止多媒体播放的指令是否关联有关机指令,若是,则根据所述关机指令关闭进行多媒体播放的终端。The linkage module 306 is configured to detect whether the instruction for triggering the stop of multimedia playback is associated with a shutdown instruction after the multimedia playback is stopped, and if so, shut down the terminal for multimedia playback according to the shutdown instruction.

本发明的多媒体播放的停止系统与本发明的多媒体播放的停止方法一一对应,在上述多媒体播放的停止方法的实施例阐述的技术特征及其有益效果均适用于多媒体播放的停止系统的实施例中,特此声明。The stop system of multimedia playback of the present invention corresponds to the stop method of multimedia playback of the present invention one by one, and the technical features and beneficial effects described in the embodiment of the stop method of multimedia playback above are applicable to the embodiment of the stop system of multimedia playback hereby declares.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1. a method of shutting down for multimedia, is characterized in that, comprises the steps:
When carrying out multimedia, obtained the first physiological characteristic parameter and the second physiological characteristic parameter of a upper period of targeted customer's present period;
In conjunction with described first physiological characteristic parameter and described second physiological characteristic parameter, obtain described first physiological characteristic parameter relative to the variation tendency of described second physiological characteristic parameter and rate of change;
If described variation tendency is consistent with default trend, and described rate of change exceedes predetermined threshold value, then stop multimedia.
2. the method for shutting down of multimedia according to claim 1, is characterized in that, described first physiological characteristic parameter of acquisition targeted customer present period and the process of the second physiological characteristic parameter of a upper period comprise:
The physiological characteristic parameter of the first setting quantity sent before obtaining the current collection period of described physiological characteristics parameter detecting device and current collection period;
In the physiological characteristic parameter of described first setting quantity, the first physiological characteristic parameter according to the physiological characteristic parameter acquiring of the second setting quantity closest to described current collection period;
In the physiological characteristic parameter of described first setting quantity, the second physiological characteristic parameter according to the physiological characteristic parameter acquiring of the second setting quantity farthest away from described current collection period.
3. the method for shutting down of multimedia according to claim 2, is characterized in that, also comprises step:
When receiving the physiological characteristic parameter that described physiological characteristics parameter detecting device sends, whether the quantity detecting the physiological characteristic parameter stored has reached described first setting quantity;
If do not reach described first setting quantity, then store the physiological characteristic parameter be currently received;
If reached described first setting quantity, then from the physiological characteristic parameter stored, delete the physiological characteristic parameter of oldest stored, stored the physiological characteristic parameter be currently received.
4. the method for shutting down of the multimedia according to Claims 2 or 3, is characterized in that, described physiological characteristic parameter is heart rate value, and described physiological characteristics parameter detecting device is the earphone being configured with heart rate monitoring unit.
5. the method for shutting down of multimedia according to claim 1, is characterized in that, also comprises step:
After stopping multimedia, detect and stop the instruction of multimedia whether to be associated with shutdown command for triggering, if so, then close the terminal of carrying out multimedia according to described shutdown command according to described shutdown command.
6. a halt system for multimedia, is characterized in that, comprising:
Acquisition module, for when carrying out multimedia, obtained the first physiological characteristic parameter and the second physiological characteristic parameter of a upper period of targeted customer's present period;
Acquisition module, in conjunction with described first physiological characteristic parameter and described second physiological characteristic parameter, obtains described first physiological characteristic parameter relative to the variation tendency of described second physiological characteristic parameter and rate of change;
Stopping modular, for consistent with default trend in described variation tendency, and when described rate of change exceedes predetermined threshold value, stops multimedia.
7. the halt system of multimedia according to claim 6, is characterized in that, described acquisition module comprises:
First acquiring unit, for the physiological characteristic parameter of the first setting quantity sent before obtaining the current collection period of described physiological characteristics parameter detecting device and current collection period;
Second acquisition unit, in the physiological characteristic parameter of described first setting quantity, the first physiological characteristic parameter according to the physiological characteristic parameter acquiring of the second setting quantity closest to described current collection period;
3rd acquiring unit, in the physiological characteristic parameter of described first setting quantity, the second physiological characteristic parameter according to the physiological characteristic parameter acquiring of the second setting quantity farthest away from described current collection period.
8. the halt system of multimedia according to claim 7, is characterized in that, also comprises:
Receiver module, for receiving the physiological characteristic parameter that described physiological characteristics parameter detecting device sends;
Memory module, for receive at described receiver module described physiological characteristics parameter detecting device send physiological characteristic parameter time, whether the quantity detecting the physiological characteristic parameter stored has reached described first setting quantity, if do not reach described first setting quantity, then store the physiological characteristic parameter be currently received, if reached described first setting quantity, from the physiological characteristic parameter stored, then delete the physiological characteristic parameter of oldest stored, store the physiological characteristic parameter be currently received.
9. the halt system of the multimedia according to claim 7 or 8, is characterized in that, described physiological characteristic parameter is heart rate value, and described physiological characteristics parameter detecting device is the earphone being configured with heart rate monitoring unit.
10. the halt system of multimedia according to claim 6, is characterized in that, also comprises:
Interlocking module, for after stopping multimedia, detects and stops the instruction of multimedia whether to be associated with shutdown command for triggering, if so, then close the terminal of carrying out multimedia according to described shutdown command.
CN201510823692.4A 2015-11-23 2015-11-23 The method of shutting down and system of multimedia Expired - Fee Related CN105425962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510823692.4A CN105425962B (en) 2015-11-23 2015-11-23 The method of shutting down and system of multimedia

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510823692.4A CN105425962B (en) 2015-11-23 2015-11-23 The method of shutting down and system of multimedia

Publications (2)

Publication Number Publication Date
CN105425962A true CN105425962A (en) 2016-03-23
CN105425962B CN105425962B (en) 2018-09-14

Family

ID=55504218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510823692.4A Expired - Fee Related CN105425962B (en) 2015-11-23 2015-11-23 The method of shutting down and system of multimedia

Country Status (1)

Country Link
CN (1) CN105425962B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10762928B1 (en) 2019-03-25 2020-09-01 International Business Machines Corporation Cognitive media playback

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065350A (en) * 2010-11-01 2011-05-18 中兴通讯股份有限公司 Method, system and earphone for intelligently controlling multimedia playing
CN102198301A (en) * 2011-05-20 2011-09-28 哈尔滨工业大学 Music playing system based on body feature monitoring
CN104008769A (en) * 2014-06-19 2014-08-27 河海大学常州校区 MP3 player stopping playing along with user falling sleep and control method thereof
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065350A (en) * 2010-11-01 2011-05-18 中兴通讯股份有限公司 Method, system and earphone for intelligently controlling multimedia playing
CN102198301A (en) * 2011-05-20 2011-09-28 哈尔滨工业大学 Music playing system based on body feature monitoring
CN104008769A (en) * 2014-06-19 2014-08-27 河海大学常州校区 MP3 player stopping playing along with user falling sleep and control method thereof
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10762928B1 (en) 2019-03-25 2020-09-01 International Business Machines Corporation Cognitive media playback

Also Published As

Publication number Publication date
CN105425962B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108345524B (en) Application monitoring method and application monitoring device
CN102065350B (en) Method, system and earphone for intelligently controlling multimedia playing
US10170918B2 (en) Electronic device wireless charging system
CN104683581B (en) A kind of intelligent terminal communication prompting method and apparatus
WO2020224658A1 (en) Standby optimization method and apparatus, and computer device and storage medium
JP7121865B2 (en) Reverse charging device, method and device for adjusting reverse charging current
CN111629297B (en) Earphone wearing state detection method and device, earphone and storage medium
CN106095363A (en) Method, device and terminal for improving terminal freeze
CN108810749B (en) Player control method, device, terminal equipment and storage medium
US11937039B2 (en) TWS earphone, method and apparatus for reducing earphone energy consumption, and medium
CN105338188A (en) Schedule prompting method and mobile terminal
CN202720746U (en) Indoor smoking early warning device
CN106388777B (en) method and device for setting alarm clock based on sleep quality
CN104506987A (en) Smart earphone control method and smart earphone
CN105682053A (en) Method and apparatus for controlling broadcast frequency, bluetooth device, and terminal
CN106851455A (en) A kind of music control method and device based on earphone play mode
CN105425962B (en) The method of shutting down and system of multimedia
CN104980590B (en) Judge noisy environment come the method and device of control terminal alerting pattern by MIC
US10203373B1 (en) Systems and methods for using profiles to monitor generators
CN105496362A (en) Sleep state monitoring system and method
US20120250874A1 (en) Audio device and method for audio outputting
CN204861545U (en) Intelligence music broadcast bracelet
CN107592570A (en) Screen closing method, device and equipment of video playing equipment and storage medium
CN106304296A (en) Power saving control method and device for wearable equipment and wearable equipment
CN106919256A (en) A kind of method and terminal of protection terminal user's eye health

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180914

CF01 Termination of patent right due to non-payment of annual fee