[go: up one dir, main page]

CN111158449B - Terminal device and control system and control method thereof - Google Patents

Terminal device and control system and control method thereof Download PDF

Info

Publication number
CN111158449B
CN111158449B CN201911367963.4A CN201911367963A CN111158449B CN 111158449 B CN111158449 B CN 111158449B CN 201911367963 A CN201911367963 A CN 201911367963A CN 111158449 B CN111158449 B CN 111158449B
Authority
CN
China
Prior art keywords
power
light sensor
terminal device
interrupt pulse
trigger signal
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.)
Active
Application number
CN201911367963.4A
Other languages
Chinese (zh)
Other versions
CN111158449A (en
Inventor
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911367963.4A priority Critical patent/CN111158449B/en
Publication of CN111158449A publication Critical patent/CN111158449A/en
Application granted granted Critical
Publication of CN111158449B publication Critical patent/CN111158449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种终端设备及其控制系统、控制方法,其中,控制系统包括:环境光传感器,用于当检测到自身被遮挡时生成中断脉冲信号;防误触模块,用于根据接收到中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;电源管理单元,用于接收到开机触发信号后,控制电池为相应的部件供电,以控制终端设备开机。该控制系统利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。

Figure 201911367963

The invention discloses a terminal device, a control system and a control method thereof, wherein the control system comprises: an ambient light sensor, which is used to generate an interrupt pulse signal when it is detected that it is blocked; The number of interrupt pulse signals is counted, and when the count value reaches the set number threshold within the set time, a start-up trigger signal is generated; the power management unit is used to control the battery to supply power to the corresponding components after receiving the start-up trigger signal to control the The terminal device is powered on. The control system uses the photosensitive function of the ambient light sensor to realize the startup of the terminal equipment. The cost is low and it is suitable for all kinds of terminal equipment. It does not need to open the frame. When applied to small mobile terminals, it can ensure the integrity of the whole machine and improve the structure. Design flexibility and space saving, thereby increasing the antenna layout space and improving the antenna efficiency.

Figure 201911367963

Description

终端设备及其控制系统、控制方法Terminal equipment, control system and control method thereof

技术领域technical field

本发明涉及终端技术领域,特别涉及一种终端设备的控制系统、一种终端设备的控制方法和一种终端设备。The present invention relates to the technical field of terminals, and in particular, to a control system of a terminal device, a control method of the terminal device, and a terminal device.

背景技术Background technique

目前,终端设备的开机方法一般包括:通过机械按键开机、无线遥控开机和语音开机。At present, the booting methods of terminal equipment generally include: booting by mechanical keys, wireless remote control booting, and voice booting.

其中,通过机械按键的方式需要增加设备按键及防尘防水成本,成本较高,且在应用于手机、平板电脑或者穿戴设备等小型的可移动终端时,需要进行边框开孔,导致整机设备一体性较差,且减少天线布局空间,影响天线效率。而无线遥控开机方案需要远程控制装置及接收解调装置,成本较高且占用布板面积大,还需要增加遥控装置,不便携,不适用于手机、平板电脑或者穿戴设备等小型的可移动终端。语音开机需要增加专用语音芯片及专用控制芯片,成本高昂,且布板面积较大。Among them, the method of mechanical buttons needs to increase the cost of device buttons and dustproof and waterproof, and the cost is relatively high, and when it is applied to small mobile terminals such as mobile phones, tablet computers or wearable devices, it is necessary to make holes in the frame, resulting in the whole device. The integration is poor, and the antenna layout space is reduced, which affects the antenna efficiency. The wireless remote control power-on solution requires a remote control device and a receiving and demodulation device, which is costly and occupies a large area of the board. It also needs to add a remote control device, which is not portable and is not suitable for small mobile terminals such as mobile phones, tablet computers or wearable devices. . The voice startup needs to add a dedicated voice chip and a dedicated control chip, which is expensive and has a large layout area.

发明内容SUMMARY OF THE INVENTION

本发明旨在至少从一定程度上解决上述技术中的技术问题之一。为此,本发明的第一个目的在于提出一种终端设备的控制系统,该控制系统利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。The present invention aims to solve one of the technical problems in the above technologies at least to a certain extent. Therefore, the first object of the present invention is to propose a control system for terminal equipment, which utilizes the photosensitive function of the ambient light sensor to realize the power-on of the terminal equipment. Opening holes, when applied to small mobile terminals, can ensure the integrity of the whole device, improve the flexibility of structural design, and save space, thereby increasing the antenna layout space and improving antenna efficiency.

本发明的第二个目的在于提出一种终端设备的控制方法。The second object of the present invention is to provide a control method of a terminal device.

本发明的第三个目的在于提出一种终端设备。The third object of the present invention is to provide a terminal device.

为达到上述目的,本发明第一方面实施例提出了一种终端设备的控制系统,包括:环境光传感器,用于当检测到自身被遮挡时生成第一中断脉冲信号;防误触模块,用于根据接收到所述第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;电源管理单元,用于接收到所述开机触发信号后,为相应的部件供电,以控制所述终端设备开机。In order to achieve the above object, an embodiment of the first aspect of the present invention provides a control system for a terminal device, including: an ambient light sensor, which is used to generate a first interrupt pulse signal when it is detected that it is blocked; Counting according to the number of received first interrupt pulse signals, and generating a power-on trigger signal when the count value reaches a set number threshold within a set time; the power management unit is configured to, after receiving the power-on trigger signal, Power is supplied to the corresponding components to control the power-on of the terminal device.

根据本发明实施例的终端设备的控制系统,当检测到自身被遮挡时环境光传感器生成第一中断脉冲信号,防误触模块根据接收到第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号,电源管理单元在接收到开机触发信号后,为相应的部件供电,以控制终端设备开机。由此,该控制系统利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。According to the control system of the terminal device according to the embodiment of the present invention, the ambient light sensor generates a first interrupt pulse signal when it is detected that it is blocked, and the anti-mistouch module counts according to the number of received first interrupt pulse signals. When the internal count value reaches the set number threshold, a power-on trigger signal is generated. After receiving the power-on trigger signal, the power management unit supplies power to the corresponding components to control the terminal equipment to power on. Therefore, the control system utilizes the photosensitive function of the ambient light sensor to realize the power-on of the terminal device, which is low in cost and suitable for various types of terminal devices, and does not require frame openings. When applied to small mobile terminals, the integrity of the whole device can be guaranteed. , to improve the flexibility of structural design and save space, thereby increasing the antenna layout space and improving the antenna efficiency.

另外,根据本发明上述实施例提出的终端设备的控制系统还可以具有如下附加的技术特征:In addition, the control system for a terminal device proposed according to the foregoing embodiments of the present invention may also have the following additional technical features:

根据本发明的一个实施例,上述的控制系统还包括:接近光传感器,所述接近光传感器用于当检测到自身被遮挡时生成第二中断脉冲信号;所述防误触模块还用于根据接收到所述第二中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号。According to an embodiment of the present invention, the above-mentioned control system further includes: a proximity light sensor, which is configured to generate a second interrupt pulse signal when it is detected that it is blocked; the false-touch prevention module is further configured to The number of receiving the second interrupt pulse signal is counted, and when the count value reaches the set number threshold within the set time, a power-on trigger signal is generated.

根据本发明的一个实施例,所述相应的部件包括中央处理器、射频集成电路和外设端口,所述中央处理器还用于:在所述终端设备开机后,输出关闭使能信号至所述防误触模块,以关闭所述防误触模块,并将所述防误触模块中所述计数值清零。According to an embodiment of the present invention, the corresponding components include a central processing unit, a radio frequency integrated circuit, and a peripheral port, and the central processing unit is further configured to: after the terminal device is powered on, output a shutdown enable signal to all The false-touch prevention module is turned off, and the count value in the false-touch prevention module is cleared to zero.

根据本发明的一个实施例,所述中央处理器还用于:在所述终端设备开机后,与所述环境光传感器进行通信,根据所述环境光传感器采集的光强数据调节屏幕亮度。According to an embodiment of the present invention, the central processing unit is further configured to: communicate with the ambient light sensor after the terminal device is powered on, and adjust the screen brightness according to the light intensity data collected by the ambient light sensor.

根据本发明的一个实施例,所述电源管理单元还用于:接收到关机触发信号后,控制所述电池停止为所述相应的部件供电,以控制所述终端设备关机。According to an embodiment of the present invention, the power management unit is further configured to: after receiving a shutdown trigger signal, control the battery to stop supplying power to the corresponding components, so as to control the terminal device to shutdown.

根据本发明的一个实施例,所述中央处理器还用于:在所述终端设备关机后,断开与所述环境光传感器之间的通信。According to an embodiment of the present invention, the central processing unit is further configured to: disconnect the communication with the ambient light sensor after the terminal device is shut down.

根据本发明的一个实施例,所述中央处理器还用于:在所述终端设备关机后,输出开启使能信号至所述防误触模块,以开启所述防误触模块。According to an embodiment of the present invention, the central processing unit is further configured to: after the terminal device is turned off, output an enable signal to the anti-mistouch module to turn on the anti-mistouch module.

根据本发明的一个实施例,所述防误触模块还用于:当所述设定时间内所述计数值未达到所述设定数量阈值时,将所述防误触模块中所述计数值清零。According to an embodiment of the present invention, the false-touch prevention module is further configured to: when the count value does not reach the set number threshold within the set time period, set the count in the false-touch prevention module value is cleared.

为达到上述目的,本发明第二方面实施例提出了一种终端设备的控制方法,包括:环境光传感器当检测到自身被遮挡时生成第一中断脉冲信号;防误触模块根据接收到所述第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;电源管理单元接收到所述开机触发信号后,为相应的部件供电,以控制所述终端设备开机。In order to achieve the above purpose, a second aspect of the present invention provides a control method for a terminal device, including: the ambient light sensor generates a first interrupt pulse signal when it detects that it is blocked; The number of the first interrupt pulse signal is counted, and when the count value reaches the set number threshold within the set time, a power-on trigger signal is generated; after receiving the power-on trigger signal, the power management unit supplies power to the corresponding components to control all The terminal device is powered on.

根据本发明实施例的终端设备的控制方法,当环境光传感器检测到自身被遮挡时生成第一中断脉冲信号,防误触模块根据接收到第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号,电源管理单元接收到开机触发信号后,为相应的部件供电,以控制终端设备开机。由此,该控制方法利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。According to the control method for a terminal device according to the embodiment of the present invention, when the ambient light sensor detects that it is blocked, a first interrupt pulse signal is generated, and the anti-mistouch module counts according to the number of received first interrupt pulse signals. When the internal count value reaches the set number threshold, a power-on trigger signal is generated. After receiving the power-on trigger signal, the power management unit supplies power to the corresponding components to control the terminal equipment to power on. Therefore, the control method utilizes the photosensitive function of the ambient light sensor to realize the power-on of the terminal device. The cost is low, and it is suitable for all kinds of terminal devices, and does not need to open a frame. When applied to a small mobile terminal, the integrity of the whole device can be guaranteed. , to improve the flexibility of structural design and save space, thereby increasing the antenna layout space and improving the antenna efficiency.

为达到上述目的,本发明第三方面实施例提出了一种终端设备,包括本发明第一方面实施例所述的终端设备的控制系统。In order to achieve the above object, the embodiment of the third aspect of the present invention provides a terminal device, including the control system of the terminal device according to the embodiment of the first aspect of the present invention.

根据本发明实施例的终端设备,通过上述的终端设备的控制系统,利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。According to the terminal device according to the embodiment of the present invention, through the above-mentioned control system of the terminal device, the terminal device can be powered on by using the photosensitive function of the ambient light sensor. When a small mobile terminal is used, the integrity of the whole device can be ensured, the flexibility of the structure design can be improved, and the space can be saved, thereby increasing the antenna layout space and improving the antenna efficiency.

附图说明Description of drawings

本发明的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1是根据本发明一个实施例的终端设备的控制系统的方框示意图;1 is a schematic block diagram of a control system of a terminal device according to an embodiment of the present invention;

图2是根据本发明另一个实施例的终端设备的控制系统的方框示意图;2 is a schematic block diagram of a control system of a terminal device according to another embodiment of the present invention;

图3是根据本发明的一个具体示例的终端设备的控制系统的工作原理流程图;3 is a flow chart of the working principle of a control system of a terminal device according to a specific example of the present invention;

图4是根据本发明一个实施例的终端设备的控制方法的流程图;4 is a flowchart of a control method of a terminal device according to an embodiment of the present invention;

图5是根据本发明一个实施例的终端设备的方框示意图。FIG. 5 is a schematic block diagram of a terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

下面结合附图来描述本发明实施例的终端设备的控制系统、终端设备的控制方法和终端设备。The following describes a control system for a terminal device, a control method for a terminal device, and a terminal device according to embodiments of the present invention with reference to the accompanying drawings.

图1是根据本发明一个实施例的终端设备的控制系统的方框示意图。如图1所示,该控制系统包括:环境光传感器1、防误触模块2、电源管理单元3。FIG. 1 is a schematic block diagram of a control system of a terminal device according to an embodiment of the present invention. As shown in FIG. 1 , the control system includes: an ambient light sensor 1 , a false-touch prevention module 2 , and a power management unit 3 .

其中,环境光传感器1用于当检测到自身被遮挡时生成第一中断脉冲信号;防误触模块2用于根据接收到第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;电源管理单元3用于接收到开机触发信号后,为相应的部件5供电,以控制终端设备开机。Among them, the ambient light sensor 1 is used to generate a first interrupt pulse signal when it detects that it is blocked; the anti-mistouch module 2 is used to count according to the number of the first interrupt pulse signals received, and when the count value reaches When the number threshold is set, a power-on trigger signal is generated; after receiving the power-on trigger signal, the power management unit 3 is configured to supply power to the corresponding component 5 to control the terminal device to power on.

具体地,环境光传感器1可以感知周围环境光线强度,并根据周围环境光线强度检测自身是否被遮挡,其中,如果感知到周围环境光线强度降低的幅度超过预设值,可以判断自身被遮挡。当环境传感器1检测到自身被遮挡时生成第一中断脉冲信号,并发送至防误触模块2,防误触模块2中的计数寄存器对第一中断脉冲信号的数量进行计数。如果在设定时间内计数值达到防误触模块2中的阈值寄存器中预存的设定数量阈值时,生成开机触发信号,并将开机触发信号发送至电源管理单元(Power Management Unit,PMU)3。也就是说,如果在预设时间内环境光传感器1检测到自身被遮挡次数达到设定数量阈值,则成开机触发信号。Specifically, the ambient light sensor 1 can sense the light intensity of the surrounding environment, and detect whether it is blocked according to the light intensity of the surrounding environment. When the environmental sensor 1 detects that it is blocked, a first interrupt pulse signal is generated and sent to the false-touch prevention module 2 , and the counting register in the false-touch prevention module 2 counts the number of the first interrupt pulse signal. If the count value reaches the preset number threshold stored in the threshold register in the anti-missing module 2 within the set time, a power-on trigger signal is generated, and the power-on trigger signal is sent to the Power Management Unit (PMU) 3 . That is to say, if the ambient light sensor 1 detects that the number of times that the ambient light sensor 1 is blocked reaches the set number threshold within the preset time, it will be a power-on trigger signal.

电源管理单元3在接收到开机触发信号后启动,输出多路具有一定驱动能力的恒压电源,以为相应的部件供电,控制终端设备开机。由此,该控制系统利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行防尘防水和边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。The power management unit 3 starts after receiving the power-on trigger signal, and outputs multiple constant-voltage power supplies with a certain driving capability to supply power to the corresponding components and control the power-on of the terminal equipment. Therefore, the control system utilizes the photosensitive function of the ambient light sensor to realize the power-on of the terminal device. The cost is low, and it is suitable for all kinds of terminal devices. It does not need to be dustproof, waterproof and frame opening. When applied to a small mobile terminal, it can ensure the whole The integration of machine and equipment improves the flexibility of structural design and saves space, thereby increasing the antenna layout space and improving the antenna efficiency.

为防止误触发开机,例如用户只是不小心遮挡到环境光传感器,并不是想开机,设定数量阈值可以为大于1的整数,又为避免造成开机操作繁琐,设定数量阈值也不宜过多,设定数量阈值可以为3~5。设定时间设置时间不宜过长,否则容易造成误操作,也不宜过短,否则可能会导致操作困难,设定时间可以为3~7秒。In order to prevent false triggering of power-on, for example, the user just accidentally blocks the ambient light sensor and does not want to power on, the set quantity threshold can be an integer greater than 1, and in order to avoid cumbersome power-on operation, the set quantity threshold should not be too much. The set number threshold can be 3 to 5. Setting time The setting time should not be too long, otherwise it is easy to cause misoperation, and it should not be too short, otherwise it may cause difficulty in operation, and the setting time can be 3 to 7 seconds.

环境光传感器1的设置位置应为用户方便触摸的地方,例如,如果是移动终端,环境光传感器1可以为移动终端的背面中间或者中间偏上的部位,方便用户单手操作,也可设置在移动终端的正面,但应远离HOME键,以避免误操作。环境光传感器1的设置位置本发明中不进行限制。The installation location of the ambient light sensor 1 should be a place that is convenient for the user to touch. For example, if it is a mobile terminal, the ambient light sensor 1 can be located in the middle of the back of the mobile terminal or in the upper middle part, which is convenient for the user to operate with one hand. The front of the mobile terminal, but should be kept away from the HOME button to avoid misoperation. The installation position of the ambient light sensor 1 is not limited in the present invention.

根据本发明的一个实施例,如图2所示,上述的终端设备的还可以包括:接近光传感器4,接近光传感器4用于当检测到自身被遮挡时生成第二中断脉冲信号;防误触模块2还用于根据接收到第二中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号。According to an embodiment of the present invention, as shown in FIG. 2 , the above-mentioned terminal device may further include: a proximity light sensor 4, the proximity light sensor 4 is used to generate a second interrupt pulse signal when it is detected that it is blocked; The touch module 2 is also used for counting according to the quantity of the second interrupt pulse signal received, and when the count value reaches the set quantity threshold within the set time, a power-on trigger signal is generated.

具体地,如果处于极黑的环境中,当环境传感器1被遮挡时可能会由于周围环境光线强度的变化较小导致环境传感器1无法检测到自身被遮挡,从而会导致终端设备无法开机。为避免此类情况,本发明在终端设备的控制系统中还设置了接近光传感器3。接近光传感器3包括光发射器和光接收器,光发射器可以发射第一预设距离的红外光,如果物体与接近光传感器3的距离小于第一预设距离(例如1cm),会将红外光反射到光接收器上,当光接收器接收到反射的光,则接近光传感器3判断自身被遮挡,并生成第二中断脉冲信号,并发送至防误触模块2,防误触模块2对第二中断脉冲信号的数量进行计数。如果在设定时间内计数值达到设定数量阈值时,生成开机触发信号,并将开机触发信号发送至电源管理单元3。也就是说,如果在预设时间内接近光传感器3检测到自身被遮挡次数达到设定数量阈值,则成开机触发信号。由此,环境光传感器和接近光传感器进行双重检测,任意一个传感器生成的相应的中断脉冲信号在预设时间内达到设定数量阈值就生成开机触发信号,避免出现由于环境原因或者某一个传感器发生故障导致无法生成开机触发信号的情况,提高控制系统工作的可靠性。Specifically, if it is in a very dark environment, when the environmental sensor 1 is blocked, the environmental sensor 1 may not be able to detect that it is blocked due to the small change in the light intensity of the surrounding environment, which will cause the terminal device to fail to boot. In order to avoid such a situation, the present invention further provides a proximity light sensor 3 in the control system of the terminal device. The proximity light sensor 3 includes a light transmitter and a light receiver. The light transmitter can emit infrared light at a first preset distance. If the distance between the object and the proximity light sensor 3 is less than the first preset distance (for example, 1cm), the infrared light will be emitted. Reflected on the light receiver, when the light receiver receives the reflected light, the proximity light sensor 3 judges that it is blocked, and generates a second interrupt pulse signal, which is sent to the anti-missing module 2, and the anti-missing module 2 pairs The number of second interrupt pulse signals is counted. If the count value reaches the set number threshold within the set time, a power-on trigger signal is generated, and the power-on trigger signal is sent to the power management unit 3 . That is to say, if the proximity light sensor 3 detects that the number of times that the proximity light sensor 3 has been blocked reaches the set number threshold within the preset time, it will be a power-on trigger signal. As a result, the ambient light sensor and the proximity light sensor perform double detection, and the corresponding interrupt pulse signal generated by any one sensor reaches the set number threshold within the preset time to generate a power-on trigger signal to avoid the occurrence of environmental reasons or a certain sensor. The failure leads to the failure to generate the start-up trigger signal, which improves the reliability of the control system.

在本发明中,电池可以直接为防误触模块2、环境光传感器1、接近光传感器4、电池管理单元3直接供电,以实现控制系统在关机后不掉电。In the present invention, the battery can directly supply power to the anti-mistouch module 2, the ambient light sensor 1, the proximity light sensor 4, and the battery management unit 3, so that the control system does not lose power after shutdown.

根据本发明的一个实施例,防误触模块2还可以用于:当设定时间内计数值未达到设定数量阈值时,将防误触模块2中计数值清零。According to an embodiment of the present invention, the false-touch prevention module 2 can also be used for: clearing the count value in the false-touch prevention module 2 when the count value does not reach the set number threshold within the set time.

具体地,如果防误触模块2判断在设定时间内第一中断脉冲信号和第二中断脉冲信号未达到设定数量阈值,说明可能是用户误操作,也可能是其他原因例如仅是将终端设备收起到包中、口袋中导致出现中断脉冲信号,并不是想要关机,此时防误触模块2将计数值清零,以进行初始化。Specifically, if the false-touch prevention module 2 determines that the first interrupt pulse signal and the second interrupt pulse signal do not reach the set number threshold within the set time, it means that the user may have misoperated, or there may be other reasons, such as only the terminal When the device is stored in the bag or pocket, the interrupt pulse signal appears, and it is not intended to be shut down. At this time, the anti-mistouch module 2 will reset the count value to zero for initialization.

根据本发明的一个实施例,如图2所示,相应的部件5包括中央处理器(CPU,Central Processing Uni)501、射频集成电路(RFIC)502和外设端口503,中央处理器501还用于:在终端设备开机后,输出关闭使能信号至防误触模块,以关闭防误触模块,并将防误触模块中计数值清零。According to an embodiment of the present invention, as shown in FIG. 2 , the corresponding component 5 includes a central processing unit (CPU, Central Processing Uni) 501, a radio frequency integrated circuit (RFIC) 502 and a peripheral port 503. The central processing unit 501 also uses To: After the terminal device is turned on, output a shutdown enable signal to the anti-mistouch module to turn off the anti-mistouch module and clear the count value in the anti-mistouch module.

中央处理器501还用于:在终端设备开机后,与环境光传感器进行通信,根据环境光传感器采集的光强数据调节屏幕亮度。The central processing unit 501 is further configured to: communicate with the ambient light sensor after the terminal device is powered on, and adjust the screen brightness according to the light intensity data collected by the ambient light sensor.

具体地,电源管理单元3在接收到开机触发信号后,控制电池为中央处理器501、射频集成电路502和外设端口503供电,以控制终端设备开机。在终端设备开机后,中央处理器501输出关闭使能信号(使能信号反电平)至防误触模块2,以关闭防误触模块2,并将防误触模块2中计数值清零,以进行初始化。并且,在端设备开机后,中央处理器501还与环境光传感器1进行通信,根据环境光传感器1采集的光强数据调节屏幕亮度,有助于屏幕提供柔和的画面,当环境亮度较高时,中央处理器501根据环境光传感器采集的光强数据将显示屏自动调成高亮度;当外界环境较暗时,中央处理器501根据环境光传感器采集的光强数据将显示屏自动调成低亮度。Specifically, after receiving the power-on trigger signal, the power management unit 3 controls the battery to supply power to the central processing unit 501, the radio frequency integrated circuit 502 and the peripheral port 503, so as to control the power-on of the terminal device. After the terminal device is turned on, the central processing unit 501 outputs a shutdown enable signal (the inverse level of the enable signal) to the anti-mistouch module 2 to turn off the anti-mistouch module 2 and clear the count value in the anti-mistouch module 2 to zero , for initialization. In addition, after the terminal device is turned on, the central processing unit 501 also communicates with the ambient light sensor 1, and adjusts the screen brightness according to the light intensity data collected by the ambient light sensor 1, which helps the screen to provide a soft picture. When the ambient brightness is high , the central processing unit 501 automatically adjusts the display screen to high brightness according to the light intensity data collected by the ambient light sensor; when the external environment is dark, the central processing unit 501 automatically adjusts the display screen to low brightness according to the light intensity data collected by the ambient light sensor brightness.

根据本发明的一个实施例,电源管理单元3还可以用于:接收到关机触发信号后,控制电池停止为相应的部件供电,以控制终端设备关机。According to an embodiment of the present invention, the power management unit 3 can also be used to: after receiving the shutdown trigger signal, control the battery to stop supplying power to the corresponding components, so as to control the shutdown of the terminal device.

中央处理器501还可以用于:在终端设备关机后,断开与环境光传感器1之间的通信。在终端设备关机后,中央处理器501输出开启使能信号至防误触模块2,以开启防误触模块2。The central processing unit 501 can also be used to disconnect the communication with the ambient light sensor 1 after the terminal device is shut down. After the terminal device is turned off, the central processing unit 501 outputs an enable signal to the anti-mistouch module 2 to turn on the anti-mistouch module 2 .

具体地,关机可以通过软件实现,通过软件发送关机触发信号至电源管理单元3和中央处理器501,电源管理单元3接收到关机触发信号后,控制电池停止为相应的部件供电5,以控制终端设备关机。在终端设备关机后,中央处理器501断开与环境光传感器1之间的通信,以使中央处理器501停止对屏幕亮度进行调节,并输出开启使能信号至防误触模块2,以开启防误触模块2,防误触模块2根据环境光传感器1检测的第一中断脉冲信号和接近光传感器4检测的第二中断脉冲信号判断是否生成开机触发信号。Specifically, the shutdown can be realized by software, and the software sends a shutdown trigger signal to the power management unit 3 and the central processing unit 501. After the power management unit 3 receives the shutdown trigger signal, it controls the battery to stop supplying power to the corresponding components 5, so as to control the terminal The device shuts down. After the terminal device is turned off, the central processing unit 501 disconnects the communication with the ambient light sensor 1, so that the central processing unit 501 stops adjusting the screen brightness, and outputs an enable signal to the anti-mistouch module 2 to turn on The false-touch prevention module 2 determines whether to generate a power-on trigger signal according to the first interrupt pulse signal detected by the ambient light sensor 1 and the second interrupt pulse signal detected by the proximity light sensor 4 .

为使本领域技术人员更清楚地理解本发明,下面结合图3所示的根据本发明的一个具体示例的终端设备的控制系统的工作原理流程图进行说明。如图3所示,本发明的终端设备的控制系统的工作原理包括以下步骤:In order for those skilled in the art to understand the present invention more clearly, the following description will be given in conjunction with the flow chart of the working principle of the control system of the terminal device according to a specific example of the present invention shown in FIG. 3 . As shown in Figure 3, the working principle of the control system of the terminal device of the present invention includes the following steps:

S101,开始。S101, start.

S102,环境光传感器当检测到自身被遮挡时生成第一中断脉冲信号。S102, the ambient light sensor generates a first interrupt pulse signal when it detects that it is blocked.

S103,防误触模块对第一中断脉冲信号的数量进行计数。S103, the anti-mistouch module counts the number of the first interrupt pulse signal.

S104,防误触模块判断在设定时间内第一中断脉冲信号的计数值是否达到设定数量阈值。如果是,则执行步骤S108;如果否,则执行步骤S109。S104 , the false-touch prevention module determines whether the count value of the first interrupt pulse signal reaches the set quantity threshold within the set time. If yes, go to step S108; if not, go to step S109.

S105,接近光传感器当检测到自身被遮挡时生成第二中断脉冲信号。S105, the proximity light sensor generates a second interrupt pulse signal when it detects that it is blocked.

S106,防误触模块对第二中断脉冲信号的数量进行计数。S106, the anti-mistouch module counts the number of the second interrupt pulse signal.

S107,防误触模块判断在设定时间内第二中断脉冲信号的计数值是否达到设定数量阈值。如果是,则执行步骤S108;如果否,则执行步骤S109。S107 , the false-touch prevention module determines whether the count value of the second interrupt pulse signal reaches the set quantity threshold within the set time. If yes, go to step S108; if not, go to step S109.

S108,防误触模块生成开机触发信号。S108, the anti-mistouch module generates a power-on trigger signal.

S109,防误触模块将相应的计数值清零,返回步骤S101。S109, the anti-mistouch module clears the corresponding count value, and returns to step S101.

S110,电源管理单元为中央处理器、射频集成电路和外设端口供电,以控制终端设备开机。S110, the power management unit supplies power to the central processing unit, the radio frequency integrated circuit and the peripheral port, so as to control the terminal device to start up.

S111,中央处理器输出关闭使能信号至防误触模块,以关闭防误触模块,防误触模块将计数值清零。S111 , the central processing unit outputs a shutdown enable signal to the false-touch prevention module, so as to turn off the false-touch prevention module, and the false-touch prevention module clears the count value.

S112,中央处理器与环境光传感器进行通信,根据环境光传感器采集的光强数据调节屏幕亮度。S112, the central processing unit communicates with the ambient light sensor, and adjusts the screen brightness according to the light intensity data collected by the ambient light sensor.

S113,电源管理单元接收到关机触发信号后,控制电池停止为中央处理器、射频集成电路和外设端口供电,以控制终端设备关机。S113, after receiving the shutdown trigger signal, the power management unit controls the battery to stop supplying power to the central processing unit, the radio frequency integrated circuit and the peripheral port, so as to control the shutdown of the terminal device.

S114,中央处理器断开与环境光传感器之间的通信,输出开启使能信号至防误触模块,以开启防误触模块,然后返回步骤S101。S114 , the central processing unit disconnects the communication with the ambient light sensor, outputs an enable signal to the anti-mistouch module to turn on the anti-mistouch module, and then returns to step S101 .

可以理解的是,在终端设备出厂前,可将开机方法写在相应的说明书中,告知用户如何进行开机操作,需要遮挡几次、遮挡区域、多长时间内完成等,以便用户进行开机操作。It can be understood that, before the terminal equipment leaves the factory, the booting method can be written in the corresponding manual to inform the user how to perform the booting operation, how many times to block, the area to be blocked, and how long to complete it, etc., so that the user can perform the booting operation.

综上所述,根据本发明实施例的终端设备的控制系统,当环境光传感器检测到自身被遮挡时生成第一中断脉冲信号,接近光传感器当检测到自身被遮挡时生成第二中断脉冲信号,防误触模块根据接收到第一中断脉冲信号和第二中断脉冲信号的数量分别进行计数,当设定时间内任一计数值达到设定数量阈值时,生成开机触发信号,电源管理单元接收到开机触发信号后,为相应的部件供电,以控制终端设备开机。由此,该控制系统利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。To sum up, according to the control system of the terminal device according to the embodiment of the present invention, when the ambient light sensor detects that it is blocked, a first interrupt pulse signal is generated, and the proximity light sensor generates a second interrupt pulse signal when it detects that it is blocked. , the anti-mistouch module counts according to the number of the first interrupt pulse signal and the second interrupt pulse signal received, and when any count value reaches the set number threshold within the set time, a power-on trigger signal is generated, and the power management unit receives After the power-on trigger signal is reached, power is supplied to the corresponding components to control the power-on of the terminal equipment. Therefore, the control system utilizes the photosensitive function of the ambient light sensor to realize the power-on of the terminal device, which is low in cost and suitable for various types of terminal devices, and does not require frame openings. When applied to small mobile terminals, the integrity of the whole device can be guaranteed. , to improve the flexibility of structural design and save space, thereby increasing the antenna layout space and improving the antenna efficiency.

与上述的终端设备的控制系统相对应,本发明还提出一种终端设备的控制方法。本发明的控制方法是基于上述的控制系统,对于方法实施例中未披露的细节可参照上述的系统实施例,本发明中不再进行赘述。Corresponding to the above-mentioned control system for terminal equipment, the present invention also provides a control method for terminal equipment. The control method of the present invention is based on the above-mentioned control system. For details not disclosed in the method embodiments, reference may be made to the above-mentioned system embodiments, which will not be repeated in the present invention.

图4是根据本发明一个实施例的终端设备的控制方法的流程图。如图4所示,该控制方法包括以下步骤:FIG. 4 is a flowchart of a control method of a terminal device according to an embodiment of the present invention. As shown in Figure 4, the control method includes the following steps:

S1,环境光传感器当检测到自身被遮挡时生成第一中断脉冲信号。S1, the ambient light sensor generates a first interrupt pulse signal when it detects that it is blocked.

S2,防误触模块根据接收到第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号。S2, the anti-missing module counts according to the number of received first interrupt pulse signals, and generates a power-on trigger signal when the count value reaches the set number threshold within the set time.

S3,电源管理单元接收到开机触发信号后,为相应的部件供电,以控制终端设备开机。S3, after receiving the power-on trigger signal, the power management unit supplies power to the corresponding components to control the terminal device to power on.

具体地,环境光传感器可以感知周围环境光线强度,并根据周围环境光线强度检测自身是否被遮挡,其中,如果感知到周围环境光线强度降低的幅度超过预设值,可以判断自身被遮挡。当环境传感器检测到自身被遮挡时生成第一中断脉冲信号,并发送至防误触模块,防误触模块中的计数寄存器对第一中断脉冲信号的数量进行计数。如果在设定时间内计数值达到防误触模块中的阈值寄存器中预存的设定数量阈值时,生成开机触发信号,并将开机触发信号发送至电源管理单元。也就是说,如果在预设时间内环境光传感器检测到自身被遮挡次数达到设定数量阈值,则成开机触发信号。Specifically, the ambient light sensor can sense the light intensity of the surrounding environment, and detect whether it is blocked according to the light intensity of the surrounding environment. When the environment sensor detects that it is blocked, a first interrupt pulse signal is generated and sent to the false-touch prevention module, and the counting register in the false-touch prevention module counts the number of the first interrupt pulse signal. If the count value reaches the preset number threshold stored in the threshold register in the anti-missing module within the set time, a power-on trigger signal is generated, and the power-on trigger signal is sent to the power management unit. That is to say, if the ambient light sensor detects that the number of times that the ambient light sensor is blocked reaches the set number threshold within the preset time, it will be a power-on trigger signal.

电源管理单元在接收到开机触发信号后启动,输出多路具有一定驱动能力的恒压电源,以为相应的部件供电,控制终端设备开机。由此,利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。The power management unit starts after receiving the power-on trigger signal, and outputs multiple constant-voltage power supplies with a certain driving ability to supply power to the corresponding components and control the power-on of the terminal equipment. Therefore, the use of the photosensitive function of the ambient light sensor to realize the power-on of the terminal device has a low cost and is suitable for various terminal devices, and does not need to open a frame. When applied to a small mobile terminal, it can ensure the integrity of the whole device and improve the structure Design flexibility and space saving, thereby increasing the antenna layout space and improving the antenna efficiency.

根据本发明的一个实施例,上述的终端设备的控制方法还包括:接近光传感器当检测到自身被遮挡时生成第二中断脉冲信号;防误触模块根据接收到第二中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号。According to an embodiment of the present invention, the above-mentioned control method for a terminal device further includes: generating a second interrupt pulse signal when the proximity light sensor detects that it is blocked; Counting, when the count value reaches the set number threshold within the set time, a power-on trigger signal is generated.

综上所述,根据本发明的终端设备的控制方法,当环境光传感器检测到自身被遮挡时生成第一中断脉冲信号,接近光传感器当检测到自身被遮挡时生成第二中断脉冲信号,防误触模块根据接收到第一中断脉冲信号和第二中断脉冲信号的数量分别进行计数,当设定时间内任一计数值达到设定数量阈值时,生成开机触发信号,电源管理单元接收到开机触发信号后,为相应的部件供电,以控制终端设备开机。由此,该控制系统利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。To sum up, according to the control method of the terminal device of the present invention, when the ambient light sensor detects that it is blocked, a first interrupt pulse signal is generated, and the proximity light sensor generates a second interrupt pulse signal when it detects that it is blocked. The false touch module counts according to the number of the first interrupt pulse signal and the second interrupt pulse signal received, and when any count value reaches the set number threshold within the set time, a power-on trigger signal is generated, and the power management unit receives the power-on signal. After triggering the signal, supply power to the corresponding components to control the terminal equipment to power on. Therefore, the control system utilizes the photosensitive function of the ambient light sensor to realize the power-on of the terminal device, which is low in cost and suitable for various types of terminal devices, and does not require frame openings. When applied to small mobile terminals, the integrity of the whole device can be guaranteed. , to improve the flexibility of structural design and save space, thereby increasing the antenna layout space and improving the antenna efficiency.

此外,如图5所示,本发明还提出一种终端设备100,包括本发明上述实施例所述的终端设备的控制系统10。In addition, as shown in FIG. 5 , the present invention further provides a terminal device 100, which includes the control system 10 for the terminal device described in the foregoing embodiments of the present invention.

根据本发明实施例的终端设备,通过上述的终端设备的控制系统,利用环境光传感器的感光功能实现终端设备开机,成本较低并适用于各类终端设备,且无需进行边框开孔,应用于小型移动终端时,可以保证整机设备一体性,提升结构设计的灵活性,并可节省空间,从而增加天线布局空间,提高天线效率。According to the terminal device according to the embodiment of the present invention, through the above-mentioned control system of the terminal device, the terminal device can be powered on by using the photosensitive function of the ambient light sensor. When a small mobile terminal is used, the integrity of the whole device can be ensured, the flexibility of the structure design can be improved, and the space can be saved, thereby increasing the antenna layout space and improving the antenna efficiency.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, followed by editing, interpretation, or other suitable medium as necessary process to obtain the program electronically and then store it in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one of the following techniques known in the art, or a combination thereof: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (9)

1.一种终端设备的控制系统,其特征在于,包括:1. a control system of terminal equipment, is characterized in that, comprises: 环境光传感器,用于当检测到自身被遮挡时生成第一中断脉冲信号;an ambient light sensor for generating a first interrupt pulse signal when it is detected that it is blocked; 防误触模块,用于根据接收到所述第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;A false-touch prevention module, configured to count according to the number of received first interrupt pulse signals, and generate a power-on trigger signal when the count value reaches the set number threshold within a set time; 电源管理单元,用于接收到所述开机触发信号后,为相应的部件供电,以控制所述终端设备开机;a power management unit, configured to supply power to corresponding components after receiving the power-on trigger signal, so as to control the power-on of the terminal device; 接近光传感器,所述接近光传感器用于当检测到自身被遮挡时生成第二中断脉冲信号;a proximity light sensor, the proximity light sensor is used to generate a second interrupt pulse signal when it is detected that it is blocked; 所述防误触模块还用于根据接收到所述第二中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;The false-touch prevention module is further configured to count according to the number of received second interrupt pulse signals, and when the count value reaches the set number threshold within a set time, generate a power-on trigger signal; 所述接近光传感器包括光发射器和光接收器,The proximity light sensor includes a light transmitter and a light receiver, 处于极黑环境时,所述光发射器发射第一预设距离的红外光,如果物体与所述接近光传感器的距离小于第一预设距离,会将红外光反射到所述光接收器上,当所述光接收器接收到反射的光,则所述接近光传感器判断自身被遮挡,并生成所述第二中断脉冲信号,并发送至所述防误触模块,所述防误触模块对所述第二中断脉冲信号的数量进行计数;如果在设定时间内计数值达到设定数量阈值时,生成所述开机触发信号;In a very dark environment, the light transmitter emits infrared light at a first preset distance, and if the distance between the object and the proximity light sensor is less than the first preset distance, the infrared light will be reflected to the light receiver. , when the light receiver receives the reflected light, the proximity light sensor determines that it is blocked, and generates the second interrupt pulse signal, and sends it to the anti-mistouch module, the anti-mistouch module Counting the number of the second interrupt pulse signal; if the count value reaches the set number threshold within the set time, generate the power-on trigger signal; 所述环境光传感器和所述接近光传感器进行双重检测,任意一个传感器生成的相应的中断脉冲信号在预设时间内达到设定数量阈值就生成所述开机触发信号。The ambient light sensor and the proximity light sensor perform double detection, and the power-on trigger signal is generated when the corresponding interrupt pulse signal generated by any one sensor reaches a set number threshold within a preset time. 2.根据权利要求1所述的控制系统,其特征在于,所述相应的部件包括中央处理器、射频集成电路和外设端口,所述中央处理器还用于:2. The control system according to claim 1, wherein the corresponding components comprise a central processing unit, a radio frequency integrated circuit and a peripheral port, and the central processing unit is further used for: 在所述终端设备开机后,输出关闭使能信号至所述防误触模块,以关闭所述防误触模块,并将所述防误触模块中所述计数值清零。After the terminal device is powered on, a shutdown enable signal is output to the false-touch prevention module to turn off the false-touch prevention module, and the count value in the false-touch prevention module is cleared to zero. 3.根据权利要求2所述的控制系统,其特征在于,所述中央处理器还用于:3. The control system according to claim 2, wherein the central processing unit is further used for: 在所述终端设备开机后,与所述环境光传感器进行通信,根据所述环境光传感器采集的光强数据调节屏幕亮度。After the terminal device is powered on, it communicates with the ambient light sensor, and adjusts the screen brightness according to the light intensity data collected by the ambient light sensor. 4.根据权利要求3所述的控制系统,其特征在于,所述电源管理单元还用于:4. The control system according to claim 3, wherein the power management unit is further configured to: 接收到关机触发信号后,控制电池停止为所述相应的部件供电,以控制所述终端设备关机。After receiving the shutdown trigger signal, the battery is controlled to stop supplying power to the corresponding components, so as to control the shutdown of the terminal device. 5.根据权利要求4所述的控制系统,其特征在于,所述中央处理器还用于:5. The control system according to claim 4, wherein the central processing unit is further used for: 在所述终端设备关机后,断开与所述环境光传感器之间的通信。After the terminal device is powered off, the communication with the ambient light sensor is disconnected. 6.根据权利要求5所述的控制系统,其特征在于,所述中央处理器还用于:6. The control system according to claim 5, wherein the central processing unit is further used for: 在所述终端设备关机后,输出开启使能信号至所述防误触模块,以开启所述防误触模块。After the terminal device is turned off, an enable signal is output to the anti-mistouch module to turn on the anti-mistouch module. 7.根据权利要求1所述的控制系统,其特征在于,所述防误触模块还用于:7. The control system according to claim 1, wherein the anti-mistouch module is further used for: 当所述设定时间内所述计数值未达到所述设定数量阈值时,将所述防误触模块中所述计数值清零。When the count value does not reach the set quantity threshold within the set time, the count value in the false-touch prevention module is cleared to zero. 8.一种终端设备的控制方法,其特征在于,包括:8. A control method for a terminal device, comprising: 环境光传感器当检测到自身被遮挡时生成第一中断脉冲信号;The ambient light sensor generates a first interrupt pulse signal when it detects that it is blocked; 防误触模块根据接收到所述第一中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;The false-touch prevention module counts according to the number of the first interrupt pulse signals received, and when the count value reaches the set number threshold within the set time, generates a power-on trigger signal; 电源管理单元接收到所述开机触发信号后,为相应的部件供电,以控制所述终端设备开机;After receiving the power-on trigger signal, the power management unit supplies power to the corresponding components to control the power-on of the terminal device; 接近光传感器,所述接近光传感器用于当检测到自身被遮挡时生成第二中断脉冲信号;a proximity light sensor, the proximity light sensor is used to generate a second interrupt pulse signal when it is detected that it is blocked; 所述防误触模块还用于根据接收到所述第二中断脉冲信号的数量进行计数,当设定时间内计数值达到设定数量阈值时,生成开机触发信号;The false-touch prevention module is further configured to count according to the number of received second interrupt pulse signals, and when the count value reaches the set number threshold within a set time, generate a power-on trigger signal; 所述接近光传感器包括光发射器和光接收器,The proximity light sensor includes a light transmitter and a light receiver, 处于极黑环境时,所述光发射器发射第一预设距离的红外光,如果物体与所述接近光传感器的距离小于第一预设距离,会将红外光反射到所述光接收器上,当所述光接收器接收到反射的光,则所述接近光传感器判断自身被遮挡,并生成所述第二中断脉冲信号,并发送至所述防误触模块,所述防误触模块对所述第二中断脉冲信号的数量进行计数;如果在设定时间内计数值达到设定数量阈值时,生成所述开机触发信号;In a very dark environment, the light transmitter emits infrared light at a first preset distance, and if the distance between the object and the proximity light sensor is less than the first preset distance, the infrared light will be reflected to the light receiver. , when the light receiver receives the reflected light, the proximity light sensor determines that it is blocked, and generates the second interrupt pulse signal, and sends it to the anti-mistouch module, the anti-mistouch module Counting the number of the second interrupt pulse signal; if the count value reaches the set number threshold within the set time, generate the power-on trigger signal; 所述环境光传感器和所述接近光传感器进行双重检测,任意一个传感器生成的相应的中断脉冲信号在预设时间内达到设定数量阈值就生成所述开机触发信号。The ambient light sensor and the proximity light sensor perform double detection, and the power-on trigger signal is generated when the corresponding interrupt pulse signal generated by any one sensor reaches a set number threshold within a preset time. 9.一种终端设备,其特征在于,包括:如权利要求1-7任一项所述的终端设备的控制系统。9. A terminal device, comprising: the control system of the terminal device according to any one of claims 1-7.
CN201911367963.4A 2019-12-26 2019-12-26 Terminal device and control system and control method thereof Active CN111158449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911367963.4A CN111158449B (en) 2019-12-26 2019-12-26 Terminal device and control system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911367963.4A CN111158449B (en) 2019-12-26 2019-12-26 Terminal device and control system and control method thereof

Publications (2)

Publication Number Publication Date
CN111158449A CN111158449A (en) 2020-05-15
CN111158449B true CN111158449B (en) 2022-05-20

Family

ID=70556866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911367963.4A Active CN111158449B (en) 2019-12-26 2019-12-26 Terminal device and control system and control method thereof

Country Status (1)

Country Link
CN (1) CN111158449B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980518A (en) * 2022-04-21 2023-10-31 北京小米移动软件有限公司 Startup control method, circuit and device of terminal equipment
CN114995891A (en) * 2022-05-31 2022-09-02 维沃移动通信有限公司 Non-contact starting method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111727A (en) * 2014-06-24 2014-10-22 联想(北京)有限公司 Information processing method and electronic equipment
CN104284115A (en) * 2013-07-01 2015-01-14 冠捷投资有限公司 Quick boot method of LCD TV
CN105334966A (en) * 2015-11-27 2016-02-17 广东欧珀移动通信有限公司 Method, device and terminal equipment for preventing misoperation
CN105573502A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Shutdown method and system of mobile terminal
CN106603852A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Standby control method and system of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284115A (en) * 2013-07-01 2015-01-14 冠捷投资有限公司 Quick boot method of LCD TV
CN104111727A (en) * 2014-06-24 2014-10-22 联想(北京)有限公司 Information processing method and electronic equipment
CN105334966A (en) * 2015-11-27 2016-02-17 广东欧珀移动通信有限公司 Method, device and terminal equipment for preventing misoperation
CN105573502A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Shutdown method and system of mobile terminal
CN106603852A (en) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 Standby control method and system of mobile terminal

Also Published As

Publication number Publication date
CN111158449A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US11336105B2 (en) Multi-battery charging and discharging device and mobile terminal
US20180205253A1 (en) Charging control method and electronic device for supporting the same
CN110191215B (en) Terminal and processing method
US11309592B2 (en) Load power supply circuit and terminal
CN111158449B (en) Terminal device and control system and control method thereof
KR101120148B1 (en) Automatic activation and deactivation of wireless network adapter
KR20090119706A (en) Key press detection circuit
US20130268797A1 (en) Power-off protection circuit and electronic device with power-off protection circuit
WO2021068870A1 (en) Key structure, key control method, and electronic device
CN110989822A (en) Sensor control method, sensor control device, storage medium and electronic equipment
WO2016115682A1 (en) Terminal control method and terminal
KR100793306B1 (en) Reset Circuit and Method in Portable Terminal
US20130091369A1 (en) Power-saving input device and power-saving method for such input device
US9740358B2 (en) Electronic apparatus and operating method of electronic apparatus
US20150113301A1 (en) Charging method and mobile electronic device
US20090300395A1 (en) Power saving system and method
CN110764398B (en) Intelligent watch and mode switching method thereof
US20080307142A1 (en) Communication card with three operational states
TWI749728B (en) Portable electronic device
KR101014815B1 (en) Multi interface device for interfacing a plurality of door camera terminals to a video phone terminal
CN101859171B (en) hardware reset
CN210488494U (en) EC reset circuit and electronic equipment based on USB C type interface
CN103731552A (en) Shooting switching method and device of mobile terminal and electronic equipment
CN110688260B (en) EC reset circuit and electronic equipment based on earphone interface
CN217282892U (en) Power-off duration detection circuit and electronic equipment

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
GR01 Patent grant
GR01 Patent grant