CN108810245B - Anti-interference method for depth camera shooting and mobile terminal - Google Patents

Anti-interference method for depth camera shooting and mobile terminal Download PDF

Info

Publication number
CN108810245B
CN108810245B CN201810368577.6A CN201810368577A CN108810245B CN 108810245 B CN108810245 B CN 108810245B CN 201810368577 A CN201810368577 A CN 201810368577A CN 108810245 B CN108810245 B CN 108810245B
Authority
CN
China
Prior art keywords
image
equipment
interference
prompting
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810368577.6A
Other languages
Chinese (zh)
Other versions
CN108810245A (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 CN201810368577.6A priority Critical patent/CN108810245B/en
Publication of CN108810245A publication Critical patent/CN108810245A/en
Application granted granted Critical
Publication of CN108810245B publication Critical patent/CN108810245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses an anti-interference method for deep camera shooting and a mobile terminal, wherein the method comprises the following steps: after the deep camera shooting function is started, monitoring a broadcast message, wherein the broadcast message carries an equipment identifier and state information indicating the starting of the deep camera shooting function; if the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, the interference of other equipment starting the depth camera shooting function to the current equipment can be determined, and a user of the current equipment is prompted to avoid the interference of other equipment starting the depth camera shooting function, so that the problem that two or more mobile terminals possibly have mutual interference in the process of using the depth camera shooting function is effectively avoided.

Description

Anti-interference method for depth camera shooting and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to an anti-interference method for deep camera shooting and a mobile terminal.
Background
With the overall popularization of mobile terminals, users have higher and higher requirements on the mobile terminals. In order to meet better shooting requirements of users, more and more mobile terminals adopt depth cameras to shoot.
Currently, depth cameras can be divided into passive active depth cameras and active depth cameras. The passive active depth camera mainly carries out feature matching based on two cameras to calculate the depth of field; the active depth camera judges the depth of field according to the shape and position change of speckles on the shot object by projecting preset speckles to the shot object, or the active depth camera judges the depth of field by calculating the flight time of the projected infrared light on the shot object.
However, for the active depth cameras, if the infrared lights actively projected by two or more active depth cameras overlap each other during the use process, the overlapping infrared lights may interfere with each other, and the depth of field may be calculated incorrectly. Similarly, if the speckles actively projected by two or more active depth cameras overlap during the use process, the mutually confused speckles may interfere with each other, causing the calculation of the depth of field to be wrong.
Disclosure of Invention
The embodiment of the invention provides an anti-interference method for depth camera shooting and a mobile terminal, and aims to solve the problem that two or more mobile terminals possibly interfere with each other in the process of using a depth camera shooting function in the prior art.
In order to solve the technical problem, the invention is realized as follows: an anti-interference method for depth camera shooting comprises the following steps:
after the deep camera shooting function is started, monitoring a broadcast message, wherein the broadcast message carries state information indicating that the deep camera shooting function is started;
and if the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, prompting a user of the current equipment to avoid the interference of other equipment starting the deep camera shooting function.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the monitoring module is used for monitoring a broadcast message after the deep camera shooting function is started, wherein the broadcast message carries state information indicating that the deep camera shooting function is started;
and the prompting module is used for prompting a user of the current equipment to avoid the interference of other equipment with a deep camera shooting function if the equipment identifier carried in the monitored broadcast message is inconsistent with the equipment identifier of the current equipment.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: the image processing device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the anti-interference method for the depth image pickup are realized.
In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the method for resisting disturbance in depth imaging described above are implemented.
In the embodiment of the invention, after the deep camera function is started, the broadcast message is monitored, and the broadcast message carries the equipment identifier and the state information indicating the starting of the deep camera function. If the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, the interference of other equipment starting the depth camera shooting function to the current equipment can be determined, and a user of the current equipment is prompted to avoid the interference of other equipment starting the depth camera shooting function, so that the problem that two or more mobile terminals possibly have mutual interference in the process of using the depth camera shooting function is effectively avoided.
Drawings
Fig. 1 is a flowchart of an anti-interference method for depth camera according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In order to solve the problem that two or more mobile terminals may interfere with each other during the process of using the depth camera function in the prior art, the present invention provides an anti-interference method for depth camera, and an execution main body of the method may be, but not limited to, a mobile terminal (e.g., a mobile phone, a tablet computer, etc.) or a device capable of being configured to execute the method provided by the embodiment of the present invention.
For convenience of description, the following description will be made on embodiments of the method, taking as an example that the execution subject of the method is a mobile terminal capable of executing the method. It is understood that the mobile terminal is used as the main body of the method and is only an exemplary illustration, and should not be construed as a limitation of the method.
Fig. 1 is a flowchart of an anti-interference method for depth camera according to an embodiment of the present invention, where the method in fig. 1 may be executed by a mobile terminal, and as shown in fig. 1, the method may include:
step 101, after the deep camera shooting function is started, monitoring a broadcast message.
The broadcast message may be sent by other devices, or may be sent by a mobile terminal (for convenience of distinction, it is subsequently referred to as a current device).
The broadcast message carries the device identifier and the state information indicating the starting of the depth camera function. The device identifier may be a device model, a device code, or a character string.
In this step, after the mobile terminal starts the deep camera function, a communication interface, such as a bluetooth interface, a WIFI interface, and a near field communication NFC interface, may be started at the same time.
After the mobile terminal starts the communication interface, the broadcast message can be monitored through the corresponding communication interface.
And step 102, if the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, prompting a user of the current equipment to avoid the interference of other equipment with a deep camera function.
The device identifier carried in the monitored broadcast message is inconsistent with the device identifier of the current device, and it should be understood that the device identifier carried in the broadcast message sent by the other device monitored by the current device is inconsistent with the device identifier of the current device.
This avoid opening the interference of other equipment of degree of depth camera shooting function can specifically realize as: the interference of other equipment with a depth camera shooting function is avoided by moving the position of the current equipment; and/or the interference of other equipment with a depth camera shooting function is avoided by adjusting the camera shooting angle of the current equipment camera.
Therefore, in this step, the user who prompts the current device avoids the interference of other devices which start the depth image capturing function, which can be specifically realized as follows: and prompting a user of the current equipment to move at least one of the position of the current equipment and the camera angle of the camera of the current equipment so as to avoid the interference of other equipment with the deep camera function.
Of course, the user may also be prompted to perform other actions to avoid the interference problem of other devices that turn on the depth camera function. The embodiment of the present invention is not particularly limited to this.
Therefore, in this step, it should be understood that, after the current device monitors the broadcast message sent by the other device, the device identifier carried in the broadcast message is compared with the device identifier of the current device to determine whether the device identifier is consistent with the device identifier of the current device. And if the two devices are inconsistent, prompting the user of the current device to avoid the interference of other devices with the deep camera shooting function.
In the embodiment of the invention, after the deep camera function is started, the broadcast message is monitored, and the broadcast message carries the equipment identifier and the state information indicating the starting of the deep camera function. If the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, the interference of other equipment starting the depth camera shooting function to the current equipment can be determined, and a user of the current equipment is prompted to avoid the interference of other equipment starting the depth camera shooting function, so that the problem that two or more mobile terminals possibly have mutual interference in the process of using the depth camera shooting function is effectively avoided.
Optionally, as an embodiment, the method for resisting interference for depth camera further includes:
periodically transmitting a broadcast message of the current device, the broadcast message being used for other devices to determine whether to interfere with the current device.
In this step, the current device periodically transmits a broadcast message of the current device. The period is not particularly limited in the embodiment of the present invention.
According to the implementation of the invention, the broadcast message of the current equipment is periodically sent, so that other equipment monitors the broadcast message sent by the current equipment, whether the current equipment is interfered or not can be determined according to the broadcast message, and the interference of the current equipment by other equipment is effectively avoided.
Optionally, as an embodiment, the step 102 may be specifically implemented as:
and step 1021, acquiring an image acquired by the image sensor in the process of starting the depth camera shooting function.
The image acquired by the image sensor may be understood as that the current device does not actively emit infrared light, and at this time, the image sensor in the current device acquires an image by exposure.
Therefore, if other devices use the depth camera function to acquire images within the field angle range of the camera of the current device, the images acquired by the current device through the image sensor will have local bright areas;
if no other equipment uses the depth camera function to collect images within the field angle range of the camera of the current equipment, the images collected by the current equipment through the image sensor are full-dark images.
In this step, the acquiring of the image acquired by the image sensor may be specifically realized as: images acquired by the image sensor are acquired every predetermined time interval.
Step 1022, luminance values of sub-images in the image are obtained.
Before performing step 1022, the image is divided into a plurality of sub-images.
And 1023, prompting a user of the current equipment to avoid the interference of other equipment starting the depth camera shooting function based on the brightness value of the sub-image in the image.
The step can be specifically realized as follows: for example, based on the luminance values of the sub-images in the image, the number of sub-images in the image may be determined. If the number of the sub-images with the brightness values larger than the preset threshold value is larger than a certain value, the fact that the other equipment starting the depth camera shooting function interferes with the current equipment can be determined, and a user of the current equipment is prompted to avoid interference of the other equipment starting the depth camera shooting function; alternatively, the first and second electrodes may be,
based on the luminance values of the sub-images in the image, an average luminance value of the image may be determined. If the average brightness value of the image is larger than the preset threshold value, the fact that the other equipment starting the depth camera shooting function interferes with the current equipment can be determined, and a user of the current equipment is prompted to avoid the interference of the other equipment starting the depth camera shooting function; alternatively, the first and second electrodes may be,
if the brightness value of a certain sub-image is larger than the preset threshold value, it can be determined that the other equipment which starts the depth shooting function has interference on the current equipment, and a user of the current equipment is prompted to avoid the interference of the other equipment which starts the depth shooting function. Of course, the specific implementation of this step may also include other cases, and the embodiment of the present invention is not particularly limited.
According to the embodiment of the invention, the image acquired by the image sensor is acquired in the process of starting the depth camera function, the brightness value of the sub-image in the image is acquired, and the user of the current equipment is prompted to avoid the interference of other equipment starting the depth camera function based on the brightness value of the sub-image in the image. Therefore, even if the other device is using the depth camera function, it can be determined that the other device interferes with the current device if the other device is within the field angle range of the camera of the current device using the depth camera function. Compared with the above embodiment, the method and the device can accurately determine that the interference of other devices to the current device exists.
Optionally, as an embodiment, step 1023 may be specifically implemented as:
an average luminance value of the image is determined based on luminance values of sub-images in the image.
For example, the luminance values of the sub-images may be superimposed, and then the luminance average value may be obtained according to the number of the sub-images in the image, where the luminance average value is the average luminance value of the image.
And if the average brightness value is larger than the preset threshold value, prompting a user of the current equipment to avoid the interference of other equipment starting the depth camera shooting function.
The average brightness value being greater than a preset threshold value indicates the presence of interference from other depth image pickup apparatuses.
The preset threshold may be set according to requirements, for example, 20, 40 or 60. The embodiment of the invention does not limit the specific value of the preset threshold.
According to the embodiment of the invention, the average brightness value of the image is determined. If the average brightness value is larger than the preset threshold value, it can be determined that other devices are shooting by using the depth camera function in the field angle range of the camera of the current device, and then a user of the current device is prompted to avoid interference of the other devices starting the depth camera function. Compared with the above embodiment, the method can more accurately determine that the other equipment has interference on the current equipment.
Optionally, as an embodiment, step 1023 may be specifically implemented as:
determining the sub-image with the brightness value larger than a preset threshold value based on the brightness value of the sub-image in the image;
and if the number of the sub-images with the brightness values larger than the preset threshold value is in a preset number interval, or the sub-images with the brightness values larger than the preset threshold value form a preset image, prompting a user of the current equipment to avoid the interference of other equipment with the depth camera shooting function.
The number of the sub-images with the brightness values larger than the preset threshold value is in a preset number interval, and the condition that the interference of other depth camera equipment exists is indicated; alternatively, the sub-image having the luminance value larger than the preset threshold value constitutes a predetermined image indicating that there is interference of other depth image capturing apparatuses.
In specific implementation, for example, if the number of the sub-images with the brightness values larger than the preset threshold is in the predetermined number of intervals, it may be determined that there is another device shooting using the depth image capturing function in the field angle range of the camera of the current device, and then the user of the current device is prompted to avoid interference of the other device which starts the depth image capturing function.
For example, if the sub-image with the brightness value greater than the preset threshold constitutes a predetermined image, it may be determined that there is another device shooting using the depth image capturing function within the field angle range of the camera of the current device, and then the user of the current device is prompted to avoid interference of the another device which turns on the depth image capturing function.
Of course, other implementation manners may also exist, for example, if the area formed by the sub-image with the luminance value greater than the preset threshold satisfies the predetermined area, it may be determined that, within the field angle range of the camera of the current device, there is another device that is shooting using the depth image capturing function, and then the user of the current device is prompted to avoid interference of the another device that starts the depth image capturing function.
According to the embodiment of the invention, the sub-image with the brightness value larger than the preset threshold value is determined. If the number of the sub-images with the brightness values larger than the preset threshold value is in the preset number range, or the sub-images with the brightness values larger than the preset threshold value form a preset image, it can be determined that other devices are shooting by using the depth camera function in the field angle range of the current device camera, and prompt information is generated. Compared with the above embodiment, the method can more accurately determine that the other equipment has interference on the current equipment.
The above describes the method for resisting interference for depth imaging according to the embodiment of the present invention in detail with reference to fig. 1, and the following describes the mobile terminal according to the embodiment of the present invention in detail with reference to fig. 2.
Fig. 2 shows a schematic structural diagram of a mobile terminal provided in an embodiment of the present invention, and as shown in fig. 2, the mobile terminal is based on the anti-interference method for deep camera shooting provided in an embodiment of the present invention, and the terminal may include:
a monitoring module 201, configured to monitor a broadcast message after the depth camera function is started, where the broadcast message carries status information indicating that the depth camera function is started;
the prompting module 202 is configured to prompt a user of the current device to avoid interference of other devices that start the deep image capture function if the device identifier carried in the monitored broadcast message is inconsistent with the device identifier of the current device.
In one embodiment, the mobile terminal further comprises:
and the sending module is used for periodically sending the broadcast message of the current equipment, and the broadcast message is used for other equipment to determine whether the current equipment is interfered.
In one embodiment, the prompting module 202 includes:
the image acquisition unit is used for acquiring an image acquired by the image sensor in the process of starting the depth camera shooting function;
a luminance value acquisition unit configured to acquire a luminance value of a sub-image in the image;
and the first prompting unit is used for prompting the user of the current equipment to avoid the interference of other equipment starting the depth camera shooting function based on the brightness value of the sub-image in the image.
In one embodiment, the first prompting unit includes:
a first determining subunit, configured to determine an average luminance value of a sub-image in the image based on luminance values of the image;
the first prompting subunit is used for prompting a user of the current device to avoid interference of other devices starting the depth camera shooting function if the average brightness value is greater than a preset threshold value;
wherein the average brightness value being greater than a preset threshold value indicates that there is interference of other depth imaging apparatuses.
In one embodiment, the first prompting unit includes:
the second determining subunit is used for determining the sub-image with the brightness value larger than the preset threshold value based on the brightness value of the sub-image in the image;
the second prompting subunit is used for prompting a user of the current device to avoid interference of other devices starting the depth shooting function if the number of the sub-images with the brightness values larger than the preset threshold value is in a preset number interval, or the sub-images with the brightness values larger than the preset threshold value form a preset image;
the number of the sub-images with the brightness values larger than the preset threshold value is in a preset number interval, and the condition that the interference of other depth camera equipment exists is indicated; alternatively, the sub-image having the luminance value larger than the preset threshold value constitutes a predetermined image indicating that there is interference of other depth image capturing apparatuses.
In one embodiment, the prompting module 202 includes:
and the second prompting unit is used for prompting the user of the current equipment to move at least one of the position and the camera shooting angle of the current equipment so as to avoid the interference of other equipment with the deep camera shooting function.
In the embodiment of the invention, after the deep camera function is started, the broadcast message is monitored, and the broadcast message carries the equipment identifier and the state information indicating the starting of the deep camera function. If the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, the interference of other equipment starting the depth camera shooting function to the current equipment can be determined, and a user of the current equipment is prompted to avoid the interference of other equipment starting the depth camera shooting function, so that the problem that two or more mobile terminals possibly have mutual interference in the process of using the depth camera shooting function is effectively avoided.
The mobile terminal may also execute the method in fig. 1, and implement the functions of the mobile terminal in the embodiments shown in fig. 1 and fig. 2, which are not described again.
Figure 3 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 3 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 310 is configured to monitor a broadcast message after the depth camera function is started, where the broadcast message carries status information indicating that the depth camera function is started;
and if the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, prompting a user of the current equipment to avoid the interference of other equipment starting the deep camera shooting function.
In the embodiment of the invention, after the deep camera function is started, the broadcast message is monitored, and the broadcast message carries the equipment identifier and the state information indicating the starting of the deep camera function. If the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, the interference of other equipment starting the depth camera shooting function to the current equipment can be determined, and a user of the current equipment is prompted to avoid the interference of other equipment starting the depth camera shooting function, so that the problem that two or more mobile terminals possibly have mutual interference in the process of using the depth camera shooting function is effectively avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 302, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the mobile terminal 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The mobile terminal 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 130, receives a command from the processor 310, and executes the command. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 308 is an interface through which an external device is connected to the mobile terminal 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 300 or may be used to transmit data between the mobile terminal 300 and external devices.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the mobile terminal. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The mobile terminal 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 300 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 310, a memory 309, and a computer program stored in the memory 309 and capable of running on the processor 310, where the computer program is executed by the processor 310 to implement each process of the above-mentioned anti-interference method for deep camera, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned anti-interference method for deep video shooting, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. An anti-interference method for depth camera shooting is characterized by comprising the following steps:
after the deep camera shooting function is started, monitoring a broadcast message, wherein the broadcast message carries state information indicating that the deep camera shooting function is started;
and if the monitored equipment identifier carried in the broadcast message is inconsistent with the equipment identifier of the current equipment, prompting a user of the current equipment to avoid the interference of other equipment starting the deep camera shooting function.
2. The method of claim 1, wherein the method further comprises:
periodically transmitting a broadcast message of the current device, the broadcast message being used for other devices to determine whether to interfere with the current device.
3. The method of claim 1, wherein the prompting a user of a current device to avoid interference with other devices that turn on a depth camera function comprises:
acquiring an image acquired by an image sensor in the process of starting a depth camera function;
acquiring the brightness value of a sub-image in the image;
and prompting a user of the current equipment to avoid the interference of other equipment starting the depth camera shooting function based on the brightness value of the sub-image in the image.
4. The method of claim 3, wherein prompting a user of a current device to avoid interference with other devices that turn on a depth camera function based on brightness values of sub-images in the image comprises:
determining an average luminance value of the image based on luminance values of sub-images in the image;
and if the average brightness value is larger than a preset threshold value, prompting a user of the current equipment to avoid the interference of other equipment starting the depth camera shooting function.
5. The method of claim 3, wherein prompting a user of a current device to avoid interference with other devices that turn on a depth camera function based on brightness values of sub-images in the image comprises:
determining the sub-image with the brightness value larger than a preset threshold value based on the brightness value of the sub-image in the image;
and if the number of the sub-images with the brightness values larger than the preset threshold value is in a preset number interval, or the sub-images with the brightness values larger than the preset threshold value form a preset image, prompting a user of the current equipment to avoid the interference of other equipment with the depth camera shooting function.
6. A mobile terminal, comprising:
the monitoring module is used for monitoring a broadcast message after the deep camera shooting function is started, wherein the broadcast message carries state information indicating that the deep camera shooting function is started;
and the prompting module is used for prompting a user of the current equipment to avoid the interference of other equipment with a deep camera shooting function if the equipment identifier carried in the monitored broadcast message is inconsistent with the equipment identifier of the current equipment.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
and the sending module is used for periodically sending the broadcast message of the current equipment, and the broadcast message is used for other equipment to determine whether the current equipment is interfered.
8. The mobile terminal of claim 6, wherein the prompting module comprises:
the image acquisition unit is used for acquiring an image acquired by the image sensor in the process of starting the depth camera shooting function;
a luminance value acquisition unit configured to acquire a luminance value of a sub-image in the image;
and the first prompting unit is used for prompting the user of the current equipment to avoid the interference of other equipment starting the depth camera shooting function based on the brightness value of the sub-image in the image.
9. The mobile terminal of claim 8, wherein the first prompting unit comprises:
a first determining subunit, configured to determine an average luminance value of a sub-image in the image based on luminance values of the image;
and the first prompting subunit is used for prompting a user of the current device to avoid interference of other devices starting the depth image pickup function if the average brightness value is greater than a preset threshold value.
10. The mobile terminal of claim 8, wherein the first prompting unit comprises:
the second determining subunit is used for determining the sub-image with the brightness value larger than the preset threshold value based on the brightness value of the sub-image in the image;
and the second prompting subunit is used for prompting a user of the current device to avoid the interference of other devices starting the depth shooting function if the number of the sub-images with the brightness values larger than the preset threshold value is in a preset number interval, or the sub-images with the brightness values larger than the preset threshold value form a preset image.
11. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method for interference rejection of depth camera shooting according to any one of claims 1 to 5.
CN201810368577.6A 2018-04-23 2018-04-23 Anti-interference method for depth camera shooting and mobile terminal Active CN108810245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810368577.6A CN108810245B (en) 2018-04-23 2018-04-23 Anti-interference method for depth camera shooting and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810368577.6A CN108810245B (en) 2018-04-23 2018-04-23 Anti-interference method for depth camera shooting and mobile terminal

Publications (2)

Publication Number Publication Date
CN108810245A CN108810245A (en) 2018-11-13
CN108810245B true CN108810245B (en) 2020-09-01

Family

ID=64093794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810368577.6A Active CN108810245B (en) 2018-04-23 2018-04-23 Anti-interference method for depth camera shooting and mobile terminal

Country Status (1)

Country Link
CN (1) CN108810245B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072044B (en) * 2019-05-30 2021-04-16 Oppo广东移动通信有限公司 Depth camera control method and device, terminal and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209492A (en) * 2011-09-15 2013-07-17 华为技术有限公司 Radio resource management method and communication device
CN105160680A (en) * 2015-09-08 2015-12-16 北京航空航天大学 Design method of camera with no interference depth based on structured light
CN107087075A (en) * 2017-04-28 2017-08-22 维沃移动通信有限公司 A kind of reminding method and mobile terminal based on screen fingerprint recognition
CN107580208A (en) * 2017-08-24 2018-01-12 上海视智电子科技有限公司 A kind of cooperative operation system and method for more depth measuring devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9247238B2 (en) * 2011-01-31 2016-01-26 Microsoft Technology Licensing, Llc Reducing interference between multiple infra-red depth cameras

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209492A (en) * 2011-09-15 2013-07-17 华为技术有限公司 Radio resource management method and communication device
CN105160680A (en) * 2015-09-08 2015-12-16 北京航空航天大学 Design method of camera with no interference depth based on structured light
CN107087075A (en) * 2017-04-28 2017-08-22 维沃移动通信有限公司 A kind of reminding method and mobile terminal based on screen fingerprint recognition
CN107580208A (en) * 2017-08-24 2018-01-12 上海视智电子科技有限公司 A kind of cooperative operation system and method for more depth measuring devices

Also Published As

Publication number Publication date
CN108810245A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN109381165B (en) Skin detection method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107835495B (en) Message prompting method and device and mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN108600557B (en) Screen on-off control method and mobile terminal
CN108712555B (en) Method and device for sending alarm information
CN107728847B (en) Charging interference processing method and mobile terminal
CN109831359B (en) Method for detecting connection state of data network and terminal equipment thereof
CN109739394B (en) SAR value processing method and mobile terminal
CN108551525B (en) State determination method of movement track and mobile terminal
CN109005355B (en) Shooting method and mobile terminal
CN108009031B (en) Application program control method and mobile terminal
CN109358913B (en) Application program starting method and terminal equipment
CN108366171B (en) Temperature rise control method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
CN108243489B (en) Photographing control method and mobile terminal
CN108955641B (en) Depth camera shooting method, depth camera shooting equipment and mobile terminal
CN108965701B (en) Jitter correction method and terminal equipment
CN108810245B (en) Anti-interference method for depth camera shooting and mobile terminal
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN111444491B (en) Information processing method and electronic equipment
CN110210197B (en) Screen sensitivity adjusting method and mobile terminal
CN108668005B (en) Terminal detection method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant