Movatterモバイル変換


[0]ホーム

URL:


CN108234738A - volume adjusting method, device, terminal and storage medium - Google Patents

volume adjusting method, device, terminal and storage medium
Download PDF

Info

Publication number
CN108234738A
CN108234738ACN201710710436.3ACN201710710436ACN108234738ACN 108234738 ACN108234738 ACN 108234738ACN 201710710436 ACN201710710436 ACN 201710710436ACN 108234738 ACN108234738 ACN 108234738A
Authority
CN
China
Prior art keywords
terminal device
preset
volume
terminal
predeterminated position
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
CN201710710436.3A
Other languages
Chinese (zh)
Other versions
CN108234738B (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 CN201710710436.3ApriorityCriticalpatent/CN108234738B/en
Publication of CN108234738ApublicationCriticalpatent/CN108234738A/en
Application grantedgrantedCritical
Publication of CN108234738BpublicationCriticalpatent/CN108234738B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种音量调节方法、装置、终端及存储介质。该方法包括:基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置;通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件;当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。本发明实施例通过采用上述技术方案,有效避免了睡前终端设备的声音过大而影响他人休息的情况发生,同时也避免了用户手动调节音量导致音量调节迟缓的情况发生,达到了简化调节音量操作的有益效果。

The embodiment of the invention discloses a volume adjustment method, device, terminal and storage medium. The method includes: acquiring position data of the terminal device based on a first sensor, and judging whether the terminal device is at a first preset position, wherein the first preset position includes a first preset tilt position or a first preset Horizontal position; obtain light sensing data in the current environment of the terminal device through the second sensor, and judge whether the terminal device meets the preset light condition; when the terminal device meets the preset light condition and is in the first When a preset position is reached, the volume of the terminal device is adjusted. The embodiment of the present invention adopts the above-mentioned technical solution to effectively avoid the situation that the sound of the terminal device before going to bed is too loud to affect other people's rest, and at the same time, it also avoids the situation that the user manually adjusts the volume to cause the volume to be adjusted slowly, and achieves simplified volume adjustment. Beneficial effects of the operation.

Description

Translated fromChinese
音量调节方法、装置、终端及存储介质Volume adjustment method, device, terminal and storage medium

技术领域technical field

本发明实施例涉及终端设备技术领域,尤其涉及一种音量调节方法、装置、终端及存储介质。Embodiments of the present invention relate to the technical field of terminal equipment, and in particular, to a volume adjustment method, device, terminal, and storage medium.

背景技术Background technique

随着通信技术的快速发展,手机、平板电脑等终端设备拥有了越来越多的功能,其相关技术和应用也在不断创新,因此人们对该类终端设备的依赖性越来越高。With the rapid development of communication technology, terminal devices such as mobile phones and tablet computers have more and more functions, and their related technologies and applications are constantly innovating. Therefore, people rely more and more on such terminal devices.

目前,现有终端设备的音量调节不仅限于手动调节音量控制功能键,还包括终端设备的自动调节功能。例如,通过检测外部环境的噪音大小或者检测用户的运动状态来调节音量等。鉴于人们可以使用终端设备观看电影、浏览网页、看朋友圈以及听音乐等多项功能,因此,终端设备自动调节音量的技术也在不断提高以适用用户在不同环境下使用。At present, the volume adjustment of the existing terminal equipment is not limited to manual adjustment of volume control function keys, but also includes the automatic adjustment function of the terminal equipment. For example, the volume is adjusted by detecting the noise level of the external environment or the user's motion state. Since people can use terminal devices to watch movies, browse the web, watch Moments and listen to music, etc., the technology of automatic volume adjustment of terminal devices is also constantly improving to be suitable for users in different environments.

但是,现有技术并没有提及用户在睡前操作手机时的音量调节。由于大多用户在睡前均有浏览网页以及查看朋友圈的习惯,而用户在点开链接之前并不知晓是否有音乐播放出来,因此若有音乐播放会导致用户措手不及的调节音量,以防止打扰到其他用户,该类情况并不能做到完全避免打扰到其他用户,且调节音量大小的方式依旧繁琐,不够智能化。However, the prior art does not mention the volume adjustment when the user operates the mobile phone before going to bed. Since most users have the habit of browsing the web and checking the circle of friends before going to bed, and the user does not know whether there is music playing before clicking the link, so if there is music playing, the user will adjust the volume unprepared to avoid disturbing For other users, this kind of situation cannot completely avoid disturbing other users, and the way to adjust the volume is still cumbersome and not intelligent enough.

发明内容Contents of the invention

本发明提供一种音量调节的方法、装置、终端及存储介质,以避免用户睡前使用手机时有声音播放而影响他人休息的情况发生。The present invention provides a method, device, terminal and storage medium for volume adjustment, so as to avoid the occurrence of sound playing when a user uses a mobile phone before going to bed and affects other people's rest.

第一方面,本发明实施例提供了一种音量调节方法,该方法包括:In a first aspect, an embodiment of the present invention provides a volume adjustment method, the method comprising:

基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置;Based on the position data of the terminal device acquired by the first sensor, it is judged whether the terminal device is in a first preset position, wherein the first preset position includes a first preset tilt position or a first preset horizontal position;

通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件;Obtaining light sensing data in the current environment of the terminal device through the second sensor, and judging whether the terminal device satisfies a preset light condition;

当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。When the terminal device satisfies the preset light condition and is in the first preset position, adjust the volume of the terminal device.

第二方面,本发明实施例还提供了一种音量调节装置,该装置包括:In the second aspect, the embodiment of the present invention also provides a volume adjustment device, which includes:

第一预设位置判断模块,用于基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置;A first preset position judging module, configured to acquire position data of the terminal device based on the first sensor, and judge whether the terminal device is in a first preset position, wherein the first preset position includes a first preset inclination position or first preset horizontal position;

预设光线条件判断模块,用于通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件;A preset light condition judging module, configured to acquire light sensing data in the current environment of the terminal device through the second sensor, and judge whether the terminal device satisfies the preset light condition;

音量调节模块,用于当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。A volume adjustment module, configured to adjust the volume of the terminal device when the terminal device satisfies the preset light condition and is in the first preset position.

第三方面,本发明实施例还提供了一种终端,包括第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的计算机程序,所述第一处理器执行所述计算机程序时实现以下步骤:In a third aspect, an embodiment of the present invention further provides a terminal, including a first memory, a first processor, and a computer program stored in the first memory and operable on the first processor, the The first processor implements the following steps when executing the computer program:

基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置;Based on the position data of the terminal device acquired by the first sensor, it is judged whether the terminal device is in a first preset position, wherein the first preset position includes a first preset tilt position or a first preset horizontal position;

通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件;Obtaining light sensing data in the current environment of the terminal device through the second sensor, and judging whether the terminal device satisfies a preset light condition;

当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。When the terminal device satisfies the preset light condition and is in the first preset position, adjust the volume of the terminal device.

第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所述的音量调节方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the volume adjustment method as described in the first aspect is implemented.

本发明实施例中提供的音量调节方案,基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件,当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。通过采用上述技术方案,能够准确识别终端设备的当前状态,并根据终端设备的当前状态,确定用户是否处于睡前使用手机的状态并相应调节音量,因此有效避免了睡前终端设备的声音过大而影响他人休息的情况发生,同时也避免了用户手动调节音量导致音量调节迟缓的情况发生,达到了简化调节音量操作的有益效果。The volume adjustment scheme provided in the embodiment of the present invention obtains the position data of the terminal device based on the first sensor, judges whether the terminal device is in the first preset position, and obtains the current environment of the terminal device through the second sensor. Light sensing data, judging whether the terminal device satisfies a preset light condition, and adjusting the volume of the terminal device when the terminal device satisfies the preset light condition and is in the first preset position. By adopting the above technical solution, it is possible to accurately identify the current state of the terminal device, and according to the current state of the terminal device, determine whether the user is in the state of using the mobile phone before going to bed and adjust the volume accordingly, thus effectively avoiding the excessive sound of the terminal device before going to bed The situation that affects other people's rest also avoids the situation that the user manually adjusts the volume, which causes the volume adjustment to be slow, and achieves the beneficial effect of simplifying the volume adjustment operation.

附图说明Description of drawings

图1A为本发明实施例提供的一种音量调节方法的流程示意图;FIG. 1A is a schematic flowchart of a volume adjustment method provided by an embodiment of the present invention;

图1B为本发明实施例提供的一种终端设备坐标轴的示意图;FIG. 1B is a schematic diagram of a coordinate axis of a terminal device provided by an embodiment of the present invention;

图2是本发明实施例提供的又一种音量调节方法的流程示意图;Fig. 2 is a schematic flowchart of another volume adjustment method provided by an embodiment of the present invention;

图3是本发明实施例提供的又一种音量调节方法的流程示意图;Fig. 3 is a schematic flowchart of another volume adjustment method provided by an embodiment of the present invention;

图4是本发明实施例提供的又一种音量调节方法的流程示意图;Fig. 4 is a schematic flowchart of another volume adjustment method provided by an embodiment of the present invention;

图5是本发明实施例提供的又一种音量调节方法的流程示意图;Fig. 5 is a schematic flowchart of another volume adjustment method provided by an embodiment of the present invention;

图6是本发明实施例提供的一种音量调节装置的结构示意图;Fig. 6 is a schematic structural diagram of a volume adjustment device provided by an embodiment of the present invention;

图7是本发明实施例中的一种终端的结构示意图。Fig. 7 is a schematic structural diagram of a terminal in an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。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, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

图1A为本发明实施例提供的一种音量调节的流程图,本实施例可适用于通过终端设备当前状态确定是否调节音量的情况,所述方法由音量调节的装置来执行,所述装置由软件和/或硬件来执行,所述装置配置在诸如手机、平板电脑等终端设备中。如图1A所示,本实施例提供的技术方案具体如下:Fig. 1A is a flow chart of volume adjustment provided by the embodiment of the present invention. This embodiment is applicable to the situation of determining whether to adjust the volume based on the current status of the terminal device. The method is executed by a device for volume adjustment, and the device is composed of software and/or hardware, and the device is configured in terminal devices such as mobile phones and tablet computers. As shown in Figure 1A, the technical solution provided by this embodiment is specifically as follows:

步骤110、基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置。Step 110 , based on the first sensor acquiring location data of the terminal device, it is judged whether the terminal device is in a first preset position.

其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置。Wherein, the first preset position includes a first preset tilt position or a first preset horizontal position.

示例性的,本实施例中的终端设备具体可以为手机、平板电脑以及设置有可视屏和/或具有通讯功能的电子设备。位置数据指的是可以代表终端设备当前姿态信息的数据,也即用户握持终端设备的位置方向。位置数据可以是终端设备的角度值,也可以是能够反映出终端设备位置方向的间接物理量,如加速度、速度以及角速度等。第一感应器为一种检测装置,能够检测到终端设备的信息,并将检测到的信息按一定规律变换成为电信号或其他所需形式的信息输出,以满足信息的传输、处理或显示。在本实施例中,第一感应器可以检测到终端设备姿态的感应器,包含但不限于重力感应器、微机械陀螺仪、微机电加速度感应器、方向感应器、旋转感应器以及包含上述任意两个或三个感应器的组合感应器等。Exemplarily, the terminal device in this embodiment may specifically be a mobile phone, a tablet computer, and an electronic device provided with a visual screen and/or having a communication function. The location data refers to data that can represent the current posture information of the terminal device, that is, the position and direction of the user holding the terminal device. The position data may be an angle value of the terminal device, or an indirect physical quantity capable of reflecting the position and direction of the terminal device, such as acceleration, velocity, and angular velocity. The first sensor is a detection device capable of detecting the information of the terminal equipment, and converting the detected information into electrical signals or other required forms of information output according to certain rules, so as to meet the transmission, processing or display of information. In this embodiment, the first sensor can detect the attitude of the terminal device, including but not limited to gravity sensors, micromechanical gyroscopes, microelectromechanical acceleration sensors, direction sensors, rotation sensors, and any of the above Combination sensors of two or three sensors, etc.

第一预设位置指的是睡前终端设备被用户握持的可能性位置,包括用户平躺、侧躺以及半躺时,终端设备的可能性位置。可选的,第一预设位置包括第一预设倾斜位置或第一预设水平位置。其中,第一预设倾斜位置为用户半躺时,终端设备的屏幕朝向用户,且与竖直方向具有一倾向用户端的倾斜角,且该倾斜角的角度与用户半躺的姿势有关,如第一预设倾斜位置倾斜角的取值范围为[15°,45°]。第一预设水平位置为用户平躺时,终端设备的握持方向与竖直方向的倾斜角的取值范围为[60°,80°]。The first preset position refers to a possible position of the terminal device held by the user before going to bed, including possible positions of the terminal device when the user is lying flat, lying sideways, or half lying down. Optionally, the first preset position includes a first preset tilt position or a first preset horizontal position. Wherein, the first preset inclination position is when the user is half-lying, the screen of the terminal device faces the user, and has an inclination angle with the vertical direction, and the angle of the inclination angle is related to the user's half-lying posture, as shown in the first A value range of a preset tilt position and tilt angle is [15°, 45°]. The first preset horizontal position is when the user lies flat, and the value range of the inclination angle between the holding direction and the vertical direction of the terminal device is [60°, 80°].

示例性的,终端设备内部设置有第一感应器,基于第一感应器采集的关于该终端设备的位置数据来判断是否处于第一预设位置。例如,若第一感应器为重力感应器,则可以利用压电效应测量内部一预设物体,将重力正交垂直与水平两个方向的分力大小作为位置数据,以判断终端设备是否处于第一预设位置;又如,若第一感应器为微机电加速度感应器,则可以利用电容原理的极距变化,将产生变化的电容量转换为各个方向的加速度数据并作为位置数据,以判断终端设备是否处于第一预设位置;还如,若第一感应器为微机械陀螺仪,则利用旋转物体在有径向运动时所受的切向力转换为各个方向的加速度数据作为位置数据,以判断终端设备是否处于第一预设位置等。Exemplarily, a first sensor is provided inside the terminal device, and based on the location data about the terminal device collected by the first sensor, it is judged whether it is in the first preset position. For example, if the first sensor is a gravity sensor, the piezoelectric effect can be used to measure a preset object inside, and the component force of gravity in the vertical and horizontal directions can be used as the position data to determine whether the terminal device is in the first position. A preset position; as another example, if the first sensor is a micro-electromechanical acceleration sensor, the pole distance change of the capacitance principle can be used to convert the changed capacitance into acceleration data in all directions and use it as position data to judge Whether the terminal device is in the first preset position; for example, if the first sensor is a micromechanical gyroscope, the tangential force on the rotating object is converted into acceleration data in various directions as position data when there is radial motion , to determine whether the terminal device is in the first preset position and so on.

步骤120、通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件。Step 120: Acquiring the light sensing data of the terminal device in the current environment through the second sensor, and judging whether the terminal device satisfies a preset light condition.

其中,第二感应器与第一感应器类似,同样能够检测到终端设备的信息,并将检测到的信息按一定规律变换成为电信号或其他所需形式的信息输出。但是,在本实施例中,第一感应器主要用于检测终端设备的位置数据,而第二感应器则是用于检测终端设备的光感数据。其中,光感数据能够反映当前终端设备所处环境的亮暗程度,可选的,可以使用光强作为光感数据,也可以将能够反映不同光强的电信号作为光感数据。第二感应器包含但不限于光线传感器,设置于终端设备的屏幕上方或其他位置,包括投光器与受光器。具体的,第二感应器可以通过投光器将光线聚焦在透镜处,再传输至受光器,受光器根据光电效应把各种光信号转换为相应的电信号作为光感数据,并传输至终端设备的中央处理器进行处理。Wherein, the second sensor is similar to the first sensor, and can also detect the information of the terminal device, and convert the detected information into an electrical signal or other required forms of information output according to a certain rule. However, in this embodiment, the first sensor is mainly used to detect the position data of the terminal device, while the second sensor is used to detect the light sensing data of the terminal device. Wherein, the light-sensing data can reflect the brightness and darkness of the current environment where the terminal device is located. Optionally, light intensity can be used as the light-sensing data, or electrical signals that can reflect different light intensities can be used as the light-sensing data. The second sensor includes but is not limited to a light sensor, which is disposed above the screen of the terminal device or at other positions, including a light emitter and a light receiver. Specifically, the second sensor can focus the light on the lens through the light projector, and then transmit it to the light receiver. The light receiver converts various optical signals into corresponding electrical signals as light sensing data according to the photoelectric effect, and transmits them to the terminal equipment. CPU for processing.

其中,预设光线条件指的是能够符合用户睡前所处环境的光线条件,可以设定为一个或多个光线条件。如预设光线条件可以默认为夜晚睡觉时极其微弱的光强,或者午休时由于关上窗帘导致的较为微弱的光强。又如预设光线条件也可以是通过借助用户可穿戴设备采集的大量体征信息推算出来的用户个人睡眠时间,将该用户个人睡眠时间时刻的光线条件作为预设光线条件Wherein, the preset light condition refers to a light condition that can meet the environment where the user is in before going to bed, and can be set as one or more light conditions. For example, the preset light condition can default to an extremely weak light intensity when sleeping at night, or a relatively weak light intensity caused by closing the curtains during a lunch break. For another example, the preset light condition can also be the user's personal sleep time calculated from a large amount of sign information collected by the user's wearable device, and the light condition at the time of the user's personal sleep time can be used as the preset light condition

示例性的,为了不影响终端设备的运行效率,终端设备可以预设时间间隔,并只在预设时间范围内获取当前环境下的光感数据,如预设时间为12:00-2:00和/或21:00-24:00,预设时间间隔为5min/次。相应的,终端设备在该预设时间内每隔5min就会通过第二感应器获取当前环境下的光感数据,并判断终端设备在当前时刻是否满足预设光线条件。Exemplarily, in order not to affect the operating efficiency of the terminal device, the terminal device can preset the time interval and only acquire the light sensing data in the current environment within the preset time range, for example, the preset time is 12:00-2:00 And/or 21:00-24:00, the preset time interval is 5min/time. Correspondingly, the terminal device will acquire light sensing data in the current environment through the second sensor every 5 minutes within the preset time, and judge whether the terminal device meets the preset light conditions at the current moment.

步骤130、当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。Step 130, when the terminal device satisfies the preset light condition and is in the first preset position, adjust the volume of the terminal device.

由于本实施例的应用场景适用于用户睡前终端设备的音量调节,因此终端设备有必要判断当前状态是否为用户睡觉前使用该终端设备的状态。示例性的,终端设备可以通过第一感应器判断当前位置是否处于第一预设位置以确定用户是否为平躺或者半躺使用该终端设备,结合通过第二感应器判断当前环境是否满足预设光线条件以确定用户使用该终端设备的当前环境是否符合睡觉环境。若同时满足上述两个条件,则可以确定该终端设备的当前状态是用户睡前使用状态。随后,终端设备可以自动调节音量。Since the application scenario of this embodiment is applicable to the volume adjustment of the terminal device before the user goes to bed, it is necessary for the terminal device to determine whether the current state is the state of using the terminal device before the user goes to bed. Exemplarily, the terminal device can determine whether the current position is in the first preset position through the first sensor to determine whether the user is using the terminal device lying flat or half lying down, combined with determining whether the current environment meets the preset position through the second sensor Light conditions to determine whether the current environment in which the user uses the terminal device is suitable for the sleeping environment. If the above two conditions are satisfied at the same time, it can be determined that the current state of the terminal device is the state of use by the user before going to bed. Subsequently, the end device can automatically adjust the volume.

示例性的,终端设备自动调节音量可以是在确定睡前使用状态后,降低设备的所有音量,包括铃声音量、短信音量、音乐播放器音量以及网页视频播放音量等;或者,还可以是在确定睡前使用状态后,只有当检测到来电事件或音乐事件发生时,才相应降低来电事件的来电铃声音量或者音乐事件的音乐播放音量。需要说明的是,终端设备调节音量包含但不限于上述示例中提及的两种调节方式。Exemplarily, the automatic volume adjustment of the terminal device may be to reduce all volumes of the device after determining the state of use before going to bed, including ringtone volume, text message volume, music player volume, and webpage video playback volume, etc.; After using the state before going to bed, only when an incoming call event or a music event is detected, the ringtone volume of the incoming call event or the music playback volume of the music event is correspondingly reduced. It should be noted that the adjustment of the volume by the terminal device includes but is not limited to the two adjustment manners mentioned in the above examples.

需要说明的是,步骤110与步骤120可同时执行,也可不同时执行。并且,本发明实施例示例性的采用步骤110-步骤130执行一种音量调节方法仅仅是一种示例,在本发明其他实施例中,还可以将步骤110设定于步骤120之后执行。It should be noted that step 110 and step 120 may or may not be performed simultaneously. In addition, the implementation of a volume adjustment method using steps 110 - 130 in this embodiment of the present invention is only an example. In other embodiments of the present invention, step 110 may also be set to be executed after step 120 .

本实施例中提供的音量调节方法,基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件,当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。本实施例能够准确识别终端设备的当前状态,并根据终端设备的当前状态,确定用户是否处于睡前使用手机的状态并相应调节音量,因此有效避免了睡前终端设备的声音过大而影响他人休息的情况发生,同时也避免了用户手动调节音量导致音量调节迟缓的情况发生,达到了简化调节音量操作的有益效果。The volume adjustment method provided in this embodiment obtains the position data of the terminal device based on the first sensor, judges whether the terminal device is in the first preset position, and obtains the light in the current environment of the terminal device through the second sensor. Sensing data, judging whether the terminal device satisfies a preset light condition, and adjusting the volume of the terminal device when the terminal device satisfies the preset light condition and is in the first preset position. This embodiment can accurately identify the current state of the terminal device, and according to the current state of the terminal device, determine whether the user is in the state of using the mobile phone before going to bed and adjust the volume accordingly, thus effectively avoiding the excessive sound of the terminal device before going to bed and affecting others The situation of taking a break occurs, and at the same time avoids the situation that the user manually adjusts the volume, which causes the volume adjustment to be slow, and achieves the beneficial effect of simplifying the operation of adjusting the volume.

可选的,在上述技术方案的基础上,所述基于第一感应器获取终端设备的位置数据,以判断所述终端设备是否处于第一预设位置包括:基于所述第一感应器获取的所述终端设备在X轴向、Y轴向以及Z轴向的加速度数据,判断所述终端设备的位置是否处于所述第一预设位置。Optionally, on the basis of the above technical solution, the acquiring the position data of the terminal device based on the first sensor to determine whether the terminal device is in the first preset position includes: based on the position data acquired by the first sensor Acceleration data of the terminal device in the X-axis, Y-axis and Z-axis to determine whether the position of the terminal device is in the first preset position.

示例性的,由于微机械陀螺仪多用于检测终端设备频繁改变位置的情况(即用户处于运动状态,如走路以及跑步等),而本实施例中的应用场景所导致终端设备的位置变化较小,因此可以采用重力感应器或微机电加速度感应器检测终端设备的当前位置。可选的,采用微机电加速度感应器,如三轴加速度感应器采集终端设备在X轴向、Y轴向以及Z轴向的加速度数据,通过使用三轴加速度感应器能够检测到终端设备处于360度方向中的任意位置。其中,加速度数据可以指的是加速度方向数据。可选的,如图1B所示,X轴向可以设定为终端设备的水平方向,Y轴向可以设定为终端设备的竖直方向,Z轴向可以设定为与终端设备的触摸屏垂直的方向。Exemplarily, since the micromechanical gyroscope is mostly used to detect the situation where the terminal device changes frequently (that is, the user is in a state of motion, such as walking and running), the application scenario in this embodiment results in a small change in the position of the terminal device , so a gravity sensor or a micro-electromechanical acceleration sensor can be used to detect the current position of the terminal device. Optionally, a micro-electromechanical acceleration sensor, such as a three-axis acceleration sensor, is used to collect the acceleration data of the terminal device in the X-axis, Y-axis, and Z-axis. By using the three-axis acceleration sensor, it can be detected that the terminal device is in the 360° anywhere in the direction. Wherein, the acceleration data may refer to acceleration direction data. Optionally, as shown in Figure 1B, the X-axis can be set as the horizontal direction of the terminal device, the Y-axis can be set as the vertical direction of the terminal device, and the Z-axis can be set as perpendicular to the touch screen of the terminal device direction.

需要说明的是,本实施例中的终端设备通常处于静止状态,因此采用三轴加速度感应器检测的是终端设备的重力分力在X轴向、Y轴向以及Z轴向产生的加速度数据,判断第一预设位置更为精准。It should be noted that the terminal device in this embodiment is usually in a static state, so the three-axis acceleration sensor is used to detect the acceleration data generated by the gravity component of the terminal device in the X-axis, Y-axis, and Z-axis. It is more accurate to judge the first preset position.

可选的,在上述技术方案的基础上,还包括:当所述第一感应器获取终端设备的位置数据满足位置移动条件时,恢复所述终端设备的初始音量。Optionally, on the basis of the above technical solution, the method further includes: restoring the initial volume of the terminal device when the position data of the terminal device acquired by the first sensor satisfies the position movement condition.

示例性的,位置移动条件指的是终端设备检测到的连续大幅度的位置变化,通过该位置变化确定用户是否起床。初始音量指的是终端设备未调节音量前的原有音量。由于终端设备同时满足预设光线条件与处于第一预设位置后,可以确定用户处于睡眠状态,因此相应的降低终端设备的音量。但是当用户起床后,将不会满足上述两个条件,因此可通过终端设备的位置数据确定用户是否起床,即当第一感应器获取终端设备的位置数据满足位置移动条件时,恢复终端设备的初始音量。Exemplarily, the location movement condition refers to a continuous large-scale location change detected by the terminal device, and whether the user gets up is determined through the location change. The initial volume refers to the original volume of the terminal device before the volume is adjusted. Since the terminal device satisfies the preset light condition and is in the first preset position at the same time, it can be determined that the user is in a sleep state, so the volume of the terminal device is correspondingly lowered. However, when the user wakes up, the above two conditions will not be satisfied. Therefore, it can be determined whether the user is up or not based on the location data of the terminal device. initial volume.

需要说明的是,通过将“判断终端设备的位置数据是否满足位置移动条件”作为恢复终端设备初始音量操作的触发条件,完善了终端设备的音量调节方法。It should be noted that the volume adjustment method of the terminal device is improved by taking "judging whether the location data of the terminal device satisfies the location movement condition" as the trigger condition for restoring the initial volume operation of the terminal device.

图2为本发明实施例提供的另一种音量调节方法的流程示意图,该方法包括如下步骤:Fig. 2 is a schematic flow chart of another volume adjustment method provided by an embodiment of the present invention, the method includes the following steps:

步骤210、基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置。Step 210: Based on the first sensor acquiring the position data of the terminal device, it is judged whether the terminal device is in the first preset position.

步骤220、通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件。Step 220: Acquiring the light sensing data of the terminal device in the current environment through the second sensor, and judging whether the terminal device satisfies a preset light condition.

步骤230、当所述终端设备满足所述预设光线条件,且处于所述第一预设位置以及检测到来电事件或音乐事件时,降低来电铃声或音乐播放的音量。Step 230: When the terminal device satisfies the preset light condition, is in the first preset position and detects an incoming call event or music event, reduce the volume of the incoming call ringtone or music playback.

其中,来电事件指的是终端设备接收到呼叫信号时产生的来电铃声过程,其中,来电铃声用于提示用户来电信息。音乐事件指的是除来电事件以外,终端设备中被触发的其他音乐播放的行为事件,包含但不限于接收短信,播放视频或音乐播放器以及点击具有音乐播放的新闻链接或社交软件中的文章链接等。Wherein, the incoming call event refers to an incoming ringtone process generated when the terminal device receives a call signal, wherein the incoming call ringtone is used to remind the user of incoming call information. Music events refer to other behavioral events of music playback triggered in terminal devices other than incoming call events, including but not limited to receiving text messages, playing videos or music players, and clicking news links with music playback or articles in social software links etc.

示例性的,终端设备的音量可以包括来电事件的来电铃声音量以及音乐事件触发时播放的音乐音量。当终端设备满足预设光线条件和第一预设条件时,可选的,只有在检测到来电事件或音乐事件时,才降低终端设备的音量。也即,终端设备在未检测到来电事件或音乐事件时,不进行降低音量的操作。当检测到来电事件时,终端设备进行降低来电铃声音量的操作;当检测到音乐事件时,终端设备进行降低音乐播放音量的操作。并且,在来电事件或音乐事件结束后,撤销降低音量的操作(即恢复至初始音量)。Exemplarily, the volume of the terminal device may include the ringtone volume of an incoming call event and the volume of music played when a music event is triggered. When the terminal device satisfies the preset light condition and the first preset condition, optionally, the volume of the terminal device is reduced only when an incoming call event or a music event is detected. That is, when the terminal device does not detect an incoming call event or a music event, it does not perform an operation of lowering the volume. When an incoming call event is detected, the terminal device performs an operation of reducing the ringtone volume of the incoming call; when a music event is detected, the terminal device performs an operation of reducing the music playback volume. And, after the incoming call event or the music event ends, cancel the operation of lowering the volume (that is, return to the initial volume).

本实施例提供的音量调节方法,在满足预设光线条件与第一预设位置的条件下,终端设备只有检测到来电事件或音乐事件,才降低来电铃声或音乐播放的音量,且在来电事件或音乐事件结束后自动恢复终端的初始音量,终端设备能够根据来电事件或音乐事件的检测状态随时调节音量大小,实现了音量调节的灵活性。In the volume adjustment method provided in this embodiment, under the condition that the preset light condition and the first preset position are satisfied, the terminal device only reduces the volume of the incoming ringtone or music playback when the incoming call event or music event is detected, and in the incoming call event Or automatically restore the initial volume of the terminal after the end of the music event, and the terminal device can adjust the volume at any time according to the detection status of the incoming call event or music event, realizing the flexibility of volume adjustment.

图3为本发明实施例提供的另一种音量调节方法的流程示意图,该方法包括如下步骤:Fig. 3 is a schematic flowchart of another volume adjustment method provided by an embodiment of the present invention, the method includes the following steps:

步骤310、基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置。Step 310: Based on the first sensor acquiring the position data of the terminal device, it is judged whether the terminal device is in the first preset position.

步骤320、通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件。Step 320: Acquiring the light sensing data of the terminal device in the current environment through the second sensor, and judging whether the terminal device satisfies a preset light condition.

步骤330、检测所述终端设备的当前时间。Step 330. Detect the current time of the terminal device.

其中,当前时间可以指的是终端设备判断是否处于第一预设位置以及判断是否满足预设光线条件的时间,也可以指其他时间。Wherein, the current time may refer to the time when the terminal device judges whether it is in the first preset position and whether it satisfies the preset light condition, or it may refer to other times.

示例性的,终端设备可以将系统时间作为当前时间,还可以将通过无线网络获取的当前网络时间作为终端设备的当前时间,本实施例对检测终端设备当前时间的方式不作限定。Exemplarily, the terminal device may use the system time as the current time, and may also use the current network time obtained through the wireless network as the current time of the terminal device. This embodiment does not limit the method of detecting the current time of the terminal device.

步骤340、当所述当前时间处于预设时间内,且所述终端设备满足所述预设光线条件以及处于所述第一预设位置时,降低所述终端设备的音量。Step 340: Decrease the volume of the terminal device when the current time is within a preset time, and the terminal device satisfies the preset light condition and is in the first preset position.

示例性的,预设时间可以设定为默认的午休时间与夜晚睡觉时间,如预设时间为12:00-2:00和21:00-24:00。若在一段时间内,终端设备检测用户在午休时间内并无睡觉习惯,则可以将预设时间设定为21:00-24:00。或者,预设时间还可以为根据用户需求而设定的任意时间。Exemplarily, the preset time can be set as the default lunch break time and night sleeping time, for example, the preset time is 12:00-2:00 and 21:00-24:00. If within a period of time, the terminal device detects that the user has no sleep habit during the lunch break, the preset time can be set to 21:00-24:00. Alternatively, the preset time may also be any time set according to user requirements.

需要说明的是,由于预设时间设定为用户睡前的某段时间,因此通过设定预设时间将降低终端设备音量的操作准确地限定在用户睡前时间范围内。且只有当终端设备同时满足预设时间与预设光线条件以及处于第一预设位置后,才能降低终端设备的音量。It should be noted that since the preset time is set as a certain period of time before the user goes to bed, the operation of reducing the volume of the terminal device is accurately limited to the time before the user goes to bed by setting the preset time. And only when the terminal device satisfies the preset time and preset light conditions at the same time and is in the first preset position, can the volume of the terminal device be reduced.

需要说明的是,本实施例不对步骤330执行步骤的顺序进行限定,在本发明的其他实施例中,还可以将步骤330设定于步骤310之前执行。示例性的,将步骤330设定于步骤310之前执行,即首要检测终端设备的当前时间,只有当前时间处于预设时间内,才判断终端设备是否处于第一预设位置以及是否满足预设光线条件,节省了终端设备的运行处理流程。It should be noted that this embodiment does not limit the order in which step 330 is executed, and in other embodiments of the present invention, step 330 may also be set to be executed before step 310 . Exemplarily, step 330 is set to be executed before step 310, that is, the current time of the terminal device is firstly detected, and only when the current time is within the preset time can it be judged whether the terminal device is in the first preset position and whether the preset light is satisfied. conditions, saving the running process of the terminal equipment.

本实施例提供的音量调节方法,检测了终端设备的当前时间,通过判断当前时间是否处于预设时间内以对音量调节的时间进行限定,降低了终端设备音量调节误操作的概率,提高了音量调节的准确性。The volume adjustment method provided in this embodiment detects the current time of the terminal device, and limits the volume adjustment time by judging whether the current time is within the preset time, which reduces the probability of misoperation of the volume adjustment of the terminal device and improves the volume. Adjustment accuracy.

图4为本发明实施例提供的另一种音量调节方法的流程示意图,该方法包括如下步骤:Fig. 4 is a schematic flow chart of another volume adjustment method provided by an embodiment of the present invention, the method includes the following steps:

步骤410、基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第二预设位置。Step 410: Based on the location data of the terminal device acquired by the first sensor, determine whether the terminal device is in a second preset position.

其中,所述第二预设位置包括第二预设倾斜位置或第二预设水平位置。Wherein, the second preset position includes a second preset tilt position or a second preset horizontal position.

示例性的,第二预设位置指的是用户睡着后,终端设备放置的可能性位置,包含但不限于第二预设倾斜位置或第二预设水平位置。其中,第二预设倾斜位置为用户半躺睡着后,终端设备的屏幕朝向用户并放置在用户身上的位置,因此第二倾斜位置的倾斜角设定也应该与用户半躺姿势有关,如第二预设倾斜位置倾斜角的取值范围为(45°,60°)。第二预设水平位置为用户平躺睡着后,终端设备的屏幕朝向用户并放置在用户身上或床上的位置,如第二预设倾斜角的取值范围为(80°,90°]。Exemplarily, the second preset position refers to a possible position where the terminal device is placed after the user falls asleep, including but not limited to a second preset tilt position or a second preset horizontal position. Wherein, the second preset inclination position is the position where the screen of the terminal device faces the user and is placed on the user after the user falls asleep in a half-lying position. Therefore, the inclination angle setting of the second inclination position should also be related to the user's half-lying position, such as The value range of the tilt angle of the second preset tilt position is (45°, 60°). The second preset horizontal position is the position where the screen of the terminal device faces the user and is placed on the user's body or bed after the user lies flat and falls asleep. For example, the value range of the second preset inclination angle is (80°, 90°].

需要说明的是,本实施例中的第二预设水平位置的倾斜角、第二预设倾斜位置的倾斜角、第一预设水平位置的倾斜角以及第一预设倾斜位置的倾斜角均指的是与竖直方向之间的夹角。并且,第二预设水平位置相比于第一预设水平位置,更趋近于水平方向,第二预设倾斜位置可以设定为用户半躺角度。通过对终端设备是否处于第二预设位置的判断,用于确定终端设备是否处于用户睡着后的放置位置。It should be noted that, in this embodiment, the inclination angle of the second preset horizontal position, the inclination angle of the second preset inclination position, the inclination angle of the first preset horizontal position, and the inclination angle of the first preset inclination position are all Refers to the angle between the vertical direction. Moreover, the second preset horizontal position is closer to the horizontal direction than the first preset horizontal position, and the second preset tilt position can be set as the user's half-lying angle. By judging whether the terminal device is at the second preset position, it is used to determine whether the terminal device is at the position where the user falls asleep.

步骤420、通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述光感数据是否小于预设光感阈值。Step 420: Obtain light perception data in the current environment of the terminal device through the second sensor, and determine whether the light perception data is smaller than a preset light perception threshold.

预设光感阈值指的是光强几近为0的光感数值。示例性的,通过第二感应器获取的光感数据判断是否小于预设光感阈值,若小于,则说明终端设备在当前时间未运行,也即确定用户在当前环境下未使用终端设备。The preset light sensitivity threshold refers to the light sensitivity value at which the light intensity is almost zero. Exemplarily, it is judged whether the light perception data obtained by the second sensor is less than a preset light sensitivity threshold, and if it is less than, it indicates that the terminal device is not running at the current time, that is, it is determined that the user is not using the terminal device in the current environment.

步骤430、检测所述终端设备的当前时间。Step 430: Detect the current time of the terminal device.

步骤440、当所述当前时间处于所述预设时间内,且所述终端设备处于第二预设位置以及所述光感数据小于预设光感阈值时,降低来电铃声的音量。Step 440: When the current time is within the preset time, the terminal device is in a second preset position and the light-sensing data is less than a preset light-sensing threshold, reduce the volume of the incoming ringtone.

示例性的,当终端设备的当前时间处于预设时间内,则符合用户睡前时间,且同时再满足终端设备处于第二预设位置以及终端设备所检测的光感数据小于预设光感阈值时,确定用户已经睡觉。那么当终端设备检测到来电事件后,则自动降低来电铃声的音量。Exemplarily, when the current time of the terminal device is within the preset time, it meets the user's bedtime time, and at the same time satisfies that the terminal device is in the second preset position and the light sensing data detected by the terminal device is less than the preset light sensing threshold , make sure the user is asleep. Then, when the terminal device detects an incoming call event, it automatically reduces the volume of the incoming call ringtone.

本实施例提供的音量调节方法,通过检测终端设备的当前时间是否处于预设时间且终端设备是否处于第二预设位置,以及光感数据是否小于预设光感阈值,以确定用户是否处于睡觉状态,以此智能调节来电铃声的音量,避免了惊扰用户及他人的休息。The volume adjustment method provided in this embodiment determines whether the user is sleeping by detecting whether the current time of the terminal device is at the preset time and whether the terminal device is at the second preset position, and whether the light-sensing data is less than the preset light-sensing threshold status, so as to intelligently adjust the volume of ringtones for incoming calls, avoiding disturbing the rest of users and others.

图5为本发明实施例提供的另一种音量调节方法的流程示意图,本实施例应用的场景为终端设备通过支架夹持以供用户使用。由于用户长时间握持手机导致胳膊酸痛,因此用户可以借助支架夹持终端设备,以达到轻松使用终端设备的目的。当终端设备通过支架夹持时,终端设备的位置不会发生变化,且经常会出现用户未观看完某个视频就睡着的情况,因此本实施例针对该情况下的音量调节进行处理,具体包括如下步骤:FIG. 5 is a schematic flowchart of another volume adjustment method provided by an embodiment of the present invention. The application scenario of this embodiment is that a terminal device is clamped by a bracket for use by a user. Because the user's arm is sore from holding the mobile phone for a long time, the user can use the bracket to clamp the terminal device to achieve the purpose of using the terminal device easily. When the terminal device is clamped by the bracket, the position of the terminal device will not change, and it often happens that the user falls asleep before watching a certain video. Therefore, this embodiment handles the volume adjustment in this case, specifically Including the following steps:

步骤510、基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置。Step 510 : Based on the position data of the terminal device acquired by the first sensor, it is judged whether the terminal device is in a first preset position.

步骤520、通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件。Step 520: Obtain the light sensing data of the terminal device in the current environment through the second sensor, and judge whether the terminal device meets the preset light condition.

步骤530、当所述当前时间处于所述预设时间内,且所述终端设备满足预设光线条件以及处于所述第一预设位置时,判断所述音乐事件的播放时长是否达到预设时长。Step 530: When the current time is within the preset time, and the terminal device satisfies the preset light condition and is in the first preset position, determine whether the playback duration of the music event reaches the preset duration .

其中,预设时长可以为终端设备默认的静态值,也可以为根据用户需求而设定的动态值。音乐事件包括但不限于视频与音乐器播放。由于本实施例的终端设备始终通过支架夹持,因此终端设备的位置不会发生任何变化,即处于第一预设位置,且由于终端设备始终运行,因此同样能够满足预设光线条件。通过预设光线条件的判断能够确定终端设备处于运行状态,若确定检测的音乐事件的播放时间超过预设时长,则通过其他检测方式判断用户是否处于睡眠状态。Wherein, the preset duration may be a default static value of the terminal device, or may be a dynamic value set according to user requirements. Music events include, but are not limited to, video and musical instrument playback. Since the terminal device in this embodiment is always clamped by the bracket, the position of the terminal device will not change, that is, it is in the first preset position, and since the terminal device is always running, it can also meet the preset light conditions. By judging the preset light conditions, it can be determined that the terminal device is in the running state. If it is determined that the playing time of the detected music event exceeds the preset duration, other detection methods are used to judge whether the user is in the sleep state.

步骤540、若是,则获取与所述终端设备相匹配的可穿戴设备的当前用户信息。Step 540, if yes, acquire the current user information of the wearable device matching the terminal device.

其中,所述当前用户信息包括体征信息与行为信息。Wherein, the current user information includes physical sign information and behavior information.

示例性的,可穿戴设备指的是直接佩戴于用户身上的一种便携式设备,通过软件支持以及数据交互、云端交互等来实现对用户运动状态以及身体状态的监控。当前用户信息为与可穿戴设备相匹配的用户信息,包含但不限于体征信息与行为信息。其中,体征信息指的是当前用户的心率信息以及脑电波信息等,行为信息指的是当前用户的动作信息。例如,睡眠时期的心率较为稳定,肢体不会产生较大的动作,因此通过检测当前用户的体征信息与行为信息能够确定当前用户是否处于睡眠状态。Exemplarily, a wearable device refers to a portable device that is directly worn on the user's body, and monitors the user's motion state and physical state through software support, data interaction, cloud interaction, and the like. The current user information is the user information matching the wearable device, including but not limited to physical sign information and behavior information. Wherein, the sign information refers to heart rate information and brain wave information of the current user, and the behavior information refers to action information of the current user. For example, the heart rate during sleep is relatively stable, and the limbs do not make large movements. Therefore, it can be determined whether the current user is in a sleep state by detecting the current user's sign information and behavior information.

示例性的,若终端设备长时间处于运行音乐事件的状态,则通过借助与终端设备相匹配的可穿戴设备来判断用户是否处于睡眠状态,从而确定是否调节音量。Exemplarily, if the terminal device is in a state of running a music event for a long time, it is determined whether to adjust the volume by using a wearable device matched with the terminal device to determine whether the user is in a sleep state.

步骤550、若所述当前用户信息满足预设睡眠条件,则静音或关闭所述音乐事件。Step 550, if the current user information satisfies the preset sleep condition, mute or close the music event.

示例性的,预设睡眠条件指的是能够判断当前用户是否处于睡眠状态的条件,包含但不限于与睡眠状态相对应的体征信息与行为信息。因此,若当前用户信息满足预设睡眠条件,终端设备则可以静音或者关闭当前播放的音乐事件Exemplarily, the preset sleep condition refers to a condition capable of judging whether the current user is in a sleep state, including but not limited to sign information and behavior information corresponding to the sleep state. Therefore, if the current user information meets the preset sleep conditions, the terminal device can mute or close the currently playing music event

具体确定当前用户信息是否满足预设睡眠条件的过程可以为:终端设备获取可穿戴设备的当前用户信息之后,将当前用户信息上传至终端设备服务器/可穿戴设服务器,并接收终端设备服务器/可穿戴设服务器基于当前用户信息的分析结果,即判断当前用户信息是否满足预设睡眠条件。或者,确定当前用户信息是否满足预设睡眠条件的执行主体还可以为终端设备,即终端设备直接通过接收的当前用户信息判断是否满足预设睡眠条件。The process of specifically determining whether the current user information meets the preset sleep conditions can be as follows: after the terminal device obtains the current user information of the wearable device, uploads the current user information to the terminal device server/wearable device server, and receives the terminal device server/wearable device information. Based on the analysis result of the current user information, the wearable device server judges whether the current user information satisfies the preset sleep condition. Alternatively, the executive body that determines whether the current user information satisfies the preset sleep condition may also be a terminal device, that is, the terminal device directly judges whether the preset sleep condition is met through the received current user information.

示例性的,由于本实施例借助可穿戴设备只是为获取当前用户的睡眠状态,在本发明的其他实施例中,还可以将可穿戴设备/可穿戴设备服务器分析的睡眠结果作为当前用户信息,如“未睡眠”或“已睡眠”,相对应的,预设睡眠条件设定为“已睡眠”的睡眠结果。终端设备将获取的睡眠结果(当前用户信息)与预设睡眠条件进行比对,若一致,则说明用户已经处于睡眠状态,因此静音或关闭音乐事件以让用户安然入睡。Exemplarily, since this embodiment only uses the wearable device to obtain the sleep state of the current user, in other embodiments of the present invention, the sleep result analyzed by the wearable device/wearable device server can also be used as the current user information, For example, "not sleeping" or "sleeping", correspondingly, the preset sleep condition is set as the sleep result of "sleeping". The terminal device compares the acquired sleep results (current user information) with the preset sleep conditions. If they are consistent, it means that the user is already in a sleep state, so mute or turn off music events to allow the user to fall asleep peacefully.

本实施例提供的音量调节方法,通过借助可穿戴设备对用户的检测,判断可穿戴设备检测的当前用户信息是否满足预设睡眠条件,提高了判断用户是否处于睡眠状态的准确性,进而提高了终端设备音量调节的准确性。The volume adjustment method provided in this embodiment, by using the wearable device to detect the user, judges whether the current user information detected by the wearable device satisfies the preset sleep condition, improves the accuracy of judging whether the user is in a sleep state, and further improves the The accuracy of the volume adjustment of the terminal equipment.

图6是本发明实施例提供的一种音量调节装置的结构框图,本实施例可适用于通过终端设备当前状态确定是否调节音量的情况,该装置可有软件和/或硬件实现,所述装置配置在诸如手机、平板电脑等终端设备中。如图6所示,该装置可以包括:Fig. 6 is a structural block diagram of a volume adjustment device provided by an embodiment of the present invention. This embodiment is applicable to the situation of determining whether to adjust the volume based on the current state of the terminal equipment. The device can be implemented by software and/or hardware. The device Configured in terminal devices such as mobile phones and tablet computers. As shown in Figure 6, the device may include:

第一预设位置判断模块61,用于基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置;The first preset position judging module 61 is configured to acquire the position data of the terminal device based on the first sensor, and judge whether the terminal device is in the first preset position, wherein the first preset position includes the first preset position. an inclined position or a first preset horizontal position;

预设光线条件判断模块62,用于通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件;The preset light condition judging module 62 is used to acquire light sensing data in the current environment of the terminal device through the second sensor, and judge whether the terminal device satisfies the preset light condition;

音量调节模块63,用于当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量A volume adjustment module 63, configured to adjust the volume of the terminal device when the terminal device satisfies the preset light condition and is in the first preset position

可选的,所述第一预设位置判断模块61具体用于:基于所述第一感应器获取的所述终端设备在X轴向、Y轴向以及Z轴向的加速度数据,判断所述终端设备的位置是否处于所述第一预设位置。Optionally, the first preset position determining module 61 is specifically configured to: determine the Whether the location of the terminal device is at the first preset location.

可选的,所述音量调节模块63具体用于:当所述终端设备满足所述预设光线条件,且处于所述第一预设位置以及检测到来电事件或音乐事件时,降低来电铃声或音乐播放的音量。Optionally, the volume adjustment module 63 is specifically configured to: when the terminal device satisfies the preset light condition and is in the first preset position and detects an incoming call event or a music event, reduce the ringtone of an incoming call or The volume at which music is played.

可选的,还包括:第一音量降低模块64。Optionally, it also includes: a first volume reduction module 64 .

第一音量降低模块64,用于检测所述终端设备的当前时间;当所述当前时间处于预设时间范围内,且所述终端设备满足所述预设光线条件以及处于所述第一预设位置时,降低所述终端设备的音量。The first volume reduction module 64 is configured to detect the current time of the terminal device; when the current time is within a preset time range, and the terminal device satisfies the preset light condition and is in the first preset position, lower the volume of the terminal device.

可选的,还包括:第二音量降低模块65。Optionally, it also includes: a second volume reduction module 65 .

第二音量降低模块65,用于当所述当前时间处于所述预设时间范围内,且所述终端设备处于第二预设位置以及所述光感数据小于预设光感阈值时,则降低来电铃声的音量;其中,所述第二预设位置包括第二预设倾斜位置或第二预设水平位置。The second volume reduction module 65 is configured to reduce the volume when the current time is within the preset time range, the terminal device is in a second preset position and the light perception data is less than the preset light perception threshold. The volume of ringtones for incoming calls; wherein, the second preset position includes a second preset tilt position or a second preset horizontal position.

可选的,还包括:第三音量降低模块66。Optionally, a third volume reduction module 66 is also included.

第三音量降低模块66,用于当所述当前时间处于所述预设时间范围内,且所述终端设备满足预设光线条件以及处于所述第一预设位置时,检测所述音乐事件的播放时长是否达到预设时长;若是,则获取与所述终端设备相匹配的可穿戴设备的当前用户信息,所述当前用户信息包括体征信息与行为信息;若所述当前用户信息满足预设睡眠条件,则静音或关闭所述音乐事件。The third volume reduction module 66 is configured to detect the music event when the current time is within the preset time range, and the terminal device satisfies a preset light condition and is in the first preset position. Whether the playback duration reaches the preset duration; if so, obtain the current user information of the wearable device that matches the terminal device, the current user information includes physical sign information and behavior information; if the current user information meets the preset sleep condition, then mute or close the music event.

可选的,还包括:初始音量恢复模块67。Optionally, it also includes: an initial volume restoration module 67 .

初始音量恢复模块67,用于当所述第一感应器获取终端设备的位置数据满足位置移动条件时,恢复所述终端设备的初始音量。The initial volume restoration module 67 is configured to restore the initial volume of the terminal device when the position data of the terminal device acquired by the first sensor satisfies the position movement condition.

本实施例中提供的音量调节装置,能够准确识别终端设备的当前状态,并根据终端设备的当前状态,确定用户是否处于睡前使用手机的状态并相应调节音量,因此有效避免了睡前终端设备的声音过大而影响他人休息的情况发生,同时也避免了用户手动调节音量导致音量调节迟缓的情况发生,达到了简化调节音量操作的有益效果。The volume adjustment device provided in this embodiment can accurately identify the current state of the terminal device, and according to the current state of the terminal device, determine whether the user is in the state of using the mobile phone before going to bed and adjust the volume accordingly, thus effectively preventing the terminal device from going to bed. The sound is too loud and affects other people's rest, and it also avoids the situation that the user manually adjusts the volume, which causes the volume adjustment to be slow, and achieves the beneficial effect of simplifying the volume adjustment operation.

本发明实施例提供了一种终端,该终端中可集成本发明实施例提供的音量调节的装置。图7为本发明实施例提供的一种终端的结构示意图。如图7所示,该移动终端可以包括:壳体(图中未示出)、存储器701、中央处理器(Central Processing Unit,CPU)702(又称处理器,以下简称CPU)、电路板(图中未示出)、触控显示屏712和电源电路(图中未示出)。所述触控显示屏712,用于将用户操作转换成电信号输入至所述处理器,并显示可视输出信号;所述触控显示屏包括触摸芯片,所述触摸芯片,用于输出触摸感测控制信号至触控显示屏;所述电路板安置在所述触控显示屏712与所述壳体围成的空间内部;所述CPU702和所述存储器701设置在所述电路板上;所述电源电路,用于为所述移动终端的各个电路或器件供电;所述存储器701,用于存储计算机程序;所述CPU702读取并执行所述存储器701中存储的计算机程序。所述CPU702在执行所述计算机程序时实现以下步骤:基于第一感应器获取终端设备的位置数据,判断所述终端设备是否处于第一预设位置,其中,所述第一预设位置包括第一预设倾斜位置或第一预设水平位置;通过第二感应器获取所述终端设备当前环境下的光感数据,判断所述终端设备是否满足预设光线条件;当所述终端设备满足所述预设光线条件且处于所述第一预设位置时,调节所述终端设备的音量。An embodiment of the present invention provides a terminal, in which the volume adjustment device provided by the embodiment of the present invention can be integrated. FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 7, the mobile terminal may include: a housing (not shown in the figure), a memory 701, a central processing unit (Central Processing Unit, CPU) 702 (also called a processor, hereinafter referred to as CPU), a circuit board ( not shown in the figure), touch screen 712 and power supply circuit (not shown in the figure). The touch display screen 712 is used to convert user operations into electrical signals and input them to the processor, and display visual output signals; the touch display screen includes a touch chip, and the touch chip is used to output touch Sensing control signals to the touch screen; the circuit board is placed inside the space surrounded by the touch screen 712 and the housing; the CPU702 and the memory 701 are arranged on the circuit board; The power supply circuit is used to supply power to various circuits or devices of the mobile terminal; the memory 701 is used to store computer programs; the CPU702 reads and executes the computer programs stored in the memory 701 . The CPU 702 implements the following steps when executing the computer program: acquiring position data of the terminal device based on the first sensor, and judging whether the terminal device is at a first preset position, wherein the first preset position includes the first preset position a preset tilt position or a first preset horizontal position; obtain the light sensing data in the current environment of the terminal device through the second sensor, and judge whether the terminal device satisfies the preset light condition; when the terminal device satisfies the specified When the preset light condition is in the first preset position, adjust the volume of the terminal device.

所述移动终端还包括:外设接口703、RF(Radio Frequency,射频)电路705、音频电路706、扬声器711、电源管理芯片708、输入/输出(I/O)子系统709、其他输入/控制设备710以及外部端口704,这些部件通过一个或多个通信总线或信号线707来通信。The mobile terminal also includes: peripheral interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio circuit 706, speaker 711, power management chip 708, input/output (I/O) subsystem 709, other input/control Device 710 and external port 704 , these components communicate via one or more communication buses or signal lines 707 .

应该理解的是,图示移动终端700仅仅是移动终端的一个范例,并且移动终端700可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 700 is only an example of a mobile terminal, and the mobile terminal 700 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. 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 terminal integrated with the volume adjustment device provided in this embodiment will be described in detail below, and a mobile phone is used as an example of the terminal.

存储器701,所述存储器701可以被CPU702、外设接口703等访问,所述存储器701可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 701, the memory 701 can be accessed by the CPU 702, the peripheral interface 703, etc., the memory 701 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.

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

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

触控显示屏712,所述触控显示屏712是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 712, the touch screen 712 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, etc.

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

RF电路705,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路705接收并发送RF信号,RF信号也称为电磁信号,RF电路705将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路705可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 705 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 705 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 705 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 705 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.

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

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

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

本实施例中提供的终端,能够准确识别终端设备的当前状态,并根据终端设备的当前状态,确定用户是否处于睡前使用手机的状态并相应调节音量,因此有效避免了睡前终端设备的声音过大而影响他人休息的情况发生,同时也避免了用户手动调节音量导致音量调节迟缓的情况发生,达到了简化调节音量操作的有益效果。The terminal provided in this embodiment can accurately identify the current state of the terminal device, and according to the current state of the terminal device, determine whether the user is in the state of using the mobile phone before going to bed and adjust the volume accordingly, thus effectively avoiding the sound of the terminal device before going to bed. If the volume is too large and affects other people's rest, it also avoids the situation that the user manually adjusts the volume, which causes the volume adjustment to be slow, and achieves the beneficial effect of simplifying the volume adjustment operation.

上述装置可执行本发明前述所有实施例所提供的音量调节装置、存储介质及移动终端,具备执行上述音量调节方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明前述所有实施例所提供的音量调节方法。The above device can execute the volume adjustment device, storage medium and mobile terminal provided by all the aforementioned embodiments of the present invention, and has corresponding functional modules and beneficial effects for executing the above volume adjustment method. For technical details not exhaustively described in this embodiment, reference may be made to the volume adjustment methods provided in all the foregoing embodiments of the present invention.

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention 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、步骤malltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, malltalk, 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).

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

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

