[go: up one dir, main page]

CN106375598A - Reminder method and mobile terminal - Google Patents

Reminder method and mobile terminal Download PDF

Info

Publication number
CN106375598A
CN106375598A CN201610967344.9A CN201610967344A CN106375598A CN 106375598 A CN106375598 A CN 106375598A CN 201610967344 A CN201610967344 A CN 201610967344A CN 106375598 A CN106375598 A CN 106375598A
Authority
CN
China
Prior art keywords
mobile terminal
laser beam
laser
difference
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610967344.9A
Other languages
Chinese (zh)
Other versions
CN106375598B (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 CN201610967344.9A priority Critical patent/CN106375598B/en
Publication of CN106375598A publication Critical patent/CN106375598A/en
Application granted granted Critical
Publication of CN106375598B publication Critical patent/CN106375598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Optical Communication System (AREA)

Abstract

The invention provides a reminding method and a mobile terminal. A returned laser beam is received, wherein the laser beam is emitted by a laser emitting module using a mobile terminal. The difference between the optical power of the laser beam emitted by the laser emitting module and the optical power of the returned laser beam is acquired. The difference is compared with a preset threshold value. If the difference is less than the preset threshold value, a prompt message is output to a user, wherein the prompt message is used to remind the user to clean a laser focus window. According to the invention, the mobile terminal can determine whether the focus window is clean or not according to the difference between the optical power of the emitted laser beam and the optical power of the received laser beam; the user can be reminded to ensure the accuracy of the focusing of the mobile terminal; the user does not need to check the cleanliness of the focus window, which saves time and effort and is conducive to improving the user experience.

Description

提醒方法及移动终端Reminder method and mobile terminal

技术领域technical field

本发明涉及通信领域,尤其涉及一种提醒方法及移动终端。The invention relates to the communication field, in particular to a reminder method and a mobile terminal.

背景技术Background technique

随着科技的发展进步,通信技术得到了飞速发展和长足的进步,而随着通信技术的提高,智能电子产品的普及提高到了一个前所未有的高度,越来越多的智能终端或移动终端成为人们生活中不可或缺的一部分,如智能手机、智能电视和电脑等。With the development and progress of science and technology, communication technology has developed rapidly and made great progress. With the improvement of communication technology, the popularity of smart electronic products has reached an unprecedented height. More and more smart terminals or mobile terminals have become people's An integral part of life, such as smartphones, smart TVs, and computers.

在移动终端普及的同时,用户对移动终端所具备的功能种类和性能要求越来越高,如音频功能、拍照功能、摄像功能和存储功能都已经成为智能终端或移动终端的必备功能。With the popularization of mobile terminals, users have higher and higher requirements for the types of functions and performance of mobile terminals. For example, audio functions, camera functions, camera functions and storage functions have all become necessary functions of smart terminals or mobile terminals.

目前使用手机进行拍照已经成为了一种潮流,而使用手机拍照也随之出现了多种对焦方式,如今的手机对焦方式主要分为:反差对焦,相位对焦以及激光对焦。其中激光对焦由于具有较快的对焦速度,能保证成像成功率,并且对弱光或纯色环境适应性较强等特点得到了越来越广泛的应用。At present, using mobile phones to take pictures has become a trend, and using mobile phones to take pictures also has a variety of focusing methods. Today's mobile phone focusing methods are mainly divided into: contrast focusing, phase focusing and laser focusing. Among them, laser focusing has been more and more widely used because of its fast focusing speed, which can ensure the success rate of imaging, and has strong adaptability to weak light or pure color environment.

然而,当使用激光进行对焦时,如果激光对焦组件的窗口表面上沾上了水汽或者灰尘等异物,将会极大的影响对焦的精准度,但是如果用户每次在拍照之前都去检查激光对焦组件的窗口是否干净,又会很繁琐,不利于用户体验。However, when using a laser to focus, if the window surface of the laser focus component is stained with water vapor or dust and other foreign matter, it will greatly affect the accuracy of the focus, but if the user checks the laser focus every time before taking a photo Whether the window of the component is clean or not will be very cumbersome, which is not conducive to user experience.

发明内容Contents of the invention

本发明实施例提供一种提醒方法及移动终端,以解决移动终端的对焦窗口有异物而影响移动终端对焦精确度的问题。Embodiments of the present invention provide a reminder method and a mobile terminal to solve the problem that foreign matter in a focusing window of the mobile terminal affects the focusing accuracy of the mobile terminal.

第一方面,本发明实施例提供了一种提醒方法,应用于使用激光对焦进行拍照的移动终端,包括:In the first aspect, an embodiment of the present invention provides a reminder method, which is applied to a mobile terminal that uses laser focus to take pictures, including:

接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;Receiving the returned laser beam, wherein the laser beam is emitted by using the laser emitting component of the mobile terminal;

获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;Acquiring the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam;

将所述差值与预设阈值进行比较;comparing the difference with a preset threshold;

若所述差值小于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。If the difference is smaller than the preset threshold, a prompt message is output to the user, wherein the prompt message is used to remind the user to clean the laser focus window.

第二方面,本发明实施例还提供一种移动终端,所述移动终端使用激光对焦进行拍照,所述移动终端包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, the mobile terminal uses laser focus to take pictures, and the mobile terminal includes:

接收模块,用于接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;The receiving module is used to receive the returned laser beam, wherein the laser beam is emitted by the laser emitting component of the mobile terminal;

获取模块,用于获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;An acquisition module, configured to acquire the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam;

比较模块,用于将所述差值与预设阈值进行比较;A comparison module, configured to compare the difference with a preset threshold;

输出模块,用于若所述差值小于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。An output module, configured to output a prompt message to the user if the difference is smaller than the preset threshold, wherein the prompt message is used to remind the user to clean the laser focus window.

本发明实施例提供的提醒方法及移动终端,接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;将所述差值与预设阈值进行比较;若所述差值小于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。这样,移动终端可以根据发射的激光束的光功率与接收到的激光束的光功率的差值,判断对焦窗口是否干净,并对可以对用户进行提醒,可以保证移动终端对焦的精确度,并且无需用户自己检查对焦窗口的清洁度,省时省力,有利于提高用户体验。The reminder method and the mobile terminal provided by the embodiments of the present invention receive the returned laser beam, wherein the laser beam is emitted by the laser emitting component of the mobile terminal; the optical power of the laser beam emitted by the laser emitting component and the returned The difference of the optical power of the laser beam; comparing the difference with a preset threshold; if the difference is less than the preset threshold, outputting a prompt message to the user, wherein the prompt message is used to remind the user Clean the laser focus window. In this way, the mobile terminal can judge whether the focus window is clean according to the difference between the optical power of the emitted laser beam and the optical power of the received laser beam, and can remind the user, which can ensure the accuracy of the focus of the mobile terminal, and There is no need for the user to check the cleanliness of the focus window by himself, which saves time and effort, and is conducive to improving user experience.

附图说明Description of drawings

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

图1是本发明第一实施例提供的提醒方法的流程图;Fig. 1 is a flow chart of the reminder method provided by the first embodiment of the present invention;

图2是本发明第二实施例提供的提醒方法的流程图;Fig. 2 is a flow chart of the reminding method provided by the second embodiment of the present invention;

图3是本发明第三实施例提供的移动终端的结构图之一;Fig. 3 is one of the structural diagrams of the mobile terminal provided by the third embodiment of the present invention;

图4是本发明第三实施提例供的移动终端的结构图之二;FIG. 4 is the second structural diagram of the mobile terminal provided by the third embodiment of the present invention;

图5是本发明第三实施例提供的移动终端的结构图之三;FIG. 5 is the third structural diagram of the mobile terminal provided by the third embodiment of the present invention;

图6是本发明第三实施例提供的移动终端的结构图之四;FIG. 6 is the fourth structural diagram of the mobile terminal provided by the third embodiment of the present invention;

图7是图3中所示的获取模块的结构图;Fig. 7 is a structural diagram of the acquisition module shown in Fig. 3;

图8是本发明第四实施例提供的移动终端的结构图。Fig. 8 is a structural diagram of a mobile terminal provided by a fourth embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention 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 them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

第一实施例first embodiment

参见图1,图1是本发明实施例提供的提醒方法的流程图,所述方法应用于使用激光对焦进行拍照的移动终端,如图1所示,所述方法包括以下步骤:Referring to FIG. 1, FIG. 1 is a flow chart of a reminder method provided by an embodiment of the present invention. The method is applied to a mobile terminal that uses laser focus to take pictures. As shown in FIG. 1, the method includes the following steps:

步骤101、接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射。Step 101. Receive a returned laser beam, wherein the laser beam is emitted by using a laser emitting component of a mobile terminal.

该步骤中,当所述移动终端需要先进行对焦功能以进行后续的拍照等功能时,可以先进行检测移动终端的对焦窗口是否干净,这时,所述移动终端休可以先使用激光发射组件发射一激光束,当所述移动终端使用激光发射组件发射激光束之后,所述移动接收返回的激光束,然后可以使用一光功率检测电路或元件等,来检测所述接收到的返回的激光束的光功率。In this step, when the mobile terminal needs to perform the focusing function first to perform subsequent functions such as taking pictures, it can first detect whether the focusing window of the mobile terminal is clean. At this time, the mobile terminal can first use the laser emitting component to emit A laser beam, when the mobile terminal uses the laser emitting component to emit the laser beam, the mobile terminal receives the returned laser beam, and then can use an optical power detection circuit or component to detect the received returned laser beam of optical power.

其中,所述移动终端的激光发射组件,可以是指移动终端自身配置有的激光发射组件,如使用激光进行对焦拍照的移动终端,也可以是移动终端对接的激光发射组件,如需要进行专业拍照时,所述移动终端需要使用外接的激光发射组件进行辅助拍摄等情况。Wherein, the laser emitting component of the mobile terminal may refer to the laser emitting component configured on the mobile terminal itself, such as a mobile terminal that uses laser to focus and take pictures, or it may be a laser emitting component docked with the mobile terminal. In this case, the mobile terminal needs to use an external laser emitting component for auxiliary shooting and the like.

步骤102、获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值。Step 102: Obtain the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam.

该步骤中,当所述移动终端接收到返回的激光束,并检测到返回的激光束的光功率之后,所述移动终端基于发射的激光束和返回的激光束,获取所述移动终端使用所述激光发射组件发射的激光束的光功率,与接收的所述返回的激光束的光功率的差值。In this step, after the mobile terminal receives the returned laser beam and detects the optical power of the returned laser beam, the mobile terminal acquires the The difference between the optical power of the laser beam emitted by the laser emitting component and the received optical power of the returned laser beam.

其中,所述移动终端可以是先获取使用激光发射组件发射激光束是的光功率,然后在基于检测到的返回的激光束的光功率,然后再使用相应算法对二者进行计算,以得到二者的差值。Wherein, the mobile terminal may first obtain the optical power of the laser beam emitted by the laser emitting component, and then calculate the two based on the detected optical power of the returned laser beam, and then use the corresponding algorithm to obtain the two the difference between the

步骤103、将所述差值与预设阈值进行比较。Step 103, comparing the difference with a preset threshold.

由于使用激光在传输中会有一定的损耗,尤其是在传输的路径上遇到障碍物等的时候,因此,当对焦窗口上如果不干净,比如有水汽或者灰尘等情况下,激光束从穿过对焦窗口到达需对焦物体再返回,到所述移动终端接收到返回的激光束时,激光束整体的损耗会比正常情况下大,因此,在该步骤中,当所述移动终端通过计算或者其他方式获取到发射的激光束的光功率与返回的激光束的光功率的差值之后,将所述差值与一个预设阈值进行比较,来看发射出去的激光束的损耗。Because there will be a certain loss in the transmission of the laser, especially when obstacles are encountered on the transmission path, so if the focus window is not clean, such as water vapor or dust, the laser beam will never pass through. Pass through the focus window to reach the object to be focused and then return. When the mobile terminal receives the returned laser beam, the overall loss of the laser beam will be greater than normal. Therefore, in this step, when the mobile terminal calculates or In other ways, after the difference between the optical power of the emitted laser beam and the optical power of the returned laser beam is obtained, the difference is compared with a preset threshold to see the loss of the emitted laser beam.

步骤104、若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。Step 104: If the difference is greater than the preset threshold, output a prompt message to the user, wherein the prompt message is used to remind the user to clean the laser focus window.

该步骤中,当所述移动终端通过比较得出,所述差值大于所述预设阈值的话,那么说明发射出去的激光束在传输途中,可能因为对焦窗口上水汽或者灰尘等的存在而导致损耗比较大,这时,所述移动终端就可以对用户输出一个提示信息来提醒用户,所述提示消息可以是用于提醒用户对激光对焦窗口进行清洁的信息。In this step, when the mobile terminal obtains through comparison that the difference is greater than the preset threshold, it means that the emitted laser beam may be caused by the presence of water vapor or dust on the focusing window during transmission. The loss is relatively large. At this time, the mobile terminal may output a prompt message to the user to remind the user. The prompt message may be information for reminding the user to clean the laser focus window.

本发明实施例中,上述移动终端可以任何使用激光进行对焦的,具备激光收发组件的移动终端,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(LaptopComputer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned mobile terminal can be any mobile terminal that uses a laser to focus and has a laser transceiver component, such as a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (LaptopComputer), a personal digital assistant (personal digital assistant) digital assistant (PDA for short), mobile internet device (Mobile Internet Device, MID) or wearable device (Wearable Device), etc.

本发明实施例提供的提醒方法,接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;将所述差值与预设阈值进行比较;若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。这样,移动终端可以根据发射的激光束的光功率与接收到的激光束的光功率的差值,判断对焦窗口是否干净,并对可以对用户进行提醒,可以保证移动终端对焦的精确度,并且无需用户自己检查对焦窗口的清洁度,省时省力,有利于提高用户体验。In the reminder method provided by the embodiment of the present invention, the returned laser beam is received, wherein the laser beam is emitted by the laser emitting component of the mobile terminal; the optical power of the laser beam emitted by the laser emitting component and the power of the returned laser beam are acquired difference in optical power; comparing the difference with a preset threshold; if the difference is greater than the preset threshold, output a prompt message to the user, wherein the prompt message is used to remind the user to focus on the laser The window is cleaned. In this way, the mobile terminal can judge whether the focus window is clean according to the difference between the optical power of the emitted laser beam and the optical power of the received laser beam, and can remind the user, which can ensure the accuracy of the focus of the mobile terminal, and There is no need for the user to check the cleanliness of the focus window by himself, which saves time and effort, and is conducive to improving user experience.

第二实施例second embodiment

参见图2,图2是本发明实施例提供的提醒方法的流程图,所述方法应用于使用激光对焦进行拍照的移动终端,如图2所示,所述包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a reminder method provided by an embodiment of the present invention. The method is applied to a mobile terminal that uses laser focus to take pictures. As shown in FIG. 2, the method includes the following steps:

步骤201、接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射。Step 201. Receive a returned laser beam, wherein the laser beam is emitted by using a laser emitting component of a mobile terminal.

该步骤中,当所述移动终端需要先进行对焦功能以进行后续的拍照等功能时,可以先进行检测移动终端的对焦窗口是否干净,这时,所述移动终端休可以先使用激光发射组件发射一激光束,当所述移动终端使用激光发射组件发射激光束之后,所述移动接收返回的激光束,然后可以使用一光功率检测电路或元件等,来检测所述接收到的返回的激光束的光功率。In this step, when the mobile terminal needs to perform the focusing function first to perform subsequent functions such as taking pictures, it can first detect whether the focusing window of the mobile terminal is clean. At this time, the mobile terminal can first use the laser emitting component to emit A laser beam, when the mobile terminal uses the laser emitting component to emit the laser beam, the mobile terminal receives the returned laser beam, and then can use an optical power detection circuit or component to detect the received returned laser beam of optical power.

其中,所述移动终端的激光发射组件,可以是指移动终端自身配置有的激光发射组件,如使用激光进行对焦拍照的移动终端,也可以是移动终端对接的激光发射组件,如需要进行专业拍照时,所述移动终端需要使用外接的激光发射组件进行辅助拍摄等情况。Wherein, the laser emitting component of the mobile terminal may refer to the laser emitting component configured on the mobile terminal itself, such as a mobile terminal that uses laser to focus and take pictures, or it may be a laser emitting component docked with the mobile terminal. In this case, the mobile terminal needs to use an external laser emitting component for auxiliary shooting and the like.

步骤202、获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值。Step 202: Obtain the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam.

该步骤中,当所述移动终端接收到返回的激光束,并检测到返回的激光束的光功率之后,所述移动终端基于发射的激光束和返回的激光束,获取所述移动终端使用所述激光发射组件发射的激光束的光功率,与接收的所述返回的激光束的光功率的差值。In this step, after the mobile terminal receives the returned laser beam and detects the optical power of the returned laser beam, the mobile terminal acquires the The difference between the optical power of the laser beam emitted by the laser emitting component and the received optical power of the returned laser beam.

其中,所述移动终端可以是先获取使用激光发射组件发射激光束是的光功率,然后在基于检测到的返回的激光束的光功率,然后再使用相应算法对二者进行计算,以得到二者的差值。Wherein, the mobile terminal may first obtain the optical power of the laser beam emitted by the laser emitting component, and then calculate the two based on the detected optical power of the returned laser beam, and then use the corresponding algorithm to obtain the two the difference between the

步骤203、将所述差值与预设阈值进行比较。Step 203, comparing the difference with a preset threshold.

由于使用激光在传输中会有一定的损耗,尤其是在传输的路径上遇到障碍物等的时候,因此,当对焦窗口上如果不干净,比如有水汽或者灰尘等情况下,激光束从穿过对焦窗口到达需对焦物体再返回,到所述移动终端接收到返回的激光束时,激光束整体的损耗会比正常情况下大,因此,在该步骤中,当所述移动终端通过计算或者其他方式获取到发射的激光束的光功率与返回的激光束的光功率的差值之后,将所述差值与一个预设阈值进行比较,来看发射出去的激光束的损耗。Because there will be a certain loss in the transmission of the laser, especially when obstacles are encountered on the transmission path, so if the focus window is not clean, such as water vapor or dust, the laser beam will never pass through. Pass through the focus window to reach the object to be focused and then return. When the mobile terminal receives the returned laser beam, the overall loss of the laser beam will be greater than normal. Therefore, in this step, when the mobile terminal calculates or In other ways, after the difference between the optical power of the emitted laser beam and the optical power of the returned laser beam is obtained, the difference is compared with a preset threshold to see the loss of the emitted laser beam.

步骤204、若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。Step 204: If the difference is greater than the preset threshold, output a prompt message to the user, wherein the prompt message is used to remind the user to clean the laser focus window.

该步骤中,当所述移动终端通过比较得出,所述差值大于所述预设阈值的话,那么所述移动终端可以认为发射出去的激光束在传输途中,可能因为对焦窗口上水汽或者灰尘等的存在而导致损耗比较大,这时,所述移动终端就可以对用户输出一个提示信息来提醒用户,所述提示消息可以是用于提醒用户对激光对焦窗口进行清洁的信息。In this step, when the mobile terminal obtains through comparison that the difference is greater than the preset threshold, then the mobile terminal may consider that the emitted laser beam is in the middle of transmission, which may be caused by water vapor or dust on the focusing window. The existence of etc. leads to a relatively large loss. At this time, the mobile terminal can output a prompt message to the user to remind the user. The prompt message can be information for reminding the user to clean the laser focus window.

步骤205、若所述差值小于或者等于所述预设阈值,确认所述移动终端的激光对焦窗口不需要进行清洁。Step 205, if the difference is less than or equal to the preset threshold, confirm that the laser focus window of the mobile terminal does not need to be cleaned.

该步骤中,当所述移动终端通过比较得出,所述差值小于或者等于所述预设阈值的话,那么所述移动终端可以认为发射出去的激光束在传输途中,虽然有一定的损耗,但是损耗在合理的损耗范围之内,所以激光束在传输过程中比较正常,这是,所述移动终端可以确认所述移动终端的激光对焦窗口是干净的,没有影响激光束的传输,所以激光对焦窗口不需要进行清洁。In this step, when the mobile terminal obtains by comparison that the difference is less than or equal to the preset threshold, then the mobile terminal can consider that the emitted laser beam is in the middle of transmission, although there is a certain loss, However, the loss is within a reasonable loss range, so the laser beam is relatively normal during transmission. This is, the mobile terminal can confirm that the laser focus window of the mobile terminal is clean and does not affect the transmission of the laser beam, so the laser beam The focus window does not require cleaning.

步骤206、控制所述移动终端的摄像头进行拍照。Step 206, controlling the camera of the mobile terminal to take pictures.

该步骤中,当所述移动终端确认所述移动终端的激光对焦窗口不需要进行清洁之后,所述移动终端就可以确定一切正常,所述移动终端在经过激光对焦之后,可以控制所述移动终端的摄像头进行拍照。In this step, when the mobile terminal confirms that the laser focusing window of the mobile terminal does not need to be cleaned, the mobile terminal can determine that everything is normal, and the mobile terminal can control the mobile terminal after laser focusing. camera to take pictures.

可选的,步骤202包括:Optionally, step 202 includes:

获取所述移动终端的激光发射组件在发射激光束时的发射光功率;获取接收到的所述返回的激光束的接收光功率;基于所述发射光功率和所述接收光功率,计算所述差值。Acquiring the emission optical power of the laser emitting component of the mobile terminal when emitting the laser beam; obtaining the received optical power of the returned laser beam; based on the emission optical power and the received optical power, calculating the difference.

该步骤中,所述移动终端提取所述移动终端的激光发射组件的数据,获取激光发射组件在发射激光束时的发射光功率,然后在基于接收的返回的激光束,获取在接收到所述返回的激光束的接收光功率,当分别提取到发射光功率和接收光功率之后,基于所述发射光功率和所述接收光功率,所述移动终端可以使用算法对所述发射光功率和所述接收光功率进行计算,以获得所述差值。In this step, the mobile terminal extracts the data of the laser emitting component of the mobile terminal, obtains the emission optical power of the laser emitting component when emitting the laser beam, and then obtains the The received optical power of the returned laser beam, after extracting the transmitted optical power and received optical power respectively, based on the transmitted optical power and the received optical power, the mobile terminal can use an algorithm to calculate the transmitted optical power and the received optical power Calculate the received optical power to obtain the difference.

可选的,在步骤203之后,以及步骤204之前,所述方法包括:Optionally, after step 203 and before step 204, the method includes:

若所述差值大于所述预设阈值,开启一预设时间时长的定时器;当所述预设时间时长到时,控制所述移动终端的摄像头重新进行激光对焦;执行所述获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值的步骤。If the difference is greater than the preset threshold, start a timer for a preset time; when the preset time is up, control the camera of the mobile terminal to refocus the laser; execute the acquisition of the a step of the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam.

该步骤中,当所述移动终端通过比较得出,所述差值大于所述预设阈值的话,那么所述移动终端可以认为发射出去的激光束在传输途中,可能因为对焦窗口上水汽或者灰尘等的存在而导致损耗比较大,但是为了避免单词检测带来的误差,所述移动终端可以控制所述移动中的时间计时装置,开启一预设时间时长的定时器,来进行一段时间的缓冲和调整,当所述移动终端设定的所述预设时间时长的定时器的时间到时,所述移动终端就可以控制所述移动终端的摄像头重新进行激光对焦,以进行重进检测,然后执行所述获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值的步骤。In this step, when the mobile terminal obtains through comparison that the difference is greater than the preset threshold, then the mobile terminal may consider that the emitted laser beam is in the middle of transmission, which may be caused by water vapor or dust on the focusing window. The existence of etc. leads to a relatively large loss, but in order to avoid errors caused by word detection, the mobile terminal can control the time counting device in the movement, and start a timer with a preset time length to perform a period of buffering And adjustment, when the time of the preset time duration timer set by the mobile terminal is up, the mobile terminal can control the camera of the mobile terminal to re-focus the laser for re-entry detection, and then The step of acquiring the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam is performed.

可选的,在所述执行所述获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值的步骤的之后,所述方法包括:Optionally, after performing the step of obtaining the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam, the method includes:

若控制所述移动终端重新进行激光对焦,并且所述差值依旧大于所述预设阈值,则确定所述移动终端的激光对焦窗口需要被清理;执行所述对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁的步骤。If the mobile terminal is controlled to perform laser focusing again, and the difference is still greater than the preset threshold, then it is determined that the laser focus window of the mobile terminal needs to be cleaned; perform the outputting a prompt message to the user, wherein, The prompt message is used to remind the user to clean the laser focus window.

该步骤中,当所述移动终端控制所述移动终端的摄像头重新进行激光对焦,并且通过检测等步骤,得到所述差值依旧大于所述预设阈值的时候,那么,在经过不止一次的检测后,所述移动终端可以确定,所述移动终端的对焦窗口可能不干净,存在影响激光束传输的东西,如水汽或者灰尘等障碍物,也就是说,所述移动终端可以确定所述移动终端的激光对焦窗口需要被清理,所述移动终端需要对用户做出提醒,因此,所述移动终端控制以执行所述对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁的步骤。In this step, when the mobile terminal controls the camera of the mobile terminal to refocus the laser, and through steps such as detection, the difference is still greater than the preset threshold, then, after more than one detection Finally, the mobile terminal can determine that the focus window of the mobile terminal may not be clean, and there are things that affect the transmission of the laser beam, such as obstacles such as water vapor or dust, that is, the mobile terminal can determine that the mobile terminal The laser focus window needs to be cleaned, and the mobile terminal needs to remind the user, therefore, the mobile terminal is controlled to output a prompt message to the user, wherein the prompt message is used to remind the user to focus on the laser Steps to clean the window.

本发明实施例提供的提醒方法,接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;将所述差值与预设阈值进行比较;若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁;若所述差值小于或者等于所述预设阈值,确认所述移动终端的激光对焦窗口不需要进行清洁;控制所述移动终端的摄像头进行拍照。这样,移动终端可以根据发射的激光束的光功率与接收到的激光束的光功率的差值,判断对焦窗口是否干净,并对可以对用户进行提醒,可以保证移动终端对焦的精确度,并且无需用户自己检查对焦窗口的清洁度,省时省力,有利于提高用户体验。In the reminder method provided by the embodiment of the present invention, the returned laser beam is received, wherein the laser beam is emitted by the laser emitting component of the mobile terminal; the optical power of the laser beam emitted by the laser emitting component and the power of the returned laser beam are acquired difference in optical power; comparing the difference with a preset threshold; if the difference is greater than the preset threshold, output a prompt message to the user, wherein the prompt message is used to remind the user to focus on the laser The window is cleaned; if the difference is less than or equal to the preset threshold, it is confirmed that the laser focus window of the mobile terminal does not need to be cleaned; the camera of the mobile terminal is controlled to take pictures. In this way, the mobile terminal can judge whether the focus window is clean according to the difference between the optical power of the emitted laser beam and the optical power of the received laser beam, and can remind the user, which can ensure the accuracy of the focus of the mobile terminal, and There is no need for the user to check the cleanliness of the focus window by himself, which saves time and effort, and is conducive to improving user experience.

第三实施例third embodiment

参见图3至图7,图3是本发明第三实施例提供的移动终端的结构图之一,图4是本发明第三实施提例供的移动终端的结构图之二,图5是本发明第三实施例提供的移动终端的结构图之三,图6是本发明第三实施例提供的移动终端的结构图之四,图7是图3中所示的获取模块的结构图。所述移动终端使用激光对焦进行拍照,如图3至图7所示,移动终端300包括:Referring to FIG. 3 to FIG. 7, FIG. 3 is one of the structural diagrams of the mobile terminal provided by the third embodiment of the present invention, FIG. 4 is the second structural diagram of the mobile terminal provided by the third embodiment of the present invention, and FIG. 5 is the The third structural diagram of the mobile terminal provided by the third embodiment of the invention, FIG. 6 is the fourth structural diagram of the mobile terminal provided by the third embodiment of the present invention, and FIG. 7 is the structural diagram of the acquisition module shown in FIG. 3 . The mobile terminal uses laser focusing to take pictures, as shown in Figures 3 to 7, the mobile terminal 300 includes:

接收模块310,用于接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;The receiving module 310 is used to receive the returned laser beam, wherein the laser beam is emitted by using the laser emitting component of the mobile terminal;

获取模块320,用于获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;An acquisition module 320, configured to acquire the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam;

比较模块330,用于将所述差值与预设阈值进行比较;A comparison module 330, configured to compare the difference with a preset threshold;

输出模块340,用于若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。The output module 340 is configured to output a prompt message to the user if the difference is greater than the preset threshold, wherein the prompt message is used to remind the user to clean the laser focus window.

可选的,所述获取模块320包括:Optionally, the obtaining module 320 includes:

第一获取单元321,用于提取所述移动终端300的激光发射组件在发射激光束时的发射光功率;The first acquiring unit 321 is configured to extract the emitted light power of the laser emitting component of the mobile terminal 300 when emitting a laser beam;

第二获取单元322,用于提取接收到的所述返回的激光束的接收光功率;The second acquisition unit 322 is configured to extract the received optical power of the returned laser beam received;

计算单元323,用于基于所述发射光功率和所述接收光功率,计算所述差值。The calculation unit 323 is configured to calculate the difference based on the transmitted optical power and the received optical power.

可选的,所述移动终端300包括:Optionally, the mobile terminal 300 includes:

确认模块350,用于若所述差值小于或者等于所述预设阈值,确认所述移动终端的激光对焦窗口不需要进行清洁;A confirmation module 350, configured to confirm that the laser focus window of the mobile terminal does not need to be cleaned if the difference is less than or equal to the preset threshold;

第一控制模块360,用于控制所述移动终端300的摄像头进行拍照。The first control module 360 is configured to control the camera of the mobile terminal 300 to take pictures.

可选的,所述移动终端300包括:Optionally, the mobile terminal 300 includes:

启动模块301,用于若所述差值大于所述预设阈值,开启一预设时间时长的定时器;A starting module 301, configured to start a timer with a preset time duration if the difference is greater than the preset threshold;

第二控制模块302,用于当所述预设时间时长到时,控制所述移动终端的摄像头重新进行激光对焦;The second control module 302 is configured to control the camera of the mobile terminal to refocus the laser when the preset time is up;

第一执行模块303,执行所述获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值的步骤。The first executing module 303 executes the step of acquiring the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam.

可选的,所述移动终端300包括:Optionally, the mobile terminal 300 includes:

确定模块304,用于若控制所述移动终端的摄像重新进行激光对焦,并且所述差值依旧大于所述预设阈值,则确定所述移动终端的激光对焦窗口需要被清理;A determination module 304, configured to determine that the laser focus window of the mobile terminal needs to be cleared if the camera of the mobile terminal is controlled to perform laser focus again, and the difference is still greater than the preset threshold;

第二执行模块305,用于执行所述对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁的步骤。The second execution module 305 is configured to execute the step of outputting a prompt message to the user, wherein the prompt message is used to remind the user to clean the laser focus window.

移动终端300能够实现图1至图2的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 300 can implement various processes implemented by the mobile terminal in the method embodiments in FIG. 1 to FIG. 2 , and details are not repeated here to avoid repetition.

本发明实施例的移动终端,接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;将所述差值与预设阈值进行比较;若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。这样,移动终端可以根据发射的激光束的光功率与接收到的激光束的光功率的差值,判断对焦窗口是否干净,并对可以对用户进行提醒,可以保证移动终端对焦的精确度,并且无需用户自己检查对焦窗口的清洁度,省时省力,有利于提高用户体验。The mobile terminal according to the embodiment of the present invention receives the returned laser beam, wherein the laser beam is emitted by using the laser emitting component of the mobile terminal; the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam are acquired Power difference; comparing the difference with a preset threshold; if the difference is greater than the preset threshold, output a prompt message to the user, wherein the prompt message is used to remind the user to focus on the laser focus window Clean up. In this way, the mobile terminal can judge whether the focus window is clean according to the difference between the optical power of the emitted laser beam and the optical power of the received laser beam, and can remind the user, which can ensure the accuracy of the focus of the mobile terminal, and There is no need for the user to check the cleanliness of the focus window by himself, which saves time and effort, and is conducive to improving user experience.

第四实施例Fourth embodiment

参见图8,图8是本发明实第四实施例提供的移动终端的结构图,如图8所示,移动终端800包括:至少一个处理器801、存储器802、至少一个网络接口804和用户接口803。移动终端800中的各个组件通过总线系统805耦合在一起。可理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。所述移动终端还包括激光收发组件806,所述激光收发组件806通过总线系统805与个部件进行连接,所述激光收发组件806包括激光发射组件和激光接收组件。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805。Referring to FIG. 8, FIG. 8 is a structural diagram of a mobile terminal provided by a fourth embodiment of the present invention. As shown in FIG. 8, a mobile terminal 800 includes: at least one processor 801, a memory 802, at least one network interface 804 and a user interface 803. Various components in the mobile terminal 800 are coupled together through a bus system 805 . It can be understood that the bus system 805 is used to realize connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. The mobile terminal also includes a laser transceiver component 806, which is connected to each component through the bus system 805, and the laser transceiver component 806 includes a laser emitting component and a laser receiving component. However, the various buses are labeled as bus system 805 in FIG. 8 for clarity of illustration.

其中,用户接口803可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 803 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.

可以理解,本发明实施例中的存储器802可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器802旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 802 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 802 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器802存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统8021和应用程序8022。In some implementations, the memory 802 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 8021 and an application program 8022 .

其中,操作系统8021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序8022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序8022中。Among them, the operating system 8021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 8022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 8022 .

在本发明实施例中,通过调用存储器802存储的程序或指令,具体的,可以是应用程序8022中存储的程序或指令,处理器801用于:In this embodiment of the present invention, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application program 8022, the processor 801 is used to:

接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;将所述差值与预设阈值进行比较;若所述差值小于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。Receiving the returned laser beam, wherein the laser beam is emitted by the laser emitting component of the mobile terminal; obtaining the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam; The difference is compared with a preset threshold; if the difference is smaller than the preset threshold, a prompt message is output to the user, wherein the prompt message is used to remind the user to clean the laser focus window.

上述本发明实施例揭示的方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 801 or implemented by the processor 801 . The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 801 or instructions in the form of software. The above-mentioned processor 801 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选的,处理器801还用于:Optionally, the processor 801 is also used for:

获取所述移动终端的激光发射组件在发射激光束时的发射光功率;获取接收到的所述返回的激光束的接收光功率;基于所述发射光功率和所述接收光功率,计算所述差值。Acquiring the emission optical power of the laser emitting component of the mobile terminal when emitting the laser beam; obtaining the received optical power of the returned laser beam; based on the emission optical power and the received optical power, calculating the difference.

可选的,处理器801还用于:Optionally, the processor 801 is also used for:

若所述差值小于或者等于所述预设阈值,确认所述移动终端的激光对焦窗口不需要进行清洁;控制所述移动终端的摄像头进行拍照。If the difference is less than or equal to the preset threshold, it is confirmed that the laser focus window of the mobile terminal does not need to be cleaned; and the camera of the mobile terminal is controlled to take pictures.

可选的,处理器801还用于:Optionally, the processor 801 is also used for:

若所述差值大于所述预设阈值,开启一预设时间时长的定时器;当所述预设时间时长到时,控制所述移动终端的摄像头重新进行激光对焦;执行所述获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值的步骤。If the difference is greater than the preset threshold, start a timer for a preset time; when the preset time is up, control the camera of the mobile terminal to refocus the laser; execute the acquisition of the a step of the difference between the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam.

可选的,处理器801还用于:Optionally, the processor 801 is also used for:

若控制所述移动终端的摄像重新进行激光对焦,并且所述差值依旧大于所述预设阈值,则确定所述移动终端的激光对焦窗口需要被清理;执行所述对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁的步骤。If the camera of the mobile terminal is controlled to re-focus the laser, and the difference is still greater than the preset threshold, then it is determined that the laser focus window of the mobile terminal needs to be cleaned; performing the outputting a prompt message to the user, Wherein, the prompt message is used to remind the user to clean the laser focus window.

移动终端800能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 800 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.

本发明实施例的移动终端,接收返回的激光束,其中,激光束为使用移动终端的激光发射组件发射;获取所述激光发射组件发射的激光束的光功率与所述返回的激光束的光功率的差值;将所述差值与预设阈值进行比较;若所述差值大于所述预设阈值,对用户输出一提示消息,其中,所述提示消息用于提醒用户对激光对焦窗口进行清洁。这样,移动终端可以根据发射的激光束的光功率与接收到的激光束的光功率的差值,判断对焦窗口是否干净,并对可以对用户进行提醒,可以保证移动终端对焦的精确度,并且无需用户自己检查对焦窗口的清洁度,省时省力,有利于提高用户体验。The mobile terminal of the embodiment of the present invention receives the returned laser beam, wherein the laser beam is emitted by the laser emitting component of the mobile terminal; the optical power of the laser beam emitted by the laser emitting component and the optical power of the returned laser beam are acquired Power difference; compare the difference with a preset threshold; if the difference is greater than the preset threshold, output a prompt message to the user, wherein the prompt message is used to remind the user to focus on the laser focus window Clean up. In this way, the mobile terminal can judge whether the focusing window is clean according to the difference between the optical power of the emitted laser beam and the optical power of the received laser beam, and can remind the user, which can ensure the accuracy of the focusing of the mobile terminal, and There is no need for the user to check the cleanliness of the focus window by himself, which saves time and effort, and is conducive to improving user experience.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. a kind of based reminding method, is applied to the mobile terminal taken pictures using laser focusing it is characterised in that including:
Receive the laser beam returning, wherein, laser beam is the Laser emission assembly transmitting using mobile terminal;
Obtain the luminous power of laser beam of described Laser emission assembly transmitting and the difference of the luminous power of laser beam of described return;
Described difference and predetermined threshold value are compared;
If described difference is more than described predetermined threshold value, a prompting message is exported to user, wherein, described prompting message is used for reminding User is cleaned to laser focusing window.
2. the method for claim 1 it is characterised in that described acquisition described mobile terminal transmitting laser beam light work( The step of the difference of the luminous power of laser beam of rate and described return, comprising:
Obtain the Laser emission assembly of the described mobile terminal transmitting luminous power when launching laser beam;
Obtain the received optical power of the laser beam of described return receiving;
Based on described transmitting luminous power and described received optical power, calculate described difference.
3. the method for claim 1 is it is characterised in that in the described step being compared described difference and predetermined threshold value After rapid, methods described also includes:
If described difference be less than or equal to described predetermined threshold value, confirm described mobile terminal laser focusing window do not need into Row cleaning;
The photographic head controlling described mobile terminal is taken pictures.
4. the method for claim 1 is it is characterised in that in the described step being compared described difference and predetermined threshold value After rapid, and if described difference be more than described predetermined threshold value, before the step of a prompting message is exported to user, described Method includes:
If described difference is more than described predetermined threshold value, open the intervalometer of a Preset Time duration;
When described Preset Time duration then, control described mobile terminal photographic head re-start laser focusing;
The described luminous power of laser beam obtaining described Laser emission assembly transmitting of execution and the light work(of the laser beam of described return The step of the difference of rate.
5. method as claimed in claim 4 is it is characterised in that launch in the described Laser emission assembly of the described acquisition of described execution The step of the difference of the luminous power of laser beam of the luminous power of laser beam and described return after, methods described includes:
If the shooting controlling described mobile terminal re-starts laser focusing, and described difference is still more than described default threshold Value is it is determined that the laser focusing window needs of described mobile terminal are cleaned;
Execution is described to export a prompting message to user, and wherein, described prompting message is used for reminding user to laser focusing window The step being cleaned.
6. a kind of mobile terminal it is characterised in that described mobile terminal using laser focusing taken pictures, described mobile terminal bag Include:
Receiver module, for receiving the laser beam returning, wherein, laser beam is to be sent out using the Laser emission assembly of mobile terminal Penetrate;
Acquisition module, for obtaining the luminous power of the laser beam that described Laser emission assembly is launched and the laser beam of described return The difference of luminous power;
Comparison module, for being compared described difference and predetermined threshold value;
Output module, if being more than described predetermined threshold value for described difference, exporting a prompting message to user, wherein, described carrying Show that message is used for reminding user that laser focusing window is cleaned.
7. mobile terminal as claimed in claim 6 is it is characterised in that described acquisition module includes:
First acquisition unit, for extracting the Laser emission assembly of the described mobile terminal launching light work(when launching laser beam Rate;
Second acquisition unit, for extracting the received optical power of the laser beam of the described return receiving;
Computing unit, for based on described transmitting luminous power and described received optical power, obtaining described difference.
8. mobile terminal as claimed in claim 6 is it is characterised in that described mobile terminal includes:
Confirming module, if being less than or equal to described predetermined threshold value for described difference, confirming the laser pair of described mobile terminal Burnt window does not need to be cleaned;
First control module, the photographic head for controlling described mobile terminal is taken pictures.
9. mobile terminal as claimed in claim 6 is it is characterised in that described mobile terminal includes:
Starting module, if being more than described predetermined threshold value for described difference, opens the intervalometer of a Preset Time duration;
Second control module, for when described Preset Time duration then, control described mobile terminal photographic head re-start Laser is focused;
First performing module, the described luminous power of laser beam obtaining described Laser emission assembly transmitting of execution and described return The step of the difference of the luminous power of laser beam.
10. mobile terminal as claimed in claim 9 is it is characterised in that described mobile terminal includes:
Determining module, if for controlling the shooting of described mobile terminal to re-start laser focusing, and described difference is still big In described predetermined threshold value it is determined that the laser focusing window needs of described mobile terminal are cleaned;
Second performing module, for execute described to user export a prompting message, wherein, described prompting message be used for remind use The step that family is cleaned to laser focusing window.
CN201610967344.9A 2016-10-31 2016-10-31 Reminder method and mobile terminal Active CN106375598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610967344.9A CN106375598B (en) 2016-10-31 2016-10-31 Reminder method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610967344.9A CN106375598B (en) 2016-10-31 2016-10-31 Reminder method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106375598A true CN106375598A (en) 2017-02-01
CN106375598B CN106375598B (en) 2019-08-20

Family

ID=57892892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610967344.9A Active CN106375598B (en) 2016-10-31 2016-10-31 Reminder method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106375598B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112089594A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Neck massager and cleaning and disinfection reminding method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007319881A (en) * 2006-05-31 2007-12-13 Seiko Epson Corp Substrate manufacturing method, laser processing device, display device, electro-optical device, electronic device
US7535501B1 (en) * 2004-10-12 2009-05-19 Lifetouch, Inc. Testing of digital cameras
CN102937412A (en) * 2012-11-14 2013-02-20 北京汉邦高科数字技术股份有限公司 Foreign matter blocking detection and intelligent alarm method for camera devices
CN105094225A (en) * 2014-05-19 2015-11-25 Lg电子株式会社 Mobile terminal
CN105827914A (en) * 2016-04-20 2016-08-03 北京小米移动软件有限公司 Lens cleaning prompting method and device
CN205484798U (en) * 2016-01-18 2016-08-17 深圳市金立通信设备有限公司 Laser rangefinder , camera device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7535501B1 (en) * 2004-10-12 2009-05-19 Lifetouch, Inc. Testing of digital cameras
JP2007319881A (en) * 2006-05-31 2007-12-13 Seiko Epson Corp Substrate manufacturing method, laser processing device, display device, electro-optical device, electronic device
CN102937412A (en) * 2012-11-14 2013-02-20 北京汉邦高科数字技术股份有限公司 Foreign matter blocking detection and intelligent alarm method for camera devices
CN105094225A (en) * 2014-05-19 2015-11-25 Lg电子株式会社 Mobile terminal
CN205484798U (en) * 2016-01-18 2016-08-17 深圳市金立通信设备有限公司 Laser rangefinder , camera device and terminal
CN105827914A (en) * 2016-04-20 2016-08-03 北京小米移动软件有限公司 Lens cleaning prompting method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112089594A (en) * 2020-05-22 2020-12-18 未来穿戴技术有限公司 Neck massager and cleaning and disinfection reminding method thereof
CN112089594B (en) * 2020-05-22 2023-03-31 未来穿戴技术有限公司 Neck massager and cleaning and disinfection reminding method thereof

Also Published As

Publication number Publication date
CN106375598B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN110390394B (en) Batch normalized data processing method and device, electronic device and storage medium
CN110659640A (en) Recognition method and device of text sequence, electronic device and storage medium
WO2020199730A1 (en) Text recognition method and apparatus, electronic device and storage medium
CN108566516B (en) Image processing method, device, storage medium and mobile terminal
CN105007425B (en) Contrast type focusing method and mobile terminal
WO2022043741A1 (en) Network training method and apparatus, person re-identification method and apparatus, storage medium, and computer program
CN110675355B (en) Image reconstruction method and device, electronic device and storage medium
CN111783756A (en) Text recognition method and device, electronic device and storage medium
CN111539410A (en) Character recognition method and device, electronic equipment and storage medium
CN110503023A (en) Living body detection method and device, electronic device and storage medium
CN109829863A (en) Image processing method and device, electronic equipment and storage medium
CN106791375B (en) A shooting focusing method and mobile terminal
CN108712606A (en) Prompt method, device, storage medium and mobile terminal
CN112001364A (en) Image recognition method and device, electronic device and storage medium
CN112291473B (en) Focusing method, device and electronic device
WO2022110614A1 (en) Gesture recognition method and apparatus, electronic device, and storage medium
JP7150896B2 (en) Face recognition method and device, electronic device, and storage medium
WO2022134390A1 (en) Labeling method and apparatus, electronic device, and storage medium
CN109977860A (en) Image processing method and device, electronic equipment and storage medium
CN106131425A (en) A kind of method switching photographic head and mobile terminal
CN110765943A (en) Network training and recognition method and device, electronic equipment and storage medium
CN106372076B (en) Web page switching method and device in browser
CN112291475A (en) Photographing method and device and electronic equipment
CN114125226B (en) Image shooting method, device, electronic device and readable storage medium
US10601763B2 (en) Method and apparatus for generating and sending a two-dimensional code in a message

Legal Events

Date Code Title Description
C06 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