CN111290667B - Electronic device, control method thereof, and computer-readable storage medium - Google Patents

Electronic device, control method thereof, and computer-readable storage medium Download PDF

Info

Publication number
CN111290667B
CN111290667B CN202010071225.1A CN202010071225A CN111290667B CN 111290667 B CN111290667 B CN 111290667B CN 202010071225 A CN202010071225 A CN 202010071225A CN 111290667 B CN111290667 B CN 111290667B
Authority
CN
China
Prior art keywords
light emitting
receiving
emitting part
operation information
electronic device
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
CN202010071225.1A
Other languages
Chinese (zh)
Other versions
CN111290667A (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 CN202010071225.1A priority Critical patent/CN111290667B/en
Publication of CN111290667A publication Critical patent/CN111290667A/en
Application granted granted Critical
Publication of CN111290667B publication Critical patent/CN111290667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an electronic device, a control method thereof and a computer readable storage medium, wherein the disclosed electronic device comprises a transmitting end and a receiving end; the emitting end comprises a light emitting device, a prism and a projection device, wherein the light emitting device comprises a visible light emitting part and an infrared light emitting part, the light emitting device faces the light incident surface of the prism, and the light emergent surface of the prism faces the projection device; the receiving end comprises a receiving device; the light-emitting device is provided with a first state and a second state, the visible light-emitting part is in an operating state, and the infrared light-emitting part and the receiving device are in a non-operating state under the condition that the light-emitting device is in the first state; when the light emitting device is in the second state, the infrared light emitting part and the receiving device are in the working state, and the visible light emitting part is in the non-working state. The scheme can solve the problem that the electronic equipment cannot realize the image projection function and the 3D imaging function at the same time.

Description

Electronic device, control method thereof, and computer-readable storage medium
Technical Field
The present invention relates to the field of communications devices, and in particular, to an electronic device, a control method thereof, and a computer readable storage medium.
Background
At present, electronic devices such as mobile phones and computers are indistinguishable from our lives, and are visible everywhere in life. Electronic equipment has greatly improved people's living standard. With the rapid development of modern multimedia technologies, micro projectors and TOF (Time-of-flight) modules have been widely used in various electronic devices to realize image projection and 3D (3D) imaging functions.
In recent years, electronic devices have been developed toward a trend of being small and light, which can improve portability and comfort of the electronic devices, so that a user's good experience can be satisfied, and thus, the size of the electronic devices cannot be too large. But under general circumstances, the volume of miniature projector and TOF module is all bigger for miniature projector and TOF module are usually applied respectively in different electronic equipment, thereby make same electronic equipment only can realize one kind of function in the image projection and the 3D formation of image, lead to electronic equipment's function comparatively singleness, and then make electronic equipment's user experience feel relatively poor.
Disclosure of Invention
The invention discloses an electronic device, a control method thereof and a computer readable storage medium, which are used for solving the problem that the electronic device cannot realize an image projection function and a 3D imaging function at the same time.
In order to solve the problems, the invention adopts the following technical scheme:
an electronic device includes a transmitting end and a receiving end;
The emitting end comprises a light emitting device, a prism and a projection device, wherein the light emitting device comprises a visible light emitting part and an infrared light emitting part, the light emitting device faces the light incident surface of the prism, and the light emergent surface of the prism faces the projection device;
the receiving end comprises a receiving device;
The light emitting device has a first state and a second state, the visible light emitting part is in an operating state, and the infrared light emitting part and the receiving device are in a non-operating state when the light emitting device is in the first state;
when the light emitting device is in the second state, the infrared light emitting part and the receiving device are in an operating state, and the visible light emitting part is in a non-operating state.
The control method of the electronic equipment is applied to the electronic equipment and comprises the following steps:
Receiving operation information;
When the operation information is first operation information, controlling the visible light emitting part to be in a working state, and controlling the infrared light emitting part and the receiving device to be in a non-working state;
When the operation information is the second operation information, the infrared light emitting part and the receiving device are controlled to be in a working state, and the visible light emitting part is controlled to be in a non-working state.
An electronic device, to which the above control method is applied, includes:
The receiving module is used for receiving the operation information;
The control module is used for controlling the visible light emitting part to be in a working state and controlling the infrared light emitting part and the receiving device to be in a non-working state when the operation information is first operation information;
and when the operation information is the second operation information, controlling the infrared light emitting part and the receiving device to be in a working state, and controlling the visible light emitting part to be in a non-working state.
An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method described above.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method described above.
The technical scheme adopted by the invention can achieve the following beneficial effects:
In the electronic equipment disclosed by the invention, the light-emitting device of the emitting end comprises a visible light emitting part and an infrared light emitting part, meanwhile, the light-emitting device faces the light incident surface of the prism, and the light emergent surface of the prism faces the projection device, so that the light emitted by the light-emitting device can reach the projection device after penetrating through the prism. When the light-emitting device is in the first state, the visible light-emitting part of the light-emitting device works normally, the infrared light-emitting part and the receiving device do not work, and the projection device can project the light refracted by the prism out of the electronic equipment, so that the output of an image can be completed, and the electronic equipment has a projection function; and under the condition that the light-emitting device is in the second state, the infrared light-emitting part and the receiving device of the light-emitting device work normally, the visible light-emitting part does not work, and light rays emitted by the infrared light-emitting part can be received by the receiving device after being reflected by an object, so that the picking-up of 3D characteristics of the object can be realized, and further the electronic equipment has a 3D imaging function, so that the electronic equipment can have an image projection function and a 3D imaging function at the same time, and further the functions of the electronic equipment are rich, and the user experience sense of the electronic equipment is improved.
Meanwhile, the transmitting end can be used for image projection and picking up 3D features of objects, so that the effect of multiple purposes of one object is achieved, the number of the transmitting ends in the electronic equipment can be reduced, the space occupied by the transmitting ends in the electronic equipment can be saved, and the volume of the electronic equipment can be reduced, so that the problem that the volume of the electronic equipment with the miniature projector and the TOF module is large is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments or the background art of the present invention, the following description will briefly explain the drawings required to be used in the embodiments or the background art, and it will be obvious to those skilled in the art that other drawings can be obtained according to these drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, in which a dashed line represents a light propagation path;
fig. 2 is a schematic diagram of an electronic device according to an embodiment of the present invention when performing image projection, where arrow lines indicate propagation directions of light;
Fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention when performing 3D imaging, where an arrow line indicates a propagation direction of light;
Fig. 4 is a schematic diagram of a partial structure of an electronic device.
Reference numerals illustrate:
100-light emitting device, 111-red light laser head, 112-blue light laser head, 113-green light laser head, 114-infrared laser head, 200-prism, 300-projection device, 400-receiving device, 410-first lens, 420-filter, 430-photosensitive element, 500-control module, 600-bracket and 700-second lens.
1200-Electronic device, 1201-radio frequency unit, 1202-network module, 1203-audio output unit, 1204-input unit, 12041-graphics processor, 12042-microphone, 1205-sensor, 1206-display unit, 12061-display panel, 1207-user input unit, 12071-touch panel, 12072-other input device, 1208-interface unit, 1209-memory, 1210-processor, 1211-power supply.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments of the present invention and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The technical scheme disclosed by each embodiment of the invention is described in detail below with reference to the accompanying drawings.
Referring to fig. 1 to 3, an embodiment of the present invention discloses an electronic device, which includes a transmitting end and a receiving end, wherein the transmitting end may include a light emitting device 100, a prism 200 and a projecting device 300, and the receiving end may include a receiving device 400.
The light emitting device 100 includes a visible light emitting part and an infrared light emitting part, and the light emitting device 100 can emit different light rays according to the needs of a user, thereby realizing different functions.
The prism 200 is generally a transparent object surrounded by planes intersecting each other but not parallel to each other, and can be used for splitting light or dispersing light beams. In the embodiment of the present invention, the surface of the prism 200 on which the light enters may be a light-in surface, and the surface of the prism 200 on which the light exits may be a light-out surface. The light emitting device 100 faces the light incident surface of the prism 200, so that light emitted by the light emitting device 100 can enter the prism 200.
The light emitting surface of the prism 200 faces the projection device 300, so that the light passing through the prism 200 can reach the projection device 300, and the projection device 300 can transmit the light to the projection screen through the second lens 700, thereby completing the output of the image; the projection device 300 may also transmit the light to the external object through the second lens 700, and the light reflected by the object is received by the receiving device 400.
The receiving apparatus 400 can calculate 3D characteristics of the object from light reflected by the object, thereby achieving pickup of the 3D characteristics of the object.
In the embodiment of the present invention, the light emitting device 100 has the first state and the second state, and in the case where the light emitting device 100 is in the first state, the visible light emitting portion is in the operating state, and the infrared light emitting portion and the receiving device 400 are in the non-operating state. When the light emitting device 100 is in the second state, the infrared light emitting portion and the receiving device 400 are in the operating state, and the visible light emitting portion is in the non-operating state.
It should be noted that, the light emitting device 100 may have not only the first state and the second state, but also other operation states, for example, the light emitting device 100 may also have a third state, and in the case where the light emitting device 100 is in the third state, the visible light emitting portion, the infrared light emitting portion, and the receiving device 400 are all in operation states. Of course, the light emitting device 100 may also have a fourth state, and in the case where the light emitting device 100 is in the fourth state, the visible light emitting portion, the infrared light emitting portion, and the receiving device 400 are all in the non-operating state. Therefore, the specific state of the light emitting device 100 is not limited in the embodiment of the present invention.
In the electronic device disclosed by the invention, the light-emitting device 100 at the emitting end comprises a visible light emitting part and an infrared light emitting part, meanwhile, the light-emitting device 100 faces the light incident surface of the prism 200, the light emergent surface of the prism 200 faces the projection device 300, and the light emitted by the light-emitting device 100 can reach the projection device 300 after passing through the prism 200. When the light emitting device 100 is in the first state, the visible light emitting portion of the light emitting device 100 is normally operated, the infrared light emitting portion and the receiving device 400 are not operated, and the projection device 300 can project the light refracted by the prism 200 out of the electronic apparatus, so that the output of the image can be completed, and the electronic apparatus has a projection function; and under the condition that the light-emitting device 100 is in the second state, the infrared light-emitting part and the receiving device 400 of the light-emitting device 100 work normally, the visible light-emitting part does not work, and light rays emitted by the infrared light-emitting part can be received by the receiving device 400 after being reflected by an object, so that the picking up of 3D characteristics of the object can be realized, and further the electronic equipment has a 3D imaging function, so that the electronic equipment can have an image projection function and a 3D imaging function at the same time, and further the functions of the electronic equipment are rich, and the user experience of the electronic equipment is improved.
Meanwhile, the transmitting end can be used for image projection and picking up 3D features of objects, so that the effect of multiple purposes of one object is achieved, the number of the transmitting ends in the electronic equipment can be reduced, the space occupied by the transmitting ends in the electronic equipment can be saved, and the volume of the electronic equipment can be reduced, so that the problem that the volume of the electronic equipment with the miniature projector and the TOF module is large is solved.
As described above, the light emitting device 100 has the first state and the second state. Accordingly, the electronic device may have means for controlling the switching of the light emitting means 100 between the first state and the second state, and optionally the electronic device may further comprise a control module 500, the light emitting means 100, the projecting means 300 and the receiving means 400 being electrically connected to the control module 500. The control module 500 can transmit control signals to the light emitting device 100, the projection device 300 and the receiving device 400, and the light emitting device 100, the projection device 300 and the receiving device 400 can execute corresponding response actions according to the control signals, so that the control module 500 can better control the light emitting device 100, the projection device 300 and the receiving device 400, and the electronic equipment can control the light emitting device 100 to switch between a first state and a second state, and further can enable the electronic equipment to switch between an image projection function and a 3D imaging function, and the electronic equipment is convenient for a user to operate.
In general, the types of the visible light emitting portion and the infrared light emitting portion are various, for example, a light emitting diode, a gas laser, an electroluminescent lamp, or the like, and the embodiment of the present invention is not limited thereto. In an alternative, the visible light emitting part may include a red laser head 111, a blue laser head 112, and a green laser head 113, and the number of the red laser head 111, the blue laser head 112, and the green laser head 113 is at least one, and/or the infrared light emitting part may include at least one infrared laser head 114. The light emitted by the laser head has better monochromaticity, directivity and stability, and meanwhile, the laser head has compact and durable structure and lower price.
In an embodiment of the present invention, the projecting device 300 may transmit the light to the electronic device through the second lens 700, and alternatively, the projecting device 300 may be a Micro Electro MECHANICAL SYSTEM (MEMS). The mems can project light onto the projection screen point by high-speed vibration to thereby complete the output of an image, or project light onto an object through the second lens 700, and the light reflected by the object is received by the receiving device 400, thereby achieving the pickup of 3D features of the object. Meanwhile, the micro-electromechanical system has the advantages of small volume, low cost, high precision, high efficiency and the like.
Specifically, the receiving device 400 may include a first lens 410, a filter 420 and a photosensitive element 430, where the first lens 410, the filter 420 and the photosensitive element 430 are sequentially disposed in the light incident direction of the receiving device 400, and the first lens 410 is disposed opposite to the filter 420, and the filter 420 is disposed opposite to the photosensitive element 430. The light reflected by the object sequentially passes through the first lens 410 and the optical filter 420 to realize compensation, optical filtering and the like on the light, meanwhile, due to different shapes and different distances of the object, the time phases of the light reflected by the object are different, the photosensitive element 430 can calculate the 3D characteristics of the object according to the light with different time phases, so that the electronic equipment can realize pickup of the 3D characteristics of the object, and further the electronic equipment has a 3D imaging function.
Alternatively, the receiving apparatus 400 may be connected to the transmitting end. Specifically, the receiving device 400 may be directly connected to the transmitting end, for example, the receiving device 400 may be directly bonded, clamped or screwed to the transmitting end, and in the embodiment of the present invention, the connection manner between the receiving device 400 and the transmitting end is not limited. In an alternative scheme, the receiving end may further include a support 600, and the receiving device 400 is connected with the transmitting end through the support 600, in this case, the purpose of adjusting the receiving device 400 may be achieved by adjusting a connection position or an angle between the support 600 and the transmitting end, so that the receiving device 400 may be adapted to the light emitting device 100 to a greater extent, so that the receiving device 400 may receive more reflected light, thereby improving the precision of the electronic device to the 3D feature of the object, and further improving the precision of the 3D imaging function of the electronic device.
Based on the electronic equipment disclosed by the embodiment of the invention, the embodiment of the invention also discloses a control method of the electronic equipment, and the disclosed control method comprises the following steps:
s110, receiving operation information;
In the embodiment of the present invention, the type of the operation information may be specifically the first operation information or the second operation information, and the type of the operation information may be directly controlled according to the function required by the user, or the type of the operation information required may be indirectly controlled by other modes, which is not limited in the embodiment of the present invention.
Specifically, the electronic device performs S120 when the operation information is the first operation information, and performs S130 when the operation information is the second operation information.
S120, according to the operation information, the visible light emitting part is controlled to be in an operating state, and the infrared light emitting part and the receiving device 400 are controlled to be in a non-operating state.
And S130, controlling the infrared light emitting part and the receiving device 400 to be in an operating state and controlling the visible light emitting part to be in a non-operating state according to the operation information.
Therefore, the user can implement different operations on the electronic equipment according to the functions required to be selected, so that the electronic equipment receives different operation information, and the electronic equipment executes target functions required by the user, so that the user can conveniently control the electronic equipment to switch between the projection function and the 3D imaging function, and the convenience of the user when using the electronic equipment is improved. Meanwhile, the method better distinguishes the projection function and the 3D imaging function of the electronic equipment, so that the situation of disordered functions of the electronic equipment can be prevented, and the reliability of the electronic equipment is further improved.
Based on the control method disclosed by the embodiment of the invention, the embodiment of the invention also discloses an electronic device, and the disclosed electronic device comprises:
The receiving module is used for receiving the operation information;
The control module is used for controlling the visible light emitting part to be in a working state and controlling the infrared light emitting part and the receiving device 400 to be in a non-working state when the operation information is the first operation information;
When the operation information is the second operation information, the infrared light emitting unit and the receiving device 400 are controlled to be in the operating state, and the visible light emitting unit is controlled to be in the non-operating state.
The embodiment of the invention also discloses an electronic device which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the control method when being executed by the processor.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the configuration of the electronic device 1200 shown in the figures does not constitute a limitation of the electronic device 1200, and the electronic device 1200 may include more or less components than those shown, or may combine certain components, or may have a different arrangement of components.
Wherein the processor 1210 is configured to:
Receiving operation information;
When the operation information is the first operation information, the visible light emitting part is controlled to be in an operating state, and the infrared light emitting part and the receiving device 400 are controlled to be in a non-operating state;
When the operation information is the second operation information, the infrared light emitting part and the receiving device 400 are controlled to be in an operating state, and the visible light emitting part is controlled to be in a non-operating state.
The electronic device 1200 can implement the respective processes in the foregoing embodiments, and in order to avoid repetition, a description thereof will be omitted.
The electronic device disclosed by the embodiment of the invention can receive the operation information, and when the operation information is the first operation information, the visible light emitting part is controlled to be in a working state, and the infrared light emitting part and the receiving device 400 are controlled to be in a non-working state; when the operation information is the second operation information, the infrared light emitting part and the receiving device 400 are controlled to be in an operating state, and the visible light emitting part is controlled to be in a non-operating state. Therefore, the user can implement different operations on the electronic equipment according to the functions required to be selected, so that the electronic equipment receives different operation information, and the electronic equipment executes target functions required by the user, so that the user can conveniently control the electronic equipment, and the convenience of the user in using the electronic equipment is improved.
The specific implementation process of the electronic device 1200 disclosed in the embodiment of the present invention may refer to the specific implementation process of the control method disclosed in the above embodiment, and will not be described in detail herein.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, after receiving downlink data from the base station, processing the downlink data by the processor 1210; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 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 1201 may also communicate with networks and other devices through a wireless communication system.
The electronic device 1200 provides wireless broadband internet access to users, such as helping users send and receive e-mail, browse web pages, and access streaming media, etc., through the network module 1202.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output (e.g., call signal reception sound, message reception sound, etc.) related to a specific function performed by the electronic apparatus 1200. The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is for receiving an audio or video signal. The input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, the graphics processor 12041 processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 1201 in the case of a telephone call mode.
The electronic device 1200 also includes at least one sensor 1205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 12061 and/or the backlight when the electronic device 1200 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 1205 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 1206 is used to display information input by a user or information provided to the user. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
The user input unit 1207 may be used to receive input numeric or character information, and to generate key signal inputs related to user settings and function controls of the electronic device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 12071 or thereabout by using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 12071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 1210, and receives and executes commands sent from the processor 1210. In addition, the touch panel 12071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, other input devices 12072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although in fig. 4, the touch panel 12071 and the display panel 12061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 12071 may be integrated with the display panel 12061 to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 1208 is an interface to which an external device is connected to the electronic apparatus 1200. For example, the external devices may include a wired or wireless headset port, an external power (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 1208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 1200 or may be used to transmit data between the electronic apparatus 1200 and the external device.
Memory 1209 may be used to store software programs as well as various data. The memory 1209 may include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (e.g., audio data, phonebook, etc.) created from the use of the electronic device. In addition, memory 1209 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 1210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 1209, and calling data stored in the memory 1209, thereby performing overall monitoring of the electronic device. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
The electronic device 1200 may also include a power source 1211 (e.g., a battery) for powering the various components, and preferably the power source 1211 may be logically connected to the processor 1210 via a power management system that performs the functions of managing charging, discharging, and power consumption.
In addition, the electronic device 1200 includes some functional modules that are not shown, and are not described herein.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the control method when being executed by a processor. Specifically, a computer readable storage medium disclosed in the embodiments of the present invention stores a computer program, where the computer program when executed by a processor implements each process of the above-described control method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here. The computer readable storage medium is, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk or an optical disk.
The electronic device disclosed by the embodiment of the invention can be a smart phone, a tablet personal computer, an electronic book reader, a wearable device (such as a smart watch), an electronic game machine and the like, and the embodiment of the invention is not limited to the specific type of the electronic device.
The foregoing embodiments of the present invention mainly describe differences between the embodiments, and as long as there is no contradiction between different optimization features of the embodiments, the embodiments may be combined to form a better embodiment, and in view of brevity of line text, no further description is provided herein.
The foregoing is merely exemplary of the present invention and is not intended to limit the present invention. Various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are to be included in the scope of the claims of the present invention.

Claims (10)

1. An electronic device is characterized by comprising a transmitting end and a receiving end;
The emitting end comprises a light emitting device (100), a prism (200) and a projection device (300), wherein the light emitting device (100) comprises a visible light emitting part and an infrared light emitting part, the light emitting device (100) faces the light incident surface of the prism (200), and the light emergent surface of the prism (200) faces the projection device (300);
The receiving end comprises a receiving device (400), wherein the receiving device (400) is used for receiving infrared rays reflected by an external object so as to pick up three-dimensional characteristics of the external object;
The light emitting device (100) has a first state and a second state, the visible light emitting part is in an operating state, the infrared light emitting part and the receiving device (400) are in a non-operating state under the condition that the light emitting device (100) is in the first state, and the projection device (300) projects the light refracted by the prism (200) out of the electronic equipment so as to finish the output of an image;
When the light emitting device (100) is in the second state, the infrared light emitting part and the receiving device (400) are in working states, the visible light emitting part is in a non-working state, and light rays emitted by the infrared light emitting part are reflected by an external object and then received by the receiving device (400) so as to pick up three-dimensional characteristics of the external object.
2. The electronic device according to claim 1, further comprising a control module (500), wherein the light emitting means (100), the projecting means (300) and the receiving means (400) are electrically connected to the control module (500).
3. The electronic device according to claim 1, characterized in that the visible light emitting portion includes a red laser head (111), a blue laser head (112) and a green laser head (113), and the number of the red laser head (111), the blue laser head (112) and the green laser head (113) is at least one, and/or the infrared light emitting portion includes at least one infrared laser head (114).
4. The electronic device according to claim 1, wherein the projection means (300) is a microelectromechanical system.
5. The electronic device according to claim 1, wherein the receiving means (400) includes a first lens (410), a filter (420) and a photosensitive element (430), the first lens (410), the filter (420) and the photosensitive element (430) are sequentially disposed in an incident direction of the receiving means (400), and the first lens (410) is disposed opposite to the filter (420), and the filter (420) is disposed opposite to the photosensitive element (430).
6. The electronic device according to claim 1, wherein the receiving terminal further comprises a bracket (600), and the receiving means (400) is connected to the transmitting terminal through the bracket (600).
7. A control method of an electronic device, applied to the electronic device according to any one of claims 1 to 6, characterized by comprising:
Receiving operation information;
When the operation information is first operation information, controlling the visible light emitting part to be in a working state, and controlling the infrared light emitting part and the receiving device to be in a non-working state;
When the operation information is the second operation information, the infrared light emitting part and the receiving device are controlled to be in a working state, and the visible light emitting part is controlled to be in a non-working state.
8. An electronic device applying the control method according to claim 7, comprising:
The receiving module is used for receiving the operation information;
The control module is used for controlling the visible light emitting part to be in a working state and controlling the infrared light emitting part and the receiving device to be in a non-working state when the operation information is first operation information;
and when the operation information is the second operation information, controlling the infrared light emitting part and the receiving device to be in a working state, and controlling the visible light emitting part to be in a non-working state.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the control method of claim 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the control method of claim 7.
CN202010071225.1A 2020-01-21 2020-01-21 Electronic device, control method thereof, and computer-readable storage medium Active CN111290667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010071225.1A CN111290667B (en) 2020-01-21 2020-01-21 Electronic device, control method thereof, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010071225.1A CN111290667B (en) 2020-01-21 2020-01-21 Electronic device, control method thereof, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111290667A CN111290667A (en) 2020-06-16
CN111290667B true CN111290667B (en) 2024-04-26

Family

ID=71026736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010071225.1A Active CN111290667B (en) 2020-01-21 2020-01-21 Electronic device, control method thereof, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111290667B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115097962A (en) * 2022-07-06 2022-09-23 深圳市康冠商用科技有限公司 Electronic equipment and infrared touch frame with radio frequency signal processing function thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076914A (en) * 2013-03-28 2014-10-01 联想(北京)有限公司 Electronic equipment and projection display method
CN105143943A (en) * 2012-12-26 2015-12-09 神画科技(深圳)有限公司 Projection system with infrared light source
CN207251777U (en) * 2017-09-20 2018-04-17 信利光电股份有限公司 A kind of three-dimensional camera shooting module
CN108828887A (en) * 2018-06-05 2018-11-16 深圳奥比中光科技有限公司 Projector and depth camera

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8619029B2 (en) * 2009-05-22 2013-12-31 Motorola Mobility Llc Electronic device with sensing assembly and method for interpreting consecutive gestures
EP2635022A1 (en) * 2012-02-29 2013-09-04 Flir Systems AB A method and system for performing alignment of a projection image to detected infrared (IR) radiation information
US9993733B2 (en) * 2014-07-09 2018-06-12 Lumo Interactive Inc. Infrared reflective device interactive projection effect system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105143943A (en) * 2012-12-26 2015-12-09 神画科技(深圳)有限公司 Projection system with infrared light source
CN104076914A (en) * 2013-03-28 2014-10-01 联想(北京)有限公司 Electronic equipment and projection display method
CN207251777U (en) * 2017-09-20 2018-04-17 信利光电股份有限公司 A kind of three-dimensional camera shooting module
CN108828887A (en) * 2018-06-05 2018-11-16 深圳奥比中光科技有限公司 Projector and depth camera

Also Published As

Publication number Publication date
CN111290667A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN107436685B (en) Display device, self-luminous display panel and gesture recognition method
CN108683757B (en) Electronic device and electronic apparatus
CN110784637B (en) Camera module and electronic equipment
WO2021121262A1 (en) Electronic device and control method and control device therefor, and computer-readable storage medium
JP7329150B2 (en) Touch button, control method and electronic device
CN110300267B (en) Photographing method and terminal equipment
CN111458935A (en) Display panel and terminal
US20230254395A1 (en) Electronic Device and Control Method Thereof
CN111083260A (en) Electronic device, control method and control device thereof, and computer-readable storage medium
CN103813127A (en) Video call method, terminal and system
WO2022152077A1 (en) Electronic device, and control method therefor and control apparatus thereof
EP4096207A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
CN112650405A (en) Electronic equipment interaction method and electronic equipment
CN111652100B (en) Fingerprint identification module, electronic equipment, control method and control device thereof
CN111064876B (en) Electronic device, shooting control method and device, and computer-readable storage medium
CN111192072B (en) User grouping method and device and storage medium
CN111399792A (en) Content sharing method and electronic equipment
CN109257489B (en) Display method and mobile terminal
CN112492163B (en) Camera module, control method and control device thereof, and electronic equipment
CN111290667B (en) Electronic device, control method thereof, and computer-readable storage medium
CN108196663B (en) Face recognition method and mobile terminal
CN108984075B (en) Display mode switching method and device and terminal
KR20220166853A (en) Display method and electronic device
KR20190102585A (en) Mobile terminal and method for controlling the same
CN109309741B (en) Terminal and control method thereof

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