Claims (10)

CN201710710436.3A2017-08-182017-08-18 Volume adjustment method, device, terminal and storage mediumActiveCN108234738B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710710436.3ACN108234738B (en)2017-08-182017-08-18 Volume adjustment method, device, terminal and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710710436.3ACN108234738B (en)2017-08-182017-08-18 Volume adjustment method, device, terminal and storage medium

Publications (2)

Publication NumberPublication Date
CN108234738Atrue CN108234738A (en)2018-06-29
CN108234738B CN108234738B (en)2021-03-12

Family

ID=62654208

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710710436.3AActiveCN108234738B (en)2017-08-182017-08-18 Volume adjustment method, device, terminal and storage medium

Country Status (1)

CountryLink
CN (1)CN108234738B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109510900A (en)*2019-01-292019-03-22上海与德通讯技术有限公司A kind of control method, device, equipment and storage medium
CN112346372A (en)*2019-08-092021-02-09江苏美的清洁电器股份有限公司Voice output control method and device and storage medium
CN112368776A (en)*2018-11-192021-02-12谷歌有限责任公司Controlling device output based on determined user condition
CN113163055A (en)*2021-04-222021-07-23Oppo广东移动通信有限公司Vibration adjusting method and device, storage medium and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120154304A1 (en)*2010-12-162012-06-21Samsung Electronics Co., Ltd.Portable terminal with optical touch pad and method for controlling data in the same
CN103347115A (en)*2013-06-292013-10-09青岛歌尔声学科技有限公司Method and device for controlling output volume of electronic product and mobile phone
US20140197698A1 (en)*2003-03-262014-07-17Apple Inc.Electronic device with automatic mode switching
CN103986839A (en)*2014-05-302014-08-13深圳市中兴移动通信有限公司Method for automatically setting contextual model and mobile terminal
CN104052858A (en)*2013-03-132014-09-17联想移动通信科技有限公司Method for setting situational pattern of mobile terminal and mobile terminal
CN104063136A (en)*2013-07-022014-09-24姜洪明Mobile operation system
CN104598132A (en)*2015-01-292015-05-06百度在线网络技术(北京)有限公司Method and device for controlling applications of mobile terminal
CN104836905A (en)*2015-04-132015-08-12惠州Tcl移动通信有限公司System adjusting method and apparatus based on user state
CN104917902A (en)*2015-06-302015-09-16苏州寅初信息科技有限公司Method and system for controlling music playing status of terminal
WO2016201357A1 (en)*2015-06-122016-12-15Google Inc.Using infrared images of a monitored scene to identify false alert regions
CN106506806A (en)*2016-09-302017-03-15维沃移动通信有限公司 A method and device for reminding the use of a mobile terminal
CN106713652A (en)*2017-01-032017-05-24郑州云海信息技术有限公司 A method and device for adjusting mobile phone use parameters

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20140197698A1 (en)*2003-03-262014-07-17Apple Inc.Electronic device with automatic mode switching
US20120154304A1 (en)*2010-12-162012-06-21Samsung Electronics Co., Ltd.Portable terminal with optical touch pad and method for controlling data in the same
CN104052858A (en)*2013-03-132014-09-17联想移动通信科技有限公司Method for setting situational pattern of mobile terminal and mobile terminal
CN103347115A (en)*2013-06-292013-10-09青岛歌尔声学科技有限公司Method and device for controlling output volume of electronic product and mobile phone
CN104063136A (en)*2013-07-022014-09-24姜洪明Mobile operation system
CN103986839A (en)*2014-05-302014-08-13深圳市中兴移动通信有限公司Method for automatically setting contextual model and mobile terminal
CN104598132A (en)*2015-01-292015-05-06百度在线网络技术(北京)有限公司Method and device for controlling applications of mobile terminal
CN104836905A (en)*2015-04-132015-08-12惠州Tcl移动通信有限公司System adjusting method and apparatus based on user state
WO2016201357A1 (en)*2015-06-122016-12-15Google Inc.Using infrared images of a monitored scene to identify false alert regions
CN104917902A (en)*2015-06-302015-09-16苏州寅初信息科技有限公司Method and system for controlling music playing status of terminal
CN106506806A (en)*2016-09-302017-03-15维沃移动通信有限公司 A method and device for reminding the use of a mobile terminal
CN106713652A (en)*2017-01-032017-05-24郑州云海信息技术有限公司 A method and device for adjusting mobile phone use parameters

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112368776A (en)*2018-11-192021-02-12谷歌有限责任公司Controlling device output based on determined user condition
US12190879B2 (en)2018-11-192025-01-07Google LlcControlling device output according to a determined condition of a user
CN109510900A (en)*2019-01-292019-03-22上海与德通讯技术有限公司A kind of control method, device, equipment and storage medium
CN112346372A (en)*2019-08-092021-02-09江苏美的清洁电器股份有限公司Voice output control method and device and storage medium
CN113163055A (en)*2021-04-222021-07-23Oppo广东移动通信有限公司Vibration adjusting method and device, storage medium and electronic equipment
CN113163055B (en)*2021-04-222022-07-19Oppo广东移动通信有限公司Vibration adjusting method and device, storage medium and electronic equipment

