WO2019080907A1 - 移动终端的控制方法、装置、移动终端和存储介质 - Google Patents

移动终端的控制方法、装置、移动终端和存储介质

Info

Publication number
WO2019080907A1
WO2019080907A1 PCT/CN2018/111956 CN2018111956W WO2019080907A1 WO 2019080907 A1 WO2019080907 A1 WO 2019080907A1 CN 2018111956 W CN2018111956 W CN 2018111956W WO 2019080907 A1 WO2019080907 A1 WO 2019080907A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmitter
mobile terminal
emitter
time
work
Prior art date
Application number
PCT/CN2018/111956
Other languages
English (en)
French (fr)
Inventor
吴安平
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019080907A1 publication Critical patent/WO2019080907A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present application relates to the field of mobile terminal technologies, and in particular, to a method, an apparatus, a mobile terminal, and a computer readable storage medium for controlling a mobile terminal.
  • the purpose of the present application is to solve at least one of the above technical problems to some extent.
  • the first object of the present application is to propose a control method of a mobile terminal.
  • the method avoids the problem that the first transmitter and the second transmitter that are too close to each other interfere with each other when working at the same time, and improves the performance of the mobile terminal.
  • a second object of the present application is to propose a control device for a mobile terminal.
  • a third object of the present application is to propose a mobile terminal.
  • a fourth object of the present application is to propose a non-transitory computer readable storage medium.
  • a method for controlling a mobile terminal the mobile terminal has a first transmitter and a second transmitter, and the first transmitter and the second transmitter respectively transmit The ray of light has a cross-wavelength, wherein the method includes: determining a current usage scenario of the mobile terminal; determining, according to the current usage scenario, whether the first transmitter and the second transmitter are needed; if so, The first transmitter and the second transmitter are controlled to operate alternately.
  • the current usage scenario of the mobile terminal may be first determined, and whether the first transmitter and the second transmitter are needed to be used according to the current usage scenario, and if so, the first transmitter is controlled. And the second transmitter works alternately, thereby avoiding the problem that the first transmitter and the second transmitter that are too close together will interfere with each other at the same time, and the performance of the mobile terminal is improved.
  • the mobile terminal has a first transmitter and a second transmitter, and the first transmitter and the second transmitter respectively transmit
  • the illuminating light has a cross-wavelength
  • the device includes: a determining module, configured to determine a current usage scenario of the mobile terminal; and a first determining module, configured to determine, according to the current usage scenario, whether the first transmitting is needed to be used And the second transmitter; the control module, configured to control the first transmitter and the second when determining that the current usage scenario needs to use the first transmitter and the second transmitter
  • the transmitter works alternately.
  • the determining module may determine the current usage scenario of the mobile terminal, and the first determining module determines, according to the current usage scenario, whether the first transmitter and the second transmitter are needed, and if so, controls The module controls the first transmitter and the second transmitter to work alternately, thereby avoiding the problem that the first transmitter and the second transmitter that are too close to each other interfere with each other at the same time, thereby improving the performance of the mobile terminal.
  • the mobile terminal provided by the embodiment of the third aspect of the present invention includes: a first transmitter and a second transmitter, where the light emitted by the first transmitter and the second transmitter respectively has a cross wavelength; a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the mobile terminal of the first aspect of the present application Control Method.
  • a non-transitory computer readable storage medium has a computer program stored thereon, and when the program is executed by the processor, the mobile device according to the first aspect of the present application is implemented. Terminal control method.
  • FIG. 1 is a flowchart of a method of controlling a mobile terminal according to an embodiment of the present application
  • FIG. 2 is a diagram showing an example of controlling the enabling of a first transmitter and a second transmitter in accordance with an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a control apparatus of a mobile terminal according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a control apparatus of a mobile terminal according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • FIG. 1 is a flowchart of a method of controlling a mobile terminal according to an embodiment of the present application.
  • the control method of the mobile terminal in the embodiment of the present application can be applied to the control device of the mobile terminal in the embodiment of the present application, and the control device can be configured in the mobile terminal.
  • the mobile terminal may have a first transmitter and a second transmitter, a distance between the first transmitter and the second transmitter is less than a preset distance, and the first transmission
  • the light emitted by the second emitter and the second emitter respectively have intersecting wavelengths. It can be understood that the wavelengths of the first emitter and the second emitter emitting light may be the same, or the two wavelengths of the emitted light may be crossed.
  • control method of the mobile terminal may include:
  • Block 110 determining a current usage scenario of the mobile terminal.
  • the mobile terminal may be a hardware device with various operating systems, such as a mobile phone, a tablet computer, and a personal digital assistant.
  • the user when the user is used to monitor the mobile terminal, the user may first obtain an operation behavior of the mobile terminal, and then determine a current usage scenario of the mobile terminal according to the operation behavior. For example, when it is detected that the user unlocks the mobile terminal and clicks the camera application in the mobile terminal to open the shooting function of the mobile terminal, the user's operation for the mobile terminal can be obtained, and the current current of the mobile terminal is determined according to the operation. Use the scene to shoot a scene.
  • the user's operation for the mobile terminal can be obtained, and according to the operation, the current usage scenario of the mobile terminal is determined as Video playback scene.
  • the first emitter may be a transmitter in a proximity sensor
  • the second emitter may be a structured light emitter
  • the first emitter may be a structured light emitter
  • the second emitter It can be a transmitter in the proximity sensor.
  • the light emitted by the structured light emitter may be infrared light.
  • the infrared light is a light emitted by the structured light emitter when the structured light photographing function is performed, and the depth image of the object to be photographed can be obtained by using the structured light emitter in combination with the structured light camera.
  • the mobile terminal further has a structured optical camera, wherein the first transmitter can be a transmitter in the proximity sensor, and the second transmitter can be a structured light emitter as an example, assuming that the first transmitter is used to implement the proximity function, The second emitter is used to realize the structured light image capturing function, and the depth image of the object to be photographed can be obtained by the second emitter and the structured light camera.
  • the first transmitter and the second transmission can be determined to be currently used according to the current usage scene. For example, it is necessary to determine the power of the structured light emitter by adjusting the proximity of the object to be photographed by the proximity function.
  • the first transmitter and the second transmitter may be controlled to work alternately.
  • the mobile terminal can control the enabling of the first transmitter and the second transmitter by a pulsed signal. That is, the first transmitter and the second transmitter can be operated by pulse control, for example, controlling the first transmitter operation according to the first pulse signal, and controlling the second emission according to the second pulse signal.
  • the first pulse signal and the second pulse signal alternately enable the first emitter and the second emitter at a pulse gap such that the first emitter and The purpose of the alternate operation of the second transmitter.
  • the pulse gap refers to a time interval between two adjacent pulses in a pulse sequence.
  • the structured light emitter is enabled with a first pulse signal to emit infrared light
  • the emitter in the proximity sensor is enabled with a second pulse signal to emit infrared light.
  • the structured light is controlled. While the transmitter is not working, it can control the operation of the transmitter in the proximity sensor, and while the transmitter controlling the proximity sensor is not working, the structured light emitter can be controlled to work, thereby achieving the emitter and structured light in the proximity sensor. The purpose of the alternate operation of the transmitter.
  • the control method of the mobile terminal may also acquire a preset switching time, where the switching time is used to indicate the time when the first transmitter ends the current work until the second transmitter starts working, or indicates the second time.
  • the first threshold may be preset according to an actual requirement, and the first threshold may refer to a minimum time value that can be used after the first transmitter and the second transmitter complete the work alternate.
  • the preset switching time may be acquired first, and it is determined which of the first transmitter and the second transmitter works first, for example, When the first transmitter works first, the second transmitter does not work first, and after the first transmitter is controlled according to the pulse signal, the timing starts, and when the time is reached, the switching time is reached.
  • the second transmitter is controlled to operate when the first transmitter is not operating. Thereby, the switching time for switching the operation of the first transmitter and the second transmitter is slightly shifted, and the first transmitter and the second transmitter are prevented from being simultaneously turned on to interfere with each other, thereby further improving the performance of the mobile terminal.
  • the current usage scenario of the mobile terminal may be first determined, and whether the first transmitter and the second transmitter are needed to be used according to the current usage scenario, and if so, the first transmitter is controlled. And the second transmitter works alternately, thereby avoiding the problem that the first transmitter and the second transmitter that are too close together will interfere with each other at the same time, and the performance of the mobile terminal is improved.
  • an embodiment of the present application further provides a control device for the mobile terminal, and the control device of the mobile terminal provided by the embodiment of the present application and the foregoing implementations
  • the control method of the mobile terminal provided by the example corresponds to the control device of the mobile terminal provided in the foregoing embodiment, and the control device of the mobile terminal provided in this embodiment is not described in detail in this embodiment.
  • FIG. 3 is a schematic structural diagram of a control apparatus of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal has a first transmitter and a second transmitter, a distance between the first transmitter and the second transmitter is less than a preset distance, and the first transmitter The light emitted by the second emitter separately has an intersecting wavelength.
  • the control device 300 of the mobile terminal may include: a determining module 310, a first determining module 320, and a control module 330.
  • the determining module 310 is configured to determine a current usage scenario of the mobile terminal.
  • the first determining module 320 is configured to determine, according to the current usage scenario, whether the first transmitter and the second transmitter are needed to be used.
  • the first emitter is a transmitter in the proximity sensor and the second emitter is a structured light emitter.
  • the light may be infrared light.
  • the control module 330 can be configured to control the first transmitter and the second transmitter to alternately operate when determining that the current use scenario requires the use of the first transmitter and the second transmitter.
  • control module 330 can operate the first transmitter and the second transmitter by pulsed control, wherein control alternately enables the first transmitter and the second transmitter at the pulse gap.
  • the control apparatus 300 may further include: The module 340 and the second determining module 350 are obtained.
  • the obtaining module 340 can be configured to obtain a preset switching time, where the switching time is used to indicate the time when the first transmitter ends the current work until the second transmitter starts working, or the second transmitter is indicated. At the end of the work until the time when the first transmitter starts working, the switching time is greater than the first threshold.
  • the second determining module 350 can be configured to determine whether the current time meets the switching time.
  • the control module 330 can control the first transmitter and the second transmitter to switch when the current time meets the switching time.
  • the determining module may determine the current usage scenario of the mobile terminal, and the first determining module determines, according to the current usage scenario, whether the first transmitter and the second transmitter are needed, and if so, controls The module controls the first transmitter and the second transmitter to work alternately, thereby avoiding the problem that the first transmitter and the second transmitter that are too close to each other interfere with each other at the same time, thereby improving the performance of the mobile terminal.
  • the present application also proposes a mobile terminal.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal 500 can include a first transmitter 510, a second transmitter 520, a memory 530, and a processor 540.
  • the distance between the first transmitter 510 and the second transmitter 520 is less than a preset distance, and the light emitted by the first transmitter 510 and the second transmitter 520 respectively has a cross wavelength, is stored in the memory 530, and can be
  • the computer program 550 running on the processor 540, wherein when the processor 540 executes the program 550, the method for controlling the mobile terminal according to any of the above embodiments of the present application is implemented.
  • the present application further provides a non-transitory computer readable storage medium having stored thereon a computer program, the program being executed by the processor to implement the mobile terminal according to any of the above embodiments of the present application. Control method.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with such an instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like. While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Optical Communication System (AREA)

Abstract

本申请公开了一种移动终端的控制方法、装置、移动终端和存储介质。其中,所述移动终端具有第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长,其中,所述方法包括:确定所述移动终端的当前使用场景;根据所述当前使用场景判断是否需要使用所述第一发射器和所述第二发射器;若是,则控制所述第一发射器和所述第二发射器交替工作。该方法避免了距离过近的第一发射器和第二发射器同时工作时会相互干扰的问题发生,提高了移动终端的性能。

Description

移动终端的控制方法、装置、移动终端和存储介质
相关申请的交叉引用
本申请要求广东欧珀移动通信有限公司于2017年10月27日提交的、发明名称为“移动终端的控制方法、装置、移动终端和存储介质”的、中国专利申请号“201711025903.5”的优先权。
技术领域
本申请涉及移动终端技术领域,尤其涉及一种移动终端的控制方法、装置、移动终端和计算机可读存储介质。
背景技术
随着移动终端技术的快速发展以及人们对移动终端的需求越来越高,移动终端已经成为人们生活中不可或缺的通讯和娱乐工具。为了满足人们更多的需求,移动终端中被配置了各种各样的传感器。然而,其中有些传感器会发射相同波长的光线,如果这些发射相同波长光线的传感器之间的距离过近,则这些传感器之间会相互干扰,影响移动终端对这些传感器的使用,从而降低了移动终端的性能。
发明内容
本申请的目的旨在至少在一定程度上解决上述的技术问题之一。
为此,本申请的第一个目的在于提出一种移动终端的控制方法。该方法避免了距离过近的第一发射器和第二发射器同时工作时会相互干扰的问题发生,提高了移动终端的性能。
本申请的第二个目的在于提出一种移动终端的控制装置。
本申请的第三个目的在于提出一种移动终端。
本申请的第四个目的在于提出一种非临时性计算机可读存储介质。
为达到上述目的,本申请第一方面实施例提出的移动终端的控制方法,所述移动终端具有第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长,其中,所述方法包括:确定所述移动终端的当前使用场景;根据所述当前使用场景判断是否需要使用所述第一发射器和所述第二发射器;若是,则控制所述第一发射器和所述第二发射器交替工作。
根据本申请实施例的移动终端的控制方法,可先确定移动终端的当前使用场景,并根据该当前使用场景判断是否需要使用第一发射器和第二发射器,若是,则控制第一发射器 和第二发射器交替工作,由此,避免了距离过近的第一发射器和第二发射器同时工作时会相互干扰的问题发生,提高了移动终端的性能。
为达到上述目的,本申请第二方面实施例提出的移动终端的控制装置,所述移动终端具有第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长,其中,所述装置包括:确定模块,用于确定所述移动终端的当前使用场景;第一判断模块,用于根据所述当前使用场景判断是否需要使用所述第一发射器和所述第二发射器;控制模块,用于在判断所述当前使用场景需要使用所述第一发射器和所述第二发射器时,控制所述第一发射器和所述第二发射器交替工作。
根据本申请实施例的移动终端的控制装置,可通过确定模块确定移动终端的当前使用场景,第一判断模块根据该当前使用场景判断是否需要使用第一发射器和第二发射器,若是,控制模块则控制第一发射器和第二发射器交替工作,由此,避免了距离过近的第一发射器和第二发射器同时工作时会相互干扰的问题发生,提高了移动终端的性能。
为达到上述目的,本申请第三方面实施例提出的移动终端,包括:第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长;存储器;处理器;存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述程序时,实现本申请第一方面实施例所述的移动终端的控制方法。
为达到上述目的,本申请第四方面实施例提出的非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现本申请第一方面实施例所述的移动终端的控制方法。
本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是根据本申请一个实施例的移动终端的控制方法的流程图;
图2是根据本申请实施例的控制第一发射器和第二发射器使能的示例图;
图3是根据本申请一个实施例的移动终端的控制装置的结构示意图;
图4是根据本申请一个具体实施例的移动终端的控制装置的结构示意图;
图5是根据本申请一个实施例的移动终端的结构示意图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。
下面参考附图描述本申请实施例的移动终端的控制方法、装置、移动终端和计算机可读存储介质。
图1是根据本申请一个实施例的移动终端的控制方法的流程图。需要说明的是,本申请实施例的移动终端的控制方法可应用于本申请实施例的移动终端的控制装置,该控制装置可被配置于移动终端。其中,在本申请的实施例中,该移动终端可具有第一发射器和第二发射器,该第一发射器与所述第二发射器之间的距离小于预设距离,且第一发射器与第二发射器分别发射的光线存在交叉波长。可以理解,第一发射器与第二发射器发射光线的波长可以相同,或者,发射光线的两个波长有交叉即可。
如图1所示,该移动终端的控制方法可以包括:
方框110,确定移动终端的当前使用场景。
其中,在本申请的实施例中,该移动终端可以是手机、平板电脑、个人数字助理等具有各种操作系统的硬件设备。
可选地,在监测到用户使用移动终端时,可先获取用户针对该移动终端的操作行为,之后,可根据该操作行为确定出该移动终端的当前使用场景。例如,在监测到用户解锁移动终端,并点击移动终端中的相机应用程序以开启移动终端的拍摄功能时,可获取该用户针对该移动终端的操作,并根据该操作确定出该移动终端的当前使用场景为拍摄场景。
又如,在监测到用户解锁移动终端,并点击移动终端中的视频客户端来观看视频时,可获取该用户针对该移动终端的操作,并根据该操作确定出该移动终端的当前使用场景为视频播放场景。
方框120,根据当前使用场景判断是否需要使用第一发射器和第二发射器。
可选地,在得到移动终端当前的使用场景时,可根据该当前使用场景来判断移动终端当前是否需要使用所述第一发射器和所述第二发射器。作为一种示例,第一发射器可为接近传感器中的发射器,所述第二发射器可为结构光发射器;或者,第一发射器可为结构光发射器,所述第二发射器可为接近传感器中的发射器。其中,结构光发射器发射的光线可为红外光线。该红外光线是在进行结构光拍摄功能时,结构光发射器所发射的光线,通过将该结构光发射器与结构光摄像头结合使用即可得到被拍物体的深度图像。
举例而言,移动终端还具有结构光摄像头,以第一发射器可为接近传感器中的发射器,第二发射器可为结构光发射器为例,假设第一发射器用以实现接近功能,第二发射器用以实现结构光图像拍摄功能,通过第二发射器和结构光摄像头即可得到被拍物体的深度图像。 在监测到用户开启移动终端的深度图像的拍摄功能时,可确定出移动终端的当前使用场景为拍摄场景时,此时,可根据该当前使用场景判定当前需要使用第一发射器和第二发射器,比如,需要通过接近功能判断被拍物体远近来调节结构光发射器的功率等。
方框130,若是,则控制第一发射器和第二发射器交替工作。
可选地,在根据移动终端的当前使用场景判断出当前需要使用第一发射器和第二发射器时,可控制所述第一发射器和第二发射器交替工作。
作为一种示例,移动终端均可通过脉冲式信号来控制所述第一发射器和第二发射器的使能。也就是说,可通过脉冲式控制所述第一发射器和第二发射器工作,例如,根据第一脉冲信号控制所述第一发射器工作,并根据第二脉冲信号控制所述第二发射器工作,其中,所述第一脉冲信号和所述第二脉冲信号在脉冲间隙处交替使能所述第一发射器和所述第二发射器,这样,以达到所述第一发射器和第二发射器的交替工作的目的。其中,在本发明的实施例中,脉冲间隙是指脉冲序列中,两个相邻的脉冲之间的时间间隔。
例如,如图2所示,结构光发射器以第一脉冲信号使能以发射红外光线,接近传感器中的发射器以第二脉冲信号使能以发射红外光线,可以看出,在控制结构光发射器不工作的同时,可控制接近传感器中的发射器工作,而在控制接近传感器中的发射器不工作的同时,可控制结构光发射器工作,进而达到接近传感器中的发射器和结构光发射器的交替工作的目的。
为了防止第一发射器和第二发射器同时导通而相互干扰,提高移动终端的性能,进一步地,在本申请的一个实施例中,在控制第一发射器和第二发射器交替工作时,该移动终端的控制方法还可获取预设的切换时间,其中,切换时间用于指示第一发射器本次工作结束时至第二发射器下次开始工作时的时间,或者,指示第二发射器本次工作结束时至第一发射器下次开始工作时的时间,切换时间大于第一阈值;并在所述第一发射器本次工作结束,或者,所述第二发射器本次工作结束时,开始计时,在判断所计时的时间是否满足切换时间,若满足,则控制第一发射器和第二发射器切换工作。其中,所述第一阈值可以根据实际需求预先设定的,该第一阈值可以是指能够保证第一发射器和第二发射器完成工作交替后所使用的最小时间值。
也就是说,在控制第一发射器和第二发射器交替工作时,可先获取预设的切换时间,并确定出所述第一发射器和第二发射器中哪个发射器先工作,例如,在第一发射器先工作,则第二发射器先不工作,并在根据脉冲式信号控制第一发射器本次工作结束后,开始计时,在所计时的时间达到所述切换时间时,控制所述第二发射器工作,此时第一发射器不工作。由此,将切换第一发射器和第二发射器进行工作的切换时间稍微错开一点儿,防止了第一发射器和第二发射器同时导通而相互干扰,进一步提高了移动终端的性能。
根据本申请实施例的移动终端的控制方法,可先确定移动终端的当前使用场景,并根据该当前使用场景判断是否需要使用第一发射器和第二发射器,若是,则控制第一发射器和第二发射器交替工作,由此,避免了距离过近的第一发射器和第二发射器同时工作时会相互干扰的问题发生,提高了移动终端的性能。
与上述几种实施例提供的移动终端的控制方法相对应,本申请的一种实施例还提供一种移动终端的控制装置,由于本申请实施例提供的移动终端的控制装置与上述几种实施例提供的移动终端的控制方法相对应,因此在前述移动终端的控制方法的实施方式也适用于本实施例提供的移动终端的控制装置,在本实施例中不再详细描述。图3是根据本申请一个实施例的移动终端的控制装置的结构示意图。需要说明的是,在本申请的实施例中,该移动终端具有第一发射器和第二发射器,第一发射器与第二发射器之间的距离小于预设距离,且第一发射器与第二发射器分别发射的光线存在交叉波长。
如图3所示,该移动终端的控制装置300可以包括:确定模块310、第一判断模块320和控制模块330。
具体地,确定模块310可用于确定移动终端的当前使用场景。
第一判断模块320可用于根据当前使用场景判断是否需要使用第一发射器和第二发射器。作为一种示例,第一发射器为接近传感器中的发射器,第二发射器为结构光发射器。其中,在本申请的实施例中,所述光线可为红外光线。
控制模块330可用于在判断当前使用场景需要使用第一发射器和第二发射器时,控制第一发射器和第二发射器交替工作。作为一种示例,控制模块330可通过脉冲式控制第一发射器和第二发射器工作,其中,控制在脉冲间隙处交叉使能第一发射器和第二发射器。
为了防止第一发射器和第二发射器同时导通而相互干扰,提高移动终端的性能,进一步地,在本申请的一个实施例中,如图4所示,该控制装置300还可包括:获取模块340和第二判断模块350。其中,获取模块340可用于获取预设的切换时间,其中,切换时间用于指示第一发射器本次工作结束时至第二发射器下次开始工作时的时间,或者,指示第二发射器本次工作结束时至第一发射器下次开始工作时的时间,切换时间大于第一阈值。第二判断模块350可用于判断当前时间是否满足切换时间。其中,在本申请的实施例中,控制模块330在当前时间满足切换时间时,可控制第一发射器和第二发射器切换工作。
根据本申请实施例的移动终端的控制装置,可通过确定模块确定移动终端的当前使用场景,第一判断模块根据该当前使用场景判断是否需要使用第一发射器和第二发射器,若是,控制模块则控制第一发射器和第二发射器交替工作,由此,避免了距离过近的第一发射器和第二发射器同时工作时会相互干扰的问题发生,提高了移动终端的性能。
为了实现上述实施例,本申请还提出了一种移动终端。
图5是根据本申请一个实施例的移动终端的结构示意图。如图5所示,该移动终端500可以包括:第一发射器510、第二发射器520、存储器530、处理器540。其中,第一发射器510与第二发射器520之间的距离小于预设距离,且第一发射器510与第二发射器520分别发射的光线存在交叉波长,存储在存储器530上并可在处理器540上运行的计算机程序550,其中,处理器540执行所述程序550时,实现本申请上述任一个实施例所述的移动终端的控制方法。
为了实现上述实施例,本申请还提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现本申请上述任一个实施例所述的移动终端的控制方法。
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播 或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (12)

  1. 一种移动终端的控制方法,其特征在于,所述移动终端具有第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长,其中,所述方法包括:
    确定所述移动终端的当前使用场景;
    根据所述当前使用场景判断是否需要使用所述第一发射器和所述第二发射器;
    若是,则控制所述第一发射器和所述第二发射器交替工作。
  2. 如权利要求1所述的方法,其特征在于,所述第一发射器为接近传感器中的发射器,所述第二发射器为结构光发射器。
  3. 如权利要求1或2所述的方法,其特征在于,其中,所述光线为红外光线。
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述控制第一发射器和所述第二发射器交替工作,包括:
    根据第一脉冲信号控制所述第一发射器工作,并根据第二脉冲信号控制所述第二发射器工作,其中,所述第一脉冲信号和所述第二脉冲信号在脉冲间隙处交替使能所述第一发射器和所述第二发射器。
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述控制第一发射器和所述第二发射器交替工作,包括:
    获取预设的切换时间,其中,所述切换时间用于指示所述第一发射器本次工作结束时至所述第二发射器下次开始工作时的时间,或者,指示所述第二发射器本次工作结束时至所述第一发射器下次开始工作时的时间,所述切换时间大于第一阈值;
    在所述第一发射器本次工作结束,或者,所述第二发射器本次工作结束时,开始计时;
    判断所计时的时间是否满足所述切换时间;
    若满足,则控制所述第一发射器和所述第二发射器交替工作。
  6. 一种移动终端的控制装置,其特征在于,所述移动终端具有第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长,其中,所述装置包括:
    确定模块,用于确定所述移动终端的当前使用场景;
    第一判断模块,用于根据所述当前使用场景判断是否需要使用所述第一发射器和所述第二发射器;
    控制模块,用于在判断所述当前使用场景需要使用所述第一发射器和所述第二发射器时,控制所述第一发射器和所述第二发射器交替工作。
  7. 如权利要求6所述的装置,其特征在于,所述第一发射器为接近传感器中的发射器,所述第二发射器为结构光发射器。
  8. 如权利要求6或7所述的装置,其特征在于,其中,所述光线为红外光线。
  9. 如权利要求6至8中任一项所述的装置,其特征在于,所述控制模块具体用于:
    根据第一脉冲信号控制所述第一发射器工作,并根据第二脉冲信号控制所述第二发射器工作,其中,所述第一脉冲信号和所述第二脉冲信号在脉冲间隙处交替使能所述第一发射器和所述第二发射器。
  10. 如权利要求6至9中任一项所述的装置,其特征在于,所述装置还包括:
    获取模块,用于获取预设的切换时间,其中,所述切换时间用于指示所述第一发射器本次工作结束时至所述第二发射器下次开始工作时的时间,或者,指示所述第二发射器本次工作结束时至所述第一发射器下次开始工作时的时间,所述切换时间大于第一阈值;
    第二判断模块,用于在所述第一发射器本次工作结束,或者,所述第二发射器本次工作结束时,开始计时,并判断所计时的时间是否满足所述切换时间;
    其中,所述控制模块还用于:在所计时的时间满足所述切换时间时,控制所述第一发射器和所述第二发射器交替工作。
  11. 一种移动终端,其特征在于,包括:
    第一发射器和第二发射器,所述第一发射器与所述第二发射器分别发射的光线存在交叉波长;
    存储器;
    处理器;
    存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述程序时,实现如权利要求1至5中任一项所述的移动终端的控制方法。
  12. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1至5中任一项所述的移动终端的控制方法。
