CN111290667A - 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
CN111290667A
CN111290667A CN202010071225.1A CN202010071225A CN111290667A CN 111290667 A CN111290667 A CN 111290667A CN 202010071225 A CN202010071225 A CN 202010071225A CN 111290667 A CN111290667 A CN 111290667A
Authority
CN
China
Prior art keywords
light emitting
receiving
operation information
state
emitting part
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010071225.1A
Other languages
Chinese (zh)
Other versions
CN111290667B (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
Priority claimed from CN202010071225.1A external-priority 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

Images

Classifications

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

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)
  • 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 projecting device, the light-emitting device comprises a visible light emitting part and an infrared light emitting part, the light-emitting device faces to the light-in surface of the prism, and the light-out surface of the prism faces to the projecting device; the receiving end comprises a receiving device; the light-emitting device has a first state and a second state, under the condition that the light-emitting device is in the first 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 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 equipment such as mobile phones and computers are inseparable from our lives and are visible everywhere in life. The electronic equipment greatly improves the living standard of people. With the rapid development of modern multimedia technology, micro projectors and TOF (Time-of-light) modules have been widely applied to various electronic devices to achieve image projection and 3D (3 dimensional) imaging functions.
In recent years, electronic devices have been developed to be small, light and thin, and the small, light and thin electronic devices can improve portability and comfort of the electronic devices, so that a user can have a good experience feeling, and therefore, the size of the electronic devices cannot be too large. However, under general conditions, the volume of miniature projector and TOF module is all bigger for miniature projector and TOF module are used in different electronic equipment respectively usually, thereby make same electronic equipment only can realize a function in image projection and the 3D formation of image, lead to electronic equipment's function comparatively single, 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 projecting device, the light emitting device comprises a visible light emitting part and an infrared light emitting part, the light emitting device faces to the light incoming surface of the prism, and the light outgoing surface of the prism faces to the projecting device;
the receiving end comprises a receiving device;
the light-emitting device has a first state and a second state, and when the light-emitting device is in the first 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 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.
A control method of 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;
and when the operation information is second operation information, controlling the infrared light emitting part and the receiving device to be in an operating state, and controlling the visible light emitting part to be in a non-operating state.
An electronic device applying the control method 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 an operating state and controlling the infrared light emitting part and the receiving device to be in a non-operating state when the operation information is first operation information;
and when the operation information is second operation information, controlling the infrared light emitting part and the receiving device to be in an operating state, and controlling the visible light emitting part to be in a non-operating state.
An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as set forth 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 at the emitting end comprises the visible light-emitting part and the infrared light-emitting part, the light-emitting device faces the light-in surface of the prism, and the light-out 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. Under the condition that 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 projecting device can project light rays refracted by the prism out of the electronic equipment, so that the output of images can be completed, and the electronic equipment has a projecting function; and under the condition that light emitting device is in the second state, light emitting device's infrared light emitting part and receiving arrangement normally work, visible light emitting part is out of work, the light that infrared light emitting part sent can be received by receiving arrangement after the object reflection, thereby can realize picking up of object 3D characteristic, and then make electronic equipment have 3D imaging function, thereby make electronic equipment can have image projection function and 3D imaging function simultaneously, and then make electronic equipment's function comparatively abundant, with the user experience sense that improves electronic equipment.
Meanwhile, the transmitting end can be used for image projection and also can be used for picking up 3D characteristics of an object, and the effect of one object with multiple purposes is achieved, so that 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, the size of the electronic equipment can be reduced, and the problem that the electronic equipment with a micro projector and a TOF module is large in size is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present invention, the drawings used in the description of the embodiments or the background art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without any inventive exercise.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure, in which a dotted line represents a light propagation path;
fig. 2 is a schematic diagram of an electronic device according to an embodiment of the disclosure during image projection, in which arrow lines indicate the propagation directions of light rays;
fig. 3 is a schematic diagram of 3D imaging performed by the electronic device according to the embodiment of the disclosure, in which arrow lines indicate the propagation directions of light rays;
fig. 4 is a partial structural diagram of an electronic device.
Description of reference numerals:
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-optical filter, 430-photosensitive element, 500-control module, 600-support, 700-second lens.
1200-electronic device, 1201-radio 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 the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. 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 disclosed in the embodiments of the present invention are 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 an emitting end and a receiving end, wherein the emitting 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 portion and an infrared light emitting portion, and the light emitting device 100 can emit different light according to a user's need, thereby implementing different functions.
Prism 200 is generally a transparent object defined by two intersecting planes that are not parallel to each other and is used to split or disperse light. In the embodiment of the present invention, the light entering surface of the prism 200 may be a light entering surface, and the light exiting surface of the prism 200 may be a light exiting surface. The light emitting device 100 faces the light incident surface of the prism 200, so that the light emitted from 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 project the light to the projection screen through the second lens 700, thereby completing the output of the image; the projection device 300 may also project the light to an external object through the second lens 700, and the light reflected by the object is received by the receiving device 400.
The receiving device 400 can calculate the 3D features of the object according to the light reflected by the object, thereby realizing the pickup of the 3D features 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 section is in the operating state, and the infrared light emitting section 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 unit and the receiving device 400 are in the operating state, and the visible light emitting unit is in the non-operating state.
The light-emitting device 100 may have other operation states than the first state and the second state, and for example, the light-emitting device 100 may have a third state, and when 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 the operation states. Of course, the light emitting device 100 may have a fourth state, and when 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 embodiment of the present invention does not limit the specific state of the light emitting device 100.
In the electronic device disclosed in the present invention, the light emitting device 100 at the emitting end includes a visible light emitting portion and an infrared light emitting portion, and meanwhile, 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 projecting device 300, so that the light emitted by the light emitting device 100 can reach the projecting 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 operates normally, the infrared light emitting portion and the receiving device 400 do not operate, and the projecting device 300 can project the light refracted by the prism 200 out of the electronic device, so that the output of an image can be completed, and the electronic device has a projecting function; and under the condition that light emitting device 100 is in the second state, light emitting device 100's infrared light emitting part and receiving arrangement 400 normally work, visible light emitting part is out of work, the light that infrared light emitting part sent can be received by receiving arrangement 400 after the object reflection, thereby can realize picking up of object 3D characteristic, and then make electronic equipment have 3D imaging function, thereby make electronic equipment can have image projection function and 3D imaging function simultaneously, and then make electronic equipment's function comparatively abundant, with the user experience who improves electronic equipment feels.
Meanwhile, the transmitting end can be used for image projection and also can be used for picking up 3D characteristics of an object, and the effect of one object with multiple purposes is achieved, so that 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, the size of the electronic equipment can be reduced, and the problem that the electronic equipment with a micro projector and a TOF module is large in size is solved.
As described above, the light emitting device 100 has the first state and the second state. Therefore, the electronic device may have a device thereon for controlling the light-emitting device 100 to switch between the first state and the second state, and optionally, the electronic device may further include a control module 500, and the light-emitting device 100, the projecting device 300 and the receiving device 400 are all electrically connected to the control module 500. The control module 500 can transmit the control signal to the light emitting device 100, the projecting device 300 and the receiving device 400, and the light emitting device 100, the projecting device 300 and the receiving device 400 can execute corresponding response actions according to the control signal, so that the control module 500 can better control the light emitting device 100, the projecting device 300 and the receiving device 400, thereby enabling the electronic device to control the light emitting device 100 to switch between the first state and the second state, further enabling the electronic device to switch between the image projecting function and the 3D imaging function better, and facilitating the user to control.
In general, there are various types of visible light emitting portions and infrared light emitting portions, such as light emitting diodes, gas lasers, or electroluminescent lamps, which are not limited in the embodiments of the present invention. In an alternative, the visible light emitting part may include the red, blue and green laser heads 111, 112 and 113, and the number of the red, blue and green laser heads 111, 112 and 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 a compact and durable structure and is lower in price.
In an embodiment of the invention, the projection device 300 may project light out of the electronic device through the second lens 700, and optionally, the projection device 300 may be a Micro Electro Mechanical System (MEMS). The mems can project light to a projection screen point by point through high-speed vibration to complete an output of an image, or allow light to be projected to an object through the second lens 700, and the light reflected by the object is received by the receiving device 400, thereby realizing a pickup of 3D characteristics of the object. Meanwhile, the micro electro mechanical 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, in the light incident direction of the receiving device 400, the first lens 410, the filter 420, and the photosensitive element 430 are sequentially disposed, and the first lens 410 is disposed opposite to the filter 420, and the filter 420 is disposed opposite to the photosensitive element 430. Light after being reflected by the object sequentially passes through the first lens 410 and the optical filter 420, so that compensation, filtering and the like of the light are realized, meanwhile, due to the fact that the shape of the object is different and the distance is different, the time phase of the light after being reflected by the object is different, the photosensitive element 430 can calculate the 3D characteristic of the object according to the light with different time phases, the electronic device can pick up the 3D characteristic of the object, and the electronic device has a 3D imaging function.
Alternatively, the receiving device 400 may be connected to the transmitting terminal. Specifically, the receiving device 400 may be directly connected to the transmitting end, for example, the receiving device 400 may be directly bonded, snapped or screwed to the transmitting end, and the connection manner of the receiving device 400 and the transmitting end is not limited in the embodiments of the present invention. In an optional scheme, the receiving end may further include a bracket 600, and the receiving device 400 is connected to the transmitting end through the bracket 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 bracket 600 and the transmitting end, so that the receiving device 400 can be adapted to the light emitting device 100 to a greater extent, and the receiving device 400 can receive more reflected light, thereby improving the accurate pickup of the electronic device on the 3D features of the object, and further improving the accuracy 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 specifically be the first operation information or the second operation information, and the type of the operation information is directly controlled according to the function required by the user, or the type of the required operation information may be indirectly controlled by other manners, which is not limited in the embodiment of the present invention.
Specifically, when the operation information is the first operation information, the electronic device performs S120, and when the operation information is the second operation information, the electronic device performs S130.
And S120, controlling the visible light emitting part to be in an operating state and controlling the infrared light emitting part and the receiving device 400 to be in a non-operating state according to the operation information.
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 perform different operations on the electronic equipment according to the function required to be selected, so that the electronic equipment receives different operation information, the electronic equipment executes the target function required by the user, 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 in using the electronic equipment is further improved. Meanwhile, the method well distinguishes the projection function and the 3D imaging function of the electronic equipment, so that the situation that the functions of the electronic equipment are disordered can be prevented, and the reliability of the electronic equipment is improved.
Based on the control method disclosed by the embodiment of the invention, the embodiment of the invention also discloses electronic equipment, and the disclosed electronic equipment comprises:
the receiving module is used for receiving the operation information;
a control module, configured to control the visible light emitting unit to be in an operating state and control the infrared light emitting unit and the receiving device 400 to be in a non-operating 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 an operating state, and the visible light emitting unit is controlled to be in a non-operating state.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program which is stored on the memory and can run 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 disclosed in the 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 that the electronic device 1200 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
Wherein, the processor 1210 is configured to:
receiving operation information;
when the operation information is 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 the working state, and the visible light emitting part is controlled to be in the non-working state.
The electronic device 1200 can implement the processes in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
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 the working state, and the infrared light emitting part and the receiving device 400 are controlled to be in the 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 the working state, and the visible light emitting part is controlled to be in the non-working state. Therefore, the user can perform different operations on the electronic equipment according to the function required to be selected, so that the electronic equipment receives different operation information, the electronic equipment executes the target function required by the user, the user can conveniently control the electronic equipment, and the convenience of the user in using the electronic equipment is further improved.
For a specific implementation process of the electronic device 1200 disclosed in the embodiment of the present invention, reference may be made to the specific implementation process of the control method disclosed in the above embodiment, and details are not repeated here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1210; in addition, 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 can also communicate with a network and other devices through a wireless communication system.
The electronic device 1200 provides wireless broadband internet access to the user via the network module 1202, such as assisting the user in emailing, browsing web pages, and accessing streaming media.
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 related to a specific function performed by the electronic apparatus 1200 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (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 the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound 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 1201 in case of the phone call mode.
The electronic device 1200 also includes at least one sensor 1205, 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 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or the backlight when the electronic device 1200 moves to the ear. As one type of motion sensor, an 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 an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1205 may also 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., and will not be described further herein.
The display unit 1206 is used to display information input by the 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 generate key signal inputs related to user settings and function control of the electronic apparatus. 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 by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 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 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 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 again.
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 the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 4 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the electronic apparatus 1200. 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 1208 may be used to receive input from an external device (e.g., data information, power, etc.) 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.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device. Further, the 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 whole 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The electronic device 1200 may further include a power source 1211 (e.g., a battery) for providing power to the various components, and preferably, the power source 1211 may be logically coupled to the processor 1210 via a power management system, such that the power management system may be configured to manage charging, discharging, and power consumption.
In addition, the electronic device 1200 includes some functional modules that are not shown, and are not described in detail 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 steps of the control method are realized when the computer program is executed by a processor. Specifically, a computer program is stored on a computer-readable storage medium, and when executed by a processor, the computer program implements the processes of the control method embodiment and can achieve the same technical effects. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The electronic device disclosed in the embodiment of the present invention may be a smart phone, a tablet computer, an electronic book reader, a wearable device (e.g., a smart watch), an electronic game machine, or the like, and the specific type of the electronic device is not limited in the embodiment of the present invention.
In the above embodiments of the present invention, the difference between the embodiments is mainly described, and different optimization features between the embodiments can be combined to form a better embodiment as long as they are not contradictory, and further description is omitted here in view of brevity of the text.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. An electronic device, 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), the light emitting device (100) comprises a visible light emitting part and an infrared light emitting part, the light emitting device (100) faces to the light incident surface of the prism (200), and the light emergent surface of the prism (200) faces to the projection device (300);
the receiving end comprises a receiving device (400);
the light-emitting device (100) has a first state and a second state, the visible light emitting portion is in an operating state, and the infrared light emitting portion and the receiving device (400) are in a non-operating state when the light-emitting device (100) is in the first state;
when the light emitting device (100) is in the second state, the infrared light emitting unit and the receiving device (400) are in an operating state, and the visible light emitting unit is in a non-operating state.
2. The electronic device according to claim 1, further comprising a control module (500), wherein the light emitting device (100), the projecting device (300) and the receiving device (400) are all electrically connected to the control module (500).
3. Electronic device according to claim 1, characterized in that the visible light emitting portion comprises a red light laser head (111), a blue light laser head (112) and a green light laser head (113), and the number of red light laser heads (111), blue light laser heads (112) and green light laser heads (113) is at least one each, and/or the infrared light emitting portion comprises at least one infrared laser head (114).
4. The electronic device according to claim 1, characterized in that the projection device (300) is a micro-electromechanical system.
5. The electronic device according to claim 1, wherein the receiving device (400) comprises a first lens (410), a filter (420) and a photosensitive element (430), and in a light incident direction of the receiving device (400), the first lens (410), the filter (420) and the photosensitive element (430) are sequentially disposed, 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 end further comprises a holder (600), and the receiving apparatus (400) is connected to the transmitting end through the holder (600).
7. A control method of an electronic apparatus, applied to the electronic apparatus 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;
and when the operation information is second operation information, controlling the infrared light emitting part and the receiving device to be in an operating state, and controlling the visible light emitting part to be in a non-operating state.
8. An electronic device to which the control method according to claim 7 is applied, 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 an operating state and controlling the infrared light emitting part and the receiving device to be in a non-operating state when the operation information is first operation information;
and when the operation information is second operation information, controlling the infrared light emitting part and the receiving device to be in an operating state, and controlling the visible light emitting part to be in a non-operating state.
9. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the control method of claim 7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the control method of claim 7.
CN202010071225.1A 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 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 Electronic device, control method thereof, and computer-readable storage medium

Publications (2)

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

Family

ID=

Cited By (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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100295781A1 (en) * 2009-05-22 2010-11-25 Rachid Alameh Electronic Device with Sensing Assembly and Method for Interpreting Consecutive Gestures
CN104076914A (en) * 2013-03-28 2014-10-01 联想(北京)有限公司 Electronic equipment and projection display method
US20140368640A1 (en) * 2012-02-29 2014-12-18 Flir Systems Ab Method and system for performing alignment of a projection image to detected infrared (ir) radiation information
CN105143943A (en) * 2012-12-26 2015-12-09 神画科技(深圳)有限公司 Projection system with infrared light source
US20160008718A1 (en) * 2014-07-09 2016-01-14 Lumo Play, Inc. Infrared reflective device interactive projection effect system
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100295781A1 (en) * 2009-05-22 2010-11-25 Rachid Alameh Electronic Device with Sensing Assembly and Method for Interpreting Consecutive Gestures
US20140368640A1 (en) * 2012-02-29 2014-12-18 Flir Systems Ab Method and system for performing alignment of a projection image to detected infrared (ir) radiation information
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
US20160008718A1 (en) * 2014-07-09 2016-01-14 Lumo Play, Inc. Infrared reflective device interactive projection effect system
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

Cited By (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

Similar Documents

Publication Publication Date Title
CN107436685B (en) Display device, self-luminous display panel and gesture recognition method
WO2014084224A1 (en) Electronic device and line-of-sight input method
EP3952269A1 (en) Camera module, and mobile terminal and control method therefor
EP4037303A1 (en) Image processing method and apparatus, and electronic device and medium
CN110300267B (en) Photographing method and terminal equipment
KR20220092937A (en) Screen display control method and electronic device
CN108965666B (en) Mobile terminal and image shooting method
US20220367550A1 (en) Mobile terminal and image photographing method
CN112650405A (en) Electronic equipment interaction method and electronic equipment
CN111083260A (en) Electronic device, control method and control device thereof, and computer-readable storage medium
CN111064876B (en) Electronic device, shooting control method and device, and computer-readable storage medium
CN113206901A (en) Electronic device, control method and control device thereof
CN110213412A (en) A kind of display methods and terminal
WO2020216181A1 (en) Terminal apparatus and control method therefor
CN110457885B (en) Operation method and electronic equipment
CN111399792A (en) Content sharing method and electronic equipment
US20220367541A1 (en) Image sensor, mobile terminal, and image capturing method
CN108984075B (en) Display mode switching method and device and terminal
CN112947877A (en) Electronic device, control method and control device thereof
CN110868523B (en) Electronic device, control method and control device thereof, and computer-readable storage medium
CN110058424A (en) A kind of laser diffraction apparatus, 3D device and terminal
CN111290667B (en) Electronic device, control method thereof, and computer-readable storage medium
CN108550182A (en) A kind of three-dimensional modeling method and terminal
CN111290667A (en) Electronic device, control method thereof, and computer-readable storage medium
CN110248050B (en) Camera module and mobile 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