Also Published As

Publication numberPublication date
CN108234738B (en)2021-03-12

Similar Documents

PublicationPublication DateTitle
CN107613131B (en) Application program do not disturb method, mobile terminal and computer readable storage medium
CN107135316B (en) A method, device, storage medium and terminal for adjusting call volume
CN111049510B (en)Touch key, control method and electronic equipment
WO2011159947A1 (en)Layout design of proximity sensors to enable shortcuts
CN106060285A (en) Method, device and mobile terminal for backlight control
WO2018223535A1 (en)Vibration notification method for mobile terminal, and mobile terminal
CN108234738B (en) Volume adjustment method, device, terminal and storage medium
CN111338489B (en)Parameter adjustment method and electronic equipment
CN106951850A (en) Method and mobile terminal for controlling fingerprint identification module
CN110908513A (en) A data processing method and electronic device
WO2019071424A1 (en)Application function control method and terminal
CN111158562A (en) A kind of anti-missing method and electronic device
CN107066090B (en)Method for controlling fingerprint identification module and mobile terminal
CN108924375A (en)Processing method, device, storage medium and the terminal of ringing volume
CN108712563B (en)Call control method and device and mobile terminal
CN108681413A (en) A control method of a display module and a mobile terminal
CN108984099B (en)Man-machine interaction method and terminal
CN108388400B (en) An operation processing method and mobile terminal
CN107967418B (en)Face recognition method and mobile terminal
CN102025822B (en) Method for adjusting event reminder level and its mobile electronic device
CN110471808B (en)Pressure key detection method and device and mobile terminal
CN109902679B (en) Icon display method and terminal device
CN106095637B (en)Intelligent terminal control method and device and intelligent terminal
WO2016206066A1 (en)Method, apparatus and intelligent terminal for controlling intelligent terminal mode
CN110888681A (en) Lighting lamp control method, device, electronic device and medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

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

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

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

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

CB02Change of applicant information
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp