CN107566626A - Terminal state control method and device - Google Patents
Terminal state control method and device Download PDFInfo
- Publication number
- CN107566626A CN107566626A CN201710744774.9A CN201710744774A CN107566626A CN 107566626 A CN107566626 A CN 107566626A CN 201710744774 A CN201710744774 A CN 201710744774A CN 107566626 A CN107566626 A CN 107566626A
- Authority
- CN
- China
- Prior art keywords
- terminal
- sensor data
- sensor
- distance
- brightness
- 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.)
- Pending
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本公开涉及终端技术领域,尤其涉及终端状态控制方法、终端状态控制装置、电子设备和计算机可读存储介质。The present disclosure relates to the technical field of terminals, and in particular, to a terminal state control method, a terminal state control device, electronic equipment, and a computer-readable storage medium.
背景技术Background technique
目前的手机等终端,在其屏幕熄灭后,会进入睡眠状态,并关闭部分功能以降低功耗。Current terminals such as mobile phones, after their screens are turned off, will enter a sleep state and turn off some functions to reduce power consumption.
然而睡眠状态仅仅是根据屏幕是否熄灭的场景来确定的,但是实际应用中,手机还可能处于其他多种场景,在这些场景中,用户使用手机的情况不同。例如在某些场景中,如果仍根据睡眠状态来关闭部分功能,那么将仍会运行在该场景下不被使用功能,从而造成功率的浪费。However, the sleep state is only determined according to the scene of whether the screen is turned off, but in practical applications, the mobile phone may also be in various other scenes, and in these scenes, the situation of the user using the mobile phone is different. For example, in some scenarios, if some functions are still turned off according to the sleep state, the functions that are not used in this scenario will still run, resulting in a waste of power.
发明内容Contents of the invention
本公开提供终端状态控制方法、终端状态控制装置、电子设备和计算机可读存储介质,以解决相关技术中的不足。The present disclosure provides a terminal state control method, a terminal state control device, electronic equipment, and a computer-readable storage medium, so as to solve the deficiencies in related technologies.
根据本公开实施例的第一方面,提供一种终端状态控制方法,包括:According to a first aspect of an embodiment of the present disclosure, a terminal state control method is provided, including:
通过终端中的至少一个传感器获取传感器数据;acquiring sensor data through at least one sensor in the terminal;
根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;According to the sensor data characteristics corresponding to the non-use scene where the terminal will not be used, determine whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-use scene;
确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。When it is determined that the sensor data feature corresponding to the non-usage scenario is met, the control terminal is in a non-interactive state.
可选地,所述控制终端处于非交互状态包括:Optionally, the control terminal being in a non-interactive state includes:
终端通过保持运行预设功能模块控制终端处于交互状态,通过关闭所述预设功能模块控制终端处于非交互状态。The terminal controls the terminal to be in an interactive state by keeping the preset function module running, and controls the terminal to be in a non-interactive state by closing the preset function module.
可选地,所述至少一个传感器包括加速度传感器、光传感器和距离传感器,所述非使用场景包括终端处于倒扣的场景;Optionally, the at least one sensor includes an acceleration sensor, a light sensor, and a distance sensor, and the non-use scenario includes a scenario where the terminal is upside down;
其中,所述确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征包括:Wherein, the determining whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-usage scene includes:
确定所述终端是否仅存在沿终端的显示面板出光方向的加速度,所述终端所处环境的光亮度是否小于第一预设亮度,所述终端与遮挡物的距离会否小于第一预设距离。Determining whether the terminal only has acceleration along the light emitting direction of the display panel of the terminal, whether the brightness of the environment where the terminal is located is less than a first preset brightness, and whether the distance between the terminal and an obstruction is less than a first preset distance .
可选地,所述至少一个传感器包括光传感器和距离传感器,所述非使用场景包括终端处于袋内的场景;Optionally, the at least one sensor includes a light sensor and a distance sensor, and the non-use scene includes a scene where the terminal is in a bag;
其中,所述确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征包括:Wherein, the determining whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-usage scene includes:
确定所述终端所处环境的光的亮度是否小于第二预设亮度,所述终端与遮挡物的距离是否小于第二预设距离。Determine whether the brightness of light in the environment where the terminal is located is less than a second preset brightness, and whether the distance between the terminal and the blocking object is less than a second preset distance.
可选地,所述确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态包括:Optionally, when the determination conforms to the sensor data characteristics corresponding to the non-usage scene, controlling the terminal to be in a non-interactive state includes:
记录符合所述非使用场景对应的传感器数据特征的传感器数据的持续时间;record the duration of the sensor data conforming to the sensor data characteristics corresponding to the non-usage scenario;
若所述持续时间大于预设时间,控制终端处于非交互状态。If the duration is longer than the preset time, the control terminal is in a non-interactive state.
可选地,所述方法还包括:Optionally, the method also includes:
若任一所述传感器数据不符合相应的所述传感器数据特征,控制所述终端脱离所述非交互状态。If any of the sensor data does not conform to the corresponding characteristic of the sensor data, control the terminal to leave the non-interactive state.
可选地,所述通过终端中的至少一个传感器获取传感器数据包括:Optionally, the acquiring sensor data through at least one sensor in the terminal includes:
通过挂载在终端的协处理器上的至少一个传感器获取传感器数据。The sensor data is acquired through at least one sensor mounted on the coprocessor of the terminal.
根据本公开实施例的第二方面,提供一种终端状态控制装置,包括:According to a second aspect of an embodiment of the present disclosure, there is provided a terminal state control device, including:
数据获取模块,被配置为通过终端中的至少一个传感器获取传感器数据;A data acquisition module configured to acquire sensor data through at least one sensor in the terminal;
特征确定模块,被配置为根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;The feature determining module is configured to determine whether the acquired sensor data conforms to the sensor data feature corresponding to the non-use scene according to the sensor data feature corresponding to the non-use scene where the terminal is not used;
状态控制模块,被配置为在所述符合确定模块确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。The state control module is configured to control the terminal to be in a non-interactive state when the conformity determination module determines that the sensor data characteristics corresponding to the non-usage scenario are met.
可选地,所述状态控制模块包括:Optionally, the state control module includes:
功能控制子模块,被配置为通过关闭预设功能模块控制终端处于非交互状态,其中,所述终端通过保持运行所述预设功能模块控制终端处于交互状态。The function control sub-module is configured to control the terminal to be in the non-interactive state by closing the preset function module, wherein the terminal controls the terminal to be in the interactive state by keeping the preset function module running.
可选地,所述至少一个传感器包括加速度传感器、光传感器和距离传感器,所述非使用场景包括终端处于倒扣的场景;Optionally, the at least one sensor includes an acceleration sensor, a light sensor, and a distance sensor, and the non-use scenario includes a scenario where the terminal is upside down;
其中,所述特征确定模块包括:Wherein, the feature determination module includes:
加速度子模块,被配置为确定所述终端是否仅存在沿终端的显示面板出光方向的加速度;The acceleration submodule is configured to determine whether the terminal only has an acceleration along the light emitting direction of the display panel of the terminal;
第一亮度子模块,被配置为确定所述终端所处环境的光亮度是否小于第一预设亮度;The first brightness submodule is configured to determine whether the brightness of the environment where the terminal is located is less than a first preset brightness;
第一距离子模块,被配置为确定所述终端与遮挡物的距离是否小于第一预设距离。The first distance submodule is configured to determine whether the distance between the terminal and the obstruction is less than a first preset distance.
可选地,所述至少一个传感器包括光传感器和距离传感器,所述非使用场景包括终端处于袋内的场景;Optionally, the at least one sensor includes a light sensor and a distance sensor, and the non-use scene includes a scene where the terminal is in a bag;
其中,所述特征确定模块包括:Wherein, the feature determination module includes:
第二亮度子模块,被配置为确定所述终端所处环境的光的亮度是否小于第二预设亮度;The second brightness submodule is configured to determine whether the brightness of the light in the environment where the terminal is located is less than a second preset brightness;
第二距离子模块,被配置为确定所述终端与遮挡物的距离是否小于第二预设距离。The second distance submodule is configured to determine whether the distance between the terminal and the shield is less than a second preset distance.
可选地,所述状态控制模块包括:Optionally, the state control module includes:
记录子模块,被配置为记录符合所述非使用场景对应的传感器数据特征的传感器数据的持续时间;A recording submodule configured to record the duration of the sensor data conforming to the sensor data characteristics corresponding to the non-usage scenario;
控制子模块,被配置为在所述持续大于预设时间的情况下,控制终端处于非交互状态。The control submodule is configured to control the terminal to be in a non-interactive state when the duration is longer than the preset time.
可选地,所述状态控制模块还被配置为在任一所述传感器数据不符合相应的所述传感器数据特征,控制所述终端脱离所述非交互状态。Optionally, the state control module is further configured to control the terminal to leave the non-interactive state when any of the sensor data does not conform to the corresponding characteristic of the sensor data.
可选地,数据获取模块被配置为通过挂载在终端的协处理器上的至少一个传感器获取传感器数据。Optionally, the data acquisition module is configured to acquire sensor data through at least one sensor mounted on a coprocessor of the terminal.
根据本公开实施例的第三方面,提供一种电子设备,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
通过终端中的至少一个传感器获取传感器数据;acquiring sensor data through at least one sensor in the terminal;
根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;According to the sensor data characteristics corresponding to the non-use scene where the terminal will not be used, determine whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-use scene;
确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。When it is determined that the sensor data feature corresponding to the non-usage scenario is met, the control terminal is in a non-interactive state.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
通过终端中的至少一个传感器获取传感器数据;acquiring sensor data through at least one sensor in the terminal;
根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;According to the sensor data characteristics corresponding to the non-use scene where the terminal will not be used, determine whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-use scene;
确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。When it is determined that the sensor data feature corresponding to the non-usage scenario is met, the control terminal is in a non-interactive state.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
由上述实施例可知,本公开可以在终端处于非使用场景的情况下,控制终端处于非交互状态,从而降低终端的功耗,提高终端的续航能力。It can be known from the above embodiments that the present disclosure can control the terminal to be in a non-interactive state when the terminal is not in use, thereby reducing power consumption of the terminal and improving battery life of the terminal.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种终端状态控制方法的示意流程图。Fig. 1 is a schematic flowchart of a terminal state control method according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种终端状态控制方法的示意流程图。Fig. 2 is a schematic flowchart of another terminal state control method according to an exemplary embodiment.
图3是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。Fig. 3 is a schematic flowchart of another terminal state control method according to an exemplary embodiment.
图4是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。Fig. 4 is a schematic flowchart of another terminal state control method according to an exemplary embodiment.
图5是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。Fig. 5 is a schematic flowchart of another terminal state control method according to an exemplary embodiment.
图6是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。Fig. 6 is a schematic flowchart of another terminal state control method according to an exemplary embodiment.
图7是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。Fig. 7 is a schematic flowchart of another terminal state control method according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种终端状态控制装置示意框图。Fig. 8 is a schematic block diagram of a terminal state control device according to an exemplary embodiment.
图9是根据一示例性实施例示出的另一种终端状态控制装置示意框图。Fig. 9 is a schematic block diagram of another terminal state control device according to an exemplary embodiment.
图10是根据一示例性实施例示出的又一种终端状态控制装置示意框图。Fig. 10 is a schematic block diagram of another terminal state control device according to an exemplary embodiment.
图11是根据一示例性实施例示出的又一种终端状态控制装置示意框图。Fig. 11 is a schematic block diagram of another terminal state control device according to an exemplary embodiment.
图12是根据一示例性实施例示出的又一种终端状态控制装置示意框图。Fig. 12 is a schematic block diagram of another terminal state control device according to an exemplary embodiment.
图13是根据一示例性实施例示出的一种用于终端状态控制的装置的示意框图。Fig. 13 is a schematic block diagram of an apparatus for terminal state control according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的一种终端状态控制方法的示意流程图,本实施例的方法可以适用于终端,例如手机、平板电脑等电子设备。如图1所示,本实施例的终端状态控制方法可以包括以下步骤。Fig. 1 is a schematic flow chart of a terminal state control method according to an exemplary embodiment. The method of this embodiment may be applicable to terminals, such as mobile phones, tablet computers and other electronic devices. As shown in FIG. 1 , the terminal state control method in this embodiment may include the following steps.
在步骤S11中,通过终端中的至少一个传感器获取传感器数据。In step S11, acquire sensor data through at least one sensor in the terminal.
在一个实施例中,至少一个传感器可以包括距离传感器(例如红外距离传感器)、光传感器、加速度传感器等。其中,距离传感器可以与终端的显示模块(例如屏幕)设置在同侧,用于感应遮挡物到显示模块的距离;光传感器可以用于感应终端所处环境中光的亮度,例如光传感器可以与终端的显示模块设置在同侧,用于感应显示模块这一侧光的亮度;加速度传感器可以用于感应终端在空间中各个方向上的加速度。In one embodiment, the at least one sensor may include a distance sensor (eg, an infrared distance sensor), a light sensor, an acceleration sensor, and the like. Among them, the distance sensor can be set on the same side as the display module (such as the screen) of the terminal, and is used to sense the distance from the shield to the display module; the light sensor can be used to sense the brightness of the light in the environment where the terminal is located. The display module of the terminal is arranged on the same side for sensing the brightness of the light on the side of the display module; the acceleration sensor can be used for sensing the acceleration of the terminal in various directions in space.
在步骤S12中,根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征。In step S12, according to the sensor data characteristics corresponding to the non-use scene where the terminal will not be used, it is determined whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-use scene.
在一个实施例中,以手机为例,非适用场景可以是手机处于倒扣的场景,或处于袋内的场景,在这些场景下,用户一般不会使用手机中的某些功能模块,例如指纹识别模块,人脸识别模块等。而在用户需要使用这些功能模块时,一般会先使手机脱离上述场景,例如将倒扣的手机翻过来,或者将处于袋内的手机取出。In one embodiment, taking a mobile phone as an example, the non-applicable scene may be a scene where the mobile phone is upside down, or a scene in a bag. In these scenes, users generally do not use certain functional modules in the mobile phone, such as fingerprints. Recognition module, face recognition module, etc. When the user needs to use these functional modules, the mobile phone will generally be separated from the above-mentioned scene first, such as turning the inverted mobile phone over, or taking out the mobile phone in the pocket.
需要说明的是,除了上述倒扣和袋内场景,非使用场景还可以是用户将终端握在手中跑步的场景,或者用户驾驶车辆的场景。It should be noted that, in addition to the above-mentioned upside-down and in-pocket scenarios, the non-use scenario may also be a scenario where the user holds the terminal in his hand and runs, or a scenario where the user drives a vehicle.
在一个实施例中,传感器数据可以包括距离传感所感应到的遮挡物到显示模块的距离,光传感器感应到的终端所处环境中光的亮度,以及终端在一个或多个方向的加速度。In an embodiment, the sensor data may include the distance from the shield sensed by the distance sensor to the display module, the brightness of light in the environment where the terminal is located sensed by the light sensor, and the acceleration of the terminal in one or more directions.
在一个实施例中,对于上述距离而言,传感器数据特征可以是指该距离小于预设距离;对于上述亮度而言,传感器数据特征可以是指该亮度小与预设亮度;对于上述加速度而言,传感器数据特征可以是指终端在某个方向上的加速度等于预设加速度。In one embodiment, for the above-mentioned distance, the sensor data feature may refer to that the distance is less than a preset distance; for the above-mentioned brightness, the sensor data feature may refer to that the brightness is smaller than the preset brightness; for the above-mentioned acceleration , the sensor data characteristic may refer to that the acceleration of the terminal in a certain direction is equal to a preset acceleration.
在步骤S13中,确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。In step S13, when it is determined that the sensor data feature corresponding to the non-usage scenario is met, the control terminal is in a non-interactive state.
在一个实施例中,若确定传感器数据符合非使用场景对应的传感器数据特征,以上述传感器数据特征中的距离和亮度为例,也即若存在与终端的距离小于预设距离的物体,且环境光的亮度小于预设亮度,那么可以确定存在与终端较为靠近的物体,并且存在物体对终端的环境光造成遮蔽,或者终端处于较暗的环境中。基于这两个因素,以及日常生活中用户实际使用终端的情况,可以确定终端或者处于倒扣的场景,例如屏幕朝下扣在桌面上,或者处于袋内的场景,例如被放在口袋、背包内。In one embodiment, if it is determined that the sensor data conforms to the sensor data characteristics corresponding to the non-use scene, taking the distance and brightness in the above sensor data characteristics as an example, that is, if there is an object whose distance from the terminal is less than the preset distance, and the environment If the brightness of the light is less than the preset brightness, it can be determined that there is an object relatively close to the terminal, and that the object blocks the ambient light of the terminal, or the terminal is in a relatively dark environment. Based on these two factors, as well as the actual use of the terminal by the user in daily life, it can be determined that the terminal is either placed upside down, such as being buckled on a table with the screen facing down, or placed in a bag, such as being placed in a pocket or backpack. Inside.
在这些非使用场景中,用户几乎不会使用终端,因此可以控制终端处于非交互状态,例如通过控制终端关闭某些功能模块,和/或控制终端将触发某些功能模块的操作,改为触发另一些功能模块使终端进入非交互状态。In these non-usage scenarios, users will hardly use the terminal, so they can control the terminal to be in a non-interactive state, for example, by controlling the terminal to turn off some functional modules, and/or controlling the terminal to trigger the operation of some functional modules, instead triggering Other functional modules put the terminal into a non-interactive state.
需要说明的是,控制终端处于非交互状态,并不限于上述两种方式。It should be noted that the control terminal is in a non-interactive state, and is not limited to the above two manners.
在一个实施例中,以控制终端关闭某些功能模块为例,其中,功能模块可以是显示模块、指纹识别模块、触控模块等,由于在非使用场景中用户几乎不会使用终端,因此可以关闭这些模块,降低在非交互状态下这写功能模块的功耗,提高终端的续航能力。In one embodiment, take controlling the terminal to turn off certain functional modules as an example, where the functional modules may be display modules, fingerprint recognition modules, touch modules, etc. Since users hardly use the terminal in non-use scenarios, it is possible to Turn off these modules, reduce the power consumption of these functional modules in the non-interactive state, and improve the battery life of the terminal.
在一个实施例中,以控制终端控制终端将触发某些功能模块的操作,改为触发另一些功能模块为例,由于在非使用场景中,用户可能无法感知到终端的部分动作,例如在终端处于倒扣的场景时,若终端接收到信息并通过设置在显示模块一侧的光提示模块(例如LED等)进行提示,由于终端倒扣,也即终端的显示模块朝向终端的承重面(例如桌面、床),因此用户无法观察到光提示模块,在这种情况下,可以将接收到信息触发光提示模块进行提示,调整为触发声提示模块和/或振动模块进行提示,以便用户能够及时地接收到提示信息。In one embodiment, take the control terminal to control the terminal to trigger the operation of certain functional modules as an example to trigger other functional modules. In non-use scenarios, the user may not be able to perceive some actions of the terminal, for example, in the terminal In an upside-down scenario, if the terminal receives information and prompts through the light prompt module (such as LED, etc.) provided on one side of the display module, since the terminal is upside down, that is, the display module of the terminal faces the load-bearing surface of the terminal (such as desktop, bed), so the user cannot observe the light prompt module, in this case, the received information can be triggered to prompt the light prompt module, and adjusted to trigger the sound prompt module and/or the vibration module for prompt, so that the user can timely received the prompt message.
需要说明的是,本实施例可以适用于终端的显示模块(例如屏幕)熄灭的情况,也可以是适用于终端的显示模块点亮的情况。It should be noted that this embodiment may be applicable to a situation in which a display module (such as a screen) of the terminal is turned off, or may be applicable to a situation in which the display module of the terminal is turned on.
图2是根据一示例性实施例示出的另一种终端状态控制方法的示意流程图。如图2所示,所述控制终端处于非交互状态包括:Fig. 2 is a schematic flowchart of another terminal state control method according to an exemplary embodiment. As shown in Figure 2, the control terminal being in a non-interactive state includes:
在步骤S131中,终端通过保持运行预设功能模块控制终端处于交互状态,通过关闭所述预设功能模块控制终端处于非交互状态。In step S131, the terminal controls the terminal to be in an interactive state by keeping running the preset function module, and controls the terminal to be in a non-interactive state by closing the preset function module.
在一个实施例中,预设功能模块可以预先设置为与非使用场景相关联,当确定传感器数据符合非使用场景对应的传感器数据特征,即可关闭该预设功能模块,使终端处于非交互状态。In one embodiment, the preset function module can be pre-set to be associated with the non-use scene, and when it is determined that the sensor data conforms to the sensor data characteristics corresponding to the non-use scene, the preset function module can be turned off, so that the terminal is in a non-interactive state .
在一个实施例中,预设功能模块可以是显示模块、指纹识别模块、触控模块、光提示模块等。预设功能模块在终端处于非使用场景时,不会被用户使用。In one embodiment, the preset function module may be a display module, a fingerprint recognition module, a touch module, a light prompt module, and the like. The preset function module will not be used by the user when the terminal is in a non-use scene.
例如终端处于倒扣的场景,如果显示模块处于点亮状态,用户是无法观看到显示模块的,因此可以关闭显示模块;同理,若光提示模块与显示模块位于同一侧,终端在接收到信息光提示模块可以通过闪烁进行提示,但是用户也无法观看到光提示模块。因此,可以通过关闭显示模块和光提示模块,从而可以在不影响用户使用终端的情况下,降低终端的功耗。For example, in the scene where the terminal is turned upside down, if the display module is on, the user cannot see the display module, so the display module can be turned off; similarly, if the light prompt module and the display module are on the same side, the terminal will receive the information The light prompting module can give a prompt by blinking, but the user cannot see the light prompting module. Therefore, the power consumption of the terminal can be reduced without affecting the user's use of the terminal by turning off the display module and the light prompt module.
图3是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。如图3所示,所述至少一个传感器包括加速度传感器、光传感器和距离传感器,所述非使用场景包括终端处于倒扣的场景;Fig. 3 is a schematic flowchart of another terminal state control method according to an exemplary embodiment. As shown in FIG. 3, the at least one sensor includes an acceleration sensor, a light sensor, and a distance sensor, and the non-use scene includes a scene where the terminal is upside down;
其中,所述确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征包括:Wherein, the determining whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-usage scene includes:
在步骤S121中,确定所述终端是否仅存在沿终端的显示面板出光方向的加速度,所述终端所处环境的光亮度是否小于第一预设亮度,所述终端与遮挡物的距离会否小于第一预设距离。In step S121, it is determined whether the terminal only has acceleration along the light emitting direction of the display panel of the terminal, whether the brightness of the environment where the terminal is located is less than the first preset brightness, and whether the distance between the terminal and the blocking object is less than The first preset distance.
在一个实施例中,倒扣是指终端的显示模块朝向终端的承重面放置的状态,在这种状态下,存在与终端较近的物体,例如终端的承重面;并且由于该承重面对光传感器的遮挡,会使得光传感器感应到的环境光的亮度较低,并且终端仅在出光方向上存在加速度(也即重力加速度),在其他方向上不存在加速度。In one embodiment, upside-down refers to the state where the display module of the terminal is placed towards the load-bearing surface of the terminal. In this state, there is an object close to the terminal, such as the load-bearing surface of the terminal; and because the load-bearing surface is light The occlusion of the sensor will cause the brightness of the ambient light sensed by the light sensor to be low, and the terminal only has acceleration (that is, acceleration of gravity) in the direction of light output, and no acceleration in other directions.
基于上述倒扣的场景的特点,可以确定终端是否仅存在沿显示模块(可以包括显示面板和背光模组)中显示面板出光方向的加速度,以及终端所处环境的光亮度是否小于第一预设亮度,终端与遮挡物的距离是否小于第一预设距离。并在仅存在沿终端的显示面板的出光方向的加速度,且终端所处环境的光亮度小于第一预设亮度,终端与遮挡物的距离小于第一预设距离的情况下,确定终端处于倒扣的场景。Based on the characteristics of the above-mentioned reversed scene, it can be determined whether the terminal only has an acceleration along the light emitting direction of the display panel in the display module (which may include a display panel and a backlight module), and whether the brightness of the environment where the terminal is located is less than the first preset Brightness, whether the distance between the terminal and the occluder is less than the first preset distance. And when there is only acceleration along the light emitting direction of the display panel of the terminal, and the brightness of the environment where the terminal is located is less than the first preset brightness, and the distance between the terminal and the blocking object is less than the first preset distance, it is determined that the terminal is in an inverted position. buckle scene.
图4是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。如图4所示,所述至少一个传感器包括光传感器和距离传感器,所述非使用场景包括终端处于袋内的场景;Fig. 4 is a schematic flowchart of another terminal state control method according to an exemplary embodiment. As shown in FIG. 4, the at least one sensor includes a light sensor and a distance sensor, and the non-use scene includes a scene where the terminal is in a bag;
其中,所述确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征包括:Wherein, the determining whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-usage scene includes:
在步骤S122中,确定所述终端所处环境的光的亮度是否小于第二预设亮度,所述终端与遮挡物的距离是否小于第二预设距离。In step S122, it is determined whether the brightness of light in the environment where the terminal is located is less than a second preset brightness, and whether the distance between the terminal and the blocking object is less than a second preset distance.
在一个实施例中,袋内是指终端处于口袋、背包等狭小且亮度较低的封闭空间内的状态,在这种状态下,存在与终端较近的物体,例如终端所处封闭空间的内壁;并且由于封闭空间对外界光线的遮挡,会使得光传感器感应到的环境光的亮度较低。In one embodiment, "inside the bag" refers to the state that the terminal is in a small closed space such as a pocket or backpack with low brightness. In this state, there are objects close to the terminal, such as the inner wall of the closed space where the terminal is located. ; and because the enclosed space blocks external light, the brightness of the ambient light sensed by the light sensor will be low.
基于上述倒扣的场景的特点,可以确定终端所处环境的光亮度是否小于第二预设亮度,终端与遮挡物的距离是否小于第二预设距离。并在终端所处环境的光亮度小于第二预设亮度,且终端与遮挡物的距离小于第二预设距离的情况下,确定终端处于袋内的场景。Based on the characteristics of the above-mentioned reversed scene, it may be determined whether the brightness of the environment where the terminal is located is less than a second preset brightness, and whether the distance between the terminal and the blocking object is less than the second preset distance. And when the brightness of the environment where the terminal is located is less than the second preset brightness, and the distance between the terminal and the occluder is less than the second preset distance, determine the scene where the terminal is in the bag.
根据图3和图4所示的实施例,通过区分不同的非使用场景,有利于针对不同的场景,分别关闭终端不同的预设功能,例如针对倒扣的场景,可以关闭终端的指纹识别功能,而用户仍会感应到振动,因此可以保持振动功能开启;而针对袋内的场景,可以关闭终端的指纹识别功能,而由于终端处于包内或口袋内,用户几乎不会感应到振动,因此可以关闭振动功能(进一步还可以开启铃声功能)。According to the embodiment shown in Figure 3 and Figure 4, by distinguishing different non-use scenarios, it is beneficial to turn off different preset functions of the terminal for different scenarios, for example, for the scene of reverse button, the fingerprint recognition function of the terminal can be turned off , and the user will still feel the vibration, so the vibration function can be kept on; and for the scene in the bag, the fingerprint recognition function of the terminal can be turned off, and because the terminal is in the bag or pocket, the user will hardly sense the vibration, so The vibration function can be turned off (further, the ringtone function can also be turned on).
图5是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。如图5所示,所述确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态包括:Fig. 5 is a schematic flowchart of another terminal state control method according to an exemplary embodiment. As shown in FIG. 5, when the determination conforms to the sensor data characteristics corresponding to the non-usage scenario, the control terminal being in a non-interactive state includes:
在步骤S132中,记录符合所述非使用场景对应的传感器数据特征的传感器数据的持续时间;In step S132, record the duration of the sensor data corresponding to the sensor data characteristics corresponding to the non-usage scene;
在步骤S133中,若所述持续时间大于预设时间,控制终端处于非交互状态。In step S133, if the duration is longer than the preset time, the control terminal is in a non-interactive state.
由于终端有可能因受到干扰或用户误操作导致出现终端与遮挡物的距离较近,且终端所处环境的光亮度较低的情况,若在这种情况下,直接确定终端处于非使用场景,可能会产生误判断和误操作。Since the terminal may be subject to interference or user misoperation, the distance between the terminal and the blocking object may be relatively close, and the brightness of the environment where the terminal is located is low. If in this case, directly determine that the terminal is in a non-use scene, Misjudgment and misoperation may occur.
在一个实施例中,在确定传感器数据符合非使用场景对应的传感器数据特征时,可以通过进一步记录改传感器数据持续的时间,并在该持续时间大于预设时间的情况下才确定所述终端处于非使用场景。In one embodiment, when it is determined that the sensor data conforms to the characteristics of the sensor data corresponding to the non-usage scene, the duration of the sensor data can be further recorded, and only when the duration is greater than the preset time can it be determined that the terminal is in the Non-usage scenarios.
例如针对图4所示的实施例,在确定遮挡物与终端的距离小于第二预设距离,且终端所处环境的光亮度小于第二预设亮度时,记录该距离和该亮度持续的时间,若该距离保持小于第二预设距离的时间大于预设时间,且该亮度保持小于第二预设亮度的时间大于预设时间,则可以确定终端的确处于非使用场景,进而控制终端处于非交互状态,避免终端因受到干扰或用户误操作等原因导致错误地判定终端所处的场景,有利于准确地控制终端进入非交互状态。For example, for the embodiment shown in FIG. 4, when it is determined that the distance between the occluder and the terminal is less than the second preset distance, and the brightness of the environment where the terminal is located is less than the second preset brightness, record the distance and the duration of the brightness If the distance is kept smaller than the second preset distance for longer than the preset time, and the brightness is kept smaller than the second preset brightness for longer than the preset time, it can be determined that the terminal is indeed in a non-use scene, and then the terminal is controlled to be in a non-use scene. The interactive state prevents the terminal from erroneously determining the scene where the terminal is located due to interference or user misoperation, which is conducive to accurately controlling the terminal to enter the non-interactive state.
图6是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。如图6所示,所述方法还包括:Fig. 6 is a schematic flowchart of another terminal state control method according to an exemplary embodiment. As shown in Figure 6, the method also includes:
在步骤S14中,若任一所述传感器数据不符合相应的所述传感器数据特征,控制所述终端脱离所述非交互状态。In step S14, if any of the sensor data does not conform to the corresponding characteristic of the sensor data, the terminal is controlled to leave the non-interactive state.
在一个实施例中,在控制终端处于非交互状态后,可以继续监测上述传感器获取的传感器数据,若监测到任一所述传感器数据不符合相应的所述传感器数据特征,例如针对终端处于袋内的场景而言,在终端所处环境的光亮度大于或等于第二预设亮度,或终端与遮挡物的距离大于或等于第二预设距离的情况下,可以确定终端不再处于非使用场景,从而可以控制终端脱离非交互状态。例如控制终端在进入非交互状态时关闭的功能模块重新启动,保证用户正常对终端进行操作。In one embodiment, after the control terminal is in a non-interactive state, it can continue to monitor the sensor data obtained by the above sensors, if any of the sensor data is detected not to conform to the corresponding sensor data characteristics, for example, the terminal is in a bag In terms of scenarios, when the brightness of the environment where the terminal is located is greater than or equal to the second preset brightness, or the distance between the terminal and the occluder is greater than or equal to the second preset distance, it can be determined that the terminal is no longer in the non-use scene , so that the terminal can be controlled to leave the non-interactive state. For example, the functional modules that are closed when the control terminal enters the non-interactive state are restarted, so as to ensure that the user can normally operate the terminal.
图7是根据一示例性实施例示出的又一种终端状态控制方法的示意流程图。如图7所示,所述通过终端中的至少一个传感器获取传感器数据包括:Fig. 7 is a schematic flowchart of another terminal state control method according to an exemplary embodiment. As shown in Figure 7, the acquisition of sensor data through at least one sensor in the terminal includes:
在步骤S111中,通过挂载在终端的协处理器上的至少一个传感器获取传感器数据。In step S111, sensor data is acquired through at least one sensor mounted on a coprocessor of the terminal.
在一个实施例中,获取传感器数据的传感器可以挂在终端的协处理器上,通过协处理器控制传感器的运行,可以降低中央处理器的负担。In one embodiment, the sensor that acquires sensor data can be hung on the coprocessor of the terminal, and the operation of the sensor can be controlled by the coprocessor, which can reduce the burden on the central processing unit.
与前述的终端状态控制方法的实施例相对应,本公开还提供了终端状态控制装置的实施例。Corresponding to the foregoing embodiments of the terminal state control method, the present disclosure also provides embodiments of a terminal state control device.
图8是根据一示例性实施例示出的一种终端状态控制装置示意框图。如图8所示,终端状态控制装置包括:Fig. 8 is a schematic block diagram of a terminal state control device according to an exemplary embodiment. As shown in Figure 8, the terminal state control device includes:
数据获取模块81,被配置为通过终端中的至少一个传感器获取传感器数据;The data acquisition module 81 is configured to acquire sensor data through at least one sensor in the terminal;
特征确定模块82,被配置为根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;The feature determining module 82 is configured to determine whether the acquired sensor data conforms to the sensor data feature corresponding to the non-use scene according to the sensor data feature corresponding to the non-use scene where the terminal is not used;
状态控制模块83,被配置为在所述符合确定模块确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。The state control module 83 is configured to control the terminal to be in a non-interactive state when the conformity determination module determines that the sensor data characteristics corresponding to the non-usage scenario are met.
图9是根据一示例性实施例示出的另一种终端状态控制装置示意框图。如图9所示,所述状态控制模块83包括:Fig. 9 is a schematic block diagram of another terminal state control device according to an exemplary embodiment. As shown in Figure 9, the state control module 83 includes:
功能控制子模块831,被配置为通过关闭预设功能模块控制终端处于非交互状态,其中,所述终端通过保持运行所述预设功能模块控制终端处于交互状态。The function control sub-module 831 is configured to control the terminal to be in the non-interactive state by closing the preset function module, wherein the terminal controls the terminal to be in the interactive state by keeping running the preset function module.
图10是根据一示例性实施例示出的又一种终端状态控制装置示意框图。如图10所示,所述至少一个传感器包括加速度传感器、光传感器和距离传感器,所述非使用场景包括终端处于倒扣的场景;Fig. 10 is a schematic block diagram of another terminal state control device according to an exemplary embodiment. As shown in FIG. 10, the at least one sensor includes an acceleration sensor, a light sensor, and a distance sensor, and the non-use scene includes a scene where the terminal is upside down;
其中,所述特征确定模块82包括:Wherein, the feature determination module 82 includes:
加速度子模块821,被配置为确定所述终端是否仅存在沿终端的显示面板出光方向的加速度;The acceleration sub-module 821 is configured to determine whether the terminal only has acceleration along the light emitting direction of the display panel of the terminal;
第一亮度子模块822,被配置为确定所述终端所处环境的光亮度是否小于第一预设亮度;The first brightness submodule 822 is configured to determine whether the brightness of the environment where the terminal is located is less than a first preset brightness;
第一距离子模块823,被配置为确定所述终端与遮挡物的距离是否小于第一预设距离。The first distance sub-module 823 is configured to determine whether the distance between the terminal and the obstruction is less than a first preset distance.
图11是根据一示例性实施例示出的又一种终端状态控制装置示意框图。如图11所示,所述至少一个传感器包括光传感器和距离传感器,所述非使用场景包括终端处于袋内的场景;Fig. 11 is a schematic block diagram of another terminal state control device according to an exemplary embodiment. As shown in FIG. 11, the at least one sensor includes a light sensor and a distance sensor, and the non-use scene includes a scene where the terminal is in a bag;
其中,所述特征确定模块82包括:Wherein, the feature determination module 82 includes:
第二亮度子模块824,被配置为确定所述终端所处环境的光的亮度是否小于第二预设亮度;The second brightness submodule 824 is configured to determine whether the brightness of the light in the environment where the terminal is located is less than a second preset brightness;
第二距离子模块825,被配置为确定所述终端与遮挡物的距离是否小于第二预设距离。The second distance sub-module 825 is configured to determine whether the distance between the terminal and the obstruction is less than a second preset distance.
图12是根据一示例性实施例示出的又一种终端状态控制装置示意框图。如图12所示,所述状态控制模块83包括:Fig. 12 is a schematic block diagram of another terminal state control device according to an exemplary embodiment. As shown in Figure 12, the state control module 83 includes:
记录子模块832,被配置为记录符合所述非使用场景对应的传感器数据特征的传感器数据的持续时间;The recording submodule 832 is configured to record the duration of the sensor data conforming to the sensor data characteristics corresponding to the non-usage scene;
控制子模块833,被配置为在所述持续大于预设时间的情况下,控制终端处于非交互状态。The control submodule 833 is configured to control the terminal to be in a non-interactive state when the duration is longer than the preset time.
可选地,所述状态控制模块还被配置为在任一所述传感器数据不符合相应的所述传感器数据特征,控制所述终端脱离所述非交互状态。Optionally, the state control module is further configured to control the terminal to leave the non-interactive state when any of the sensor data does not conform to the corresponding characteristic of the sensor data.
可选地,数据获取模块被配置为通过挂载在终端的协处理器上的至少一个传感器获取传感器数据。Optionally, the data acquisition module is configured to acquire sensor data through at least one sensor mounted on a coprocessor of the terminal.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在相关方法的实施例中进行了详细描述,此处将不做详细阐述说明。With regard to the apparatus in the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments of related methods, and will not be described in detail here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, for related parts, please refer to the part description of the method embodiment. The device embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. It can be understood and implemented by those skilled in the art without creative effort.
本公开还提出了一种电子设备,包括:The present disclosure also proposes an electronic device, comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
通过终端中的至少一个传感器获取传感器数据;acquiring sensor data through at least one sensor in the terminal;
根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;According to the sensor data characteristics corresponding to the non-use scene where the terminal will not be used, determine whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-use scene;
确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。When it is determined that the sensor data feature corresponding to the non-usage scenario is met, the control terminal is in a non-interactive state.
本公开还提出了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:The present disclosure also proposes a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
通过终端中的至少一个传感器获取传感器数据;acquiring sensor data through at least one sensor in the terminal;
根据终端处于不会被使用的非使用场景对应的传感器数据特征,确定获取的传感器数据是否符合所述非使用场景对应的传感器数据特征;According to the sensor data characteristics corresponding to the non-use scene where the terminal will not be used, determine whether the acquired sensor data conforms to the sensor data characteristics corresponding to the non-use scene;
确定符合所述非使用场景对应的传感器数据特征时,控制终端处于非交互状态。When it is determined that the sensor data feature corresponding to the non-usage scenario is met, the control terminal is in a non-interactive state.
图13是根据一示例性实施例示出的一种用于终端状态控制的装置1300的示意框图。例如,装置1300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 13 is a schematic block diagram of an apparatus 1300 for terminal state control according to an exemplary embodiment. For example, the apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图13,装置1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电源组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)的接口1312,传感器组件1314,以及通信组件1316。13, device 1300 may include one or more of the following components: processing component 1302, memory 1304, power supply component 1306, multimedia component 1308, audio component 1310, input/output (I/O) interface 1312, sensor component 1314, and communication component 1316.
处理组件1302通常控制装置1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。The processing component 1302 generally controls the overall operations of the device 1300, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302 .
存储器1304被配置为存储各种类型的数据以支持在装置1300的操作。这些数据的示例包括用于在装置1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1304 is configured to store various types of data to support operations at the device 1300 . Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1304 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1306为装置1300的各种组件提供电力。电源组件1306可以包括电源管理系统,一个或多个电源,及其他与为装置1300生成、管理和分配电力相关联的组件。The power supply component 1306 provides power to various components of the device 1300 . Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1300 .
多媒体组件1308包括在所述装置1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当装置1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1308 includes a screen that provides an output interface between the device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1308 includes a front camera and/or a rear camera. When the device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当装置1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1316发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a microphone (MIC), which is configured to receive external audio signals when the device 1300 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1304 or sent via communication component 1316 . In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1312 provides an interface between the processing component 1302 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1314包括一个或多个传感器,用于为装置1300提供各个方面的状态评估。例如,传感器组件1314可以检测到装置1300的打开/关闭状态,组件的相对定位,例如所述组件为装置1300的显示器和小键盘,传感器组件1314还可以检测装置1300或装置1300一个组件的位置改变,用户与装置1300接触的存在或不存在,装置1300方位或加速/减速和装置1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1314 includes one or more sensors for providing various aspects of status assessment for device 1300 . For example, the sensor component 1314 can detect the open/closed state of the device 1300, the relative positioning of components, such as the display and keypad of the device 1300, and the sensor component 1314 can also detect a change in the position of the device 1300 or a component of the device 1300 , the presence or absence of user contact with the device 1300 , the device 1300 orientation or acceleration/deceleration and the temperature change of the device 1300 . Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1314 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1316被配置为便于装置1300和其他设备之间有线或无线方式的通信。装置1300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1316经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1316还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1316 is configured to facilitate wired or wireless communication between the apparatus 1300 and other devices. The device 1300 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述实施例中所述的方法。In an exemplary embodiment, apparatus 1300 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are used to implement the methods described in the above-mentioned embodiments.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由装置1300的处理器1320执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1304 including instructions, which can be executed by the processor 1320 of the device 1300 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710744774.9A CN107566626A (en) | 2017-08-25 | 2017-08-25 | Terminal state control method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710744774.9A CN107566626A (en) | 2017-08-25 | 2017-08-25 | Terminal state control method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107566626A true CN107566626A (en) | 2018-01-09 |
Family
ID=60977040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710744774.9A Pending CN107566626A (en) | 2017-08-25 | 2017-08-25 | Terminal state control method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107566626A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107580129A (en) * | 2017-09-01 | 2018-01-12 | 北京小米移动软件有限公司 | Terminal state control method and device |
| CN108364595A (en) * | 2018-01-26 | 2018-08-03 | 努比亚技术有限公司 | A kind of Electro-static Driven Comb detection method, mobile terminal and computer readable storage medium |
| CN110134218A (en) * | 2019-05-15 | 2019-08-16 | 上海创功通讯技术有限公司 | The control method and device of electronic equipment |
| CN115834764A (en) * | 2022-11-29 | 2023-03-21 | 咪咕文化科技有限公司 | Multimedia file playing method and device, computer equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102984372A (en) * | 2012-11-21 | 2013-03-20 | 广东欧珀移动通信有限公司 | A method, device and mobile terminal for turning off screen and turning on screen |
| CN103501385A (en) * | 2013-09-18 | 2014-01-08 | 东莞宇龙通信科技有限公司 | Power saving reminder method for mobile terminal and reminder event |
| US20150077354A1 (en) * | 2013-09-13 | 2015-03-19 | Inventec Appliances (Jiangning) Corporation | Screen Control System of Handheld Devices and Method Thereof |
| CN106650383A (en) * | 2016-12-30 | 2017-05-10 | 深圳天珑无线科技有限公司 | Terminal control method and terminal control device |
| CN106911863A (en) * | 2017-04-24 | 2017-06-30 | 珠海市魅族科技有限公司 | A kind of false-touch prevention method and device of terminal |
-
2017
- 2017-08-25 CN CN201710744774.9A patent/CN107566626A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102984372A (en) * | 2012-11-21 | 2013-03-20 | 广东欧珀移动通信有限公司 | A method, device and mobile terminal for turning off screen and turning on screen |
| US20150077354A1 (en) * | 2013-09-13 | 2015-03-19 | Inventec Appliances (Jiangning) Corporation | Screen Control System of Handheld Devices and Method Thereof |
| CN103501385A (en) * | 2013-09-18 | 2014-01-08 | 东莞宇龙通信科技有限公司 | Power saving reminder method for mobile terminal and reminder event |
| CN106650383A (en) * | 2016-12-30 | 2017-05-10 | 深圳天珑无线科技有限公司 | Terminal control method and terminal control device |
| CN106911863A (en) * | 2017-04-24 | 2017-06-30 | 珠海市魅族科技有限公司 | A kind of false-touch prevention method and device of terminal |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107580129A (en) * | 2017-09-01 | 2018-01-12 | 北京小米移动软件有限公司 | Terminal state control method and device |
| CN108364595A (en) * | 2018-01-26 | 2018-08-03 | 努比亚技术有限公司 | A kind of Electro-static Driven Comb detection method, mobile terminal and computer readable storage medium |
| CN108364595B (en) * | 2018-01-26 | 2021-10-15 | 努比亚技术有限公司 | Electrostatic discharge detection method, mobile terminal and computer readable storage medium |
| CN110134218A (en) * | 2019-05-15 | 2019-08-16 | 上海创功通讯技术有限公司 | The control method and device of electronic equipment |
| CN115834764A (en) * | 2022-11-29 | 2023-03-21 | 咪咕文化科技有限公司 | Multimedia file playing method and device, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107426428A (en) | Electronic equipment and display lightness regulating method | |
| CN107580129A (en) | Terminal state control method and device | |
| WO2018076323A1 (en) | Screen control method and apparatus | |
| CN106790955A (en) | Terminal control method and device | |
| CN106843706B (en) | Shutdown control method and device and terminal equipment | |
| CN106375676A (en) | Camera control method and device for terminal equipment, and terminal equipment | |
| CN106101365A (en) | Communication process adjusts the method and device of mike | |
| CN106055144B (en) | Control method and device, the electronic equipment of touch screen state | |
| CN107708187A (en) | The control method and device of sleep pattern | |
| CN105979066A (en) | Screen lighting-up method and screen lighting-up device | |
| CN107102801A (en) | Terminal screen spinning solution and device | |
| CN105708609A (en) | User snore reminding method, device and system | |
| CN106210336B (en) | Control the method and device of mobile terminal state switching | |
| CN105208510B (en) | The method and device of intelligent alarm | |
| CN107885418A (en) | Terminal, multi-screen display method and device | |
| CN107566626A (en) | Terminal state control method and device | |
| CN106201285A (en) | Prevent power key by the method and device of false touch, electronic equipment | |
| CN106371738A (en) | Method and device for controlling mobile terminal and its screen brightness | |
| CN106201108A (en) | Glove control mode touch mode control method and device and electronic equipment | |
| CN111405109A (en) | Brightness control method, brightness control device and electronic equipment | |
| CN107566750A (en) | Control method, device and storage medium of flashlight | |
| CN107132983B (en) | Split screen window operation method and device | |
| CN108124058A (en) | information display control method and device | |
| CN107203264A (en) | The control method of display pattern, device, electronic equipment | |
| CN107809545A (en) | Control method, device and the storage medium of smart machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180109 |
|
| RJ01 | Rejection of invention patent application after publication |