Display device with camera assembly and camera angle adjustment method

By setting up a detector and processor in the display device, the rotation angle of the display screen is determined using the detection signal and echo signal, and the angle of the camera component is automatically adjusted, thus solving the problem of decreased shooting effect after the display screen is rotated, and improving the shooting effect and user experience.

CN115480632BActive Publication Date: 2026-06-16HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-05-31
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

In existing display devices, the shooting effect of the camera component deteriorates after the screen is rotated, affecting the user experience.

Method used

By setting up detectors and processors in the display device, the rotation angle of the display screen is determined using detection signals and echo signals, and the angle of the camera components is automatically adjusted to maintain the best shooting effect.

Benefits of technology

After the display is rotated, the camera component angle is automatically adjusted to improve shooting results and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115480632B_ABST
    Figure CN115480632B_ABST
Patent Text Reader

Abstract

The application provides a display device with a camera assembly and a camera angle adjusting method, relates to the technical field of electronics, and is used for improving the shooting effect. The method is applied to a display device including a processor, a detector, a display screen and a support. The display screen is rotatably connected with the support. A camera assembly is rotatably connected to the display screen. The processor is electrically connected with the detector and the camera assembly. The method comprises the following steps: the detector emits a detection signal and detects a echo signal formed after the detection signal is reflected. The echo signal is used for determining the rotation angle of the display screen relative to a first reference surface. The first reference surface is the plane where the display screen is located when the display screen is in a vertical state. The processor controls the rotation of the camera assembly according to the rotation angle, so as to adjust the angle of the camera assembly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and in particular to a display device with a camera component and a method for adjusting the camera angle. Background Technology

[0002] With the rapid development of electronic technology, more and more display devices with cameras have emerged, such as laptops, PDAs, tablets, desktop computers, and all-in-one computers. The cameras on these devices are usually located on the display screen itself, for example, as a front-facing camera embedded in the top bezel. These devices are typically placed on a desktop, and the screen is generally perpendicular to the desktop and facing the user. Therefore, the camera's optimal shooting angle is fixed based on this perpendicular orientation; that is, the camera's shooting angle is fixed and optimal when the screen is perpendicular to the desktop.

[0003] However, in some usage scenarios, users often rotate the display screen based on their posture or ambient lighting conditions, such as rotating it up or down. When users take photos with the camera after rotating the screen, the image quality is significantly reduced, thus degrading the user experience. Summary of the Invention

[0004] This application provides a display device with a camera component and a method for adjusting the camera angle, which solves the problem in the prior art that the shooting effect of the camera component is reduced due to the rotation of the display screen.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] In a first aspect, a display device with a camera assembly is provided. The display device includes: a processor, a detector, a display screen, and a stand. The display screen and the stand are rotatably connected. The camera assembly is rotatably connected to the display screen. The camera assembly may include a front-facing camera. The processor is electrically connected to the detector, and the camera assembly is electrically connected to the processor. The detector is used to emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal is used to determine the rotation angle of the display screen relative to a first reference surface, the first reference surface being the plane in which the display screen is located when it is in a vertical state. The processor is used to control the rotation of the camera assembly according to the rotation angle to adjust the angle of the camera assembly.

[0007] In the above technical solution, after the display screen of the display device is rotated, the detector can emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal can be used to determine the rotation angle of the display screen relative to the first reference surface. The processor can automatically adjust the angle of the camera component according to the rotation angle to adjust the angle to the optimal shooting angle. Thus, when the user shoots based on the adjusted angle, the shooting effect and user experience can be greatly improved.

[0008] In one possible implementation of the first aspect, the echo signal is further used to determine that the display screen has rotated, and the processor is further used to: adjust the angle of the camera component when it is determined that the display screen has rotated. In the above possible implementation, the processor can adjust the angle of the camera component after determining that the display screen has rotated, which can avoid erroneous adjustment of the camera component when the display screen has not rotated, thereby ensuring the accuracy of the adjustment of the camera component.

[0009] In one possible implementation of the first aspect, the processor is further configured to: determine the rotation angle of the display screen relative to a first reference surface based on the distance between the detector and the display screen, wherein the distance is determined based on the echo signal. For example, when the echo signal is a signal formed after the detection signal is reflected by the display screen, the echo signal can be used to determine the distance between the detector and the display screen. The above possible implementations provide a method for determining the rotation angle of the display screen relative to a first reference surface based on an echo signal. This method is simple, effective, and can improve the speed of determining the rotation angle.

[0010] In one possible implementation of the first aspect, the detector is further configured to: determine the distance between the detector and the display screen based on the echo signal; or, the processor is further configured to: determine the distance between the detector and the display screen based on the echo signal. In the above possible implementations, the detector or the processor can be used to determine the distance between the detector and the display screen based on the echo signal, thereby improving the flexibility of determining the distance between the detector and the display screen; simultaneously, when the processor is used to determine the distance between the detector and the display screen based on the echo signal, the complexity of the detector can be reduced, and when the detector is used to determine the distance between the detector and the display screen based on the echo signal, the power consumption of the processor can be reduced.

[0011] In one possible implementation of the first aspect, the processor is further configured to: control the rotation of the camera assembly based on the distance between the detector and the display screen to adjust the angle of the camera assembly. In the above possible implementation, the processor can directly adjust the angle of the camera assembly based on the distance between the detector and the display screen after determining the distance, so as to adjust the angle to the optimal shooting angle, thereby greatly improving the shooting effect and user experience when the user shoots based on the adjusted angle.

[0012] In one possible implementation of the first aspect, the processor is further configured to: determine a first included angle based on the distance, the first included angle being an angle less than or equal to 90° between the first connecting line and the display screen, the first connecting line being the line connecting the detector to the rotation connection point between the display screen and the support; determine the rotation angle based on the difference between the first included angle and a second included angle, the second included angle being an angle less than or equal to 90° between the first connecting line and the first reference surface. For example, when the display screen rotates from the side away from the display surface, the rotation angle can be equal to the second included angle minus the first included angle, and when the display screen rotates from the side towards the display surface, the rotation angle can be equal to the first included angle minus the second included angle. The above possible implementations provide a simple and effective method for a processor to determine the rotation angle of the display screen, allowing the processor to accurately determine the rotation angle of the display screen through simple calculations.

[0013] In one possible implementation of the first aspect, the processor is further configured to: when the distance is less than a preset distance, rotate the camera assembly towards one side of the display surface of the screen by the rotation angle, the preset distance being the distance between the detector and the display when the display is in a vertical state, and the rotation axis of the camera assembly being parallel to the rotation axis of the display; when the distance is greater than the preset distance, rotate the camera assembly towards the side away from the display surface of the screen by the rotation angle, and the rotation axis of the camera assembly being parallel to the rotation axis of the display. Optionally, the processor is further configured to: when the distance is less than the preset distance, determine that the display rotates towards the side away from the display surface of the screen; when the distance is greater than the preset distance, determine that the display rotates towards one side of the display surface of the screen. In the above possible implementations, the processor can adjust the camera assembly's camera angle to the optimal angle by rotating the camera assembly towards the side away from the display surface of the screen or towards the display surface of the screen according to the relationship between the distance and the preset distance, or according to the rotation direction of the display.

[0014] In one possible implementation of the first aspect, before adjusting the camera angle of the camera assembly, the processor is further configured to: determine that the display screen has rotated when the distance is greater than a first distance threshold but not equal to a preset distance, wherein the first distance threshold is less than the preset distance. In the above possible implementation, the processor can also determine whether the display screen has rotated based on the distance. For example, when the detector is covered or blocked, the distance detected by the detector is the distance between the detector and the covering or blocking object, rather than the distance between the detector and the display screen. In this case, the processor can first determine whether the display screen has rotated, and then determine the rotation angle after determining that rotation has occurred, thereby ensuring the accuracy of the rotation angle determined by the processor.

[0015] In one possible implementation of the first aspect, the detector is disposed on a first side of the support, and a microphone is also disposed on the first side. The distance between the microphone and the detector is less than or equal to a second distance threshold. For example, the second distance threshold may be greater than or equal to 1 cm and less than or equal to 2 cm. The processor is further configured to: generate a prompt message when the distance is less than the first distance threshold. The prompt message may be text, image, sound, or video, etc., and the prompt message is used to inform the user that the microphone is blocked. Optionally, the orientation of the first side is consistent with the orientation of the display surface of the display screen. In the above possible implementation, the detector and the microphone are provided on the first side of the support of the display device. The distance between the detector and the microphone is small. If the microphone is blocked by an obstruction, the detector is also blocked by the obstruction. Thus, the distance detected by the detector is the distance between the detector and the obstruction. Based on this distance, it can be determined whether the microphone is blocked. When the microphone is blocked, the display screen is controlled to display a prompt message to remind the user that the microphone is blocked. In this way, the user can remove the obstruction above the microphone after seeing the prompt message to avoid the problem that the corresponding sound pickup effect is affected when the microphone is blocked.

[0016] In one possible implementation of the first aspect, the detector is a radar. In the aforementioned possible implementations, when the detector is a radar, because radar has a certain penetrating capability, placing the radar on the first side of the support does not affect the appearance of the support. Furthermore, the radar is unaffected by external lighting, weather, or other factors, ensuring the accuracy of the detected distance.

[0017] In one possible implementation of the first aspect, the detection signal is a millimeter-wave signal. In the aforementioned possible implementations, when the detection signal is a millimeter-wave signal, the echo signal formed after the detection signal is reflected by the obstacle is also a millimeter-wave signal. Therefore, the detection accuracy of the distance between the detector and the obstacle can be improved when determining the distance based on the echo signal.

[0018] In a second aspect, a camera angle adjustment method is provided, applied in a display device including a processor, a detector, a display screen, and a support. The display screen and the support are rotatably connected, and a camera assembly is rotatably connected to the display screen. The camera assembly may include a front-facing camera. The processor is electrically connected to the detector, and the camera assembly is electrically connected to the processor. The method includes: the detector emitting a detection signal and detecting an echo signal formed after the detection signal is reflected, the echo signal being used to determine the rotation angle of the display screen relative to a first reference surface, the first reference surface being the plane where the display screen is in a vertical state; the processor controlling the rotation of the camera assembly according to the rotation angle to adjust the angle of the camera assembly.

[0019] In one possible implementation of the second aspect, the echo signal is also used to determine that the display screen has rotated, and the method further includes: when the processor determines that the display screen has rotated, adjusting the angle of the camera assembly.

[0020] In one possible implementation of the second aspect, the method further includes: the processor determining a rotation angle of the display screen relative to a first reference surface based on the distance between the detector and the display screen, the distance being determined based on the echo signal, for example, when the echo signal is a signal formed after the detection signal is reflected by the display screen, the echo signal can be used to determine the distance between the detector and the display screen.

[0021] In one possible implementation of the second aspect, the method further includes: the detector determining the distance between the detector and the display screen based on the echo signal; or, the processor determining the distance between the detector and the display screen based on the echo signal.

[0022] In one possible implementation of the second aspect, the method further includes: the processor controlling the camera assembly to rotate based on the distance between the detector and the display screen, so as to adjust the angle of the camera assembly.

[0023] In one possible implementation of the second aspect, the processor determines the rotation angle of the display screen relative to the first reference surface based on the distance between the detector and the display screen, including: determining a first included angle based on the distance, the first included angle being an angle less than or equal to 90° between a first connecting line and the display screen, the first connecting line being a line connecting the detector to the rotation connection point between the display screen and the support; determining the rotation angle based on the difference between the first included angle and a second included angle, the second included angle being an angle less than or equal to 90° between the first connecting line and the first reference surface, for example, when the display screen rotates from the side away from the display surface, the rotation angle can be equal to the second included angle minus the first included angle, and when the display screen rotates from the side towards the display surface, the rotation angle can be equal to the first included angle minus the second included angle.

[0024] In one possible implementation of the second aspect, the method further includes: the processor controlling the rotation of the camera assembly according to the rotation angle, including: when the distance is less than a preset distance, rotating the camera assembly towards one side of the display surface of the display screen by the rotation angle, the preset distance being the distance between the detector and the display screen when the display screen is in a vertical state, and the rotation axis of the camera assembly being parallel to the rotation axis of the display screen; when the distance is greater than the preset distance, rotating the camera assembly towards the side away from the display surface of the display screen by the rotation angle, and the rotation axis of the camera assembly being parallel to the rotation axis of the display screen. Optionally, the method further includes: when the distance is less than the preset distance, determining that the display screen rotates towards the side away from the display surface of the display screen; when the distance is greater than the preset distance, determining that the display screen rotates towards one side of the display surface of the display screen.

[0025] In one possible implementation of the second aspect, before adjusting the camera angle of the camera assembly, the method further includes: when the distance is greater than a first distance threshold but not equal to the preset distance, determining that the display screen has rotated, where the first distance threshold is less than the preset distance, for example, when the detector is covered or blocked, the distance detected by the detector is the distance between the detector and the covering or blocking object, rather than the distance between the detector and the bottom edge of the display screen. In this case, the processor can first determine whether the display screen has rotated, and then determine the rotation angle after determining that rotation has occurred, thereby ensuring the accuracy of the rotation angle determined by the processor.

[0026] In one possible implementation of the second aspect, the detector is disposed on a first side of the support, and a microphone is also disposed on the first side. The distance between the microphone and the detector is less than or equal to a second distance threshold, for example, the second distance threshold is greater than or equal to 1 cm and less than or equal to 2 cm. The method further includes: when the distance is less than the first distance threshold, the processor generates a prompt message, which may be text, image, sound, or video, etc., to inform the user that the microphone is blocked. That is, the first side of the support of the display device is provided with the detector and the microphone, and the distance between the detector and the microphone is small. If the microphone is blocked by an obstruction, the detector is also blocked by the obstruction. Therefore, the distance detected by the detector is the distance between the detector and the obstruction. Based on this distance, it can be determined whether the microphone is blocked. When the microphone is blocked, the display screen is controlled to display a prompt message to inform the user that the microphone is blocked. In this way, the user can remove the obstruction above the microphone after seeing the prompt message to avoid the problem that the corresponding sound pickup effect is affected when the microphone is blocked. Optionally, the orientation of the first side is consistent with the orientation of the display surface of the display screen.

[0027] In one possible implementation of the second aspect, the detector is a radar; and / or, the detection signal is a millimeter-wave signal.

[0028] Thirdly, a display device is provided, comprising: a processor, a detector, a microphone, a display screen, and a stand. The display screen is connected to the stand. The detector and the microphone are both disposed on a first side of the stand. The processor is electrically connected to the detector. The detector is used to emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal is used to determine the distance between the detector and the display screen. The processor is used to generate a prompt message when the distance is less than or equal to a first distance threshold. The prompt message may be text, an image, sound, or video, and the prompt message is used to inform the user that the microphone is blocked. Optionally, the distance between the microphone and the detector is less than or equal to a second distance threshold, where the second distance threshold is greater than or equal to 1 cm and less than or equal to 2 cm.

[0029] In the above technical solution, the detector and the microphone are provided on the first side of the support of the display device. The distance between the detector and the microphone is small. If the microphone is blocked by an obstruction, the detector is also blocked by the obstruction. Thus, the distance detected by the detector is the distance between the detector and the obstruction. Based on this distance, it can be determined whether the microphone is blocked. When the microphone is blocked, the display screen is controlled to display a prompt message to remind the user that the microphone is blocked. In this way, the user can remove the obstruction above the microphone after seeing the prompt message to avoid the problem that the corresponding sound pickup effect is affected when the microphone is blocked.

[0030] In one possible implementation of the third aspect, the detector is further configured to: determine the distance between the detector and the obstacle based on the echo signal; or, the processor is further configured to: determine the distance between the detector and the obstacle based on the echo signal. In the above possible implementations, the detector or the processor can be used to determine the distance between the detector and the obstacle based on the echo signal, thereby improving the flexibility of determining the distance between the detector and the obstacle; simultaneously, when the processor is used to determine the distance between the detector and the obstacle based on the echo signal, the complexity of the detector can be reduced, and when the detector is used to determine the distance between the detector and the obstacle based on the echo signal, the power consumption of the processor can be reduced.

[0031] In one possible implementation of the third aspect, the detector is a radar. In the above possible implementations, when the detector is a radar, because radar has a certain penetrating ability, placing the radar on the first side of the support does not affect the appearance of the support. At the same time, the radar is unaffected by external lighting, weather, or other factors, ensuring the accuracy of the detection distance.

[0032] In one possible implementation of the third aspect, the detection signal is a millimeter-wave signal. In the aforementioned possible implementations, when the detection signal is a millimeter-wave signal, the echo signal formed after the detection signal is reflected by the obstacle is also a millimeter-wave signal. Therefore, the detection accuracy of the distance between the detector and the obstacle can be improved when determining the distance based on the echo signal.

[0033] Fourthly, a method for displaying a prompt message is provided. This method is applied to a display device including a processor, a detector, a microphone, a display screen, and a stand. The display screen is connected to the stand, and both the detector and the microphone are disposed on a first side of the stand. The processor is electrically connected to the detector. The method includes: the detector emitting a detection signal and detecting an echo signal formed after the detection signal is reflected; the echo signal is used to determine the distance between the detector and an obstacle; when the distance is less than or equal to a first distance threshold, the processor generates a prompt message, which may be text, an image, sound, or video, etc., to inform the user that the microphone is blocked. Optionally, the distance between the microphone and the detector is less than or equal to a second distance threshold, where the second distance threshold is greater than or equal to 1 cm and less than or equal to 2 cm.

[0034] In one possible implementation of the fourth aspect, the method further includes: the detector determining the distance between the detector and the obstacle based on the echo signal; or, the processor determining the distance between the detector and the obstacle based on the echo signal.

[0035] In one possible implementation of the fourth aspect, the detector is a radar; and / or, the detection signal is a millimeter-wave signal.

[0036] In another aspect of this application, a chip for use in a display device is also provided. The chip includes a processor, a detector, a display screen, and a stand. The display screen is rotatably connected to the stand, and a camera assembly is rotatably connected to the display screen. The chip can be used to support the display device in performing the shooting angle adjustment method provided by the second aspect or any possible implementation of the second aspect.

[0037] In another aspect of this application, a chip for use in a display device is also provided. The chip includes a processor, a detector, a microphone, a display screen, and a stand. The display screen is connected to the stand. The detector and the microphone are both disposed on a first side of the stand. The processor is electrically connected to the detector. The chip can be used to support the display device in performing the prompt information display method provided by the fourth aspect or any possible implementation of the fourth aspect.

[0038] In another aspect of this application, a computer-readable storage medium is provided, which stores instructions that, when executed on a device, cause the device to perform the shooting angle adjustment method provided by the second aspect or any possible implementation thereof.

[0039] In another aspect of this application, a computer-readable storage medium is provided, which stores instructions that, when executed on a device, cause the device to perform the prompt information display method provided by the fourth aspect or any possible implementation thereof.

[0040] In another aspect of this application, a computer program product is provided, which, when run on a device, causes the device to perform the shooting angle adjustment method provided by the second aspect or any possible implementation thereof.

[0041] In another aspect of this application, a computer program product is provided, which, when run on a device, causes the device to execute the prompt information display method provided by the fourth aspect or any possible implementation thereof.

[0042] It is understood that the beneficial effects achieved by any of the camera angle adjustment methods, prompt information display methods, chips, computer-readable storage media and computer program products provided above can be referred to in the context of the display device with camera component and the beneficial effects in the display device provided above, and will not be repeated here. Attached Figure Description

[0043] Figure 1 This is a schematic diagram of the structure of a display device provided in an embodiment of this application;

[0044] Figure 2 This is a schematic diagram of the structure of another display device provided in an embodiment of this application;

[0045] Figure 3 This is a schematic diagram of the structure of a millimeter-wave radar provided in an embodiment of this application;

[0046] Figure 4 A schematic diagram of the software architecture of an operating system provided for an embodiment of this application;

[0047] Figure 5 An initialization diagram of a millimeter-wave radar provided for an embodiment of this application;

[0048] Figure 6 A schematic diagram illustrating the operation of a millimeter-wave radar as provided in this application embodiment;

[0049] Figure 7 A schematic flowchart illustrating a camera angle adjustment method provided in an embodiment of this application;

[0050] Figure 8 A schematic diagram illustrating the rotation of a display screen and camera assembly as provided in an embodiment of this application;

[0051] Figure 9 A schematic diagram illustrating another rotation of the display screen and camera assembly provided in an embodiment of this application;

[0052] Figure 10 This is a schematic diagram of the structure of another display device provided in an embodiment of this application;

[0053] Figure 11 A flowchart illustrating another camera angle adjustment method provided in this application embodiment;

[0054] Figure 12 This is a flowchart illustrating a method for displaying prompt information provided in an embodiment of this application. Detailed Implementation

[0055] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0056] The embodiments of this application use terms such as "first" and "second" to distinguish objects with similar names, functions, or roles. Those skilled in the art will understand that terms such as "first" and "second" do not limit the quantity or execution order.

[0057] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0058] The technical solution provided in this application can be applied to electronic devices having a camera assembly and a display screen, both of which can rotate. For example, the electronic device may include, but is not limited to: laptops, PDAs, tablets, netbooks, educational machines, game consoles, in-vehicle display devices, desktop computers, and all-in-one computers. For ease of description, the devices mentioned above are collectively referred to as display devices in this application.

[0059] Figure 1 This is a schematic diagram of the structure of a display device provided in an embodiment of this application. The display device may include: a memory 11, a processor 12, a sensor component 13, a multimedia component 14, an audio component 15, a power supply component 16, and an input / output interface 17.

[0060] The following is a description of each component of this display device:

[0061] The memory 11 can be used to store data, software programs, and modules; it mainly includes a program storage area and a data storage area. The program storage area can store the operating system and application programs required for at least one function, such as video playback or image playback. The data storage area can store data created based on the use of the display device, such as video data and image data. Furthermore, the display device may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0062] Processor 12 is the control center of the display device. It connects various parts of the device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in memory 11, and by calling data stored in memory 11, thereby providing overall monitoring of the display device. Processor 12 may include one or more processing units, such as a central processing unit (CPU), graphics processing unit (GPU), digital signal processor (DSP), application processor (AP), or microprocessor. In one possible embodiment, processor 12 may integrate an application processor (AP) and a microprocessor. The AP primarily handles the operating system, user interface, and applications, while the microprocessor can receive and process data collected by multiple components such as sensor component 13 and multimedia component 14, and control the activation and deactivation of these components. It is understood that the microprocessor may not be integrated into processor 12.

[0063] In addition, processor 12 may further include other hardware circuitry or accelerators, such as application-specific integrated circuits, field-programmable gate arrays (FPGAs), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 12 may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a digital signal processor, and a microprocessor.

[0064] Sensor assembly 13 includes one or more sensors for providing status assessments of various aspects of the display device. Sensor assembly 13 may include one or more of the following: infrared sensors, radar, inertial sensors, magnetic sensors, pressure sensors, or temperature sensors. Sensor assembly 13 can detect acceleration / deceleration, orientation, on / off state, relative positioning of components, or temperature changes of the display device. Inertial sensors include accelerometers and gyroscopes. Furthermore, sensor assembly 13 may also include optical sensors, such as complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensors, for use in imaging applications. In one possible embodiment, sensor assembly 13 may include an infrared sensor or radar, which can be used for distance detection.

[0065] Multimedia component 14 provides a display screen that serves as an output interface between the display device and the user. This display screen can be a touch panel, and when it is a touch panel, it can be implemented as a touchscreen to receive input signals from the user. The touch panel may include one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. Furthermore, multimedia component 14 includes at least one camera component, such as a front-facing camera and / or a rear-facing camera. When the display device is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera can receive external multimedia data. Each front-facing and rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities. In one possible embodiment, multimedia component 14 may include a display screen on which the camera component is rotatably connected, the display screen being rotatably connected to a stand, and the camera component may include a front-facing camera.

[0066] Audio component 15 provides an audio interface between the user and the display device. For example, audio component 15 may include audio circuitry, a speaker, and a microphone. The audio circuitry can convert the received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. On the other hand, the microphone collects sound signals and converts them into electrical signals, which are then received by the audio circuitry, converted into audio data, and output as audio data, such as to the processor 12 for further processing.

[0067] The power supply component 16 provides power to the various components of the display device. The power supply component 16 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the display device. The input / output interface 17 provides an interface between the processor 12 and peripheral interface modules, such as a keyboard and mouse.

[0068] Although not shown, the display device may also include a wireless fidelity (WiFi) module, a Bluetooth module, etc., which will not be described in detail in the embodiments of this application. Those skilled in the art will understand that... Figure 1 The display device structure shown does not constitute a limitation on the display device, which may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0069] In one possible embodiment, such as Figure 2 As shown, the display device may include a processor 21, a detector 22, a display screen 23, and a support 24. The display screen 23 and the support 24 are rotatably connected. A camera assembly 25 is rotatably connected to the display screen 23. The camera assembly 25 may be built into the display screen 23 or disposed outside the display screen 23. The rotation of the display screen 23 may cause the camera assembly to rotate. The processor 21 is electrically connected to the detector 22, and the camera assembly 25 is electrically connected to the processor 21. Figure 2 (a) in the image is the front view of the display device. Figure 2 (b) in the figure is a side view of the display device.

[0070] In one optional embodiment, the camera component 25 is not part of the display device, but rather an external camera component 25. By connecting this external camera component 25 to the display device, the display device can acquire images or perform other operations through the external camera component 25. Alternatively, this solution can also be applied to electronic devices that do not include a display screen; this application does not impose any limitations.

[0071] The processor 21 and display screen 23 in the display device can be integrated into one unit, for example, similar to the processor and display screen in an all-in-one computer, or the processor 21 and display screen 23 can be deployed independently, for example, similar to the processor and display screen in a desktop computer. This application embodiment does not impose specific limitations on this. Figure 2 The following example illustrates the integration of processor 21 and display screen 23.

[0072] Additionally, the display screen 23 can be a screen with display function, or a screen with both display and touch functions; for example, the display screen 23 can be a touch screen. The display screen 23 is rotatably connected to the support 24. For example, the support 24 is provided with a damping element, through which the display screen 24 can be rotatably connected and rotated around the damping element at any tilt angle. A camera assembly 25 is rotatably connected to the display screen 23. The camera assembly 25 can be a front-facing camera or a rear-facing camera. The camera assembly 25 can be rotatably mounted outside or inside the display screen 23; for example, the camera assembly 25 can be rotatably mounted on the upper bezel of the display screen 23 as a front-facing camera. The processor 21 can control the rotation of the camera assembly 25. For example, the camera assembly 25 has a motor, and the processor 21 can control the rotation of the camera assembly 25 by controlling the motor. The rotation axis of the camera assembly 25 can be parallel to the rotation axis of the display screen 23; for example, both the rotation axes of the camera assembly 25 and the display screen 23 can be parallel to the ground.

[0073] Furthermore, detector 22 can be a detection module with ranging function, such as an infrared ranging module, radar, or other devices for detecting distance. When detector 22 is radar, it can measure distance using millimeter-wave frequency signals, or it can measure distance using other different frequency signals. This application embodiment does not impose specific limitations on this. Support 24 can include a support member and a base. Detector 22 being located on the first side of support 24 can mean that detector 22 is located on the first side of the base of support 24, and the orientation of this first side is consistent with the orientation of the display surface of display screen 23. Optionally, detector 22 can also be an inertial sensor, which can be integrated with display screen 23. This inertial sensor can be used to directly measure the rotation angle of display screen 23 when display screen 23 rotates.

[0074] In one possible embodiment, such as Figure 3As shown, detector 22 can be a millimeter-wave radar (also known as a millimeter-wave radar chip). This millimeter-wave radar may include a channel processing module, a receiving antenna, a transmitting antenna, a power supply module, and a crystal oscillator module. The transmitting antenna is used to transmit the detection signal, and the receiving antenna is used to receive the echo signal of the detection signal. The channel processing module is used to perform corresponding channel processing on the detection signal and the echo signal. The power supply module is used to provide power, and the crystal oscillator module is used to provide the corresponding local oscillator signal. The millimeter-wave radar and processor 21 can transmit data via a data interface.

[0075] Furthermore, the display device may also include a microphone 26, which can also be called a pickup or sound collector, and can be used to collect user audio data. The detector 22 can be disposed on the first side of the support 24, for example, the orientation of this first side can be consistent with the orientation of the display surface of the screen 23. The microphone 26 can also be disposed on this first side, that is, the microphone 26 is disposed on the first side of the base of the support 24. Optionally, the microphone 26 and the detector 22 can be disposed adjacent to each other, for example, the microphone 26 is disposed in the middle of the first side, and the detector 22 can be disposed adjacent to one side of the microphone 26. The distance between the microphone 26 and the detector 22 can be less than or equal to a preset distance threshold. For example, the preset distance threshold can be greater than or equal to 1 cm and less than or equal to 2 cm, for example, the preset distance threshold can be 1 cm, 1.5 cm, or 2 cm, etc.

[0076] Figure 4 This is a schematic diagram of the software architecture of an operating system provided in an embodiment of this application. This operating system can run on the processor of the display device described above. The software architecture may include: an application layer, an application framework layer, a hardware abstraction layer (HAL), and a kernel layer. The application layer is the top layer of the operating system and includes various applications installed on the operating system, such as various audio and video software. The application framework layer mainly includes a series of services of the operating system (e.g., the occlusion recognition module described below) and management system. The main purpose of the HAL is to abstract the hardware of the display device. The kernel layer includes multiple drivers, such as display drivers, audio drivers, video drivers, and millimeter-wave radar drivers.

[0077] Within this kernel layer, the driver can initialize the corresponding hardware device. For example, such as... Figure 5As shown, taking this millimeter-wave radar as an example, the initialization process of the millimeter-wave radar driver may include: configuring the pins of the millimeter-wave radar, such as configuring the pins for input functions, output functions, interrupt functions, and multiplexing functions; registering interrupts; configuring data for the millimeter-wave radar, such as the operating frequency of the millimeter-wave radar; and probing the millimeter-wave radar through the data interface so that the millimeter-wave radar can read the data sent by the processor (e.g., the HAL running on the processor).

[0078] Furthermore, this HAL can schedule corresponding hardware devices to work through drivers in the kernel layer, and the working data of these hardware devices can be reported to the application in the application layer via the application framework layer. For example, such as... Figure 6 As shown, taking the millimeter-wave radar as an example, the specific process may include: the HAL can send a data acquisition command through the millimeter-wave radar driver to instruct the millimeter-wave radar to acquire data; when the millimeter-wave radar does not detect data, the processor's data buffer is empty, and the thread related to the data acquisition instruction enters the waiting queue; when the millimeter-wave radar's first-in-first-out (FIFO) queue reaches a preset value, that is, when the millimeter-wave radar detects data, an interrupt is triggered; the millimeter-wave radar driver acquires the data from the millimeter-wave radar, stores it in the aforementioned data buffer, and wakes up the aforementioned thread; when the thread becomes running, it reads the data and passes it through the HAL to the application framework layer or application layer for processing, for example, passing the data to the occlusion recognition module in the application framework layer, and then the occlusion recognition module processes it and uploads it to the application in the application layer. The uploaded data may be the rotation angle of the display screen or the detected distance in the method embodiment provided below.

[0079] Based on the display device described above, this application provides a camera angle adjustment method. This method can automatically adjust the shooting angle of the camera component after the display screen of the display device is rotated, so as to adjust the shooting angle to the optimal shooting angle. Thus, when the user takes a picture based on the adjusted shooting angle, the shooting effect and user experience can be greatly improved.

[0080] Figure 7 This is a flowchart illustrating a camera angle adjustment method provided in an embodiment of this application. This method can be executed by the aforementioned display device, such as... Figure 7 As shown, the method includes the following steps.

[0081] S301: The detector emits a detection signal and detects the echo signal formed after the detection signal is reflected.

[0082] The detector can be an infrared detector or a radar detector with ranging capabilities. When the detector is an infrared detector, the detection signal and the echo signal can be infrared signals; when the detector is a radar, and the radar is a millimeter-wave radar, the detection signal and the echo signal can be millimeter-wave signals.

[0083] In addition, the detector can be set on the first side of the support in the display device. The detection signal emitted by the detector can be reflected by the display screen to form an echo signal, so that the detector can detect the echo signal.

[0084] Optionally, when a user uses applications such as camera functions, the processor of the display device can send a detection command to the detector, so that the detector can emit a detection signal upon receiving the detection command. For example, the detector can periodically or non-periodically emit a detection signal according to a certain configuration. The detection signal is reflected by an external obstacle to form an echo signal. For example, the detection signal is reflected by the lower bezel of the display screen to form an echo signal. The detector can detect the echo signal to obtain one or more parameter information of the echo signal. For example, the parameter information may include multiple parameter information such as the frequency, amplitude, and phase of the echo signal.

[0085] S302: Determine the rotation angle of the display screen relative to the first reference surface based on the echo signal. The first reference surface is the plane where the display screen is located when it is in a vertical state.

[0086] The process of determining the rotation angle of the display screen relative to the first reference surface based on the echo signal may include the following two steps: S302a. Determining the distance l between the detector and the display screen based on the echo signal; S302b. Determining the rotation angle of the display screen relative to the first reference surface based on the distance l, wherein the first reference surface is the plane in which the display screen is located when it is in a vertical state. These two steps will be explained in detail below.

[0087] For S302a, after detecting the echo signal, the display device can determine the distance l between the detector and the obstacle based on the echo signal. For example, when the echo signal is an echo signal formed by reflection from the bottom bezel of the display screen, the distance l between the detector and the bottom bezel of the display screen can be determined based on the echo signal. This distance l can specifically refer to the vertical distance between the detector and the bottom bezel of the display screen. The step of determining the distance between the detector and the display screen based on the echo signal can be performed by different devices in the display device, as described below.

[0088] In one possible embodiment, the detector has processing capabilities. The detector can determine the distance *l* between itself and the display screen based on the parameter information of the echo signal. For example, the detector could be a radar with processing capabilities, allowing the radar to determine the distance *l* between the detector and the display screen based on the echo signal. In another possible embodiment, the detector can send the parameter information of the echo signal to a processor, which then determines the distance *l* between the detector and the display screen based on the parameter information. Furthermore, when the processor includes multiple processing units, the operation can be performed by any one of these processing units. For example, if the processor includes a CPU and a microprocessor, the detector can send the parameter information of the echo signal to the CPU, causing the CPU to execute the step of determining the distance *l* between the detector and the display screen; or, the detector can send the parameter information of the echo signal to the microprocessor, causing the microprocessor to execute the step of determining the distance *l* between the detector and the display screen.

[0089] It should be noted that the specific process of determining the distance l between the detector and the display screen based on the echo signal can be found in the description of related technologies, and will not be described in this embodiment.

[0090] For S302b, when the display screen is in a vertical position (e.g., the display screen is perpendicular to the desktop), the distance between the detector and the bottom edge of the display screen is fixed, and this distance can be represented as L. When the display screen rotates and has different rotation angles relative to the first reference surface, the distance l between the detector and the bottom edge of the display screen will also change accordingly. That is, the distance l between the detector and the bottom edge of the display screen will change with the rotation angle. Therefore, the rotation angle of the display screen relative to the first reference surface can be determined based on the detected distance l between the detector and the bottom edge of the display screen.

[0091] It should be noted that, in this embodiment, the distance between the detector and the display screen is taken as the distance between the detector and the bottom bezel of the display screen. In practical applications, the distance between the detector and the display screen can also be the distance between the detector and the display area of ​​the display screen or other bezels, etc., and this embodiment does not impose specific limitations on this. Furthermore, the aforementioned first reference plane can be the plane containing the display surface of the display screen when the display screen is in a vertical state, or the plane containing the side opposite to the display surface; this embodiment does not impose specific limitations on this.

[0092] Optionally, the processor determining the rotation angle of the display screen relative to the first reference surface based on the distance l may include: determining a first included angle based on the distance l, the first included angle being an angle less than or equal to 90° between the first connecting line and the display screen, the first connecting line being the line connecting the detector to the rotation connection point between the display screen and the support; and determining the rotation angle based on the difference between the first included angle and a second included angle, the second included angle being an angle less than or equal to 90° between the first connecting line and the first reference surface.

[0093] In one possible embodiment, such as Figure 8 As shown in (a), assuming the display screen rotates from a vertical position to the side opposite to the display surface by an angle θ, if the first included angle is β and the second included angle is γ, then the second included angle γ, the first included angle β, and the rotation angle θ satisfy the following formula (1-1). Optionally, the processor can determine the first included angle β based on the distance l using the following formula (1-2), determine the second included angle γ using the following formula (1-3), and thus determine the rotation angle θ according to the following formula (1-4).

[0094] γ=β+θ (1-1)

[0095]

[0096]

[0097]

[0098] In the above formulas (1-2) to (1-4), the meanings of a, a+b, c, d, L, and l can be as follows: Figure 8 As shown in (b) of the diagram. Where O represents the rotational connection point between the display screen and the support, O' represents the projection of the rotational connection point O onto the plane of the support, P represents the position of the detector on the plane of the support, A represents the intersection of the perpendicular lines between point P and the lower edge of the display screen when the display screen is in a vertical state, and A' represents the intersection of the perpendicular lines between point P and the lower edge of the display screen when the display screen is rotated by an angle θ. Where a represents the vertical distance between the rotational connection point O and the lower edge of the display screen, a+b represents the vertical distance between the rotational connection point O and the projection point O', c represents the distance between the detector and the projection point O', d represents the distance between the detector's position P and the rotational connection point O, L represents the distance between the detector and the lower edge of the display screen when the display screen is in a vertical state, and l represents the distance between the detector and the lower edge of the display screen when the display screen is rotated by an angle θ.

[0099] In another possible embodiment, such as Figure 9As shown in (a), assuming the display screen rotates from a vertical position to one side of the display surface by an angle θ, if the first included angle is β and the second included angle is γ, then the second included angle γ, the first included angle β, and the rotation angle θ satisfy the following formula (2-1). Optionally, the processor can determine the first included angle β based on the distance l using the following formula (2-2), determine the second included angle γ using the following formula (2-3), and thus determine the rotation angle θ according to the following formula (2-4).

[0100] β=γ+θ (2-1)

[0101]

[0102]

[0103]

[0104] In the above formulas (2-2) to (2-4), the meanings of a, a+b, c, d, L, and l can be expressed as follows: Figure 9 As shown in (b) of the diagram. Where O represents the rotational connection point between the display screen and the support, O' represents the projection of the rotational connection point O onto the plane of the support, P represents the position of the detector on the plane of the support, A represents the intersection of the perpendicular lines between point P and the lower edge of the display screen when the display screen is in a vertical state, and A' represents the intersection of the perpendicular lines between point P and the lower edge of the display screen when the display screen is rotated by an angle θ. Where a represents the vertical distance between the rotational connection point O and the lower edge of the display screen, a+b represents the vertical distance between the rotational connection point O and the projection point O', c represents the distance between the detector and the projection point O', d represents the distance between the detector's position P and the rotational connection point O, L represents the distance between the detector and the lower edge of the display screen when the display screen is in a vertical state, and l represents the distance between the detector and the lower edge of the display screen when the display screen is rotated by an angle θ.

[0105] It should be noted that the specific values ​​of a, a+b, c, d, and L in the above formula can be measured and configured for the display device in advance. For example, the specific values ​​of a, a+b, c, d, and L in the above formula can be stored in the memory of the display device. When the processor determines the rotation angle of the display screen relative to the first reference plane in the above manner, it can obtain them from the memory.

[0106] Furthermore, prior to S302b, the processor can also determine whether the display screen has rotated based on the distance l. For example, when the detector is covered or obstructed, the distance l detected by the detector is the distance between the detector and the covering or obstructing object, rather than the distance between the detector and the bottom bezel of the display. That is, the distance l is independent of the rotation angle of the display screen. In this case, the processor can first determine whether the display screen has rotated. If rotation is determined, the rotation angle of the display screen relative to the first reference surface can be determined through S302b. If rotation is determined not to have occurred, the processor can return to S301 to continue execution or terminate the process.

[0107] Optionally, the distance between the detector and the covering or obstruction is typically less than the distance between the detector and the bottom edge of the display. Therefore, the processor's determination of whether the display screen has rotated based on the detected distance l can include: determining that the display screen has not rotated when the distance l is less than or equal to a first distance threshold, where the first distance threshold can be preset, for example, 8cm, 10cm, or 12cm; determining that the display screen has rotated when the distance l is greater than the first distance threshold; or determining that the display screen has rotated when the distance l is greater than the first distance threshold and not equal to a preset distance L, where the first distance threshold is less than the preset distance L, and the preset distance L is the distance between the detector and the bottom edge of the display screen when the display screen is in a vertical position.

[0108] S303: The processor controls the rotation of the camera assembly based on the rotation angle to adjust the angle of the camera assembly.

[0109] In one possible embodiment, the echo signal is also used to determine that the display screen has rotated; accordingly, the processor can control the camera assembly to rotate according to the rotation angle when it determines that the display screen has rotated, so as to adjust the angle of the camera assembly.

[0110] When the display screen rotates by the specified rotation angle, there are two possible rotation directions: first, the display screen rotates towards the side opposite to the display surface; second, the display screen rotates towards the display surface. The following describes in detail the process by which the processor controls the rotation of the camera assembly based on the rotation angle under each of these two rotation directions.

[0111] Firstly, when the display screen rotates to a side away from its display surface, the distance *l* detected by the detector is less than the aforementioned preset distance *L*. That is, after rotation, the distance between the detector and the bottom edge of the display screen is less than the distance between them when the display screen is in a vertical position. In this case, the processor can rotate the camera assembly to a side of the display surface by the rotation angle to restore the angle of the camera assembly to the angle when the display screen is in a vertical position. In other words, after the display screen rotates to a side away from its display surface, the camera angle of the camera assembly is adjusted to the optimal angle. For example, as shown... Figure 8 As shown in (a), when the display screen is rotated to the side opposite to the display surface of the display screen by an angle of θ, the processor can rotate the camera assembly to the side of the display surface of the display screen by an angle of θ.

[0112] The second scenario involves the following: When the display screen rotates to one side of its display surface, the distance *l* detected by the detector is greater than the aforementioned preset distance. That is, after rotation, the distance between the detector and the bottom edge of the display screen is greater than the distance *L* between them when the display screen is in a vertical position. In this case, the processor can rotate the camera assembly to the side away from the display surface by the rotation angle, restoring the angle of the camera assembly to the angle it had when the display screen was in a vertical position. In other words, after the display screen rotates to one side of its display surface, the camera angle is adjusted to the optimal angle. For example, as shown... Figure 9 As shown in (a), when the display screen rotates to one side of the display surface of the display screen by an angle of θ, the processor can rotate the camera assembly to the side away from the display surface of the display screen by an angle of θ.

[0113] It should be noted that, based on the relationship between the distance l and the preset distance L, the processor can determine the rotation direction of the display screen in S302b, and then determine the rotation angle according to the formula under the corresponding rotation direction. Thus, in S303, the processor can directly rotate the camera assembly in the opposite direction to the rotation direction of the display screen. That is, when the display screen rotates to the side away from the display surface, the processor rotates the camera assembly to the side of the display surface; when the display screen rotates to the side of the display surface, the processor rotates the camera assembly to the side away from the display surface.

[0114] Optionally, in addition to controlling the rotation of the camera assembly based on the rotation angle, the processor can also directly control the rotation of the camera assembly based on the distance between the detector and the display screen after determining the distance, so as to adjust the angle of the camera assembly. This application embodiment does not impose specific limitations on this.

[0115] Furthermore, when the detector is positioned on a first side of the support of the display device, and a microphone is also provided on the first side, and the distance between the microphone and the detector is less than or equal to a second distance threshold, the method may further include: the processor determining whether the microphone is blocked based on the distance l. Optionally, the orientation of the first side is consistent with the orientation of the display surface of the screen. The second distance threshold can be preset; for example, the second distance threshold can be greater than or equal to 1 cm and less than or equal to 2 cm, such as 1 cm, 1.5 cm, or 2 cm. For example, as shown... Figure 10 As shown, the first side of the support of the display device is provided with the detector and the microphone. The distance between the detector and the microphone is small. If the microphone is blocked by an obstruction, the detector is also blocked by the obstruction. Therefore, the distance l detected by the detector is the distance between the detector and the obstruction. Based on the distance l, it can be determined whether the microphone is blocked.

[0116] In one possible embodiment, when the distance l is greater than the first distance threshold, the processor can determine that the microphone is not blocked, and can then return to step S301 to continue execution or end the process; when the distance l is less than or equal to the first distance threshold, the processor can determine that the microphone is blocked, and the processor can also generate a prompt message (or, when the distance is less than the first distance threshold, the processor can directly generate the prompt message), for example, the prompt message can be text, image, sound or video, etc., and the prompt message is used to remind the user that the microphone is blocked, so that the user can remove the obstruction above the microphone after seeing the prompt message, so as to avoid the problem that the corresponding sound pickup effect is affected when the microphone is blocked.

[0117] For ease of understanding, the following will be used as an example. Figure 11 and Figure 12 For example, the method provided in the embodiments of this application will be illustrated. Figure 11 This is an example of a camera angle adjustment method provided in an embodiment of this application. Figure 12 This is an example of a method for displaying a notification message to a user that their microphone is blocked.

[0118] like Figure 11As shown, the camera angle adjustment method may include: S41. The detector emits a detection signal and detects the echo signal formed after the detection signal is reflected; S42. The detector determines the distance l between the detector and the display screen based on the echo signal; S43a. If the distance l is less than a preset distance L (i.e., l < L), it is determined that the display screen rotates to the side away from the display surface (referred to as the display screen rotating backward). The processor can determine the rotation angle θ of the display screen based on the distance l using the above formulas (1-1) to (1-4), and then executes S44a; S43b. If the distance l is less than a preset distance L (i.e., l < L), it is determined that the display screen rotates to the side away from the display surface (referred to as the display screen rotating backward). If the distance l is greater than the preset distance L (i.e., l > L), then the display screen is determined to rotate to one side of the display surface (referred to as the display screen rotating forward). The processor can determine the rotation angle θ of the display screen according to the distance l using the above formulas (2-1) to (2-4), and then executes S44b; S44a. The processor rotates the camera assembly to one side of the display surface by a rotation angle of θ (referred to as the camera assembly rotating forward by an angle θ); S44b. The processor rotates the camera assembly to the side away from the display surface by a rotation angle of θ (referred to as the camera assembly rotating backward by an angle θ).

[0119] like Figure 12 As shown, the method for displaying the prompt information may include: S51. The detector emits a detection signal and detects the echo signal formed after the detection signal is reflected; S52. The detector determines the distance l between the detector and the obstacle based on the echo signal; it judges the relationship between the distance l and a first distance threshold L1. If l is less than L1 (i.e., l ≤ L1), then S53a is executed; if l is greater than L1 (i.e., l > L1), then S53b is executed; S53a. The processor determines that the microphone is blocked, and thus controls the display screen to display a prompt information to inform the user that the microphone is blocked; S53b. The processor determines that the microphone is not blocked. The above example illustrates the method by which the processor controls the display screen to display the prompt information.

[0120] In this embodiment, the detector can emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal can be used to determine the distance l between the detector and the display screen. The processor can determine the rotation angle of the display screen relative to the first reference surface based on the distance l, and control the camera assembly to rotate in the opposite direction to the rotation direction of the display screen based on the rotation angle. That is, the method can automatically adjust the angle of the camera assembly after the display screen of the display device is rotated to adjust the angle to the optimal angle, so that when the user takes pictures based on the adjusted angle, the shooting effect and user experience can be greatly improved. In addition, when the detector and microphone are provided on the first side of the support of the display device, the processor can also determine whether the microphone is blocked based on the distance l, and control the display screen to display a prompt message when the microphone is blocked. The prompt message is used to remind the user that the microphone is blocked, so that the user can remove the obstruction above the microphone after seeing the prompt message to avoid the problem that the corresponding sound pickup effect is affected when the microphone is blocked.

[0121] The foregoing mainly describes the solutions provided by the embodiments of this application from the perspective of display devices. It is understood that, in order to achieve the above functions, the display device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the network elements and algorithm steps of the various examples described in the embodiments disclosed herein, the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0122] This application embodiment can divide the display device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0123] Based on this, this application also provides a display device, the structural schematic diagram of which is shown below. Figure 2As shown, the display device includes a processor 21, a detector 22, a display screen 23, and a stand 24. The display screen 23 is rotatably connected to the stand 24. A camera assembly 25 is rotatably connected to the display screen 23. The camera assembly 25 can be a front-facing camera assembly. The detector 22 is located on the first side of the stand 24. The processor 21 is electrically connected to the detector 22, and the camera assembly 25 is electrically connected to the processor 21.

[0124] In this embodiment, detector 22 is used to: emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal is used to determine the rotation angle of display screen 23 relative to a first reference surface, where the first reference surface is the plane where display screen 23 is in a vertical state. Processor 21 is further used to: control the rotation of camera assembly 25 according to the rotation angle to adjust the camera angle of camera assembly 25, where the rotation axis of camera assembly 25 is parallel to the rotation axis of display screen 23. Optionally, processor 21 is further used to: determine the rotation angle of display screen 23 relative to the first reference surface based on the distance between detector 22 and display screen 23, which can be determined based on the echo signal.

[0125] The step of determining the distance between detector 22 and display screen 23 can be performed by detector 22 or supported by processor 21. Optionally, detector 22 is further configured to determine the distance between detector 22 and display screen 23 based on the echo signal; or, processor 21 is further configured to determine the distance between detector 22 and display screen 23 based on the echo signal.

[0126] Alternatively, detector 22 can be a detection module with ranging capabilities, such as an infrared ranging module or radar. The detection signal can be a millimeter-wave signal; for example, when detector 22 is radar, the radar can perform ranging using a millimeter-wave frequency band detection signal.

[0127] In one possible implementation, the processor 21 is specifically configured to: determine a first included angle based on the distance, the first included angle being an angle less than or equal to 90° between the first connecting line and the display screen, the first connecting line being the connecting line between the detector 22 and the rotation connection point between the display screen 23 and the support 24; and determine the rotation angle based on the difference between the first included angle and a second included angle, the second included angle being an angle less than or equal to 90° between the first connecting line and the first reference surface.

[0128] In another possible implementation, the processor 21 is specifically used to: when the distance is less than a preset distance, rotate the camera assembly 25 toward one side of the display surface of the display screen 23 by the rotation angle, the preset distance being the distance between the detector 22 and the display screen 23 when the display screen 23 is in a vertical state; when the distance is greater than the preset distance, rotate the camera assembly 25 toward the side away from the display surface of the display screen 23 by the rotation angle.

[0129] Furthermore, before adjusting the camera angle of the camera assembly 25, the processor 21 is also configured to: determine that the display screen 23 has rotated when the distance is greater than a first distance threshold but not equal to the preset distance, wherein the first distance threshold is less than the preset distance.

[0130] Furthermore, a microphone 26 is also provided on the first side. The distance between the microphone 26 and the detector 22 is less than or equal to a second distance threshold. The processor 21 is further configured to: when the distance is less than the first distance threshold, control the display screen 23 to display a prompt message, which is used to inform the user that the microphone 26 is blocked. Optionally, the second distance threshold is greater than or equal to 1 cm and less than or equal to 2 cm. Exemplarily, the orientation of the first side is consistent with the orientation of the display surface of the display screen 23.

[0131] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0132] In the display device provided in this application embodiment, after the display screen 23 is rotated, the detector 22 can emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal can be used to determine the distance between the detector 22 and the display screen 23. The processor 21 can determine the rotation angle of the display screen 23 relative to the first reference surface based on the distance, and automatically adjust the angle of the camera assembly 25 based on the rotation angle to adjust the shooting angle to the optimal shooting angle. Thus, when the user shoots based on the adjusted angle, the shooting effect and user experience can be greatly improved.

[0133] In another aspect of this application, a chip for use in a display device is also provided. The chip includes a processor, a detector, a display screen, and a stand. The display screen is rotatably connected to the stand, and a camera assembly is rotatably connected to the display screen. The chip can be used to support the display device in performing the shooting angle adjustment method described above.

[0134] In another aspect of this application, a chip for use in a display device is also provided. The chip includes a processor, a detector, a microphone, a display screen, and a stand. The display screen is connected to the stand. The detector and the microphone are both disposed on a first side of the stand. The processor is electrically connected to the detector. The chip can be used to support the display device in performing the prompt information display method provided above.

[0135] In another aspect of this application, a computer-readable storage medium is provided, which stores instructions that, when executed on a device, cause the device to perform the shooting angle adjustment method described above.

[0136] In another aspect of this application, a computer-readable storage medium is provided, which stores instructions that, when executed on a device, cause the device to perform the above-described prompt information display method.

[0137] In another aspect of this application, a computer program product is provided that, when the computer program product is run on a device, causes the device to perform the shooting angle adjustment method described above.

[0138] In another aspect of this application, a computer program product is provided that, when the computer program product is run on a device, causes the device to perform the above-described prompt information display method.

[0139] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed.

[0140] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0141] Furthermore, the functional units in the various embodiments of this application can be integrated into one unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0142] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A display device having a camera assembly, characterized in that, The display device includes: a processor, a detector, a display screen, and a support. The display screen is rotatably connected to the support. A camera assembly is rotatably connected to the display screen. The processor is electrically connected to the detector, and the camera assembly is electrically connected to the processor. The detector is used to emit a detection signal and detect the echo signal formed after the detection signal is reflected. The echo signal is used to determine the rotation angle of the display screen relative to the first reference surface based on the distance between the detector and the display screen. The distance is determined based on the echo signal. The first reference surface is the plane in which the display screen is located when it is in a vertical state. The processor is configured to control the camera assembly to rotate by the same angle in the opposite direction to the rotation direction of the display screen, based on the rotation angle, so as to adjust the angle of the camera assembly.

2. The display device according to claim 1, characterized in that, The detector is also used to: determine the distance between the detector and the display screen based on the echo signal; or, The processor is also configured to: determine the distance between the detector and the display screen based on the echo signal.

3. The display device according to claim 1 or 2, characterized in that, The processor is also used for: The first included angle is determined based on the distance. The first included angle is the angle between the first connecting line and the display screen that is less than or equal to 90°. The first connecting line is the line connecting the detector to the rotational connection point between the display screen and the support. The rotation angle is determined based on the difference between the first included angle and the second included angle, wherein the second included angle is the angle between the first connecting line and the first reference plane that is less than or equal to 90°.

4. The display device according to claim 3, characterized in that, The processor is also used for: When the distance is less than a preset distance, the camera assembly is rotated by the rotation angle toward one side of the display surface of the display screen. The preset distance is the distance between the detector and the display screen when the display screen is in a vertical state. When the distance is greater than the preset distance, the camera assembly is rotated by the rotation angle to the side away from the display surface of the screen.

5. The display device according to claim 4, characterized in that, Before adjusting the camera angle of the camera assembly, the processor is also used to: When the distance is greater than a first distance threshold but not equal to the preset distance, it is determined that the display screen has rotated, where the first distance threshold is less than the preset distance.

6. The display device according to claim 5, characterized in that, The detector is disposed on a first side of the support, and a microphone is also disposed on the first side. The distance between the microphone and the detector is less than or equal to a second distance threshold. The processor is further configured to: When the distance is less than a first distance threshold, a prompt message is generated to alert the user that the microphone is blocked.

7. The display device according to claim 6, characterized in that, The detector is a radar, and the detection signal is a millimeter-wave signal.

8. The display device according to claim 7, characterized in that, The rotation axis of the camera assembly is parallel to the rotation axis of the display screen.

9. The display device according to claim 8, characterized in that, The camera assembly includes a front-facing camera assembly.

10. A method for adjusting camera angle, characterized in that, The method, applied in a display device including a processor, a detector, a display screen, and a stand, wherein the display screen and the stand are rotatably connected, a camera assembly is rotatably connected to the display screen, the processor is electrically connected to the detector, and the camera assembly is electrically connected to the processor, includes: The detector emits a detection signal and detects the echo signal formed after the detection signal is reflected. The echo signal is used to determine the rotation angle of the display screen relative to the first reference surface based on the distance between the detector and the display screen. The distance is determined based on the echo signal. The first reference surface is the plane in which the display screen is located when it is in a vertical state. The processor controls the camera assembly to rotate by the same angle in the opposite direction to the rotation direction of the display screen, based on the rotation angle, in order to adjust the angle of the camera assembly.

11. The method according to claim 10, characterized in that, The method further includes: The detector determines the distance between itself and the display screen based on the echo signal; or, The processor determines the distance between the detector and the display screen based on the echo signal.

12. The method according to claim 10 or 11, characterized in that, The processor determines the rotation angle of the display screen relative to the first reference surface based on the distance between the detector and the display screen, including: The first included angle is determined based on the distance. The first included angle is the angle between the first connecting line and the display screen that is less than or equal to 90°. The first connecting line is the line connecting the detector to the rotational connection point between the display screen and the support. The rotation angle is determined based on the difference between the first included angle and the second included angle, wherein the second included angle is the angle between the first connecting line and the first reference plane that is less than or equal to 90°.

13. The method according to claim 12, characterized in that, The processor controls the rotation of the camera assembly according to the rotation angle, including: When the distance is less than a preset distance, the camera assembly is rotated by the rotation angle toward one side of the display surface of the display screen. The preset distance is the distance between the detector and the display screen when the display screen is in a vertical state. When the distance is greater than the preset distance, the camera assembly is rotated by the rotation angle to the side away from the display surface of the screen.

14. The method according to claim 13, characterized in that, Before adjusting the angle of the camera assembly, the method further includes: When the distance is greater than a first distance threshold but not equal to the preset distance, it is determined that the display screen has rotated, where the first distance threshold is less than the preset distance.

15. The method according to claim 14, characterized in that, The detector is disposed on a first side of the support, and a microphone is also disposed on the first side. The distance between the microphone and the detector is less than or equal to a second distance threshold. The method further includes: When the distance is less than a first distance threshold, the processor generates a prompt message to alert the user that the microphone is blocked.

16. The method according to claim 15, characterized in that, The detector is a radar, and the detection signal is a millimeter-wave signal.

17. The method according to claim 16, characterized in that, The rotation axis of the camera assembly is parallel to the rotation axis of the display screen.

18. The method according to claim 17, characterized in that, The camera assembly includes a front-facing camera.