CN108614651B - A mobile terminal and infrared detection method - Google Patents

A mobile terminal and infrared detection method Download PDF

Info

Publication number
CN108614651B
CN108614651B CN201810353399.XA CN201810353399A CN108614651B CN 108614651 B CN108614651 B CN 108614651B CN 201810353399 A CN201810353399 A CN 201810353399A CN 108614651 B CN108614651 B CN 108614651B
Authority
CN
China
Prior art keywords
infrared
display screen
mobile terminal
pulse signal
receiving tube
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
CN201810353399.XA
Other languages
Chinese (zh)
Other versions
CN108614651A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810353399.XA priority Critical patent/CN108614651B/en
Publication of CN108614651A publication Critical patent/CN108614651A/en
Priority to PCT/CN2019/082048 priority patent/WO2019201130A1/en
Application granted granted Critical
Publication of CN108614651B publication Critical patent/CN108614651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • G01S17/10Systems determining position data of a target for measuring distance only using transmission of interrupted, pulse-modulated waves

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Optical Communication System (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The invention provides a mobile terminal and an infrared detection method, wherein the mobile terminal comprises a display screen, an infrared transmitting tube and an infrared receiving tube, the infrared transmitting tube is arranged at one end of the display screen, the infrared receiving tube is arranged at the other end of the display screen, first infrared light emitted by the infrared transmitting tube is transmitted to the outside of the mobile terminal through the display screen, the infrared receiving tube receives second infrared light through the display screen, and the second infrared light is infrared light obtained by reflecting the first infrared light by an object outside the mobile terminal. The mobile terminal in the embodiment of the invention can realize the infrared detection function without independently arranging an infrared emission hole on the display screen of the mobile terminal, and also improves the utilization rate of the display screen.

Description

一种移动终端和红外检测方法A mobile terminal and infrared detection method

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种移动终端和红外检测方法。The present invention relates to the field of communication technologies, in particular to a mobile terminal and an infrared detection method.

背景技术Background technique

随着移动终端的迅速发展,移动终端已经成为人们生活中必不可少的一种工具,并且为用户生活的各个方面带来了极大的便捷。例如:移动终端的显示屏上一般都设置了红外传感器,当检测到移动终端靠近人体时,移动终端的显示屏熄灭,从而可以防止移动终端被误触发。但是现有技术中,通常在移动终端的显示屏上单独设置一个红外发射孔,用以实现红外检测功能,但是设置红外发射孔将会使得显示屏的利用率较低,同时增加了显示屏的制造难度,因此亟需提供一种无须在显示屏上单独设置红外发射孔实现红外检测的方案。With the rapid development of mobile terminals, mobile terminals have become an indispensable tool in people's lives, and have brought great convenience to all aspects of users' lives. For example, an infrared sensor is generally set on the display screen of the mobile terminal. When it is detected that the mobile terminal is close to the human body, the display screen of the mobile terminal is turned off, thereby preventing the mobile terminal from being triggered by mistake. However, in the prior art, an infrared emitting hole is usually set on the display screen of the mobile terminal to realize the infrared detection function. However, the setting of the infrared emitting hole will make the utilization rate of the display screen low, and at the same time increase the utilization rate of the display screen. It is difficult to manufacture, so there is an urgent need to provide a solution for realizing infrared detection without separately arranging infrared emission holes on the display screen.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种移动终端和红外检测方法,以解决现有技术中需要在显示屏上单独设置红外发射孔才能实现红外检测的问题。Embodiments of the present invention provide a mobile terminal and an infrared detection method, so as to solve the problem in the prior art that infrared emission holes need to be separately arranged on the display screen to realize infrared detection.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供一种移动终端,所述移动终端包括显示屏、红外发射管和红外接收管,所述红外发射管设于所述显示屏的一端,所述红外接收管设于所述显示屏的另一端,所述红外发射管发出的第一红外光经过所述显示屏传输至所述移动终端之外,所述红外接收管通过所述显示屏接收第二红外光,所述第二红外光为所述第一红外光经过所述移动终端之外的物体反射后的红外光。In a first aspect, an embodiment of the present invention provides a mobile terminal. The mobile terminal includes a display screen, an infrared emitting tube, and an infrared receiving tube. The infrared emitting tube is arranged at one end of the display screen, and the infrared receiving tube is arranged At the other end of the display screen, the first infrared light emitted by the infrared emission tube is transmitted to the outside of the mobile terminal through the display screen, and the infrared receiving tube receives the second infrared light through the display screen, The second infrared light is infrared light reflected by the first infrared light through an object other than the mobile terminal.

第二方面,本发明实施例还提供一种红外检测方法,应用于移动终端,所述移动终端包括显示屏、红外发射管和红外接收管,所述红外发射管设于所述显示屏的一端,所述红外接收管设于所述显示屏的另一端;In a second aspect, an embodiment of the present invention further provides an infrared detection method, which is applied to a mobile terminal. The mobile terminal includes a display screen, an infrared emission tube, and an infrared receiving tube, and the infrared emission tube is provided at one end of the display screen. , the infrared receiving tube is arranged at the other end of the display screen;

所述方法包括:The method includes:

检测所述红外发射管发射的红外发射信号;detecting the infrared emission signal emitted by the infrared emission tube;

检测所述红外接收管通过所述显示屏接收的红外接收信号;Detecting the infrared receiving signal received by the infrared receiving tube through the display screen;

根据所述红外发射信号和所述红外接收信号确定外物处于靠近或远离状态。According to the infrared emission signal and the infrared reception signal, it is determined that the foreign object is in a state of approaching or moving away.

第三方面,本发明实施例还提供另一种红外检测方法,应用于移动终端,所述移动终端包括显示屏、红外发射管和红外接收管,所述红外发射管设于所述显示屏的一端,所述红外接收管设于所述显示屏的另一端;所述移动终端还包括底噪滤除电路、脉冲信号处理电路和控制器,所述底噪滤除电路与所述红外接收管连接,所述脉冲信号处理电路与所述红外接收管连接;In a third aspect, the embodiments of the present invention further provide another infrared detection method, which is applied to a mobile terminal. The mobile terminal includes a display screen, an infrared emission tube, and an infrared receiving tube. One end, the infrared receiving tube is arranged at the other end of the display screen; the mobile terminal further includes a noise floor filtering circuit, a pulse signal processing circuit and a controller, the noise floor filtering circuit and the infrared receiving tube connection, the pulse signal processing circuit is connected with the infrared receiving tube;

所述方法包括:The method includes:

通过所述控制器控制至少一部分所述显示屏在第一显示状态和第二显示状态间切换,以使所述第一红外光形成脉冲红外光;其中,所述显示屏处于第一显示状态时,所述第一红外光可经过所述显示屏传输至所述移动终端之外,所述显示屏处于第二显示状态时,红外光不可经过所述显示屏传输至所述移动终端之外;At least a part of the display screen is controlled by the controller to switch between the first display state and the second display state, so that the first infrared light forms pulsed infrared light; wherein, when the display screen is in the first display state , the first infrared light can be transmitted to the outside of the mobile terminal through the display screen, and when the display screen is in the second display state, the infrared light cannot be transmitted to the outside of the mobile terminal through the display screen;

控制所述底噪滤除电路滤除所述红外接收管输出的直流信号;controlling the noise floor filtering circuit to filter out the DC signal output by the infrared receiving tube;

控制所述脉冲信号处理电路处理所述红外接收管通过所述显示屏接收第二红外光后输出的脉冲信号;controlling the pulse signal processing circuit to process the pulse signal output by the infrared receiving tube after receiving the second infrared light through the display screen;

根据所述脉冲信号确定外物处于靠近或远离状态。According to the pulse signal, it is determined that the foreign object is in a state of approaching or moving away.

在本发明实施例提供的移动终端包括显示屏、红外发射管和红外接收管,红外发射管设于显示屏的一端,红外接收管设于显示屏的另一端,红外发射管发出的第一红外光经过显示屏传输至移动终端之外,红外接收管通过显示屏接收第二红外光,第二红外光为第一红外光经过移动终端之外的物体反射后的红外光。通过上述设置,将红外发射管设于显示屏的一端,红外接收管设于显示屏的另一端,可以通过发射的第一红外光和接收到的第二红外光来实现红外检测功能,这样,可以使得无须在移动终端的显示屏上单独设置红外发射孔,即可实现红外检测功能,且还提高了显示屏的利用率。The mobile terminal provided in the embodiment of the present invention includes a display screen, an infrared emitting tube and an infrared receiving tube. The infrared emitting tube is arranged at one end of the display screen, and the infrared receiving tube is arranged at the other end of the display screen. The light is transmitted to the outside of the mobile terminal through the display screen, and the infrared receiving tube receives the second infrared light through the display screen, and the second infrared light is the infrared light after the first infrared light is reflected by objects outside the mobile terminal. Through the above arrangement, the infrared emitting tube is set at one end of the display screen, and the infrared receiving tube is set at the other end of the display screen, and the infrared detection function can be realized by the first infrared light emitted and the second infrared light received. In this way, The infrared detection function can be realized without separately setting the infrared emission hole on the display screen of the mobile terminal, and the utilization rate of the display screen is also improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1是本发明实施例提供的一种移动终端中的显示屏和红外传感器的位置关系图;1 is a positional relationship diagram of a display screen and an infrared sensor in a mobile terminal provided by an embodiment of the present invention;

图2是本发明实施例提供的一种移动终端中的底噪滤除电路的结构图;2 is a structural diagram of a noise floor filtering circuit in a mobile terminal provided by an embodiment of the present invention;

图3是本发明实施例提供的一种红外检测方法的流程图;3 is a flowchart of an infrared detection method provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种红外检测方法的流程图;4 is a flowchart of another infrared detection method provided by an embodiment of the present invention;

图5是本发明实施例提供的一种移动终端的应用场景图;5 is an application scenario diagram of a mobile terminal provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种移动终端中的显示屏的结构图;6 is a structural diagram of a display screen in another mobile terminal provided by an embodiment of the present invention;

图7是本发明实施例提供的另一种移动终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of another mobile terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例提供一种移动终端,如图1-2所示,所述移动终端包括显示屏1、红外发射管2和红外接收管3,所述红外发射管2设于所述显示屏1的一端,所述红外接收管3设于所述显示屏1的另一端,所述红外发射管2发出的第一红外光经过所述显示屏1传输至所述移动终端之外,所述红外接收管3通过所述显示屏1接收第二红外光,所述第二红外光为所述第一红外光经过所述移动终端之外的物体反射后的红外光。An embodiment of the present invention provides a mobile terminal. As shown in FIGS. 1-2 , the mobile terminal includes a display screen 1 , an infrared emission tube 2 and an infrared receiving tube 3 , and the infrared emission tube 2 is arranged on the display screen 1 . The infrared receiving tube 3 is arranged at the other end of the display screen 1, and the first infrared light emitted by the infrared emission tube 2 is transmitted to the outside of the mobile terminal through the display screen 1, and the infrared light is transmitted to the outside of the mobile terminal. The receiving tube 3 receives the second infrared light through the display screen 1 , and the second infrared light is the infrared light after the first infrared light is reflected by objects other than the mobile terminal.

其中,显示屏1、红外发射管2和红外接收管3可以为一整个红外检测模组的各个部件,当然,也可以为各个独立的部件。Wherein, the display screen 1 , the infrared emission tube 2 and the infrared receiving tube 3 may be various components of an entire infrared detection module, and of course, may also be independent components.

其中,红外接收管3接收到的红外光包括两部分,一部分是红外发射管2发出的,经过显示屏1直达到红外接收管3的发射光,另一部分是经过显示屏1发射到外界,经过外界反射回显示屏1,被红外接收管3接收的反射光。具体地,红外发射管2发射出的红外光可以包括经过显示屏1发射到外界的第一红外光,以及经过显示屏1直接传导至红外接收管3的直流红外光。发射到外界的第一红外光包括经过外界反射回到显示屏1然后被红外接收管3接收到的第二红外光。移动终端可以根据上述第二红外光的多少来检测移动终端距离障碍物的距离的远近,从而实现红外检测的功能。需要说明的是,上述由红外发射管2发射的,经显示屏1直接传导至红外接收管3中的直流红外光会使得移动终端红外检测的结果有一定误差,但是误差较小。另外,移动终端还可以通过比较发出的第一红外光和接收到的第二红外光的数量差值来实现红外检测功能,例如:若第一红外光和第二红外光的数量差值大于预设值,则说明外物距离移动终端较远;若第一红外光和第二红外光的数量差值小于或等于预设值,则说明外物距离移动终端较近。需要说明的是,预设值的具体取值在此不做限定,例如:预设值可以是3个单位或者5个单位等。Among them, the infrared light received by the infrared receiving tube 3 includes two parts, one part is emitted by the infrared transmitting tube 2 and reaches the emission light of the infrared receiving tube 3 through the display screen 1, and the other part is emitted to the outside world through the display screen 1, The outside is reflected back to the display screen 1, and the reflected light received by the infrared receiving tube 3. Specifically, the infrared light emitted by the infrared emitting tube 2 may include the first infrared light emitted to the outside through the display screen 1 , and the DC infrared light directly conducted to the infrared receiving tube 3 through the display screen 1 . The first infrared light emitted to the outside includes the second infrared light that is reflected back to the display screen 1 through the outside and then received by the infrared receiving tube 3 . The mobile terminal can detect the distance between the mobile terminal and the obstacle according to the amount of the second infrared light, so as to realize the function of infrared detection. It should be noted that the above-mentioned direct-current infrared light emitted by the infrared transmitting tube 2 and directly conducted to the infrared receiving tube 3 through the display screen 1 will cause a certain error in the infrared detection result of the mobile terminal, but the error is small. In addition, the mobile terminal can also implement the infrared detection function by comparing the difference in the quantity of the first infrared light emitted and the second infrared light received. For example, if the difference in quantity between the first infrared light and the second infrared light is greater than a predetermined If the value is set, it means that the foreign object is far away from the mobile terminal; if the difference in quantity between the first infrared light and the second infrared light is less than or equal to the preset value, it means that the foreign object is relatively close to the mobile terminal. It should be noted that the specific value of the preset value is not limited here, for example, the preset value may be 3 units or 5 units.

具体的,如图1所示,为本发明实施例提供的一种移动终端中的显示屏1和红外发射管2和红外接收管3的位置关系图。其中,红外发射管2可以采用红外发光二极管(LightEmitting Diode,LED)。红外发射管2和红外接收管3可以分别设置于显示屏1的相对的两端,当然,红外发射管2和红外接收管3也可以设置于显示屏1相邻的两边上。例如:若显示屏1为矩形显示屏,红外发射管2和红外接收管3可以分别设置于矩形显示屏相对的两边,也可以分别设置于矩形显示屏相邻的两边。Specifically, as shown in FIG. 1 , it is a positional relationship diagram of a display screen 1 , an infrared emitting tube 2 , and an infrared receiving tube 3 in a mobile terminal provided by an embodiment of the present invention. The infrared emitting tube 2 can be an infrared light emitting diode (Light Emitting Diode, LED). The infrared emitting tube 2 and the infrared receiving tube 3 can be arranged on opposite ends of the display screen 1 respectively. Of course, the infrared emitting tube 2 and the infrared receiving tube 3 can also be arranged on the adjacent two sides of the display screen 1 . For example: if the display screen 1 is a rectangular display screen, the infrared emitting tube 2 and the infrared receiving tube 3 can be respectively arranged on the opposite sides of the rectangular display screen, or can be respectively arranged on the adjacent two sides of the rectangular display screen.

本发明实施例提供的移动终端包括显示屏、红外发射管和红外接收管,红外发射管设于显示屏的一端,红外接收管设于显示屏的另一端,红外发射管发出的第一红外光经过显示屏传输至移动终端之外,红外接收管通过显示屏接收第二红外光,第二红外光为第一红外光经过移动终端之外的物体反射后的红外光。通过上述设置,将红外发射管设于显示屏的一端,红外接收管设于显示屏的另一端,可以通过发射的第一红外光和接收到的第二红外光来实现红外检测功能,这样,可以使得无须在移动终端的显示屏上单独设置红外发射孔,即可实现红外检测功能,且还提高了显示屏的利用率。The mobile terminal provided by the embodiment of the present invention includes a display screen, an infrared emitting tube, and an infrared receiving tube. The infrared emitting tube is arranged at one end of the display screen, and the infrared receiving tube is arranged at the other end of the display screen. It is transmitted to the outside of the mobile terminal through the display screen, and the infrared receiving tube receives the second infrared light through the display screen, and the second infrared light is the infrared light after the first infrared light is reflected by objects outside the mobile terminal. Through the above arrangement, the infrared emitting tube is set at one end of the display screen, and the infrared receiving tube is set at the other end of the display screen, and the infrared detection function can be realized by the first infrared light emitted and the second infrared light received. In this way, The infrared detection function can be realized without separately setting the infrared emission hole on the display screen of the mobile terminal, and the utilization rate of the display screen is also improved.

可选的,所述移动终端还包括控制器,所述控制器用于控制所述显示屏1处于第一显示状态,所述显示屏1处于第一显示状态时,所述第一红外光经过所述显示屏1传输至所述移动终端之外。Optionally, the mobile terminal further includes a controller, and the controller is used to control the display screen 1 to be in a first display state, and when the display screen 1 is in the first display state, the first infrared light passes through all the The display screen 1 is transmitted to the outside of the mobile terminal.

其中,当显示屏1处于第一显示状态时,即显示屏1上显示白色帧画面或者银色帧画面等,可以更加方便第一红外光经过显示屏1传输至移动终端之外。Wherein, when the display screen 1 is in the first display state, that is, a white frame picture or a silver frame picture is displayed on the display screen 1 , it is more convenient for the first infrared light to be transmitted to the outside of the mobile terminal through the display screen 1 .

本发明实施例中,控制器用于控制显示屏处于第一显示状态,可以更加方便第一红外光经过显示屏传输至移动终端之外,这样,提高了第一红外光的传输效率。In the embodiment of the present invention, the controller is used to control the display screen to be in the first display state, which can facilitate the transmission of the first infrared light to the outside of the mobile terminal through the display screen, thus improving the transmission efficiency of the first infrared light.

可选的,所述移动终端还包括底噪滤除电路和脉冲信号处理电路,所述底噪滤除电路与所述红外接收管3连接,用于滤除所述红外接收管3输出的直流信号;Optionally, the mobile terminal further includes a noise floor filtering circuit and a pulse signal processing circuit. The noise floor filtering circuit is connected to the infrared receiving tube 3 and is used to filter the DC output from the infrared receiving tube 3. Signal;

所述控制器用于控制至少一部分所述显示屏1在所述第一显示状态和第二显示状态间切换,以使所述第一红外光形成脉冲红外光;其中,所述显示屏1处于所述第二显示状态时,所述红外发射管2发射的红外光不可透过所述显示屏1发射至所述移动终端外部;即显示屏1对红外光屏蔽。The controller is used to control at least a part of the display screen 1 to switch between the first display state and the second display state, so that the first infrared light forms pulsed infrared light; wherein, the display screen 1 is in any state. In the second display state, the infrared light emitted by the infrared emitting tube 2 cannot be transmitted to the outside of the mobile terminal through the display screen 1; that is, the display screen 1 shields the infrared light.

所述脉冲信号处理电路与所述红外接收管3连接,用于处理所述红外接收管3通过所述显示屏1接收第二红外光后输出的脉冲信号。The pulse signal processing circuit is connected to the infrared receiving tube 3 for processing the pulse signal output by the infrared receiving tube 3 after receiving the second infrared light through the display screen 1 .

其中,显示屏1处于第一显示状态时,可以是显示屏1显示第一帧画面,此时红外光可透过显示屏1发射至移动终端外部,而第一帧画面可以为白色帧画面或者米白色帧画面等,显示屏1处于第二显示状态时,可以是显示屏1显示第二帧画面,此时红外光不可透过显示屏1发射至移动终端外部,而第二帧画面可以为黑色帧画面或者深灰色帧画面等。另外,显示屏1可以交替显示第一帧画面和第二帧画面,也可以结合显示第一帧画面和第二帧画面,例如:以下述的方式进行循环显示:先显示两帧第一帧画面,再显示一帧第二帧画面;或者先显示两帧第二帧画面,再显示一帧第一帧画面。需要说明的是,当显示屏1分别处于第一显示状态和第二显示状态时,显示屏1显示的画面类型在此不做限定,显示屏1显示画面的方式也不做限定。Wherein, when the display screen 1 is in the first display state, the display screen 1 may display the first frame, and the infrared light can be emitted to the outside of the mobile terminal through the display screen 1, and the first frame may be a white frame or Off-white frame images, etc., when the display screen 1 is in the second display state, the display screen 1 can display the second frame image. At this time, the infrared light cannot be transmitted to the outside of the mobile terminal through the display screen 1, and the second frame image can be Black frame picture or dark gray frame picture, etc. In addition, the display screen 1 can alternately display the first frame picture and the second frame picture, or can display the first frame picture and the second frame picture in combination. , and then display one frame of the second frame; or first display two frames of the second frame, and then display one frame of the first frame. It should be noted that, when the display screen 1 is in the first display state and the second display state respectively, the type of pictures displayed on the display screen 1 is not limited here, nor is the manner in which the display screen 1 displays pictures.

其中,红外接收管3此时接收到的红外光包括:从红外发射管2发出的,经移动终端的显示屏1直接传导至红外接收管3的直流红外光;经过外界发射回到显示屏1然后被红外接收管3接收到的第二红外光,而此时第二红外光也为脉冲红外光。则红外接收管3输出的信号包括直流信号和脉冲信号,其中,直流信号根据直流红外光转化得到,脉冲信号根据第二红外光转化得到。Among them, the infrared light received by the infrared receiving tube 3 at this time includes: the direct current infrared light emitted from the infrared transmitting tube 2 and directly conducted to the infrared receiving tube 3 through the display screen 1 of the mobile terminal; The second infrared light is then received by the infrared receiving tube 3, and at this time, the second infrared light is also pulsed infrared light. The signal output by the infrared receiving tube 3 includes a DC signal and a pulse signal, wherein the DC signal is obtained by converting the DC infrared light, and the pulse signal is obtained by converting the second infrared light.

需要说明的是,显示屏1、底噪滤除电路、脉冲信号处理电路和控制器可以组成一个红外检测模组,当然,该红外检测模组还可以包括红外发射管2和红外接收管3。另外,显示屏1、底噪滤除电路、脉冲信号处理电路、控制器、红外发射管2和红外接收管3在移动终端中也可以是独立的器件。It should be noted that the display screen 1 , the noise floor filtering circuit, the pulse signal processing circuit and the controller can form an infrared detection module. Of course, the infrared detection module can also include an infrared transmitting tube 2 and an infrared receiving tube 3 . In addition, the display screen 1 , the noise floor filtering circuit, the pulse signal processing circuit, the controller, the infrared transmitting tube 2 and the infrared receiving tube 3 may also be independent devices in the mobile terminal.

其中,本实施例的工作原理可以如下:控制器可以用于控制一部分显示屏1在第一显示状态和第二显示状态间切换,例如控制器可以用于控制一部分显示屏1交替显示第一帧画面和第二帧画面,而第一帧画面可以是黑色帧画面,第二帧画面可以是白色帧画面,当第一帧画面是黑色帧画面,且第二帧画面是白色帧画面,控制器控制移动终端的部分显示屏1交替显示白色帧画面和黑色帧画面,而此时红外发射管2发射的红外光可以在显示屏1显示白色帧画面时透射出显示屏1,在显示屏1显示黑色帧画面时不能透射出显示屏1,则透射出显示屏1的第一红外光为脉冲红外光。而上述透射出显示屏1的脉冲红外光遇到障碍物则会返回到显示屏1然后被红外接收管3接收的一部分为第二红外光,则第二红外光也为脉冲红外光,并且第二红外光在红外接收管3中可以转化为脉冲信号,而底噪滤除电路可以直接滤除红外接收管3输出的直流信号,从而减小直流信号对处理脉冲信号时的干扰,脉冲信号处理电路处理脉冲信号,例如:当第一时刻的脉冲信号过小,此时脉冲信号处理电路对包括第一时刻的一段时间内的脉冲信号进行积分或者放大等操作,从而更加方便对脉冲信号大小的判断,以及更加方便脉冲信号在移动终端内部的传输,通过检测此时经过脉冲信号处理电路处理后的脉冲信号的大小,即可检测移动终端距离障碍物的距离,从而完成红外检测功能。The working principle of this embodiment may be as follows: the controller may be used to control a part of the display screen 1 to switch between the first display state and the second display state, for example, the controller may be used to control a part of the display screen 1 to alternately display the first frame picture and the second frame picture, and the first frame picture can be a black frame picture, the second frame picture can be a white frame picture, when the first frame picture is a black frame picture, and the second frame picture is a white frame picture, the controller Control part of the display screen 1 of the mobile terminal to alternately display the white frame picture and the black frame picture, and at this time, the infrared light emitted by the infrared emission tube 2 can transmit the display screen 1 when the display screen 1 displays the white frame picture, and display on the display screen 1. When the black frame picture cannot be transmitted through the display screen 1, the first infrared light transmitted through the display screen 1 is pulsed infrared light. The above-mentioned pulsed infrared light transmitted out of the display screen 1 will return to the display screen 1 and then received by the infrared receiving tube 3 when an obstacle is encountered. The part of the second infrared light is the second infrared light. The second infrared light can be converted into a pulse signal in the infrared receiving tube 3, and the noise floor filtering circuit can directly filter the DC signal output by the infrared receiving tube 3, thereby reducing the interference of the DC signal when processing the pulse signal, and the pulse signal processing The circuit processes the pulse signal. For example, when the pulse signal at the first moment is too small, the pulse signal processing circuit integrates or amplifies the pulse signal in a period of time including the first moment, so that it is more convenient to measure the size of the pulse signal. By detecting the size of the pulse signal processed by the pulse signal processing circuit at this time, the distance between the mobile terminal and the obstacle can be detected, thereby completing the infrared detection function.

其中,当移动终端离障碍物(通常是人体)的距离为第一数值,此时移动终端的红外接收管3接收到的第二红外光的数量为第二数值,而红外接收管3根据第二数值的第二红外光可以转化并输出得到数值为第三数值的脉冲信号。需要说明的是,第一数值可以是3厘米、4厘米或者5厘米等。另外,第三数值的具体大小在此也不做限定,但是第三数值、第二数值与第一数值可以是一一对应的。例如:当第一数值为3厘米时,第二数值可以为2个单位的第二红外光,第三数值可以为0.005微安;当第一数值为4厘米时,第二数值可以为1个单位第二红外光,第三数值可以为0.004微安。第三数值可以在移动终端使用之初直接生成的,也可以在使用的过程中,根据实际的使用情况,进行调整。需要说明的是,移动终端距离障碍物的距离越近,红外接收管3输出的脉冲信号的数值也就越大。Among them, when the distance between the mobile terminal and the obstacle (usually the human body) is the first value, the quantity of the second infrared light received by the infrared receiving tube 3 of the mobile terminal is the second value, and the infrared receiving tube 3 is based on the first value. The second infrared light with two values can be converted and output to obtain a pulse signal with a third value. It should be noted that the first value may be 3 cm, 4 cm, or 5 cm. In addition, the specific size of the third numerical value is not limited here, but the third numerical value, the second numerical value and the first numerical value may be in one-to-one correspondence. For example: when the first value is 3 cm, the second value can be 2 units of second infrared light, and the third value can be 0.005 microamp; when the first value is 4 cm, the second value can be 1 The unit of the second infrared light, the third value may be 0.004 microamps. The third value may be directly generated at the beginning of use of the mobile terminal, or may be adjusted according to the actual use situation during the use process. It should be noted that, the closer the mobile terminal is to the obstacle, the larger the value of the pulse signal output by the infrared receiving tube 3 is.

另外,需要说明的是,为了更好的区分脉冲信号和直流信号,可以通过底噪滤除电路将直流信号滤除,只获取脉冲信号,并根据该脉冲信号的数值大小,检测移动终端与人体之间的距离。In addition, it should be noted that, in order to better distinguish the pulse signal and the DC signal, the DC signal can be filtered out by the noise filter circuit, only the pulse signal can be obtained, and the mobile terminal and the human body can be detected according to the value of the pulse signal. the distance between.

其中,显示屏1可以包括第一区域,第一区域为红外光从移动终端的红外发射管2到红外接收管3的光线传输区域;控制器可以控制第一区域在第一显示状态和第二显示状态间切换,以使穿过第一区域向外发射的第一红外光形成脉冲红外光。请参见图1和图6,图6中的第一区域601的下方可以对应设置红外发射管2和红外接收管3。需要说明的是,第一区域601可以在第一显示状态和第二显示状态间切换,而显示屏上除第一区域601外的其他区域可以只处于第一显示状态或者第二显示状态,具体的,第一区域601可以结合显示第一帧画面和第二帧画面,而显示屏上除第一区域601外的其他区域可以只显示第一帧画面。在该实施方式中,控制器可以控制第一区域通过第一帧画面和第二帧画面的结合显示,以使穿过第一区域向外发射的第一红外光形成脉冲红外光,避免了全部的显示屏1用于结合显示第一帧画面和第二帧画面,从而较好的减小了全部显示屏1用于结合显示第一帧画面和第二帧画面所消耗的能量,相应的延长了显示屏1的使用寿命。Wherein, the display screen 1 may include a first area, and the first area is a light transmission area of infrared light from the infrared emission tube 2 of the mobile terminal to the infrared receiving tube 3; the controller can control the first area in the first display state and the second The display states are switched, so that the first infrared light emitted outward through the first region forms a pulsed infrared light. Referring to FIG. 1 and FIG. 6 , the infrared emitting tube 2 and the infrared receiving tube 3 may be correspondingly disposed below the first area 601 in FIG. 6 . It should be noted that the first area 601 can be switched between the first display state and the second display state, and other areas on the display screen except the first area 601 can only be in the first display state or the second display state. Specifically Yes, the first area 601 may display the first frame picture and the second frame picture in combination, and other areas on the display screen except the first area 601 may only display the first frame picture. In this embodiment, the controller can control the first area to be displayed through the combination of the first frame picture and the second frame picture, so that the first infrared light emitted through the first area forms pulse infrared light, avoiding all The display screen 1 is used to display the first frame picture and the second frame picture in combination, so as to reduce the energy consumed by all the display screens 1 for combined display of the first frame picture and the second frame picture, and the corresponding extension the service life of the display screen 1.

本发明实施例提供的移动终端还包括底噪滤除电路和脉冲信号处理电路,底噪滤除电路与红外接收管连接,脉冲信号处理电路与红外接收管连接。通过上述设置,控制器用于控制至少一部分显示屏在第一显示状态和第二显示状态间切换,以使穿过显示屏向移动终端外部发射的第一红外光形成脉冲红外光,上述脉冲红外光遇到障碍物即可返回至红外接收管中,从而实现红外检测功能,进而使得无须在移动终端的显示屏上单独设置一个红外发射孔,即可实现红外检测功能。The mobile terminal provided by the embodiment of the present invention further includes a noise floor filtering circuit and a pulse signal processing circuit, the noise floor filtering circuit is connected with the infrared receiving tube, and the pulse signal processing circuit is connected with the infrared receiving tube. Through the above arrangement, the controller is used to control at least a part of the display screen to switch between the first display state and the second display state, so that the first infrared light emitted from the display screen to the outside of the mobile terminal forms pulsed infrared light, and the pulsed infrared light When encountering an obstacle, it can return to the infrared receiving tube, so as to realize the infrared detection function, so that the infrared detection function can be realized without separately setting an infrared emission hole on the display screen of the mobile terminal.

可选的,所述显示屏1包括依次层叠设置的液晶层、导光板和反射板,还包括与所述导光板连接的发光源4,所述红外发射管2与所述导光板连接。Optionally, the display screen 1 includes a liquid crystal layer, a light guide plate and a reflective plate that are stacked in sequence, and further includes a light source 4 connected to the light guide plate, and the infrared emission tube 2 is connected to the light guide plate.

其中,发光源4可以采用白光LED灯条,当然,也可以将一个个的白光LED串联起来,从而构成发光源4。另外,发光源4、红外发射管2和红外接收管3可以均设置于所述导光板的同一侧,且发光源4可以设置于红外发射管2和红外接收管3之间,这样,无须在移动终端的显示屏1上单独设置红外发射孔,从而可以扩大显示屏1的显示区域,当然,红外发射管2和红外接收管3也可以设置于导光板不同的两侧。具体设置在此不做限定。Wherein, the light-emitting source 4 can be a white LED light bar. Of course, the white-light LEDs can also be connected in series to form the light-emitting source 4 . In addition, the light-emitting source 4, the infrared emitting tube 2 and the infrared receiving tube 3 can all be arranged on the same side of the light guide plate, and the light-emitting source 4 can be arranged between the infrared emitting tube 2 and the infrared receiving tube 3. The display screen 1 of the mobile terminal is independently provided with infrared emission holes, so that the display area of the display screen 1 can be enlarged. Of course, the infrared emission tube 2 and the infrared reception tube 3 can also be arranged on different sides of the light guide plate. The specific settings are not limited here.

其中,发光源4的宽度可以与移动终端的显示屏1上用于显示的区域的宽度相同。Wherein, the width of the light source 4 may be the same as the width of the area used for display on the display screen 1 of the mobile terminal.

本发明实施例中,显示屏包括依次层叠设置的液晶层、导光板和反射板,还包括与导光板连接的发光源,红外发射管发射的红外光可以沿着导光板进行传导,并且红外光可以经反射板反射出显示屏,这样,通过设置液晶层、导光板和反射板,可以使得对红外光的传输效果更好。In the embodiment of the present invention, the display screen includes a liquid crystal layer, a light guide plate and a reflective plate that are stacked in sequence, and also includes a light-emitting source connected to the light guide plate. The infrared light emitted by the infrared emission tube can be conducted along the light guide plate, and the infrared light The display screen can be reflected through the reflective plate, so that by arranging the liquid crystal layer, the light guide plate and the reflective plate, the transmission effect of infrared light can be better.

可选的,所述移动终端还包括特定用途集成电路(Application SpecificIntegrated Circuits,ASIC),所述ASIC一端与所述脉冲信号处理电路连接,所述ASIC的另一端与所述发光源4连接;所述ASIC用于在所述发光源4处于发光状态的情况下,检测所述红外接收管3输出的脉冲信号的数值是否大于预设数值;若检测到所述脉冲信号的数值大于所述预设数值,所述ASIC控制所述发光源4关闭。Optionally, the mobile terminal further includes Application Specific Integrated Circuits (ASIC), one end of the ASIC is connected to the pulse signal processing circuit, and the other end of the ASIC is connected to the light-emitting source 4; The ASIC is used to detect whether the value of the pulse signal output by the infrared receiving tube 3 is greater than a preset value when the light-emitting source 4 is in a light-emitting state; if it is detected that the value of the pulse signal is greater than the preset value value, the ASIC controls the light-emitting source 4 to turn off.

其中,预设数值的取值可以是0.01微安、0.05微安或者0.10微安等,具体的数值在此不做限定。而预设数值的取值可以是在移动终端在使用之初自动获取的,也可以是随着用户的调整操作进行调整。另外,脉冲信号处理电路中包括模数转换器时,ASIC可以与模数转换器连接。需要说明的是,ASIC在移动终端中可以为一个独立的器件。The value of the preset value may be 0.01 μA, 0.05 μA, or 0.10 μA, etc., and the specific value is not limited herein. The value of the preset value may be obtained automatically at the beginning of use of the mobile terminal, or may be adjusted according to the user's adjustment operation. In addition, when an analog-to-digital converter is included in the pulse signal processing circuit, the ASIC may be connected to the analog-to-digital converter. It should be noted that the ASIC may be an independent device in the mobile terminal.

本发明实施例中,当ASIC检测到红外接收管输出的脉冲信号的数值大于预设数值,说明移动终端距离障碍物的距离较近,ASIC控制发光源关闭,即使移动终端处于灭屏状态,从而减小了移动终端的电量损耗,并且还可以减少用户误触发显示屏的现象的发生,进而使得移动终端更加智能。In the embodiment of the present invention, when the ASIC detects that the value of the pulse signal output by the infrared receiving tube is greater than the preset value, it indicates that the distance between the mobile terminal and the obstacle is relatively close, and the ASIC controls the light-emitting source to be turned off, even if the mobile terminal is in the off-screen state, thus The power consumption of the mobile terminal is reduced, and the occurrence of the phenomenon that the user triggers the display screen by mistake can also be reduced, thereby making the mobile terminal more intelligent.

可选的,所述底噪滤除电路包括一端与所述红外接收管3连接,另一端接地的直流吸收器6。Optionally, the noise floor filtering circuit includes a DC absorber 6 connected to the infrared receiving tube 3 at one end and grounded at the other end.

其中,直流吸收器6可以采用电流槽,上述直流吸收器6可以通过直流信号。上述直流吸收器6的一端与红外接收管3的输出端相连,直流吸收器6的另一端接地,从而可以吸收红外接收管3输出的直流信号。Wherein, the DC absorber 6 can use a current sink, and the above-mentioned DC absorber 6 can pass a DC signal. One end of the above-mentioned DC absorber 6 is connected to the output end of the infrared receiving tube 3 , and the other end of the DC absorber 6 is grounded, so that the DC signal output by the infrared receiving tube 3 can be absorbed.

本发明实施例中,底噪滤除电路中包括直流吸收器,可以吸收红外接收管输出的直流信号,在判断脉冲信号的数值是否达到预设数值时,可以减小直流信号对判断结果的影响。In the embodiment of the present invention, the noise floor filtering circuit includes a DC absorber, which can absorb the DC signal output by the infrared receiving tube, and can reduce the influence of the DC signal on the judgment result when judging whether the value of the pulse signal reaches a preset value .

可选的,所述脉冲信号处理电路包括电容5和模数转换器,所述电容5一端与所述红外接收管3连接,另一端与所述模数转换器连接。Optionally, the pulse signal processing circuit includes a capacitor 5 and an analog-to-digital converter. One end of the capacitor 5 is connected to the infrared receiving tube 3 , and the other end is connected to the analog-to-digital converter.

其中,电容5的规格可根据移动终端的实际需要来设计,并不具体限定电容5的规格。例如:电容5可以采用10微法的电容。另外,模数转换器可以将脉冲信号转化为数字信号,方便在移动终端内部的传输。The specifications of the capacitor 5 can be designed according to the actual needs of the mobile terminal, and the specifications of the capacitor 5 are not specifically limited. For example, the capacitor 5 can be a 10 microfarad capacitor. In addition, the analog-to-digital converter can convert the pulse signal into a digital signal, which is convenient for transmission inside the mobile terminal.

本发明实施例中,因为红外接收管输出的信号中包括两部分,一部分为交流信号,另一部分为直流信号。而底噪滤除电路中包括电容,因为电容的“通交流,阻直流”的功能,从而可以将红外接收管输出脉冲信号选择出来,从而在判断脉冲信号的数值是否达到预设数值时,可以减小直流信号的干扰。In the embodiment of the present invention, the signal output by the infrared receiving tube includes two parts, one part is an alternating current signal, and the other part is a direct current signal. The noise floor filtering circuit includes capacitors. Because of the capacitor's function of "passing AC and blocking DC", the output pulse signal of the infrared receiving tube can be selected, so that when judging whether the value of the pulse signal reaches the preset value, it can be Reduce DC signal interference.

可选的,所述脉冲信号处理电路还包括放大器7,所述放大器7串联于所述电容5和模数转换器之间。Optionally, the pulse signal processing circuit further includes an amplifier 7, and the amplifier 7 is connected in series between the capacitor 5 and the analog-to-digital converter.

其中,红外接收管3在某一时刻接收到的脉冲红外光较小,导致转化的脉冲信号也较小,例如:在第一时刻接收到的脉冲红外光较小,导致转化的脉冲信号也较小,所以可以通过放大器7进行放大第一时刻的脉冲信号,再通过模数转化器进行转化,进而方便传输。Among them, the pulsed infrared light received by the infrared receiving tube 3 at a certain moment is smaller, resulting in a smaller converted pulse signal. For example, the pulsed infrared light received at the first moment is smaller, resulting in a smaller converted pulse signal. Therefore, the pulse signal at the first moment can be amplified by the amplifier 7, and then converted by the analog-to-digital converter, so as to facilitate the transmission.

本发明实施例中,底噪滤除电路还包括放大器,在红外接收管输出的脉冲信号较小时,可以对其进行放大,从而使得对脉冲信号的传输更加方便。In the embodiment of the present invention, the noise floor filtering circuit further includes an amplifier, which can be amplified when the pulse signal output by the infrared receiving tube is small, thereby making the transmission of the pulse signal more convenient.

可选的,所述脉冲信号处理电路还包括积分器,所述积分器串联于所述电容5和所述模数转换器之间。Optionally, the pulse signal processing circuit further includes an integrator, and the integrator is connected in series between the capacitor 5 and the analog-to-digital converter.

其中,增大转化的电流信号,还可以通过积分器累积一段时间内的脉冲信号,再通过模数转化器进行转化,进而方便传输。需要说明的是,一段时间在此不做限定,例如可以是1毫秒或3毫秒等。Among them, to increase the converted current signal, the pulse signal for a period of time can also be accumulated by the integrator, and then converted by the analog-to-digital converter, so as to facilitate the transmission. It should be noted that the period of time is not limited here, for example, it may be 1 millisecond or 3 milliseconds.

本发明实施例中,上述移动终端可以是手机、平板电脑(TabletPersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(PersonalDigital Assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA for short), a mobile Internet Device (Mobile Internet Device, MID) or Wearable Device (Wearable Device) and so on.

本发明实施例中,底噪滤除电路还包括积分器,在红外接收管输出的脉冲信号较小时,可以将一段时间内接收到的脉冲信号进行累加,从而使得对脉冲信号的传输更加方便。In the embodiment of the present invention, the noise floor filtering circuit further includes an integrator. When the pulse signal output by the infrared receiving tube is small, the pulse signal received within a period of time can be accumulated, thereby making the transmission of the pulse signal more convenient.

可选的,所述ASIC还用于:在所述发光源4处于熄灭状态的情况下,所述ASIC若检测到所述红外接收管3输出的脉冲信号的数值小于或等于所述预设数值,所述ASIC控制所述发光源4发光。Optionally, the ASIC is also used for: when the light-emitting source 4 is in an off state, if the ASIC detects that the value of the pulse signal output by the infrared receiving tube 3 is less than or equal to the preset value , the ASIC controls the light-emitting source 4 to emit light.

本发明实施例中,在发光源处于熄灭状态的情况下,ASIC若检测到红外接收管输出的脉冲信号的数值小于或等于预设数值,则可以判断此时移动终端距离障碍物较远,从而可以控制发光源发光,使得移动终端的显示屏处于亮屏状态,这样,可以实现对发光源发光的自动调节,进而使得移动终端更加智能。In the embodiment of the present invention, when the light-emitting source is in an off state, if the ASIC detects that the value of the pulse signal output by the infrared receiving tube is less than or equal to the preset value, it can determine that the mobile terminal is far away from the obstacle at this time, thus The light-emitting source can be controlled to emit light, so that the display screen of the mobile terminal is in a bright screen state, so that the automatic adjustment of the light-emitting of the light-emitting source can be realized, thereby making the mobile terminal more intelligent.

参见图3,图3是本发明实施例提供的一种红外检测方法的流程图。上述方法应用于移动终端,所述移动终端包括显示屏、红外发射管和红外接收管,所述红外发射管设于所述显示屏的一端,所述红外接收管设于所述显示屏的另一端;如图3所示,该方法包括以下步骤:Referring to FIG. 3, FIG. 3 is a flowchart of an infrared detection method provided by an embodiment of the present invention. The above method is applied to a mobile terminal. The mobile terminal includes a display screen, an infrared emitting tube and an infrared receiving tube. The infrared emitting tube is arranged at one end of the display screen, and the infrared receiving tube is arranged at another end of the display screen. One end; as shown in Figure 3, the method includes the following steps:

步骤301、检测所述红外发射管发射的红外发射信号。Step 301: Detect the infrared emission signal emitted by the infrared emission tube.

其中,检测红外发射管发射的红外发射信号,可以检测红外发射信号的数量和/或发射时刻等数据,具体在此不做限定。The detection of the infrared emission signal emitted by the infrared emission tube may detect data such as the number of infrared emission signals and/or the emission time, which is not specifically limited herein.

其中,显示屏、红外发射管和红外接收管可以为一整个红外检测模组的各个部件,当然,也可以为各个独立的部件。Wherein, the display screen, the infrared emitting tube and the infrared receiving tube can be each part of a whole infrared detection module, of course, can also be each independent part.

步骤302、检测所述红外接收管通过所述显示屏接收的红外接收信号。Step 302: Detect the infrared receiving signal received by the infrared receiving tube through the display screen.

其中,检测红外接收信号时,可以检测红外接收信号的接收时刻和/或接收数量等。Wherein, when the infrared receiving signal is detected, the receiving time and/or the number of receiving the infrared receiving signal, etc. may be detected.

其中,红外接收管接收到的红外光包括两部分,一部分是第二红外光,另一部分是直流红外光,其中,直流红外光是由红外发射管发射的,经显示屏传导至红外接收管中的红外光;由红外发射管发射的,经显示屏发射至移动终端外部的红外光为第一红外光,而第一红外光遇到障碍物后又返回至红外接收管中的红外光为第二红外光。移动终端可以根据上述遇到障碍物后返回至红外接收管中的第二红外光的多少来检测移动终端距离障碍物的距离的远近,从而实现红外检测的功能。需要说明的是,上述由红外发射管发射的,经显示屏传导至红外接收管中的直流红外光会使得移动终端红外检测的结果有一定误差,但是误差较小。Among them, the infrared light received by the infrared receiving tube includes two parts, one is the second infrared light, and the other is the DC infrared light, wherein the DC infrared light is emitted by the infrared transmitting tube, and is transmitted to the infrared receiving tube through the display screen. The infrared light emitted by the infrared emission tube and emitted to the outside of the mobile terminal through the display screen is the first infrared light, and the infrared light returned to the infrared receiving tube after the first infrared light encounters an obstacle is the first infrared light. Two infrared light. The mobile terminal can detect the distance between the mobile terminal and the obstacle according to the amount of the second infrared light returned to the infrared receiving tube after encountering the obstacle, so as to realize the function of infrared detection. It should be noted that the above-mentioned DC infrared light emitted by the infrared transmitting tube and conducted to the infrared receiving tube through the display screen will cause certain errors in the infrared detection results of the mobile terminal, but the error is small.

步骤303、根据所述红外发射信号和所述红外接收信号确定外物处于靠近或远离状态。Step 303: Determine whether the foreign object is in an approaching or distant state according to the infrared emission signal and the infrared reception signal.

其中,在上述步骤中可以检测红外发射信号的发射时刻和红外接收信号的接收时刻,并计算发射时刻和接收时刻之间的时间间隔,通过时间间隔的大小来确定外物处于靠近移动终端或远离移动终端状态,从而实现红外测距功能。例如:若时间间隔小于1毫秒,则判断外物距离移动终端较近,若时间间隔大于1毫秒,则判断外物距离移动终端较远。当然,还可以根据红外发射信号和红外接收信号的数量来实现红外测距功能,例如:红外发射信号和红外接收信号的数量差值较大,则说明外物距离移动终端较远;红外发射信号和红外接收信号的数量差值较小,则说明外物距离移动终端较近。Wherein, in the above steps, the transmitting moment of the infrared transmitting signal and the receiving moment of the infrared receiving signal can be detected, and the time interval between the transmitting moment and the receiving moment can be calculated, and the size of the time interval is used to determine whether the foreign object is close to the mobile terminal or far away mobile terminal status, so as to realize the infrared ranging function. For example, if the time interval is less than 1 millisecond, it is judged that the foreign object is closer to the mobile terminal, and if the time interval is greater than 1 millisecond, it is judged that the foreign object is farther from the mobile terminal. Of course, the infrared ranging function can also be realized according to the number of infrared transmitting signals and infrared receiving signals. For example, if the difference between the number of infrared transmitting signals and infrared receiving signals is large, it means that the foreign object is far away from the mobile terminal; If the difference between the number of the received infrared signal and the infrared signal is small, it means that the foreign object is closer to the mobile terminal.

另外,还可以根据接收到的红外接收信号的多少来判断外物相对移动终端处于靠近或远离状态。例如:若接收到的红外接收信号为大于10个单位,则判断外物距离移动终端较近,若接收到的红外接收信号为小于或等于10个单位,则判断外物距离移动终端较远。In addition, it can also be judged whether the foreign object is in a state of approaching or moving away from the mobile terminal according to the number of received infrared reception signals. For example, if the received infrared reception signal is greater than 10 units, it is determined that the foreign object is relatively close to the mobile terminal; if the received infrared reception signal is less than or equal to 10 units, it is determined that the foreign object is far away from the mobile terminal.

可选的,步骤303可以包括:Optionally, step 303 may include:

当所述红外发射信号和所述红外接收信号的差值小于或等于预设值,所述外物处于靠近状态;When the difference between the infrared emission signal and the infrared reception signal is less than or equal to a preset value, the foreign object is in an approaching state;

当所述红外发射信号和所述红外接收信号的差值大于预设值,所述外物处于远离状态。When the difference between the infrared emission signal and the infrared reception signal is greater than a preset value, the foreign object is in a far away state.

需要说明的是,预设值的具体取值在此不做限定,例如:预设值可以是3个单位或者5个单位等。It should be noted that the specific value of the preset value is not limited here, for example, the preset value may be 3 units or 5 units.

在该实施方式中,通过比较红外发射信号和红外接收信号的差值,从而来判断外物处于靠近或者远离状态,使得移动终端的判断结果更加直观和准确。In this embodiment, by comparing the difference between the infrared emission signal and the infrared reception signal, it is judged that the foreign object is in a state of approaching or moving away, so that the judgment result of the mobile terminal is more intuitive and accurate.

本发明实施例中,通过步骤301、302和303,根据红外发射信号和红外接收信号确定外物处于靠近或远离状态,使得无须在移动终端的显示屏上单独设置红外发射孔,即可实现红外检测功能,且还提高了显示屏的利用率。In the embodiment of the present invention, through steps 301, 302 and 303, it is determined according to the infrared emission signal and the infrared reception signal that the foreign object is in an approaching or distant state, so that infrared emission holes can be realized without separately setting an infrared emission hole on the display screen of the mobile terminal. detection function, and also improve the utilization of the display.

参见图4,图4是本发明实施例提供的另一种红外检测方法的流程图。本实施例与上个实施例的主要区别在于:本实施例可以通过控制器控制部分显示屏在第一显示状态和第二显示状态间切换,以使第一红外光形成脉冲红外光,进而根据接收到的脉冲红外光来实现红外检测功能。上述方法应用于移动终端,所述移动终端包括显示屏、红外发射管和红外接收管,所述红外发射管设于所述显示屏的一端,所述红外接收管设于所述显示屏的另一端;如图4所示,该方法包括以下步骤:Referring to FIG. 4 , FIG. 4 is a flowchart of another infrared detection method provided by an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that in this embodiment, the controller can control part of the display screen to switch between the first display state and the second display state, so that the first infrared light forms pulsed infrared light, and then according to the The received pulse infrared light realizes the infrared detection function. The above method is applied to a mobile terminal. The mobile terminal includes a display screen, an infrared emitting tube and an infrared receiving tube. The infrared emitting tube is arranged at one end of the display screen, and the infrared receiving tube is arranged at another end of the display screen. One end; as shown in Figure 4, the method includes the following steps:

步骤401、通过所述控制器控制至少一部分所述显示屏在第一显示状态和第二显示状态间切换,以使所述第一红外光形成脉冲红外光;其中,所述显示屏处于第一显示状态时,所述第一红外光可经过所述显示屏传输至所述移动终端之外,所述显示屏处于第二显示状态时,红外光不可经过所述显示屏传输至所述移动终端之外;Step 401: Control at least a part of the display screen to switch between a first display state and a second display state through the controller, so that the first infrared light forms pulsed infrared light; wherein, the display screen is in the first display state. In the display state, the first infrared light can be transmitted to the outside of the mobile terminal through the display screen, and when the display screen is in the second display state, the infrared light cannot be transmitted to the mobile terminal through the display screen outside;

其中,通过控制器控制至少一部分显示屏在第一显示状态和第二显示状态间切换,以使第一红外光形成脉冲红外光,脉冲红外光若遇到障碍物则可以返回至移动终端,经显示屏回到红外接收管中,此时回到红外接收管中的脉冲红外光即为第二红外光。通过检测第二红外光的大小,即可实现红外检测功能。同样的,还可以检测脉冲红外光的发射时刻和第二红外光的接收时刻,并计算发射时刻和接收时刻之间的时间间隔,通过时间间隔的大小来确定外物处于靠近移动终端或远离移动终端状态,从而实现红外测距功能。另外。还可以通过检测发射脉冲红外光和接收的第二红外光之间的数量差值的大小,从而确定外物处于靠近移动终端或远离移动终端状态。Wherein, at least a part of the display screen is controlled by the controller to switch between the first display state and the second display state, so that the first infrared light forms pulsed infrared light, and the pulsed infrared light can be returned to the mobile terminal if it encounters an obstacle. The display screen returns to the infrared receiving tube, and the pulsed infrared light returned to the infrared receiving tube at this time is the second infrared light. By detecting the size of the second infrared light, the infrared detection function can be realized. Similarly, it is also possible to detect the emission moment of the pulsed infrared light and the reception moment of the second infrared light, and calculate the time interval between the emission moment and the reception moment, and determine whether the foreign object is close to the mobile terminal or moving away from the mobile terminal according to the size of the time interval. terminal status, so as to realize the infrared ranging function. in addition. It can also be determined that the foreign object is in a state of approaching the mobile terminal or away from the mobile terminal by detecting the magnitude of the difference in quantity between the emitted pulsed infrared light and the received second infrared light.

其中,本实施例的工作原理可以如下:可以通过控制器控制一部分显示屏在第一显示状态和第二显示状态间切换,例如可以通过控制器控制一部分显示屏交替显示第一帧画面和第二帧画面,而第一帧画面可以是黑色帧画面,第二帧画面可以是白色帧画面,当第一帧画面是黑色帧画面,且第二帧画面是白色帧画面,通过控制器控制移动终端的部分显示屏交替显示白色帧画面和黑色帧画面,而此时红外发射管发射的红外光可以在显示屏显示白色帧画面时透射出显示屏,在显示屏显示黑色帧画面时不能透射出显示屏,则透射出显示屏的第一红外光形成了脉冲红外光。而上述透射出显示屏的脉冲红外光遇到障碍物则会返回到显示屏然后被红外接收管接收的一部分为第二红外光,则第二红外光也为脉冲红外光,并且第二红外光在红外接收管中可以转化为脉冲信号,而底噪滤除电路可以直接滤除红外接收管输出的直流信号,从而减小直流信号对处理脉冲信号时的干扰,脉冲信号处理电路处理脉冲信号,例如:当第一时刻的脉冲信号过小,此时脉冲信号处理电路对包括第一时刻的一段时间内的脉冲信号进行积分或者放大等操作,从而更加方便对脉冲信号大小的判断,以及更加方便脉冲信号在移动终端内部的传输,通过检测此时经过脉冲信号处理电路处理后的脉冲信号的大小,即可检测移动终端距离障碍物的距离,从而完成红外检测功能。The working principle of this embodiment may be as follows: a part of the display screen may be controlled by the controller to switch between the first display state and the second display state, for example, a part of the display screen may be controlled by the controller to alternately display the first frame and the second frame frame picture, and the first frame picture can be a black frame picture, the second frame picture can be a white frame picture, when the first frame picture is a black frame picture, and the second frame picture is a white frame picture, control the mobile terminal through the controller Part of the display screen alternately displays white frame pictures and black frame pictures, and at this time, the infrared light emitted by the infrared emission tube can be transmitted through the display screen when the display screen displays a white frame picture, but cannot be transmitted when the display screen displays a black frame picture. screen, the first infrared light transmitted out of the display screen forms pulsed infrared light. The above-mentioned pulsed infrared light transmitted out of the display screen will return to the display screen when encountering obstacles, and then a part of the second infrared light received by the infrared receiving tube is the second infrared light, so the second infrared light is also pulsed infrared light, and the second infrared light In the infrared receiving tube, it can be converted into a pulse signal, and the noise floor filtering circuit can directly filter the DC signal output by the infrared receiving tube, thereby reducing the interference of the DC signal when processing the pulse signal. The pulse signal processing circuit processes the pulse signal, For example: when the pulse signal at the first moment is too small, the pulse signal processing circuit integrates or amplifies the pulse signal within a period of time including the first moment, so as to make it more convenient to judge the size of the pulse signal, and more convenient In the transmission of the pulse signal inside the mobile terminal, by detecting the size of the pulse signal processed by the pulse signal processing circuit at this time, the distance between the mobile terminal and the obstacle can be detected, thereby completing the infrared detection function.

其中,红外接收管接收到的红外光包括两部分,一部分是遇到障碍物经显示屏返回至红外接收管中的脉冲红外光(即第二红外光),而该部分脉冲红外光可以转化为脉冲信号,另一部分是从红外发射管发出的,经显示屏传导到达红外接收管的直流红外光,该部分直流红外光可以转化为直流信号。Among them, the infrared light received by the infrared receiving tube includes two parts, one part is the pulsed infrared light (ie, the second infrared light) that is returned to the infrared receiving tube through the display screen when encountering obstacles, and this part of the pulsed infrared light can be converted into The other part of the pulse signal is sent from the infrared emitting tube, and the DC infrared light is transmitted to the infrared receiving tube through the display screen, and this part of the DC infrared light can be converted into a DC signal.

另外,请参照图5,移动终端的显示屏在第一显示状态和第二显示状态间切换时,移动终端的红外接收管3输出的电流信号可以包括直流信号和脉冲信号两个部分,而红外接收管3输出的电流信号是根据红外接收管3接收到的红外光转化得到的,红外接收管3接收到的红外光可以分为A和B两种,B种红外光是红外发射管2发射的,且透射出显示屏1形成的脉冲红外光;A种红外光是红外发射管2发射的,且直接经过显示屏1射入红外接收管3的直流红外光。而B种红外光透射出显示屏后,当遇到障碍物C(C一般为人体)后,会改变传输路线,返回红外接收管3中,则红外接收管3接收到B红外光,并根据上述B红外光转化得到脉冲信号,而A红外光经红外接收管3接收,并转化得到直流信号。In addition, please refer to FIG. 5, when the display screen of the mobile terminal is switched between the first display state and the second display state, the current signal output by the infrared receiving tube 3 of the mobile terminal may include two parts: a DC signal and a pulse signal, while the infrared The current signal output by the receiving tube 3 is obtained by converting the infrared light received by the infrared receiving tube 3. The infrared light received by the infrared receiving tube 3 can be divided into two types: A and B. The type B infrared light is emitted by the infrared transmitting tube 2. , and transmits the pulsed infrared light formed by the display screen 1; A kind of infrared light is emitted by the infrared emission tube 2, and directly passes through the display screen 1 and enters the direct current infrared light of the infrared receiving tube 3. After the B infrared light is transmitted out of the display screen, when it encounters an obstacle C (C is generally a human body), it will change the transmission route and return to the infrared receiving tube 3, then the infrared receiving tube 3 receives the B infrared light, and according to the The above-mentioned B infrared light is converted to obtain a pulse signal, while the A infrared light is received by the infrared receiving tube 3 and converted to obtain a DC signal.

可选的,所述显示屏包括第一区域,所述第一区域为红外光从所述移动终端的红外发射管到红外接收管的光线传输区域,所述通过所述控制器控制至少一部分所述显示屏在第一显示状态和第二显示状态间切换,以使所述第一红外光形成脉冲红外光的步骤,可以包括:Optionally, the display screen includes a first area, and the first area is a light transmission area of infrared light from an infrared emission tube of the mobile terminal to an infrared receiving tube, and the controller controls at least a part of all The step of switching the display screen between the first display state and the second display state, so that the first infrared light forms pulsed infrared light, may include:

通过所述控制器控制所述第一区域在第一显示状态和第二显示状态间切换,以使经过所述第一区域传输至所述移动终端之外的所述第一红外光形成脉冲红外光。The controller controls the first area to switch between a first display state and a second display state, so that the first infrared light transmitted to the outside of the mobile terminal through the first area forms a pulsed infrared light Light.

其中,第一区域为红外光从移动终端的红外发射管到红外接收管的光线传输区域,请参见图6,图6中的第一区域601的下方可以对应设置红外发射管和红外接收管。需要说明的是,第一区域601可以在第一显示状态和第二显示状态间切换,而显示屏上除第一区域601外的其他区域可以只处于第一显示状态或者第二显示状态。The first area is the light transmission area of infrared light from the infrared emitting tube of the mobile terminal to the infrared receiving tube, please refer to FIG. It should be noted that the first area 601 can be switched between the first display state and the second display state, and other areas on the display screen except the first area 601 can only be in the first display state or the second display state.

该实施方式中,控制器控制第一区域在第一显示状态和第二显示状态间切换,且控制显示屏上除第一区域以外的其他区域只处于第一显示状态或者第二显示状态,当其他区域处于第二显示状态时,即其他区域处于灭屏状态,这样,可以减小移动终端的电量损耗,使得移动终端更加智能,使用上也更加方便。In this embodiment, the controller controls the first area to switch between the first display state and the second display state, and controls other areas on the display screen except the first area to be in the first display state or the second display state only. When the other areas are in the second display state, that is, the other areas are in the off-screen state, in this way, the power consumption of the mobile terminal can be reduced, so that the mobile terminal is more intelligent and more convenient to use.

步骤402、控制所述底噪滤除电路滤除所述红外接收管输出的直流信号。Step 402 , controlling the noise floor filtering circuit to filter out the DC signal output by the infrared receiving tube.

其中,底噪滤除电路可以直接滤除红外接收管输出的直流信号,从而减小直流信号对处理脉冲信号时的干扰。Among them, the noise floor filtering circuit can directly filter the DC signal output by the infrared receiving tube, thereby reducing the interference of the DC signal when processing the pulse signal.

步骤403、控制所述脉冲信号处理电路处理所述红外接收管通过所述显示屏接收第二红外光后输出的脉冲信号。Step 403 , controlling the pulse signal processing circuit to process the pulse signal output by the infrared receiving tube after receiving the second infrared light through the display screen.

其中,脉冲信号处理电路可以对红外接收管输出的脉冲信号进行放大、积分或者数字转换等操作,这样,通过对脉冲信号进行放大或者积分等操作,可以使得对脉冲信号的大小判断更加方便,通过将脉冲信号转化为数字信号,可以使得脉冲信号在移动终端的内部传输更加方便。Among them, the pulse signal processing circuit can amplify, integrate or digitally convert the pulse signal output by the infrared receiving tube. In this way, by amplifying or integrating the pulse signal, it is more convenient to judge the size of the pulse signal. Converting the pulse signal into a digital signal can make the internal transmission of the pulse signal in the mobile terminal more convenient.

步骤404、根据所述脉冲信号确定外物处于靠近或远离状态。Step 404: Determine whether the foreign object is in an approaching or away state according to the pulse signal.

其中,可以通过检测脉冲信号的数量来判断外物处于靠近或远离状态,从而实现红外测距功能。例如:若检测脉冲信号的数量大于10个单位,则判断外物距离移动终端较近,若检测脉冲信号的数量小于或等于10个单位,则判断外物距离移动终端较远。当然,判断的标准在此不做限定。Among them, the number of pulse signals can be detected to determine whether the foreign object is in the state of approaching or moving away, so as to realize the infrared ranging function. For example, if the number of detected pulse signals is greater than 10 units, it is determined that the foreign object is relatively close to the mobile terminal; if the number of detected pulse signals is less than or equal to 10 units, it is determined that the foreign object is farther from the mobile terminal. Of course, the standard of judgment is not limited here.

可选的,所述显示屏包括依次层叠设置的液晶层、导光板和反射板,还包括与所述导光板连接的发光源,所述红外发射管与所述导光板连接;步骤404之后,上述方法还可以包括如下步骤:Optionally, the display screen includes a liquid crystal layer, a light guide plate and a reflective plate that are stacked in sequence, and also includes a light-emitting source connected to the light guide plate, and the infrared emission tube is connected to the light guide plate; after step 404, The above method may also include the following steps:

在所述发光源处于发光状态的情况下,检测所述红外接收管输出的脉冲信号的数值是否大于预设数值;When the light-emitting source is in a light-emitting state, detecting whether the value of the pulse signal output by the infrared receiving tube is greater than a preset value;

若检测到所述脉冲信号的数值大于所述预设数值,关闭所述发光源。If it is detected that the value of the pulse signal is greater than the preset value, the light-emitting source is turned off.

其中,预设数值的具体数值在此不做限定,预设数值可以是在移动终端出厂之前就设置好的,也可以是移动终端启用时,自动从服务器中获取的。The specific value of the preset value is not limited here, and the preset value may be set before the mobile terminal leaves the factory, or may be automatically obtained from the server when the mobile terminal is activated.

该实施方式中,当检测到红外接收管输出的脉冲信号的数值大于预设数值,说明移动终端距离障碍物的距离较近,则关闭发光源,从而使移动终端处于灭屏状态,从而减小了移动终端的电量损耗,也使得移动终端更加智能。In this embodiment, when it is detected that the value of the pulse signal output by the infrared receiving tube is greater than the preset value, indicating that the distance between the mobile terminal and the obstacle is relatively close, the light-emitting source is turned off, so that the mobile terminal is in the off-screen state, thereby reducing the It reduces the power consumption of the mobile terminal and makes the mobile terminal more intelligent.

可选的,所述若检测到所述脉冲信号的数值大于所述预设数值,关闭所述发光源的步骤之后,所述方法还包括:Optionally, after the step of turning off the light-emitting source if it is detected that the value of the pulse signal is greater than the preset value, the method further includes:

若检测到所述红外接收管输出的脉冲信号的数值小于或等于所述预设数值,开启所述发光源。If it is detected that the value of the pulse signal output by the infrared receiving tube is less than or equal to the preset value, the light-emitting source is turned on.

其中,当发光源熄灭之后。移动终端还可以实时检测所述红外接收管输出的脉冲信号的数值是否大于预设数值,若检测到所述红外接收管输出的脉冲信号的数值小于或等于所述预设数值,开启所述发光源,使得发光源发光。需要说明的是,实时检测指的是移动终端可以每隔一段时间检测一次红外接收管输出的脉冲信号的数值是否大于预设数值,而一段时间为固定的,例如:可以是1毫秒、2毫秒或者3毫秒等。具体在此不做限定。Among them, after the light-emitting source is extinguished. The mobile terminal can also detect in real time whether the value of the pulse signal output by the infrared receiving tube is greater than a preset value, and if it is detected that the value of the pulse signal output by the infrared receiving tube is less than or equal to the preset value, turn on the transmitter. The light source makes the light source emit light. It should be noted that the real-time detection means that the mobile terminal can detect whether the value of the pulse signal output by the infrared receiving tube is greater than the preset value at regular intervals, and the period of time is fixed, for example, it can be 1 millisecond or 2 milliseconds. Or 3ms etc. There is no specific limitation here.

该实施方式中,当发光源熄灭之后,且检测到红外接收管输出的脉冲信号的数值小于或等于预设数值,则可以判断障碍物与移动终端之间的距离较远,则开启发光源,使得发光源发光,这样,当检测障碍物距离移动终端较远时,开启发光源,进而使得移动终端更加智能,也使得移动终端使用上更加方便。In this embodiment, when the light-emitting source is turned off, and it is detected that the value of the pulse signal output by the infrared receiving tube is less than or equal to the preset value, it can be judged that the distance between the obstacle and the mobile terminal is far, and the light-emitting source is turned on. The light-emitting source is made to emit light, so that when the detected obstacle is far from the mobile terminal, the light-emitting source is turned on, thereby making the mobile terminal more intelligent and making the mobile terminal more convenient to use.

本发明实施方式中,处理器控制至少一部分显示屏在第一显示状态和第二显示状态间切换,以使第一红外光形成脉冲红外光,从而可以实现红外检测功能,底噪滤除电路可以滤除直流信号,只剩下脉冲信号,使得移动终端根据脉冲信号的大小来检测移动终端与障碍物之间的距离时,可以减小直流信号对判断结果的干扰,使得判断结果更加准确。这样,提供了一种无须在显示屏上单独设置红外发射孔,就能实现红外检测的方案。In the embodiment of the present invention, the processor controls at least a part of the display screen to switch between the first display state and the second display state, so that the first infrared light forms pulsed infrared light, so that the infrared detection function can be realized, and the noise floor filtering circuit can The DC signal is filtered out, and only the pulse signal is left, so that when the mobile terminal detects the distance between the mobile terminal and the obstacle according to the size of the pulse signal, the interference of the DC signal on the judgment result can be reduced, so that the judgment result is more accurate. In this way, a solution for realizing infrared detection is provided without having to separately set an infrared emission hole on the display screen.

图7为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

如图7所示,移动终端700包括射频(RadioFrequency,RF)电路710、存储器720、输入单元730、显示单元740、处理器750、音频电路760、通信模块770、电源780、显示屏、红外发射管和红外接收管,所述红外发射管设于所述显示屏的一端,所述红外接收管设于所述显示屏的另一端,所述红外发射管发出的第一红外光经过所述显示屏传输至所述移动终端700之外,所述红外接收管通过所述显示屏接收第二红外光,所述第二红外光为所述第一红外光经过所述移动终端700之外的物体反射后的红外光。As shown in FIG. 7 , the mobile terminal 700 includes a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a processor 750, an audio circuit 760, a communication module 770, a power supply 780, a display screen, an infrared transmitter tube and infrared receiving tube, the infrared emitting tube is set at one end of the display screen, the infrared receiving tube is set at the other end of the display screen, and the first infrared light emitted by the infrared emitting tube passes through the display screen The screen is transmitted to the outside of the mobile terminal 700, and the infrared receiving tube receives the second infrared light through the display screen, and the second infrared light is the object that the first infrared light passes through the outside of the mobile terminal 700. reflected infrared light.

可选的,所述移动终端700还包括控制器,所述控制器用于控制所述显示屏处于第一显示状态,所述显示屏处于第一显示状态时,所述第一红外光经过所述显示屏传输至所述移动终端700之外。Optionally, the mobile terminal 700 further includes a controller, and the controller is configured to control the display screen to be in a first display state, and when the display screen is in a first display state, the first infrared light passes through the The display screen is transmitted outside the mobile terminal 700 .

可选的,所述移动终端700还包括底噪滤除电路和脉冲信号处理电路,所述底噪滤除电路与所述红外接收管连接,用于滤除所述红外接收管输出的直流信号;Optionally, the mobile terminal 700 further includes a noise floor filtering circuit and a pulse signal processing circuit, the noise floor filtering circuit is connected to the infrared receiving tube, and is used for filtering the DC signal output by the infrared receiving tube. ;

所述控制器用于控制至少一部分所述显示屏在第一显示状态和第二显示状态间切换,以使所述第一红外光形成脉冲红外光;其中,所述显示屏处于第二显示状态时,红外光不可经过所述显示屏传输至所述移动终端700之外;The controller is used to control at least a part of the display screen to switch between the first display state and the second display state, so that the first infrared light forms pulsed infrared light; wherein, when the display screen is in the second display state , the infrared light cannot be transmitted outside the mobile terminal 700 through the display screen;

所述脉冲信号处理电路与所述红外接收管连接,用于处理所述红外接收管通过所述显示屏接收第二红外光后输出的脉冲信号。The pulse signal processing circuit is connected with the infrared receiving tube, and is used for processing the pulse signal output by the infrared receiving tube after receiving the second infrared light through the display screen.

可选的,所述显示屏包括依次层叠设置的液晶层、导光板和反射板,还包括与所述导光板连接的发光源,所述红外发射管与所述导光板连接。Optionally, the display screen includes a liquid crystal layer, a light guide plate and a reflective plate that are stacked in sequence, and further includes a light-emitting source connected to the light guide plate, and the infrared emitting tube is connected to the light guide plate.

可选的,所述移动终端700还包括ASIC,所述ASIC一端与所述脉冲信号处理电路连接,所述ASIC的另一端与所述发光源连接;所述ASIC用于在所述发光源处于发光状态的情况下,检测所述红外接收管输出的脉冲信号的数值是否大于预设数值;若所述ASIC检测到所述脉冲信号的数值大于所述预设数值,所述ASIC控制所述发光源关闭。Optionally, the mobile terminal 700 further includes an ASIC, one end of the ASIC is connected to the pulse signal processing circuit, and the other end of the ASIC is connected to the light-emitting source; the ASIC is used for when the light-emitting source is in the In the case of the light-emitting state, detect whether the value of the pulse signal output by the infrared receiving tube is greater than a preset value; if the ASIC detects that the value of the pulse signal is greater than the preset value, the ASIC controls the The light source is off.

可选的,所述底噪滤除电路包括一端与所述红外接收管连接,另一端接地的直流吸收器。Optionally, the noise floor filtering circuit includes a DC absorber connected to the infrared receiving tube at one end and grounded at the other end.

可选的,所述脉冲信号处理电路包括电容和模数转换器,所述电容一端与所述红外接收管连接,另一端与所述模数转换器连接。Optionally, the pulse signal processing circuit includes a capacitor and an analog-to-digital converter, one end of the capacitor is connected to the infrared receiving tube, and the other end of the capacitor is connected to the analog-to-digital converter.

可选的,所述脉冲信号处理电路还包括放大器,所述放大器串联于所述电容和模数转换器之间。Optionally, the pulse signal processing circuit further includes an amplifier, and the amplifier is connected in series between the capacitor and the analog-to-digital converter.

可选的,所述脉冲信号处理电路还包括积分器,所述积分器串联于所述电容和所述模数转换器之间。Optionally, the pulse signal processing circuit further includes an integrator, and the integrator is connected in series between the capacitor and the analog-to-digital converter.

可选的,所述ASIC还用于:在所述发光源处于熄灭状态的情况下,所述ASIC若检测到所述红外接收管输出的脉冲信号的数值小于或等于所述预设数值,所述ASIC控制所述发光源发光。Optionally, the ASIC is further configured to: when the light-emitting source is in an off state, if the ASIC detects that the value of the pulse signal output by the infrared receiving tube is less than or equal to the preset value, The ASIC controls the light-emitting source to emit light.

其中,输入单元730可用于接收用户输入的数字或字符信息,以及产生与移动终端700的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元730可以包括触控面板731。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器750,并能接收处理器750发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 730 can be used to receive numeric or character information input by the user, and generate signal input related to user settings and function control of the mobile terminal 700 . Specifically, in this embodiment of the present invention, the input unit 730 may include a touch panel 731 . The touch panel 731, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's operations on the touch panel 731 using any suitable objects or accessories such as a finger, a stylus, etc.) The specified program drives the corresponding connection device. Optionally, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 750, and can receive the commands sent by the processor 750 and execute them. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may also include other input devices 732, and the other input devices 732 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元740可用于显示由用户输入的信息或提供给用户的信息以及移动终端700的各种菜单界面。显示单元740可包括显示面板741,可选的,可以采用LCD或有机发光二极管(OrganicLight-EmittingDiode,OLED)等形式来配置显示面板741。The display unit 740 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 700 . The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板731可以覆盖显示面板741,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器750以确定触摸事件的类型,随后处理器750根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is transmitted to the processor 750 to determine the type of touch event, and then the processor 750 provides corresponding visual output on the touch display screen according to the type of touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch screen includes the application program interface display area and the commonly used controls display area. The arrangement of the application program interface display area and the common control display area is not limited, and may be an arrangement that can distinguish the two display areas, such as up-down arrangement, left-right arrangement, or the like. The application program interface display area can be used to display the interface of the application program. Each interface may contain at least one application icon and/or interface elements such as widget desktop controls. The application program interface display area can also be an empty interface that does not contain any content. The commonly used control display area is used to display controls with high usage rate, such as setting buttons, interface numbers, scroll bars, phonebook icons and other application icons.

其中处理器750是移动终端700的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器721内的软件程序和/或模块,以及调用存储在第二存储器722内的数据,执行移动终端700的各种功能和处理数据,从而对移动终端700进行整体监控。可选的,处理器750可包括一个或多个处理单元。The processor 750 is the control center of the mobile terminal 700, uses various interfaces and lines to connect various parts of the entire mobile phone, runs or executes the software programs and/or modules stored in the first memory 721, and calls the software programs and/or modules stored in the second memory 721. The data in the memory 722 executes various functions of the mobile terminal 700 and processes data, so as to monitor the mobile terminal 700 as a whole. Optionally, processor 750 may include one or more processing units.

电子设备可以包括:手机、平板电脑、电子书阅读器、MP3播放器、MP4播放器、数码相机、膝上型便携计算机、车载电脑、台式计算机、机顶盒、智能电视机、可穿戴设备中的至少一项。The electronic device may include at least one of a cell phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a digital camera, a laptop computer, a car computer, a desktop computer, a set-top box, a smart TV, and a wearable device. one.

以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art who is familiar with the technical scope disclosed by the present invention can easily think of changes or replacements, which should cover within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (11)

1. A mobile terminal is characterized by comprising a display screen, an infrared transmitting tube and an infrared receiving tube, wherein the infrared transmitting tube is arranged at one end of the display screen, the infrared receiving tube is arranged at the other end of the display screen, first infrared light emitted by the infrared transmitting tube is transmitted to the outside of the mobile terminal through the display screen, the infrared receiving tube receives second infrared light through the display screen, and the second infrared light is infrared light obtained by reflecting the first infrared light by an object outside the mobile terminal; the mobile terminal also comprises a controller, a bottom noise filtering circuit and a pulse signal processing circuit, wherein the bottom noise filtering circuit is connected with the infrared receiving tube and is used for filtering direct current signals output by the infrared receiving tube;
the controller is used for controlling at least one part of the display screen to be switched between a first display state and a second display state so as to enable the first infrared light to form pulse infrared light; when the display screen is in the first display state, the first infrared light is transmitted to the outside of the mobile terminal through the display screen, and when the display screen is in the second display state, the infrared light cannot be transmitted to the outside of the mobile terminal through the display screen;
the pulse signal processing circuit is connected with the infrared receiving tube and used for processing a pulse signal output by the infrared receiving tube after receiving the second infrared light through the display screen.
2. The mobile terminal of claim 1, wherein the display comprises a liquid crystal layer, a light guide plate, and a reflective plate sequentially stacked, and further comprises a light emitting source connected to the light guide plate, and the infrared emission tube is connected to the light guide plate.
3. The mobile terminal of claim 2, further comprising an Application Specific Integrated Circuit (ASIC), one end of the ASIC being connected to the pulse signal processing circuit and the other end of the ASIC being connected to the light emitting source; the ASIC is used for detecting whether the numerical value of the pulse signal output by the infrared receiving tube is larger than a preset numerical value or not under the condition that the luminous source is in a luminous state; and if the ASIC detects that the value of the pulse signal is greater than the preset value, the ASIC controls the luminous source to be closed.
4. The mobile terminal of claim 1, wherein the noise floor filtering circuit comprises a dc absorber having one end connected to the infrared receiving tube and the other end grounded.
5. The mobile terminal of claim 1, wherein the pulse signal processing circuit comprises a capacitor and an analog-to-digital converter, one end of the capacitor is connected with the infrared receiving tube, and the other end of the capacitor is connected with the analog-to-digital converter.
6. The mobile terminal of claim 5, wherein the pulse signal processing circuit further comprises an amplifier connected in series between the capacitor and an analog-to-digital converter.
7. The mobile terminal of claim 5, wherein the pulse signal processing circuit further comprises an integrator connected in series between the capacitor and the analog-to-digital converter.
8. The mobile terminal of claim 3, wherein the ASIC is further configured to: and under the condition that the luminous source is in an off state, if the ASIC detects that the numerical value of the pulse signal output by the infrared receiving tube is less than or equal to the preset numerical value, the ASIC controls the luminous source to emit light.
9. An infrared detection method is characterized by being applied to a mobile terminal, wherein the mobile terminal comprises a display screen, an infrared transmitting tube and an infrared receiving tube, the infrared transmitting tube is arranged at one end of the display screen, and the infrared receiving tube is arranged at the other end of the display screen; the mobile terminal also comprises a bottom noise filtering circuit, a pulse signal processing circuit and a controller, wherein the bottom noise filtering circuit is connected with the infrared receiving tube, and the pulse signal processing circuit is connected with the infrared receiving tube;
the method comprises the following steps:
controlling at least one part of the display screen to be switched between a first display state and a second display state through the controller so that the first infrared light forms pulse infrared light; when the display screen is in a first display state, the first infrared light can be transmitted to the outside of the mobile terminal through the display screen, and when the display screen is in a second display state, the infrared light cannot be transmitted to the outside of the mobile terminal through the display screen;
controlling the bottom noise filtering circuit to filter the direct current signal output by the infrared receiving tube;
controlling the pulse signal processing circuit to process a pulse signal output by the infrared receiving tube after receiving second infrared light through the display screen;
and determining that the foreign object is in a close or far state according to the pulse signal.
10. The method of claim 9, wherein the display screen comprises a liquid crystal layer, a light guide plate and a reflective plate, which are sequentially stacked, and further comprises a light emitting source connected to the light guide plate, and the infrared emission tube is connected to the light guide plate; after the step of determining that the foreign object is in the approaching or departing state according to the pulse signal, the method further includes:
under the condition that the luminous source is in a luminous state, detecting whether the numerical value of the pulse signal output by the infrared receiving tube is larger than a preset numerical value or not;
and if the numerical value of the pulse signal is detected to be larger than the preset numerical value, closing the luminous source.
11. The method of claim 10, wherein after the step of turning off the light source if the value of the pulse signal is detected to be greater than the predetermined value, the method further comprises:
and if the numerical value of the pulse signal output by the infrared receiving tube is detected to be less than or equal to the preset numerical value, the luminous source is started.
CN201810353399.XA 2018-04-19 2018-04-19 A mobile terminal and infrared detection method Active CN108614651B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810353399.XA CN108614651B (en) 2018-04-19 2018-04-19 A mobile terminal and infrared detection method
PCT/CN2019/082048 WO2019201130A1 (en) 2018-04-19 2019-04-10 Mobile terminal and infrared detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810353399.XA CN108614651B (en) 2018-04-19 2018-04-19 A mobile terminal and infrared detection method

Publications (2)

Publication Number Publication Date
CN108614651A CN108614651A (en) 2018-10-02
CN108614651B true CN108614651B (en) 2020-06-16

Family

ID=63660174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810353399.XA Active CN108614651B (en) 2018-04-19 2018-04-19 A mobile terminal and infrared detection method

Country Status (2)

Country Link
CN (1) CN108614651B (en)
WO (1) WO2019201130A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614651B (en) * 2018-04-19 2020-06-16 维沃移动通信有限公司 A mobile terminal and infrared detection method
CN110865710B (en) * 2019-11-19 2023-08-18 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN111487635A (en) * 2020-05-11 2020-08-04 苏州市运泰利自动化设备有限公司 High-precision infrared dynamic infrared ranging system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202956858U (en) * 2012-10-31 2013-05-29 东北师范大学 A crowd density monitoring device
CN203274811U (en) * 2013-03-22 2013-11-06 宁波全景电器技术有限公司 Flowmeter
CN105005419A (en) * 2015-08-04 2015-10-28 北京汇冠新技术股份有限公司 Non-contact gesture recognition infrared touch screen
CN206400488U (en) * 2017-01-17 2017-08-11 广东欧珀移动通信有限公司 Cover plate, display device and terminal
CN207150648U (en) * 2017-07-28 2018-03-27 努比亚技术有限公司 Light sensitive device and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201128631A (en) * 2010-02-11 2011-08-16 Wistron Corp Driving device, driving method, and flat panel display
CN101901088B (en) * 2010-08-06 2012-06-20 鸿富锦精密工业(深圳)有限公司 Infrared control device
CN106293282A (en) * 2015-06-03 2017-01-04 西藏丹贝投资有限公司 A kind of infrared touch panel with gesture identification function
CN107422876B (en) * 2017-07-18 2019-06-28 Oppo广东移动通信有限公司 A kind of control method of proximity sensor, device, storage medium and mobile terminal
CN107920142B (en) * 2017-11-22 2019-10-25 Oppo广东移动通信有限公司 electronic device
CN108614651B (en) * 2018-04-19 2020-06-16 维沃移动通信有限公司 A mobile terminal and infrared detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202956858U (en) * 2012-10-31 2013-05-29 东北师范大学 A crowd density monitoring device
CN203274811U (en) * 2013-03-22 2013-11-06 宁波全景电器技术有限公司 Flowmeter
CN105005419A (en) * 2015-08-04 2015-10-28 北京汇冠新技术股份有限公司 Non-contact gesture recognition infrared touch screen
CN206400488U (en) * 2017-01-17 2017-08-11 广东欧珀移动通信有限公司 Cover plate, display device and terminal
CN207150648U (en) * 2017-07-28 2018-03-27 努比亚技术有限公司 Light sensitive device and mobile terminal

Also Published As

Publication number Publication date
WO2019201130A1 (en) 2019-10-24
CN108614651A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
US10862595B2 (en) Method for processing radio frequency interference, and electronic device
CN107968883B (en) Distance state detection method, device, storage medium and electronic device
CN104350537B (en) Electronic device with display brightness control
CN107450817B (en) Proximity detection method, device, storage medium and electronic device
TWI501199B (en) Input device and computer system having operation pattern analysis
CN108182896B (en) A brightness detection method, device and mobile terminal
CN108614651B (en) A mobile terminal and infrared detection method
US20100277437A1 (en) Electronic device and controlling method thereof
WO2018145555A1 (en) Display screen state control method and apparatus, storage medium, and electronic device
CN108494909A (en) Electronic device and manufacturing method
US20110199336A1 (en) Optical touch device
KR101427858B1 (en) Electronic device and touch-sensing method
CN108833625B (en) Sensor control circuit and electronic device
CN109085953A (en) It is a kind of to reduce the method interfered and terminal device
CN107945733A (en) Display screen brightness adjusting method and device, storage medium and electronic equipment
CN201919056U (en) Touchscreen Phone with Proximity Sensor
CN106598444A (en) Mobile terminal control method and mobile terminal
CN109088961B (en) Sensor control circuit and electronic device
CN107959752A (en) Display screen state control method and device, storage medium and terminal
TW201510772A (en) Gesture determination method and electronic device
CN106161728B (en) Sensing device, electronic equipment and detection method
CN111343321A (en) Backlight brightness adjustment method and related products
CN107277903A (en) Brightness adjusting method and mobile terminal
CN107665081B (en) Display screen state control method and device, storage medium and terminal
CN108762584A (en) Display control method, control device, electronic device, storage medium, and apparatus

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