PCT/CN2018/111956 2017-10-27 2018-10-25 移动终端的控制方法、装置、移动终端和存储介质 WO2019080907A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711025903.5A CN107864274B (zh) 2017-10-27 2017-10-27 移动终端的控制方法、装置、移动终端和存储介质
CN201711025903.5 2017-10-27

Publications (1)

Publication Number Publication Date
WO2019080907A1 true WO2019080907A1 (zh) 2019-05-02

Family

ID=61698065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111956 WO2019080907A1 (zh) 2017-10-27 2018-10-25 移动终端的控制方法、装置、移动终端和存储介质

Country Status (2)

Country Link
CN (1) CN107864274B (zh)
WO (1) WO2019080907A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864274B (zh) * 2017-10-27 2019-03-19 Oppo广东移动通信有限公司 移动终端的控制方法、装置、移动终端和存储介质
CN112311456A (zh) * 2019-07-29 2021-02-02 Oppo广东移动通信有限公司 LiFi通信控制控制方法、装置、发送端以及移动终端

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130314582A1 (en) * 2012-05-23 2013-11-28 Research In Motion Limited Combined camera and flash lens
CN104919896A (zh) * 2012-12-18 2015-09-16 皇家飞利浦有限公司 控制来自传感器的脉冲发射
CN105224147A (zh) * 2015-10-13 2016-01-06 Tcl移动通信科技(宁波)有限公司 一种防止移动终端接近传感器受环境光干扰的方法及系统
CN107864274A (zh) * 2017-10-27 2018-03-30 广东欧珀移动通信有限公司 移动终端的控制方法、装置、移动终端和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130314582A1 (en) * 2012-05-23 2013-11-28 Research In Motion Limited Combined camera and flash lens
CN104919896A (zh) * 2012-12-18 2015-09-16 皇家飞利浦有限公司 控制来自传感器的脉冲发射
CN105224147A (zh) * 2015-10-13 2016-01-06 Tcl移动通信科技(宁波)有限公司 一种防止移动终端接近传感器受环境光干扰的方法及系统
CN107864274A (zh) * 2017-10-27 2018-03-30 广东欧珀移动通信有限公司 移动终端的控制方法、装置、移动终端和存储介质

Also Published As

Publication number Publication date
CN107864274B (zh) 2019-03-19
CN107864274A (zh) 2018-03-30

Similar Documents

Publication Publication Date Title
US20200145633A1 (en) White balance synchronization method and apparatus, and terminal device
CN107896274B (zh) 红外发射器控制方法、终端及计算机可读存储介质
WO2020259334A1 (zh) 调节方法、调节装置、终端及计算机可读存储介质
WO2019196560A1 (zh) 图像处理装置测试方法、装置、设备及存储介质
EP3661183B1 (en) Method and apparatus for accelerating aec convergence, and terminal device
WO2016021238A1 (ja) 測距装置、測距方法、及び測距プログラム
WO2019080907A1 (zh) 移动终端的控制方法、装置、移动终端和存储介质
US20160323499A1 (en) Method and apparatus for forming images and electronic equipment
CN107862853A (zh) 红外发射器控制方法、终端及计算机可读存储介质
JP2013148824A (ja) 撮影装置用アダプタ及び撮影装置
WO2022160638A1 (zh) 目标对象曝光方法、装置、存储介质、设备及程序
CN113992853A (zh) 补光灯控制方法、模组、设备、系统、装置及电子设备
JP6362072B2 (ja) 撮像装置及び撮像装置の制御方法
KR101747740B1 (ko) 프로젝터 및 제어 방법
JP2015173398A (ja) 撮像装置、撮像システム、撮像方法、およびプログラム
JP6362490B2 (ja) 撮像装置、外部機器、撮像システム及びその制御方法
JP6135397B2 (ja) カメラ
US10798308B2 (en) Imaging control device, imaging apparatus, imaging control method, and imaging control program
JP6349650B2 (ja) カメラおよび通信装置
CN108924289B (zh) 滑动机构的控制方法、装置、电子设备及存储介质
JP6576139B2 (ja) 撮像装置
JP2007104119A (ja) 多光軸光電センサ、投光器、及び受光器
JP2017034645A (ja) 撮影装置、プログラム及び撮影方法
JP2017200060A5 (zh)
JP6611525B2 (ja) 撮像装置及び撮像システム

Legal Events

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

Ref document number: 18870929

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18870929

Country of ref document: EP

Kind code of ref document: A1