WO2019114755A1 - Mobile terminal and control method therefor, and storage device - Google Patents

Mobile terminal and control method therefor, and storage device Download PDF

Info

Publication number
WO2019114755A1
WO2019114755A1 PCT/CN2018/120604 CN2018120604W WO2019114755A1 WO 2019114755 A1 WO2019114755 A1 WO 2019114755A1 CN 2018120604 W CN2018120604 W CN 2018120604W WO 2019114755 A1 WO2019114755 A1 WO 2019114755A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
state
distance
enter
controlling
Prior art date
Application number
PCT/CN2018/120604
Other languages
French (fr)
Chinese (zh)
Inventor
史凯军
饶昆
Original Assignee
捷开通讯(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 捷开通讯(深圳)有限公司 filed Critical 捷开通讯(深圳)有限公司
Publication of WO2019114755A1 publication Critical patent/WO2019114755A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed is a mobile terminal. The mobile terminal comprises a processor and at least two distance sensors. The at least two distance sensors are used for detecting distances from at least two positions staggered on a plane where the mobile terminal is located to a surrounding object. The processor is connected to the at least two distance sensors, and used for controlling the mobile terminal to enter a first state when all the at least two distance sensors detect that the distances from the respective positions to the surrounding object are less than or equal to a preset distance value and for controlling the mobile terminal to enter a second state when any of the at least two distance sensors detects that the distance from the respective position to the surrounding object is greater than the preset distance value. Also disclosed are a control method for a mobile terminal and a storage device. In this way, the present invention can avoid unnecessary troubles caused by a user forgetting to switch the state of the mobile terminal, thereby improving the convenience of use of the mobile terminal.

Description

移动终端及其控制方法、存储装置Mobile terminal, control method thereof, and storage device 技术领域Technical field
本发明涉及电子设备领域,特别是涉及一种移动终端及其控制方法、存储装置。The present invention relates to the field of electronic devices, and in particular, to a mobile terminal, a control method thereof, and a storage device.
背景技术Background technique
电子技术的迅猛发展,使各种新功能、新技术不断地应用到智能手机等移动终端中,而移动终端的功能越来越多元化。The rapid development of electronic technology has enabled various new functions and technologies to be continuously applied to mobile terminals such as smart phones, and the functions of mobile terminals are increasingly diversified.
移动终端通常需要根据环境状况的不同在两种状态之间进行切换以适应不同的环境需要。目前的移动终端在进行状态之间切换时是通过手动的方式进行切换。而手动切换时,用户通常会忘记切换而导致不必要的麻烦。Mobile terminals usually need to switch between the two states to suit different environmental needs depending on the environmental conditions. Current mobile terminals switch by manual mode when switching between states. When switching manually, the user usually forgets the switch and causes unnecessary trouble.
例如,为了降低移动终端的能耗,在移动终端不使用时,用户需要关闭移动终端的屏幕,使其屏幕处于锁定状态,大多数移动终端是通过按下移动终端的开关按键使屏幕关闭。然而,很多用户在使用完移动终端后,通常忘记关闭移动终端的屏幕,不仅导致移动终端耗能增加,还容易由于用户误触屏幕造成移动终端误操作的问题。For example, in order to reduce the power consumption of the mobile terminal, when the mobile terminal is not in use, the user needs to close the screen of the mobile terminal to make the screen locked, and most mobile terminals turn off the screen by pressing the switch button of the mobile terminal. However, many users forget to turn off the screen of the mobile terminal after using the mobile terminal, which not only causes the energy consumption of the mobile terminal to increase, but also causes the mobile terminal to operate incorrectly due to the user accidentally touching the screen.
发明内容Summary of the invention
本发明主要是提供一种移动终端及其控制方法、存储装置,能够根据环境状态在不同的状态之间自动切换,避免用户忘记切换状态。The present invention mainly provides a mobile terminal, a control method thereof, and a storage device, which can automatically switch between different states according to an environmental state, thereby preventing a user from forgetting to switch states.
为解决上述技术问题,本发明采用的一个技术方案是:提供一种移动终端的控制方法,该控制方法包括:To solve the above technical problem, a technical solution adopted by the present invention is to provide a control method for a mobile terminal, where the control method includes:
预先接收用户的配置指令,并根据用户的配置指令“开启”或者“关闭”自动切换状态的功能;Receiving a user's configuration command in advance, and "turning on" or "off" the function of automatically switching states according to a user's configuration instruction;
在“开启”或者“关闭”自动切换状态的功能开启时:When the "on" or "off" automatic switching status is turned on:
检测移动终端所在平面上错开的至少两个位置与周围物体的距离,并产生对应至少两个检测距离值;判断至少两个检测距离值与预设距离值的大小关系;在至少两个检测距离值均小于或者等于预设距离值时,控制移动终端进入第一状态;在至少两个检测距离值中任意一者大于预设距离值时,控制移动终端进入第二状态。Detecting a distance between at least two positions staggered on the plane of the mobile terminal and surrounding objects, and generating corresponding at least two detection distance values; determining a size relationship between the at least two detection distance values and the preset distance value; at at least two detection distances When the value is less than or equal to the preset distance value, the mobile terminal is controlled to enter the first state; and when any one of the at least two detected distance values is greater than the preset distance value, the mobile terminal is controlled to enter the second state.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种移动终端,该移动终端包括处理器和至少两个距离传感器,至少两个距离传感器用于检测移动终端所在平面上错开的至少两个位置与周围物体的距离;处理器与至少两个距离传感器连接,用于在至少两个距离传感器中的每一距离传感器均检测到对应位置与周围物体的距离小于或者等于预设距离值时,控制移动终端进入第一状态,且用于在至少两个距离传感器中任意一个距离传感器检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端进入第二状态。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a mobile terminal, which includes a processor and at least two distance sensors, and at least two distance sensors are used to detect a staggered plane on the plane of the mobile terminal. a distance between the at least two locations and the surrounding object; the processor is coupled to the at least two distance sensors for detecting that the distance between the corresponding position and the surrounding object is less than or equal to the preset distance in each of the at least two distance sensors And when the value is controlled, the mobile terminal is controlled to enter the first state, and is configured to control the mobile terminal to enter the second state when any one of the at least two distance sensors detects that the distance of the corresponding position from the surrounding object is greater than the preset distance value.
为解决上述技术问题,本发明采用的又一个技术方案是:提供一种存储装置,存储装置存储有计算机程序,该计算机程序能够被执行以实现上述方法。In order to solve the above technical problems, another technical solution adopted by the present invention is to provide a storage device that stores a computer program that can be executed to implement the above method.
本发明的有益效果是:区别于现有技术的情况,本发明移动终端包括处理器和至少两个距离传感器,至少两个距离传感器用于检测移动终端所在平面上错开的至少两个位置与周围物体的距离;处理器与至少两个距离传感器连接,用于在至少两个距离传感器中的每一距离传感器均检测到对应位置与周围物体的距离小于或者等于预设距离值时,控制移动终端进入第一状态,且用于在至少两个距离传感器中任意一个距离传感器检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端进入第二状态。通过上述方式,移动终端可以通过距离传感器检测移动终端是否平放在周围物体上,从而根据是否平放在周围物体上使移动终端在不同的状态之间自动切换,能够避免由于用户忘记切换移动终端的状态从而造成不必要的麻烦,提升移动终端使用的便利性。The invention has the beneficial effects that the mobile terminal of the present invention comprises a processor and at least two distance sensors, and at least two distance sensors are used for detecting at least two positions and surroundings staggered on the plane of the mobile terminal, different from the prior art. a distance of the object; the processor is coupled to the at least two distance sensors for controlling the mobile terminal when each of the at least two distance sensors detects that the distance between the corresponding position and the surrounding object is less than or equal to the preset distance value Entering the first state, and for controlling the mobile terminal to enter the second state when any one of the at least two distance sensors detects that the distance of the corresponding position from the surrounding object is greater than the preset distance value. In the above manner, the mobile terminal can detect whether the mobile terminal is placed on the surrounding object by the distance sensor, so that the mobile terminal automatically switches between different states according to whether it is placed on the surrounding object, and can avoid avoiding switching the mobile terminal due to the user forgetting. The state thus causes unnecessary troubles and improves the convenience of use of the mobile terminal.
附图说明DRAWINGS
图1是本发明一实施例移动终端的结构示意图;1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图2是本发明一实施例移动终端的处理器通过检测电路与感应天线连接的结构示意图;2 is a schematic structural diagram of a processor of a mobile terminal connected to a sensing antenna through a detecting circuit according to an embodiment of the present invention;
图3是本发明一实施例检测电路输出电平的示意图;3 is a schematic diagram of an output level of a detection circuit according to an embodiment of the present invention;
图4是本发明另一实施例移动终端的处理器通过检测电路与感应天线连接的结构示意图;4 is a schematic structural diagram of a processor of a mobile terminal connected to a sensing antenna through a detecting circuit according to another embodiment of the present invention;
图5是本发明第二实施例移动终端的结构示意图;FIG. 5 is a schematic structural diagram of a mobile terminal according to a second embodiment of the present invention; FIG.
图6是本发明第三实施例移动终端的结构示意图;6 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
图7是本发明第四实施例移动终端的结构示意图;7 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention;
图8是本发明移动终端的控制方法的流程示意图;8 is a schematic flow chart of a method for controlling a mobile terminal according to the present invention;
图9是本发明实施例存储装置的示意图。9 is a schematic diagram of a storage device in accordance with an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图,对本发明的具体实施方式做详细的说明。可以理解的是,此处所描述的具体实施例仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It should also be noted that, for ease of description, only some, but not all, of the structures related to the present invention are shown in the drawings. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", and the like in the present invention are used to distinguish different objects, and are not intended to describe a specific order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是, 本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
请参阅图1,图1是本发明一实施例移动终端的结构示意图。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
在本实施例中,移动终端10可以包括处理器11和两个距离传感器12。处理器11与两个距离传感器12电连接。In the present embodiment, the mobile terminal 10 may include a processor 11 and two distance sensors 12. The processor 11 is electrically connected to two distance sensors 12.
在发明实施例中,移动终端10可以为智能手机、掌上电脑、可穿戴式智能设备或者平板电脑等,本发明对移动终端10类型不作限定。In the embodiment of the present invention, the mobile terminal 10 may be a smart phone, a palmtop computer, a wearable smart device, or a tablet computer. The present invention does not limit the type of the mobile terminal 10.
两个距离传感器12分别用于检测移动终端10所在平面上错开的两个位置与周围物体的距离。可选地,两个距离传感器12检测参数或者检测性能可以相同。The two distance sensors 12 are respectively used to detect the distance between the two positions staggered on the plane of the mobile terminal 10 and the surrounding objects. Alternatively, the two distance sensors 12 may detect the parameters or the detection performance may be the same.
移动终端10所在的平面可以是指移动终端10的背面壳体表面,也可以是指移动终端10的正面壳体表面。其中,正面是指移动终端10的屏幕所在的一面。The plane in which the mobile terminal 10 is located may refer to the rear case surface of the mobile terminal 10, and may also refer to the front case surface of the mobile terminal 10. The front side refers to the side of the screen of the mobile terminal 10.
可选地,两个距离传感器12可以分别设置于移动终端10的两个对角的角落处。距离传感器12设置于角落处是指距离传感器12与其最近的移动终端10的侧边之间距离可以为0mm至10mm,例如,距离传感器12与其最近的移动终端10的侧边之间距离可以为0mm、5mm或者10mm。应理解,当距离传感器12包括实际的检测部件和相应的检测电路122时,例如检测部件为感应天线121时,检测部件和检测电路122可以分开设置,而只是将实际的检测部件设置在对应位置进行与周围的物体的距离检测。Alternatively, two distance sensors 12 may be respectively disposed at two diagonal corners of the mobile terminal 10. The distance sensor 12 is disposed at a corner means that the distance between the distance sensor 12 and the side of the mobile terminal 10 closest thereto may be 0 mm to 10 mm. For example, the distance between the distance sensor 12 and the side of the mobile terminal 10 closest thereto may be 0 mm. , 5mm or 10mm. It should be understood that when the distance sensor 12 includes the actual detecting component and the corresponding detecting circuit 122, for example, when the detecting component is the sensing antenna 121, the detecting component and the detecting circuit 122 can be separately disposed, but only the actual detecting component is disposed at the corresponding position. Perform distance detection with surrounding objects.
可选地,与周围物体的距离可以是指与周围物体表面的距离。周围物体表面可以为平整的表面,在本实施例中,周围物体的表面可以为与水平面平行的表面,例如桌面。在其他实施例中,周围物体可以为倾斜面或者竖直面,例如,手机支架的表面。Alternatively, the distance from the surrounding object may refer to the distance from the surface of the surrounding object. The surface of the surrounding object may be a flat surface. In this embodiment, the surface of the surrounding object may be a surface parallel to the horizontal plane, such as a table top. In other embodiments, the surrounding objects may be inclined or vertical, such as the surface of a cell phone holder.
对应位置可以为上述的移动终端10所在平面上错开的两个位置。例如,如图1所示,左上角的距离传感器12检测的对应位置是指左上角处,例如移动终端10背面壳体表面的左上角处;再例如,右下角的距离传感器12检测的对应位置是指右下角处,例如移动终端10背面壳体表面的右下角处。The corresponding position may be two positions staggered on the plane of the mobile terminal 10 described above. For example, as shown in FIG. 1, the corresponding position detected by the distance sensor 12 in the upper left corner refers to the upper left corner, for example, the upper left corner of the rear housing surface of the mobile terminal 10; for example, the corresponding position detected by the distance sensor 12 in the lower right corner. It means at the lower right corner, for example, at the lower right corner of the surface of the rear casing of the mobile terminal 10.
在本实施例中,处理器11用于在两个距离传感器12中的每一距离传感器12均检测到对应位置与周围物体的距离小于或者等于预设距离值时,控制移动终端10进入第一状态。例如,如图1所示,位于移动终端10左上角的距离传感器12检测到左上角处与周围物体的距离小于或者等于预设距离值,且位于移动终端10右下角的距离传感器12也检测到右下角处与周围物体的距离小于或者等于预设距离值时,则表明移动终端10平放在周围物体的表面,处理器11控制移动终端10进入第一状态。In this embodiment, the processor 11 is configured to control the mobile terminal 10 to enter the first time when each of the two distance sensors 12 detects that the distance between the corresponding position and the surrounding object is less than or equal to the preset distance value. status. For example, as shown in FIG. 1, the distance sensor 12 located at the upper left corner of the mobile terminal 10 detects that the distance from the surrounding object at the upper left corner is less than or equal to the preset distance value, and the distance sensor 12 located at the lower right corner of the mobile terminal 10 also detects When the distance from the surrounding object in the lower right corner is less than or equal to the preset distance value, it indicates that the mobile terminal 10 is flat on the surface of the surrounding object, and the processor 11 controls the mobile terminal 10 to enter the first state.
在本实施例中,处理器11还用于在两个距离传感器12中任意一个距离传感器12检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端10进入第二状态。例如,如图1所示,位于左上角的距离传感器12和位于右下角的距离传感器12中只要有一个检测到对应位置与周围物体的距离大于预设距离值,则表明移动终端10不是平放在周围物体表面,处理器11控制移动终端10进入第二状态。In this embodiment, the processor 11 is further configured to control the mobile terminal 10 to enter the second state when any one of the two distance sensors 12 detects that the distance between the corresponding position and the surrounding object is greater than the preset distance value. For example, as shown in FIG. 1 , if one of the distance sensor 12 located at the upper left corner and the distance sensor 12 located at the lower right corner detects that the distance between the corresponding position and the surrounding object is greater than the preset distance value, it indicates that the mobile terminal 10 is not laid flat. At the surface of the surrounding object, the processor 11 controls the mobile terminal 10 to enter the second state.
可选地,第一状态可以为移动终端10的屏幕锁定状态,第二状态可以为移动终端10的屏幕解锁状态。在其他实施例中,第一状态可以为屏幕亮度为第一亮度值的状态,对应的第二状态可以屏幕亮度为第二亮度值的状态,其中,第一亮度值小于第二亮度值。在其他实施例中,第一状态可以为低性能低功耗状态,对应的第二状态可以为相对的高性能高功耗状。在低性能低功耗状态下,屏幕亮度相对较低,移动数据功能关闭,WIFI功能关闭,定位功能关闭;在高性能高功耗状态下,屏幕亮度相对较高,移动数据可以开启,WIFI功能可以开启、定位功能可以开启。Optionally, the first state may be a screen lock state of the mobile terminal 10, and the second state may be a screen unlock state of the mobile terminal 10. In other embodiments, the first state may be a state in which the screen brightness is a first brightness value, and the corresponding second state may be a state in which the screen brightness is a second brightness value, wherein the first brightness value is smaller than the second brightness value. In other embodiments, the first state may be a low performance low power state, and the corresponding second state may be a relatively high performance high power consumption state. In the low performance and low power consumption state, the screen brightness is relatively low, the mobile data function is turned off, the WIFI function is turned off, and the positioning function is turned off; in the high performance and high power consumption state, the screen brightness is relatively high, the mobile data can be turned on, and the WIFI function is enabled. It can be turned on and the positioning function can be turned on.
可选地,该预设距离值可以为预先设定的距离值,例如,移动终端10接收用户的设置指令,根据用户的设置指令获取预设距离值,并将获取的预设距离值存储至与该处理器11连接的存储器中。处理器11需要判断对应位置与周围物体的距离与预设距离值的大小关系时,从存储器读取预设距离值并将获取到的每一距离传感器12的与周围物体的距离分别与预设距离值比较。Optionally, the preset distance value may be a preset distance value. For example, the mobile terminal 10 receives a setting instruction of the user, acquires a preset distance value according to a setting instruction of the user, and stores the obtained preset distance value to In the memory connected to the processor 11. When the processor 11 needs to determine the magnitude relationship between the distance between the corresponding location and the surrounding object and the preset distance value, the preset distance value is read from the memory and the distances of the acquired distance sensors 12 from the surrounding objects are respectively preset. Distance value comparison.
可选地,预设距离值可以根据移动终端10平放在周围物体上时多次检测的多个距离值进行设定,例如,在平放在同一周围物体时,多次拿起和平放在周围物体上,往复操作,将多次平放在周围物体上时距离传感器12多次检测的多个距离值中的最大值作为预设距离值。或者,针对不同周围物体按上述方式,获取不同的周围物体对应的最大值,获取不同的周围物体对应的最大值的平均值作为预设距离值。Optionally, the preset distance value may be set according to a plurality of distance values that are detected multiple times when the mobile terminal 10 is placed on the surrounding object, for example, when placed on the same surrounding object, the multiple times are taken and placed peacefully. On the surrounding object, the reciprocating operation is to set the maximum value of the plurality of distance values detected by the sensor 12 multiple times as the preset distance value when lying on the surrounding object multiple times. Alternatively, for different surrounding objects, the maximum values corresponding to different surrounding objects are acquired in the above manner, and the average value of the maximum values corresponding to different surrounding objects is obtained as the preset distance value.
在另一实施例中,处理器11用于在两个距离传感器12中的每一距离传感器12均检测到对应位置与周围物体的距离小于或者等于预设距离值,并且处理器11判断到移动终端10正在运行的应用程序不包括预设应用程序时,控制移动终端10进入第一状态。可选地,预设应用程序可以为视频播放程序、游戏程序或者文档程序等,本发明对此不作限定,用户可以根据需要进行预先设定。In another embodiment, the processor 11 is configured to detect, at each of the two distance sensors 12, that the distance of the corresponding position from the surrounding object is less than or equal to the preset distance value, and the processor 11 determines that the movement is When the running application of the terminal 10 does not include the preset application, the mobile terminal 10 is controlled to enter the first state. Optionally, the preset application may be a video playing program, a game program, or a document program. The present invention is not limited thereto, and the user may perform preset according to requirements.
例如,用户正在手持移动终端10观看视频,则视频播放程序正在运行,看视频过程中若将移动终端10放在桌上,虽然每一距离传感器12均能检测到对应位置与桌面的距离小于或者等于预设距离值,但是此时处理器11不控制移动终端10进入第一状态;若处理器11在检测到移动终端10正在运行的应用程序不为预设程序时,处理器11控制移动终端10进入第一状态。通过上述方式,可以避免对用户使用预设应用程序进行影响。For example, if the user is holding the mobile terminal 10 to watch the video, the video playing program is running. If the mobile terminal 10 is placed on the table during the video viewing process, each distance sensor 12 can detect that the distance between the corresponding location and the desktop is less than or Equal to the preset distance value, but at this time, the processor 11 does not control the mobile terminal 10 to enter the first state; if the processor 11 detects that the application that the mobile terminal 10 is running is not the preset program, the processor 11 controls the mobile terminal. 10 enters the first state. In this way, it is possible to avoid affecting the user's use of the preset application.
可选地,在又一实施例中,处理器11用于在两个距离传感器12中的每一距离传感器12均检测到对应位置与周围物体的距离小于或者等于预设距离值,则表明移动终端10平放在周围物体上,并且在处理器11检测到从移动终端10平放在周围物体上开始的预设时长内移动终端10未接收到用户操作指令时,控制移动终端10进入第一状态。Optionally, in another embodiment, the processor 11 is configured to indicate that each distance sensor 12 of the two distance sensors 12 detects that the distance of the corresponding position from the surrounding object is less than or equal to the preset distance value. The terminal 10 is placed flat on the surrounding object, and controls the mobile terminal 10 to enter the first when the processor 11 detects that the mobile terminal 10 does not receive the user operation instruction within a preset time period from when the mobile terminal 10 is placed on the surrounding object. status.
例如,用户正在使用移动终端10进行聊天,在聊天过程中将移动终端10放在桌上,虽然每一距离传感器12均能检测到对应位置与周围物体的距离小于或者等于预设距离值,但如果处理器11在此时检测到在预设时长内移动终端10接收到了用户的操作指令,处理器11不会控制移动终端10进入第一状态;若处理器11在此时检测到在预设时长内 移动终端10未接收到用户的操作指令,则控制移动终端10进入第一状态。For example, the user is using the mobile terminal 10 to perform a chat, and the mobile terminal 10 is placed on the table during the chat, although each distance sensor 12 can detect that the distance between the corresponding location and the surrounding object is less than or equal to the preset distance value, but If the processor 11 detects that the mobile terminal 10 has received the operation instruction of the user within the preset time period, the processor 11 does not control the mobile terminal 10 to enter the first state; if the processor 11 detects the preset at this time When the mobile terminal 10 does not receive the operation instruction of the user within the time limit, the mobile terminal 10 is controlled to enter the first state.
可选地,上述每一距离传感器12可以包括检测电路122和感应天线121,感应天线121通过与其对应的检测电路122与处理器11连接。Optionally, each of the distance sensors 12 may include a detection circuit 122 and a sensing antenna 121, and the sensing antenna 121 is connected to the processor 11 through a detection circuit 122 corresponding thereto.
可以理解的是,在本实施例中,感应天线121可以设置在上述的对应位置处,例如,感应天线121可以设置在移动终端10的壳体背面的角落处且固定在背面壳体的内表面。其中,固定在背面壳体的内表面可以为贴覆在壳体的内表面。检测电路122可以设置在移动终端10的电路板上。It can be understood that, in this embodiment, the sensing antenna 121 can be disposed at the corresponding position described above. For example, the sensing antenna 121 can be disposed at a corner of the back surface of the housing of the mobile terminal 10 and fixed on the inner surface of the rear housing. . Wherein, the inner surface fixed to the back casing may be attached to the inner surface of the casing. The detection circuit 122 can be disposed on a circuit board of the mobile terminal 10.
感应天线121可以用于根据感应天线121与周围物体的距离感生相应的电荷量。The sensing antenna 121 can be used to induce a corresponding amount of charge according to the distance of the sensing antenna 121 from surrounding objects.
周围物体和感应天线121可以视为一个电容器。周围物体和感应天线121可以分别视为该电容器的两个极板,由于电容器的极板上的电荷和两个极板之间的距离成反比,随着感应天线121和周围物体的距离减小,感应天线121上的电荷量变大;随着感应天线121和周围物体的距离增大,感应天线121上的电荷量减少,感应天线121上的电荷量大小与感应天线121离周围物体的距离一一对应且彼此成反比。感应天线121可以根据感应天线121与周围物体的距离感生相应的电荷量。The surrounding object and the sensing antenna 121 can be regarded as one capacitor. The surrounding object and the sensing antenna 121 can be regarded as two plates of the capacitor, respectively. Since the charge on the plate of the capacitor is inversely proportional to the distance between the two plates, the distance between the sensing antenna 121 and the surrounding object decreases. The amount of charge on the sensing antenna 121 becomes larger; as the distance between the sensing antenna 121 and the surrounding object increases, the amount of charge on the sensing antenna 121 decreases, and the amount of charge on the sensing antenna 121 and the distance of the sensing antenna 121 from the surrounding object are One correspondence and inversely proportional to each other. The sensing antenna 121 can induce a corresponding amount of charge according to the distance between the sensing antenna 121 and surrounding objects.
检测电路122用于根据感应天线121上感生的电荷量产生相应的电压值、电流值或电平值,处理器11用于根据电压值、电流值或电平值控制移动终端进入第一状态或者第二状态。其中,电平值、电压值或者电流值均可以表征距离传感器与周围物体之间距离。The detecting circuit 122 is configured to generate a corresponding voltage value, current value or level value according to the amount of charge induced on the sensing antenna 121, and the processor 11 is configured to control the mobile terminal to enter the first state according to the voltage value, the current value or the level value. Or the second state. Among them, the level value, voltage value or current value can represent the distance between the distance sensor and the surrounding object.
可以理解地,当检测电路122用于根据上述的电荷量产生相应的电压值或者电流值时,该电压值或者电流值可以用于表征距离传感器12与周围物体的距离值,并将距离传感器12与周围物体的距离与预设距离值相比较,从而在两个距离传感器12中的每一距离传感器12均检测到对应位置与周围物体之间的距离小于或者等于预设距离值时,控制移动终端10进入第一状态,在两个距离传感器12中任意一个距离传感器12检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端 10进入第二状态;当检测电路122用于根据上述的电荷量产生相应的电平值时,该电平值用于表征距离传感器12与周围物体的距离值是否大于预设距离值,从而控制移动终端10进入第一状态或者第二状态。It can be understood that when the detecting circuit 122 is used to generate a corresponding voltage value or current value according to the above-mentioned amount of charge, the voltage value or current value can be used to represent the distance value of the distance sensor 12 and surrounding objects, and the distance sensor 12 is The distance from the surrounding object is compared with the preset distance value, so that when each of the two distance sensors 12 detects that the distance between the corresponding position and the surrounding object is less than or equal to the preset distance value, the control moves The terminal 10 enters the first state, and when any one of the two distance sensors 12 detects that the distance between the corresponding position and the surrounding object is greater than the preset distance value, the mobile terminal 10 is controlled to enter the second state; when the detecting circuit 122 is used When the corresponding level value is generated according to the amount of charge described above, the level value is used to indicate whether the distance value of the distance sensor 12 and the surrounding object is greater than a preset distance value, thereby controlling the mobile terminal 10 to enter the first state or the second state.
当然,本发明中检测电路122还可以根据电荷量产生相应的功率值或者阻抗值,本发明对此不作限制。Of course, in the present invention, the detection circuit 122 can also generate a corresponding power value or impedance value according to the amount of charge, which is not limited by the present invention.
参阅图2,图2是本发明一实施例移动终端的处理器通过检测电路与感应天线连接的结构示意图。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a processor of a mobile terminal connected to a sensing antenna through a detecting circuit according to an embodiment of the present invention.
检测电路21包括检测芯片211、灵敏度调节电路212、第一滤波电路213、第二滤波电路214、第三滤波电路215、防静电电路216、第一上拉电路217、第二上拉电路218以及下拉电路219。其中,检测电路21的输入端连接感应天线121,检测电路21的输出端连接处理器11的输入端。The detecting circuit 21 includes a detecting chip 211, a sensitivity adjusting circuit 212, a first filtering circuit 213, a second filtering circuit 214, a third filtering circuit 215, an antistatic circuit 216, a first pull-up circuit 217, a second pull-up circuit 218, and Pull down circuit 219. The input end of the detecting circuit 21 is connected to the sensing antenna 121, and the output end of the detecting circuit 21 is connected to the input end of the processor 11.
可以理解地,上述检测电路122可以为本实施例的检测电路21。It can be understood that the above detection circuit 122 can be the detection circuit 21 of the embodiment.
灵敏度调节电路212与检测芯片211的THR0引脚和THR1引脚连接The sensitivity adjustment circuit 212 is connected to the THR0 pin and the THR1 pin of the detection chip 211.
灵敏度调节电路212包括第一电阻R1、第二电阻R2、第三电阻R3以及第四电阻R4。第一电阻R1的第一端连接检测芯片211的THR0引脚,第一电阻R1的第二端连接第一工作电压U1,第二电阻R2的第一端连接检测芯片211的THR0引脚,第二电阻R2的第二端接地GND,第三电阻R3的第一端连接检测芯片211的THR1引脚,第三电阻R3的第二端连接第二工作电压U2,第四电阻R4的第一端连接检测芯片211的THR1引脚,第四电阻R4的第二端接地GND。The sensitivity adjustment circuit 212 includes a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. The first end of the first resistor R1 is connected to the THR0 pin of the detecting chip 211, the second end of the first resistor R1 is connected to the first working voltage U1, and the first end of the second resistor R2 is connected to the THR0 pin of the detecting chip 211, The second end of the second resistor R2 is connected to the GND, the first end of the third resistor R3 is connected to the THR1 pin of the detecting chip 211, the second end of the third resistor R3 is connected to the second working voltage U2, and the first end of the fourth resistor R4 The THR1 pin of the detecting chip 211 is connected, and the second end of the fourth resistor R4 is grounded to GND.
检测芯片211用于根据感应天线121上感生的电荷量产生相应的电压值。灵敏度调节电路122根据其自身不同的电路配置在检测芯片211的THR0引脚和THR1引脚上产生不同的分压。检测芯片211用于根据灵敏度调节电路212在THR0引脚和THR1引脚上的分压产生电压阈值。检测芯片211将根据电荷量产生的电压值与电压阈值相比较后输出相应的电平值。处理器11用于根据电平值控制移动终端10进入第一状态或者第二状态。The detecting chip 211 is configured to generate a corresponding voltage value according to the amount of charge induced on the sensing antenna 121. The sensitivity adjustment circuit 122 generates different voltage divisions on the THR0 pin and the THR1 pin of the detection chip 211 according to its own different circuit configuration. The detecting chip 211 is configured to generate a voltage threshold according to the voltage division of the sensitivity adjusting circuit 212 on the THR0 pin and the THR1 pin. The detecting chip 211 compares the voltage value generated according to the amount of charge with a voltage threshold and outputs a corresponding level value. The processor 11 is configured to control the mobile terminal 10 to enter the first state or the second state according to the level value.
例如,此处的电平值可以用数字0或者数字1表示,数字0代表低电平,数字1代表高电平。在一个实施例中,电压值大于电压阈值时,输出低电平0,在电压值小于或者等于电压阈值时,输出高电平1。又例如,在其它实施例中,电压值大于电压阈值时,输出高电平1,在电压值小于或者等于电压阈值时,输出低电平0。本发明实施例对此不做限定。For example, the level value here can be represented by the number 0 or the number 1, the number 0 represents a low level, and the number 1 represents a high level. In one embodiment, a low level 0 is output when the voltage value is greater than the voltage threshold, and a high level 1 is output when the voltage value is less than or equal to the voltage threshold. For another example, in other embodiments, when the voltage value is greater than the voltage threshold, a high level 1 is output, and when the voltage value is less than or equal to the voltage threshold, a low level 0 is output. This embodiment of the present invention does not limit this.
在本实施例中,通过改变第一至第四电阻R1~R4的阻值可以调节灵敏度调节电路212在THR0引脚和THR1引脚上的分压,从而可以调节检测芯片211根据该分压产生的电压阈值。In this embodiment, by changing the resistance values of the first to fourth resistors R1 R R4, the voltage division of the sensitivity adjustment circuit 212 on the THR0 pin and the THR1 pin can be adjusted, so that the detection chip 211 can be adjusted according to the voltage division. Voltage threshold.
第一滤波电路213与检测芯片211的VDDHI引脚连接,第一滤波电路213用于滤除给检测芯片211供电的第三工作电压U3的噪声。The first filter circuit 213 is connected to the VDDHI pin of the detection chip 211, and the first filter circuit 213 is configured to filter out noise of the third operating voltage U3 supplied to the detection chip 211.
第一滤波电路213包括第一电容C1和第二电容C2,第一电容C1的第一端连接检测芯片211的VDDHI引脚,第一电容C1的第二端接地GND,第二电容C2的第一端连接检测芯片211的VDDHI引脚,第二电容C2的第二端接地GND,另外,第三工作电压U3连接检测芯片211的VDDHI引脚。The first filter circuit 213 includes a first capacitor C1 and a second capacitor C2. The first end of the first capacitor C1 is connected to the VDDHI pin of the detecting chip 211, the second end of the first capacitor C1 is grounded to GND, and the second capacitor C2 is One end is connected to the VDDHI pin of the detecting chip 211, the second end of the second capacitor C2 is connected to the GND, and the third operating voltage U3 is connected to the VDDHI pin of the detecting chip 211.
第二滤波电路214与检测芯片211的VERG引脚连接,第二滤波电路214用于滤除检测芯片211在工作时产生的噪声。The second filter circuit 214 is connected to the VERG pin of the detection chip 211, and the second filter circuit 214 is used to filter out noise generated by the detection chip 211 during operation.
第二滤波电路214包括第三电容C3和第四电容C4。第三电容C3的第一端连接检测芯片211的VERG引脚,第三电容C3的第二端接地GND,第四电容C4的第一端连接检测芯片211的VERG引脚,第四电容C4的第二端接地GND。The second filter circuit 214 includes a third capacitor C3 and a fourth capacitor C4. The first end of the third capacitor C3 is connected to the VERG pin of the detecting chip 211, the second end of the third capacitor C3 is grounded to GND, the first end of the fourth capacitor C4 is connected to the VERG pin of the detecting chip 211, and the fourth capacitor C4 is The second terminal is grounded to GND.
第三滤波电路215与检测芯片211的CRXO引脚连接,第三滤波电路215用于滤除感应天线121所产生的电荷的噪音。The third filter circuit 215 is connected to the CRXO pin of the detection chip 211, and the third filter circuit 215 is for filtering out the noise of the charge generated by the sensing antenna 121.
第三滤波电路215包括第五电容C5和第五电阻R5,第五电容C5的第一端接地GND,第五电容C5的第二端连接检测芯片211的CRXO引脚,第五电阻R5的第一端连接感应天线121,第五电阻R5的第二端连接检测芯片211的CRXO引脚。The third filter circuit 215 includes a fifth capacitor C5 and a fifth resistor R5. The first end of the fifth capacitor C5 is connected to the ground GND, and the second end of the fifth capacitor C5 is connected to the CRXO pin of the detecting chip 211, and the fifth resistor R5 is The sensing antenna 121 is connected to one end, and the second end of the fifth resistor R5 is connected to the CRXO pin of the detecting chip 211.
防静电电路216与感应天线121连接,防静电电路216用于防止检 测电路21中的电路元件受到瞬态高能量的冲击而损坏。The antistatic circuit 216 is connected to the inductive antenna 121 for preventing the circuit components in the detecting circuit 21 from being damaged by transient high energy impact.
防静电电路216包括瞬变电压抑制二极管(TVS,TRANSIENT VOLTAGE SUPPRESSOR),瞬变电压抑制二极管的第一端连接感应天线121,瞬变电压抑制二极管的第二端接地GND。The anti-static circuit 216 includes a transient voltage suppression diode (TVS, TRANSENT VOLTAGE SUPPRESSOR). The first end of the transient voltage suppression diode is connected to the sensing antenna 121, and the second end of the transient voltage suppression diode is grounded to GND.
第一上拉电路217与检测芯片211的MOV_OUT引脚连接,第一上拉电路217用于使检测芯片211输出稳定的电平。The first pull-up circuit 217 is connected to the MOV_OUT pin of the detecting chip 211, and the first pull-up circuit 217 is for causing the detecting chip 211 to output a stable level.
第一上拉电路217包括第六电阻R6,第六电阻R6的第一端连接第四工作电压U4,第六电阻R6的第二端连接检测芯片211的MOV_OUT引脚。另外,第六电阻R6的第二端还通过第七电阻R7连接处理器11,具体而言,第六电阻R6的第二端连接第七电阻R7的第一端;第七电阻R7的第二端连接处理器11。The first pull-up circuit 217 includes a sixth resistor R6. The first end of the sixth resistor R6 is connected to the fourth operating voltage U4, and the second end of the sixth resistor R6 is connected to the MOV_OUT pin of the detecting chip 211. In addition, the second end of the sixth resistor R6 is further connected to the processor 11 through the seventh resistor R7. Specifically, the second end of the sixth resistor R6 is connected to the first end of the seventh resistor R7; the second end of the seventh resistor R7 The processor 11 is connected to the end.
第二上拉电路218与检测芯片211的TIMER引脚连接,第二上拉电路218与检测芯片211结合,用于在移动终端10预定时间内不响应时重新校准,例如,在预定时间内,移动终端10未移动时,第二上拉电路218与检测芯片211结合控制检测芯片211重新对移动终端10的状态进行检测并校准。The second pull-up circuit 218 is connected to the TIMER pin of the detecting chip 211, and the second pull-up circuit 218 is combined with the detecting chip 211 for recalibrating when the mobile terminal 10 does not respond within a predetermined time, for example, within a predetermined time. When the mobile terminal 10 is not moving, the second pull-up circuit 218 and the detection chip 211 control the detection chip 211 to re-detect and calibrate the state of the mobile terminal 10.
第二上拉电路218包括第八电阻R8,第八电阻R8的第一端连接第五工作电压U5,第八电阻R8的第二端连接检测芯片211的TIMER引脚。The second pull-up circuit 218 includes an eighth resistor R8. The first end of the eighth resistor R8 is connected to the fifth working voltage U5, and the second end of the eighth resistor R8 is connected to the TIMER pin of the detecting chip 211.
下拉电路219与检测芯片211的OUT引脚连接,下拉电路219用于使检测芯片211输出稳定的电平。The pull-down circuit 219 is connected to the OUT pin of the detecting chip 211, and the pull-down circuit 219 is for causing the detecting chip 211 to output a stable level.
下拉电路219包括第九电阻R9,第九电阻R9的第一端接地GND,第九电阻R9的第二端连接检测芯片211的OUT引脚。另外,第九电阻R9的第二端还连接处理器11。The pull-down circuit 219 includes a ninth resistor R9, the first end of the ninth resistor R9 is grounded to GND, and the second end of the ninth resistor R9 is connected to the OUT pin of the detecting chip 211. In addition, the second end of the ninth resistor R9 is also connected to the processor 11.
检测芯片211可以包括TIMER引脚、VSS引脚、CRXO引脚、VDDHI引脚、VREG引脚、THR1引脚、MOV_THR引脚、THR0引脚、OUT引脚以及MOV_OUT引脚。TIMER引脚,用于设定没有动作超时时间,通过改变第八电阻R8,的阻值,设置不同的延时。VSS引脚为接地GND引脚。CRXO引脚为电荷检测引脚。VDDHI引脚为工作电压引脚。VREG 引脚为滤波电容连接引脚。THR1引脚为灵敏度微调引脚。MOV_THR引脚为动态灵敏度调节引脚。THR0引脚为灵敏度粗条引脚。OUT引脚为低电平输出引脚。MOV_OUT为高电平输出引脚。The detection chip 211 may include a TIMER pin, a VSS pin, a CRXO pin, a VDDHI pin, a VREG pin, a THR1 pin, a MOV_THR pin, a THR0 pin, an OUT pin, and a MOV_OUT pin. The TIMER pin is used to set the no-action timeout period. By changing the resistance of the eighth resistor R8, different delays are set. The VSS pin is the ground GND pin. The CRXO pin is a charge detection pin. The VDDHI pin is the operating voltage pin. The VREG pin is the filter capacitor connection pin. The THR1 pin is a sensitivity trim pin. The MOV_THR pin is a dynamic sensitivity adjustment pin. The THR0 pin is a sensitivity thick strip. The OUT pin is a low level output pin. MOV_OUT is a high level output pin.
需要说明的是,检测电路21可以只包括图中所示的灵敏度调节电路212、第一滤波电路213、第二滤波电路214、第三滤波电路215、防静电电路216、第一上拉电路217、第二上拉电路218以及下拉电路219中的一部分电路,也可以直接将感应天线121连接检测芯片211的CRXO引脚,以及检测芯片211的MOV_OUT引脚和OUT引脚均连接处理器11。本发明对此不作限定。It should be noted that the detecting circuit 21 may include only the sensitivity adjusting circuit 212, the first filter circuit 213, the second filter circuit 214, the third filter circuit 215, the antistatic circuit 216, and the first pull-up circuit 217 shown in the figure. The second pull-up circuit 218 and a part of the pull-down circuit 219 may directly connect the sensing antenna 121 to the CRXO pin of the detecting chip 211, and the MOV_OUT pin and the OUT pin of the detecting chip 211 are connected to the processor 11. The invention is not limited thereto.
请参阅图3,图3是本发明一实施例检测电路输出电平的示意图,其中,横轴表示时间,纵轴表示电平。Please refer to FIG. 3. FIG. 3 is a schematic diagram of the output level of the detection circuit according to an embodiment of the present invention, wherein the horizontal axis represents time and the vertical axis represents level.
在本实施例中,以周围物体为桌面为例,在移动终端10靠近桌面时,感应天线121上的电荷量增加,检测芯片211根据该电荷量产生的电压值随着增大,并在t0时刻,检测芯片211判断到该电压值超过检测芯片211根据灵敏度调节电路212上的分压产生的电压阈值时,检测电路21输出低电平,例如0;在移动终端10远离桌面时,感应天线121上的电荷量降低,检测芯片211根据该电荷量而产生的电压值随着减小,并在检测芯片211判断到该电压值小于或者等于该电压阈值时,检测电路21输出高电平,例如1。In this embodiment, taking the surrounding object as the desktop as an example, when the mobile terminal 10 is close to the desktop, the amount of charge on the sensing antenna 121 increases, and the voltage generated by the detecting chip 211 according to the amount of the electric charge increases, and is at t0. At the moment, when the detection chip 211 determines that the voltage value exceeds the voltage threshold generated by the detection chip 211 according to the voltage division on the sensitivity adjustment circuit 212, the detection circuit 21 outputs a low level, for example, 0; when the mobile terminal 10 is away from the desktop, the sensing antenna The amount of charge on 121 decreases, the voltage value generated by the detection chip 211 according to the amount of charge decreases, and when the detection chip 211 determines that the voltage value is less than or equal to the voltage threshold, the detection circuit 21 outputs a high level. For example 1.
在其它实施例中,在移动终端10靠近桌面时,感应天线121上的电荷量增加,检测芯片211根据该电荷量产生的电压值随着增大,并在t0时刻,该电压值超过检测芯片211根据灵敏度调节电路212产生的电压阈值时,检测电路21输出高电平,例如1;在移动终端10远离桌面时,感应天线121上的电荷量降低,检测芯片211根据该电荷量而产生的电压值随着减小,并在该电压值小于或者等于检测芯片211根据灵敏度调节电路212产生的电压阈值时,检测电路21输出低电平,例如0。处理器11可以通过检测电路21输出的电平变化,对移动终端10进行状态之间的切换。例如,在本实施例中,当检测电路21输出的电平由高电平变为低电平时,处理器11控制移动终端10进入第一状态,以及, 当检测电路21输出的电平由低电平变为高电平时,处理器11控制移动终端10进入第二状态。当然,在其它实施例中,也可以是当检测电路21输出的电平由低电平变为高电平时,处理器11控制移动终端10进入第一状态,以及,当检测电路21输出的电平由高电平变为低电平时,处理器11控制移动终端10进入第二状态。In other embodiments, when the mobile terminal 10 is close to the desktop, the amount of charge on the sensing antenna 121 increases, and the voltage value generated by the detecting chip 211 according to the amount of the electric charge increases, and at time t0, the voltage value exceeds the detecting chip. 211, according to the voltage threshold generated by the sensitivity adjustment circuit 212, the detection circuit 21 outputs a high level, for example, 1; when the mobile terminal 10 is away from the desktop, the amount of charge on the sensing antenna 121 decreases, and the detection chip 211 generates according to the amount of the charge. The voltage value decreases as the voltage value is less than or equal to the voltage threshold generated by the detection chip 211 according to the sensitivity adjustment circuit 212, and the detection circuit 21 outputs a low level, for example, zero. The processor 11 can switch between states of the mobile terminal 10 by detecting a level change output from the circuit 21. For example, in the present embodiment, when the level of the output of the detecting circuit 21 is changed from the high level to the low level, the processor 11 controls the mobile terminal 10 to enter the first state, and when the level of the output of the detecting circuit 21 is low When the level goes high, the processor 11 controls the mobile terminal 10 to enter the second state. Of course, in other embodiments, when the level of the output of the detection circuit 21 changes from a low level to a high level, the processor 11 controls the mobile terminal 10 to enter the first state, and when the detection circuit 21 outputs the power. When the level is changed from the high level to the low level, the processor 11 controls the mobile terminal 10 to enter the second state.
请参阅图4,图4是本发明另一实施例移动终端的处理器通过检测电路与感应天线连接的结构示意图。Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a processor of a mobile terminal connected to a sensing antenna through a detecting circuit according to another embodiment of the present invention.
检测电路31包括电荷放大电路311、电荷转换电路312以及模数转换电路313。可以理解地,上述检测电路122可以为本实施例的检测电路31。电荷放大电路311作为检测电路31的输入端与感应天线121连接,模数转换电路313作为检测电路31的输出端与处理器11连接。具体而言,电荷放大电路311的输入端连接感应天线121的输出端,电荷转换电路312的输入端连接电荷放大电路311的输出端,模数转换电路313的输入端连接电荷转换电路312的输出端,以及处理器11的输入端连接模数转换电路313的输出端。The detection circuit 31 includes a charge amplification circuit 311, a charge conversion circuit 312, and an analog to digital conversion circuit 313. It can be understood that the above detection circuit 122 can be the detection circuit 31 of the embodiment. The charge amplifying circuit 311 is connected to the sensing antenna 121 as an input terminal of the detecting circuit 31, and the analog-to-digital converting circuit 313 is connected to the processor 11 as an output terminal of the detecting circuit 31. Specifically, the input end of the charge amplifying circuit 311 is connected to the output end of the sensing antenna 121, the input end of the charge converting circuit 312 is connected to the output end of the charge amplifying circuit 311, and the input end of the analog-to-digital converting circuit 313 is connected to the output of the charge converting circuit 312. The terminal, and the input of the processor 11, are connected to the output of the analog to digital conversion circuit 313.
电荷放大电路311用于将感应天线12上的电荷量进行放大。例如,电荷放大电路311用于将感应天线12上的电荷量M放大至N×M,可选地,N的数值可以为5,10或者20,本发明对放大倍数不作限定。The charge amplifying circuit 311 is for amplifying the amount of charge on the inductive antenna 12. For example, the charge amplifying circuit 311 is configured to amplify the amount of charge M on the sensing antenna 12 to N×M. Alternatively, the value of N may be 5, 10 or 20. The present invention does not limit the magnification.
电荷转换电路312用于将放大后的电荷量转换为电压值。电荷转换电路312可以有多种实现方式,例如,在一实施例中,电荷转换电路312可以包括运算放大器,运算放大器的反向输入端连接电荷放大电路311,运算放大器的同相输入端接地,运算放大器的输出端输出该电压值。当然,电荷转换电路312还可以采用其他原理,只要能实现电荷转换为电压即可本发明对此不作限定。The charge conversion circuit 312 is for converting the amplified amount of charge into a voltage value. The charge conversion circuit 312 can have various implementations. For example, in an embodiment, the charge conversion circuit 312 can include an operational amplifier. The inverting input of the operational amplifier is connected to the charge amplifying circuit 311, and the non-inverting input of the operational amplifier is grounded. The output of the amplifier outputs the voltage value. Of course, the charge conversion circuit 312 can also adopt other principles, as long as the charge can be converted into a voltage, which is not limited in the present invention.
模数转换电路313用于将电压值转换为相应的电平值。例如,模数转换电路313,用于在电压值高于电压阈值时,将该电压值转换为高电平,且在电压值低于或者等于电压阈值时,将该电压值转换为低电平。The analog to digital conversion circuit 313 is operative to convert the voltage value to a corresponding level value. For example, the analog-to-digital conversion circuit 313 is configured to convert the voltage value to a high level when the voltage value is higher than the voltage threshold, and convert the voltage value to a low level when the voltage value is lower than or equal to the voltage threshold. .
可选地,检测电路31可以包括非门电路,非门电路的输入端连接模数转换电路313的输出端,非门电路的输出端连接处理器11。Alternatively, the detection circuit 31 may include a NOT circuit, the input of the NOT circuit is connected to the output of the analog-to-digital conversion circuit 313, and the output of the NOT circuit is connected to the processor 11.
处理器11可以通过检测电路31输出电平值的变化,对移动终端10进行状态之间的切换。具体的切换过程请参阅上文的描述,此处不再赘述。The processor 11 can switch between states of the mobile terminal 10 by detecting a change in the level value of the output circuit 31. For the specific switching process, please refer to the description above, which will not be described here.
请参阅图5,图5是本发明第二实施例移动终端的结构示意图。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a mobile terminal according to a second embodiment of the present invention.
在本实施例中,移动终端40包括两个距离传感器42和处理器41。In the present embodiment, the mobile terminal 40 includes two distance sensors 42 and a processor 41.
距离传感器42包括光发射器421和光接收器422,光发射器421和光接收器422均与处理器41电连接,光发射器421用于发射光线,光接收器422用于接收经周围物体反射后的光线。The distance sensor 42 includes a light emitter 421 and a light receiver 422. The light emitter 421 and the light receiver 422 are both electrically connected to the processor 41. The light emitter 421 is for emitting light, and the light receiver 422 is for receiving reflection by surrounding objects. The light.
在一实施例中,光发射器421可以用于发射红外光,光接收器422用于接收经周围物体反射后的红外光。In an embodiment, the light emitter 421 can be used to emit infrared light, and the light receiver 422 can be used to receive infrared light reflected by surrounding objects.
可选地,光发射器421可以周期性的发射红外光,例如,光发射器421可以每隔0.1秒至5秒内的任意时间发射一次红外光。例如,发射器可以每隔0.1秒、1秒或者5秒发射一次红外光。Alternatively, the light emitter 421 may periodically emit infrared light. For example, the light emitter 421 may emit infrared light at any time every 0.1 second to 5 seconds. For example, the transmitter can emit infrared light every 0.1 second, 1 second, or 5 seconds.
处理器41用于根据光发射器421发射的红外光和光接收器422接收红外光的时间差获取距离传感器42与周围物体的距离,并根据距离传感器42与周围物体的距离控制移动终端40进入第一状态或者第二状态。The processor 41 is configured to acquire the distance between the distance sensor 42 and the surrounding object according to the time difference between the infrared light emitted by the light emitter 421 and the light receiver 422, and control the mobile terminal 40 to enter the first according to the distance between the distance sensor 42 and the surrounding object. State or second state.
例如,发射器发射红外光的时间为F,光接收器422接收红外光的时间为G,光速为v时,则距离传感器42与周围物体的距离可以为(G-F)×v÷2。For example, the time when the transmitter emits infrared light is F, the time when the light receiver 422 receives the infrared light is G, and when the speed of light is v, the distance between the distance sensor 42 and the surrounding object may be (G-F)×v÷2.
处理器41在获得距离传感器42与周围物体的距离后,可以判断该距离是否小于或者等于预设距离值,并在该距离小于或者等于预设距离值时,控制移动终端40进入第一状态;在该距离大于预设距离值时,控制移动终端40进入第二状态。After obtaining the distance between the distance sensor 42 and the surrounding object, the processor 41 may determine whether the distance is less than or equal to the preset distance value, and control the mobile terminal 40 to enter the first state when the distance is less than or equal to the preset distance value; When the distance is greater than the preset distance value, the mobile terminal 40 is controlled to enter the second state.
在其它实施例中,距离传感器42还可以包括其他类型的发射器和接收器,例如电磁发射器和电磁接收器,其原理和作用于光发射器421和光发射器421原理和作用相同,本申请对发射器和接收器的类型不作限制。In other embodiments, the distance sensor 42 may also include other types of transmitters and receivers, such as electromagnetic transmitters and electromagnetic receivers, the principles and functions of which are the same as those of the light emitter 421 and the light emitter 421, the present application. There are no restrictions on the type of transmitter and receiver.
在其它实施例中,移动终端还可以包括多于两个距离传感器,处理 器与每一距离传感器均电连接。In other embodiments, the mobile terminal may also include more than two distance sensors, and the processor is electrically coupled to each of the distance sensors.
例如,请参阅图6,图6是本发明第三实施例移动终端的结构示意图。For example, please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention.
在本实施例中,移动终端50包括处理器51和三个距离传感器52,三个距离传感器52分别设置于移动终端50三个角落处。三个距离传感器52分别用于检测移动终端50所在平面上错开的三个位置与周围物体的距离。关于距离传感器52设置在角落处的具体说明可以参见上文的描述,此处不再赘述。In the present embodiment, the mobile terminal 50 includes a processor 51 and three distance sensors 52, and three distance sensors 52 are respectively disposed at three corners of the mobile terminal 50. The three distance sensors 52 are respectively used to detect the distances of the three positions staggered on the plane of the mobile terminal 50 from the surrounding objects. For a detailed description of the distance sensor 52 disposed at a corner, reference may be made to the above description, and details are not described herein again.
处理器51与三个距离传感器52均电连接。处理器51用于在三个距离传感器52中的每一距离传感器52均检测到对应位置与周围物体的距离小于或者等于预设距离值时,控制移动终端50进入第一状态,且用于在三个距离传感器52中任意一个距离传感器52检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端50进入第二状态。The processor 51 is electrically coupled to the three distance sensors 52. The processor 51 is configured to control the mobile terminal 50 to enter the first state when each of the three distance sensors 52 detects that the distance of the corresponding position from the surrounding object is less than or equal to the preset distance value, and is used to When any one of the three distance sensors 52 detects that the distance between the corresponding position and the surrounding object is greater than the preset distance value, the mobile terminal 50 is controlled to enter the second state.
再例如,请参阅图7,图7是本发明第四实施例移动终端的结构示意图。For example, please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention.
在本实施例中,移动终端60包括处理器61和四个距离传感器62。四个距离传感器62分别设置于移动终端60的四个角落处。四个距离传感器62用于检测移动终端60所在平面上错开的四个位置与周围物体的距离。In the present embodiment, the mobile terminal 60 includes a processor 61 and four distance sensors 62. Four distance sensors 62 are respectively disposed at four corners of the mobile terminal 60. The four distance sensors 62 are used to detect the distance between the four positions staggered on the plane of the mobile terminal 60 and the surrounding objects.
处理器61与四个距离传感器62均电连接。处理器61用于在四个距离传感器62中的每一距离传感器62均检测到对应位置与周围物体的距离小于或者等于预设距离值时,控制移动终端60进入第一状态,且用于在四个距离传感器62中任意一个距离传感器62检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端60进入第二状态。The processor 61 is electrically connected to the four distance sensors 62. The processor 61 is configured to control the mobile terminal 60 to enter the first state when each of the four distance sensors 62 detects that the distance of the corresponding position from the surrounding object is less than or equal to the preset distance value, and is used to When any one of the four distance sensors 62 detects that the distance of the corresponding position from the surrounding object is greater than the preset distance value, the mobile terminal 60 is controlled to enter the second state.
可以理解的是,距离传感器的数量还可以为其它数量,但数量应为至少两个,此处不一一列举。距离传感器也可以位于其它位置,例如距离传感器的数量为两个,且一个用于检测移动终端的背面中间处与周围物体的距离,另一个用于检测移动终端的背面角落处与周围物体的距离。It can be understood that the number of distance sensors can also be other quantities, but the number should be at least two, which are not enumerated here. The distance sensor may also be located at other locations, for example, the number of distance sensors is two, and one is for detecting the distance from the surrounding object at the middle of the back side of the mobile terminal, and the other is for detecting the distance from the surrounding object at the back corner of the mobile terminal. .
请参阅图8,图8是本发明移动终端的控制方法的流程示意图。Please refer to FIG. 8. FIG. 8 is a schematic flowchart diagram of a method for controlling a mobile terminal according to the present invention.
该移动终端的控制方法可以包括以下步骤:The control method of the mobile terminal may include the following steps:
步骤S11:检测移动终端所在平面上错开的至少两个位置与周围物体的距离,并产生对应至少两个检测距离值;Step S11: detecting a distance between at least two positions staggered on a plane where the mobile terminal is located and a surrounding object, and generating at least two detection distance values;
步骤S12:判断至少两个检测距离值与预设距离值的大小关系;Step S12: determining a magnitude relationship between the at least two detected distance values and the preset distance value;
步骤S13:在至少两个检测距离值均小于或者等于预设距离值时,控制移动终端进入第一状态;Step S13: Control the mobile terminal to enter the first state when at least two detection distance values are less than or equal to the preset distance value;
可选地,在一实施例中,在至少两个检测距离值均小于或者等于预设距离值时,且移动终端检测到在预设时长内没有接收到用户指令时,控制移动终端进入第一状态。Optionally, in an embodiment, when the at least two detection distance values are less than or equal to the preset distance value, and the mobile terminal detects that the user instruction is not received within the preset time period, the mobile terminal is controlled to enter the first status.
在另一实施例中,在至少两个检测距离值均小于或者等于预设距离值时,且移动终端检测到移动终端正在运行的应用程序不为预设应用程序时,控制移动终端进入第一状态。In another embodiment, when the at least two detection distance values are less than or equal to the preset distance value, and the mobile terminal detects that the application that the mobile terminal is running is not the preset application, the mobile terminal is controlled to enter the first status.
在又一实施例中,在至少两个检测距离值均小于或者等于预设距离值时,且移动终端检测到在预设时长内至少两个距离值未发生变化时,控制移动终端进入第一状态。In still another embodiment, when the at least two detection distance values are less than or equal to the preset distance value, and the mobile terminal detects that at least two distance values have not changed within the preset duration, the mobile terminal is controlled to enter the first status.
步骤S14:在至少两个检测距离值中任意一者大于预设距离值时,控制移动终端进入第二状态。Step S14: Control the mobile terminal to enter the second state when any one of the at least two detected distance values is greater than the preset distance value.
可选地,移动终端可以预先接收用户的配置指令,并根据用户的配置指令“开启”或者“关闭”自动切换状态的功能,例如,仅在该功能开启时,移动终端才执行上述的移动终端的控制方法,而在关闭时不执行。Optionally, the mobile terminal may receive the configuration instruction of the user in advance, and “turn on” or “turn off” the function of automatically switching the state according to the configuration instruction of the user, for example, the mobile terminal performs the foregoing mobile terminal only when the function is enabled. The control method is not executed when it is closed.
请参阅图9,图9是本发明实施例存储装置的示意图。Please refer to FIG. 9. FIG. 9 is a schematic diagram of a storage device according to an embodiment of the present invention.
存储装置70存储有计算机程序,该计算机程序能够被执行以实现上述的移动终端的控制方法。The storage device 70 stores a computer program that can be executed to implement the above-described control method of the mobile terminal.
可选地,存储装置70可以为U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟、光盘或者服务器等各种可以存储程序代码的介质。Optionally, the storage device 70 can be a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or a server. The medium of the program code.
区别于现有技术的情况,本发明移动终端包括至少两个距离传感器 和处理器,至少两个距离传感器用于检测移动终端所在平面上错开的至少两个位置与周围物体的距离;处理器与至少两个距离传感器连接,用于在至少两个距离传感器中的每一距离传感器均检测到对应位置与周围物体的距离小于或者等于预设距离值时,控制移动终端进入第一状态,且用于在至少两个距离传感器中任意一个距离传感器检测到对应位置与周围物体的距离大于预设距离值时,控制移动终端进入第二状态。通过上述方式,移动终端可以通过距离传感器检测移动终端是否平放在周围物体上,从而根据是否平放在周围物体上使移动终端在不同的状态之间自动切换,能够避免由于用户忘记切换移动终端的状态从而造成不必要的麻烦,提升移动终端使用的便利性。Different from the prior art, the mobile terminal of the present invention includes at least two distance sensors and a processor, and at least two distance sensors are used for detecting the distance between at least two positions staggered on the plane of the mobile terminal and surrounding objects; The at least two distance sensors are connected to control the mobile terminal to enter the first state when each of the at least two distance sensors detects that the distance between the corresponding position and the surrounding object is less than or equal to the preset distance value, and The mobile terminal is controlled to enter the second state when any one of the at least two distance sensors detects that the distance of the corresponding position from the surrounding object is greater than the preset distance value. In the above manner, the mobile terminal can detect whether the mobile terminal is placed on the surrounding object by the distance sensor, so that the mobile terminal automatically switches between different states according to whether it is placed on the surrounding object, and can avoid avoiding switching the mobile terminal due to the user forgetting. The state thus causes unnecessary troubles and improves the convenience of use of the mobile terminal.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种移动终端的控制方法,其中,所述控制方法包括:A control method for a mobile terminal, wherein the control method includes:
    预先接收用户的配置指令,并根据用户的配置指令“开启”或者“关闭”自动切换状态的功能;Receiving a user's configuration command in advance, and "turning on" or "off" the function of automatically switching states according to a user's configuration instruction;
    在“开启”或者“关闭”自动切换状态的功能开启时:When the "on" or "off" automatic switching status is turned on:
    检测所述移动终端所在平面上错开的至少两个位置与所述周围物体的距离,并产生对应至少两个检测距离值;Detecting a distance between at least two positions staggered on a plane of the mobile terminal and the surrounding object, and generating at least two detection distance values;
    判断所述至少两个检测距离值与所述预设距离值的大小关系;Determining a magnitude relationship between the at least two detection distance values and the preset distance value;
    在所述至少两个检测距离值均小于或者等于所述预设距离值时,控制所述移动终端进入所述第一状态;Controlling, when the at least two detection distance values are less than or equal to the preset distance value, controlling the mobile terminal to enter the first state;
    在所述至少两个检测距离值中任意一者大于所述预设距离值时,控制所述移动终端进入所述第二状态。And controlling, when the any one of the at least two detection distance values is greater than the preset distance value, the mobile terminal to enter the second state.
  2. 根据权利要求1所述的控制方法,其中,控制所述移动终端进入所述第一状态前,所述移动终端还检测预设时长内是否有接收到用户指令,并在所述移动终端检测到在预设时长内没有接收到用户指令时,控制所述移动终端进入所述第一状态。The control method according to claim 1, wherein before the controlling the mobile terminal to enter the first state, the mobile terminal further detects whether a user instruction is received within a preset time period, and detects that the mobile terminal detects The mobile terminal is controlled to enter the first state when no user command is received within the preset duration.
  3. 根据权利要求1所述的控制方法,其中,控制所述移动终端进入所述第一状态前,所述移动终端还检测所述移动终端正在运行的应用程序是否为预设应用程序,并在所述移动终端检测到所述移动终端正在运行的应用程序不为所述预设应用程序时,控制所述移动终端进入所述第一状态。The control method according to claim 1, wherein before the controlling the mobile terminal to enter the first state, the mobile terminal further detects whether an application that the mobile terminal is running is a preset application, and When the mobile terminal detects that the application that the mobile terminal is running is not the preset application, the mobile terminal is controlled to enter the first state.
  4. 根据权利要求1所述的控制方法,其中,控制所述移动终端进入所述第一状态前,所述移动终端还检测预设时长内所述至少两个距离值是否发生变化,并在所述移动终端检测到在所述预设时长内所述至少两个距离值未发生变化时,控制所述移动终端进入第一状态。The control method according to claim 1, wherein before the controlling the mobile terminal to enter the first state, the mobile terminal further detects whether the at least two distance values change within a preset duration, and The mobile terminal detects that the mobile terminal enters the first state when the at least two distance values do not change within the preset duration.
  5. 一种移动终端,其中,所述移动终端包括:A mobile terminal, wherein the mobile terminal comprises:
    至少两个距离传感器,用于检测所述移动终端所在平面上错开的至少两个位置与周围物体的距离;At least two distance sensors for detecting a distance between at least two positions staggered on a plane of the mobile terminal and surrounding objects;
    处理器,与所述至少两个距离传感器连接,用于在所述至少两个距离传感器中的每一距离传感器均检测到对应位置与所述周围物体的距离小于或者等于预设距离值时,控制所述移动终端进入第一状态,且用于在所述至少两个距离 传感器中任意一个距离传感器检测到对应位置与所述周围物体的距离大于所述预设距离值时,控制所述移动终端进入第二状态。a processor, connected to the at least two distance sensors, when each of the at least two distance sensors detects that a distance between the corresponding position and the surrounding object is less than or equal to a preset distance value, Controlling the mobile terminal to enter a first state, and for controlling the movement when any one of the at least two distance sensors detects that a distance of the corresponding position from the surrounding object is greater than the preset distance value The terminal enters the second state.
  6. 根据权利要求5所述的移动终端,其中,所述第一状态为所述移动终端的屏幕锁定状态,所述第二状态为所述移动终端的屏幕解锁状态。The mobile terminal of claim 5, wherein the first state is a screen lock state of the mobile terminal, and the second state is a screen unlock state of the mobile terminal.
  7. 根据权利要求5所述的移动终端,其中,每一所述距离传感器包括检测电路和感应天线,所述感应天线通过所述检测电路与所述处理器连接,所述至少两个距离传感器的至少两个感应天线分别设置于所述移动终端所在平面上错开的两个位置,所述感应天线用于根据所述感应天线与所述周围物体的距离感生相应的电荷量,所述检测电路用于根据所述电荷量产生相应的电压值、电流值或电平值,所述处理器用于根据所述电压值、电流值或电平值控制所述移动终端进入所述第一状态或者所述第二状态。The mobile terminal of claim 5, wherein each of the distance sensors comprises a detecting circuit and a sensing antenna, the sensing antenna being connected to the processor through the detecting circuit, at least two of the at least two distance sensors The two sensing antennas are respectively disposed at two positions staggered on the plane of the mobile terminal, and the sensing antenna is configured to induce a corresponding amount of charge according to a distance between the sensing antenna and the surrounding object, where the detecting circuit is used. And generating, by the processor according to the voltage value, the current value or the level value, the mobile terminal to enter the first state or the Second state.
  8. 根据权利要求7所述的移动终端,其中,所述第一状态为所述移动终端的屏幕锁定状态,所述第二状态为所述移动终端的屏幕解锁状态。The mobile terminal of claim 7, wherein the first state is a screen lock state of the mobile terminal, and the second state is a screen unlock state of the mobile terminal.
  9. 根据权利要求7所述的移动终端,其中,所述距离传感器的数量为两个,两个所述距离传感器的两个感应天线分别设置于所述移动终端的两个对角的角落处。The mobile terminal of claim 7, wherein the number of the distance sensors is two, and two sensing antennas of the two distance sensors are respectively disposed at two diagonal corners of the mobile terminal.
  10. 根据权利要求7所述的移动终端,其中,所述距离传感器的数量为四个,四个所述距离传感器的四个感应天线分别设置于所述移动终端的四个角落处。The mobile terminal of claim 7, wherein the number of the distance sensors is four, and four sensing antennas of the four distance sensors are respectively disposed at four corners of the mobile terminal.
  11. 根据权利要求7所述的移动终端,其中,所述检测电路包括检测芯片和灵敏度调节电路,所述感应天线通过所述检测芯片与所述处理器连接,所述灵敏度调节电路与所述检测芯片连接,所述检测芯片用于根据所述电荷量产生相应的电压值,用于根据所述灵敏度调节电路上的分压产生电压阈值,以及用于将所述电压值和所述电压阈值相比较后产生相应的电平值,所述处理器用于根据所述电平值控制所述移动终端进入所述第一状态或者所述第二状态。The mobile terminal according to claim 7, wherein the detecting circuit comprises a detecting chip and a sensitivity adjusting circuit, wherein the sensing antenna is connected to the processor through the detecting chip, the sensitivity adjusting circuit and the detecting chip Connecting, the detecting chip is configured to generate a corresponding voltage value according to the amount of charge, for generating a voltage threshold according to a voltage division on the sensitivity adjusting circuit, and for comparing the voltage value with the voltage threshold A corresponding level value is generated, and the processor is configured to control the mobile terminal to enter the first state or the second state according to the level value.
  12. 根据权利要求11所述的移动终端,其中,所述第一状态为所述移动终端的屏幕锁定状态,所述第二状态为所述移动终端的屏幕解锁状态。The mobile terminal of claim 11, wherein the first state is a screen lock state of the mobile terminal, and the second state is a screen unlock state of the mobile terminal.
  13. 根据权利要求7所述的移动终端,其中,所述距离传感器的数量为三个,三个所述距离传感器的三个感应天线分别设置于所述移动终端三个角落处。The mobile terminal according to claim 7, wherein the number of the distance sensors is three, and three sensing antennas of the three distance sensors are respectively disposed at three corners of the mobile terminal.
  14. 根据权利要求13所述的移动终端,其中,所述第一状态为所述移动终 端的屏幕锁定状态,所述第二状态为所述移动终端的屏幕解锁状态。The mobile terminal of claim 13, wherein the first state is a screen lock state of the mobile terminal, and the second state is a screen unlock state of the mobile terminal.
  15. 根据权利要求5所述的移动终端,其中,所述距离传感器包括光发射器和光接收器,所述光发射器和所述光接收器均与所述处理器连接,所述光发射器用于发射光线,所述光接收器用于接收经所述周围物体反射后的所述光线,所述处理器用于根据所述光发射器发射光线和光接收器接收光线的时间差获取所述距离传感器与所述周围物体的距离,并根据所述距离传感器与所述周围物体的距离控制所述移动终端进入所述第一状态或者所述第二状态。The mobile terminal of claim 5, wherein the distance sensor comprises a light emitter and a light receiver, the light emitter and the light receiver are each coupled to the processor, the light emitter for transmitting Light, the light receiver is configured to receive the light reflected by the surrounding object, and the processor is configured to acquire the distance sensor and the surrounding according to a time difference between the light emitted by the light emitter and the light received by the light receiver a distance of the object, and controlling the mobile terminal to enter the first state or the second state according to a distance between the distance sensor and the surrounding object.
  16. 根据权利要求15所述的移动终端,其中,所述第一状态为所述移动终端的屏幕锁定状态,所述第二状态为所述移动终端的屏幕解锁状态。The mobile terminal of claim 15, wherein the first state is a screen lock state of the mobile terminal, and the second state is a screen unlock state of the mobile terminal.
  17. 一种存储装置,其中,所述存储装置存储有计算机程序,所述计算机程序能够被执行以实现移动终端的控制方法,所述控制方法包括:A storage device, wherein the storage device stores a computer program, the computer program being executable to implement a control method of the mobile terminal, the control method comprising:
    预先接收用户的配置指令,并根据用户的配置指令“开启”或者“关闭”自动切换状态的功能;Receiving a user's configuration command in advance, and "turning on" or "off" the function of automatically switching states according to a user's configuration instruction;
    在“开启”或者“关闭”自动切换状态的功能开启时:When the "on" or "off" automatic switching status is turned on:
    检测所述移动终端所在平面上错开的至少两个位置与所述周围物体的距离,并产生对应至少两个检测距离值;Detecting a distance between at least two positions staggered on a plane of the mobile terminal and the surrounding object, and generating at least two detection distance values;
    判断所述至少两个检测距离值与所述预设距离值的大小关系;Determining a magnitude relationship between the at least two detection distance values and the preset distance value;
    在所述至少两个检测距离值均小于或者等于所述预设距离值时,控制所述移动终端进入所述第一状态;Controlling, when the at least two detection distance values are less than or equal to the preset distance value, controlling the mobile terminal to enter the first state;
    在所述至少两个检测距离值中任意一者大于所述预设距离值时,控制所述移动终端进入所述第二状态。And controlling, when the any one of the at least two detection distance values is greater than the preset distance value, the mobile terminal to enter the second state.
  18. 根据权利要求17所述的存储装置,其中,所述控制方法中,控制所述移动终端进入所述第一状态前,所述移动终端还检测预设时长内是否有接收到用户指令,并在所述移动终端检测到在预设时长内没有接收到用户指令时,控制所述移动终端进入所述第一状态。The storage device according to claim 17, wherein, in the controlling method, before controlling the mobile terminal to enter the first state, the mobile terminal further detects whether a user command is received within a preset time period, and The mobile terminal detects that the mobile terminal enters the first state when no user instruction is received within a preset time period.
  19. 根据权利要求17所述的存储装置,其中,所述控制方法中,控制所述移动终端进入所述第一状态前,所述移动终端还检测所述移动终端正在运行的应用程序是否为预设应用程序,并在所述移动终端检测到所述移动终端正在运行的应用程序不为所述预设应用程序时,控制所述移动终端进入所述第一状态。The storage device according to claim 17, wherein in the controlling method, before the controlling the mobile terminal to enter the first state, the mobile terminal further detects whether an application that the mobile terminal is running is a preset And the application, and when the mobile terminal detects that the application that the mobile terminal is running is not the preset application, controlling the mobile terminal to enter the first state.
  20. 根据权利要求17所述的存储装置,其中,所述控制方法中,控制所述 移动终端进入所述第一状态前,所述移动终端还检测预设时长内所述至少两个距离值是否发生变化,并在所述移动终端检测到在所述预设时长内所述至少两个距离值未发生变化时,控制所述移动终端进入第一状态。The storage device according to claim 17, wherein, in the controlling method, before the controlling the mobile terminal to enter the first state, the mobile terminal further detects whether the at least two distance values occur within a preset duration Changing, and controlling the mobile terminal to enter the first state when the mobile terminal detects that the at least two distance values have not changed within the preset duration.
PCT/CN2018/120604 2017-12-12 2018-12-12 Mobile terminal and control method therefor, and storage device WO2019114755A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711334356.9A CN108243277A (en) 2017-12-12 2017-12-12 Mobile terminal and its control method, storage device
CN201711334356.9 2017-12-12

Publications (1)

Publication Number Publication Date
WO2019114755A1 true WO2019114755A1 (en) 2019-06-20

Family

ID=62700128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120604 WO2019114755A1 (en) 2017-12-12 2018-12-12 Mobile terminal and control method therefor, and storage device

Country Status (2)

Country Link
CN (1) CN108243277A (en)
WO (1) WO2019114755A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243277A (en) * 2017-12-12 2018-07-03 惠州Tcl移动通信有限公司 Mobile terminal and its control method, storage device
CN110138974B (en) * 2019-05-20 2021-06-01 西安易朴通讯技术有限公司 Screen control method, device, equipment and computer readable storage medium
CN113377237A (en) * 2021-06-30 2021-09-10 歌尔科技有限公司 False touch prevention method, wearable device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079954A1 (en) * 2007-09-24 2009-03-26 Alton Smith Method and Device for Measuring Distances
CN102202133A (en) * 2011-04-26 2011-09-28 深圳市嘉兰图设计有限公司 Mobile terminal unlocking method and mobile terminal
CN103491230A (en) * 2013-09-04 2014-01-01 三星半导体(中国)研究开发有限公司 Mobile terminal capable of automatically adjusting volume and fonts and automatic adjusting method thereof
CN106953969A (en) * 2017-03-13 2017-07-14 北京小米移动软件有限公司 The screen control method and device of mobile terminal
CN108243277A (en) * 2017-12-12 2018-07-03 惠州Tcl移动通信有限公司 Mobile terminal and its control method, storage device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238287B (en) * 2011-08-05 2014-04-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for displaying mobile terminal according to environment data
CN105278655B (en) * 2015-11-03 2018-08-03 广东欧珀移动通信有限公司 The control method and device of fingerprint sensor
CN106125920A (en) * 2016-06-21 2016-11-16 深圳市金立通信设备有限公司 A kind of terminal and control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090079954A1 (en) * 2007-09-24 2009-03-26 Alton Smith Method and Device for Measuring Distances
CN102202133A (en) * 2011-04-26 2011-09-28 深圳市嘉兰图设计有限公司 Mobile terminal unlocking method and mobile terminal
CN103491230A (en) * 2013-09-04 2014-01-01 三星半导体(中国)研究开发有限公司 Mobile terminal capable of automatically adjusting volume and fonts and automatic adjusting method thereof
CN106953969A (en) * 2017-03-13 2017-07-14 北京小米移动软件有限公司 The screen control method and device of mobile terminal
CN108243277A (en) * 2017-12-12 2018-07-03 惠州Tcl移动通信有限公司 Mobile terminal and its control method, storage device

Also Published As

Publication number Publication date
CN108243277A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
WO2019114755A1 (en) Mobile terminal and control method therefor, and storage device
US10761642B2 (en) Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
CN105959461B (en) Screen induction control method and device and terminal equipment
US20200092016A1 (en) Method for processing radio frequency interference, and electronic device
CN103795864A (en) Method for selecting front camera and back camera of mobile terminal and mobile terminal
CN107463290B (en) Response control method and device for touch operation, storage medium and mobile terminal
CN107463289A (en) A kind of calibration method of touch-screen, device, storage medium and terminal
KR20190141852A (en) Electronic device for including flexible printed circuit board adjacent to antenna
CN103699260A (en) Method for starting terminal function module, and terminal equipment
CN109343066B (en) Control method and device of proximity sensor, storage medium and mobile terminal
CN103686464A (en) Method and device for controlling equipment and electronic equipment
US20230184604A1 (en) Pressure sensor and electronic device
US20170332190A1 (en) Adaptive threshold for proximity based wireless communications features
CN108234738B (en) Volume adjusting method, device, terminal and storage medium
CN103631502A (en) Display content adjusting method and device and electronic equipment
CN105451011B (en) The method and apparatus of regulation power
EP3654624B1 (en) Screen state control method and device, storage medium, and mobile terminal
KR102607793B1 (en) Electronic device and method for connecting ground node to camera module
KR102581412B1 (en) Electronic device for receiving multi-band global navigation satellite system signal
CN105630447A (en) Method and device for adjusting word display
EP3748938B1 (en) State detection apparatus and method
KR102439787B1 (en) Electronic device for sweeping phase of antenna
KR20200042156A (en) Electronic device for controlling an output of an antenna using auto phase control of communication module and method for the same
CN111030202B (en) Wireless charging method and device, electronic equipment and storage medium
KR20200000884A (en) Electronic device for protecting components from electrostatic and structure thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18888137

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18888137

Country of ref document: EP

Kind code of ref document: A1