Display method and device, storage medium and electronic equipment

By automatically adjusting the display area of ​​the display screen using the rotating part and the camera in the electronic device, the problem of the user moving by himself when the angle is not facing, realizing the effect of facing the display area without the user moving, improving the user experience.

CN119252203APending Publication Date: 2025-01-03GEER INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411354620.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When the existing curved screen is not facing the angle, the user needs to move to the facing position to view it by himself, resulting in a poor user experience.

Method used

By setting a rotating part and a camera in the electronic device, the current distance and rotation angle of the user are obtained, based on this information, the starting lighted pixel is determined, and the display area of ​​the display screen is adjusted so that it will automatically rotate to the angle facing the user. Adjust the display area.

Benefits of technology

The display area is not required to move by the user on its own, which improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119252203A_ABST
    Figure CN119252203A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electronic products, and discloses a display method and device, a storage medium and electronic equipment, and the method comprises the steps: obtaining a current distance with a user, and obtaining a current rotation angle of a rotation part, the current rotation angle being an angle at which the rotation part rotates a camera to directly face the user; obtaining an effective display area length of the display screen, and determining an initial lightening pixel based on the current distance, the current rotation angle and the effective display area length; and adjusting the current display area of the display screen according to the starting lightening pixel, and displaying through the adjusted current display area. Compared with an existing method that a user needs to move to a position directly facing the curved screen to watch by himself, the angle directly facing the user can be determined through the rotating part, then the current display area is adjusted according to the angle, and therefore the adjusted current display area directly faces the user, the user does not need to move by himself, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic products, and in particular to a display method, device, storage medium and electronic equipment. Background Art

[0002] Currently, electronic devices (such as smart speakers, etc.) can be provided with a curved screen on the periphery of the device to display images through the curved screen.

[0003] However, when the user watches the curved screen at an angle other than the angle at which the screen is facing, the user needs to move to a position facing the curved screen for viewing, resulting in a poor user experience. Summary of the invention

[0004] The main purpose of the present application is to provide a display method, device, storage medium and electronic device, aiming to solve the existing technical problem that when the angle of the user viewing the curved screen is not the angle directly facing the screen, the user needs to move to a position directly facing the curved screen for viewing, resulting in a poor user experience.

[0005] To achieve the above object, the present application provides a display method, which is applied to an electronic device having a fixed portion and a rotating portion, wherein the fixed portion is provided with a display screen, and the rotating portion is provided with a camera, and the method comprises:

[0006] Acquire the current distance to the user, and acquire the current rotation angle of the rotating unit, where the current rotation angle is the angle at which the rotating unit rotates the camera to face the user;

[0007] Acquire the length of the effective display area of ​​the display screen, and determine the starting light-up pixel based on the current distance, the current rotation angle and the length of the effective display area;

[0008] The current display area of ​​the display screen is adjusted according to the starting lit pixels, and display is performed through the adjusted current display area.

[0009] In one embodiment, the step of determining the starting pixel to be lit based on the current distance, the current rotation angle and the length of the effective display area includes:

[0010] Determine the length of the human eye viewing area based on a preset human eye focus area angle and the current distance;

[0011] Acquire a device radius of the electronic device, and determine a rotation distance of the camera according to the device radius and the current rotation angle;

[0012] The starting light-up pixel is determined based on the length of the human eye viewing area, the rotation distance, and the length of the effective display area.

[0013] In one embodiment, the step of determining the length of the human eye viewing area based on the preset human eye focus area angle and the current distance includes:

[0014] Acquire a relative distance between the display screen and the rotating part, and determine a display distance between the display screen and the user according to the relative distance and the current distance;

[0015] The length of the human eye viewing area is determined based on a preset human eye focus area angle and the display distance.

[0016] In one embodiment, the step of determining the rotation distance of the camera according to the device radius and the current rotation angle includes:

[0017] determining a rotation radius based on the relative distance and the device radius;

[0018] The rotation distance of the camera is determined according to the rotation radius and the current rotation angle.

[0019] In one embodiment, the step of determining the starting pixel to be lit based on the length of the human eye viewing area, the rotation distance, and the length of the effective display area includes:

[0020] Obtaining a single pixel length of the display screen, and determining a rotation direction of the camera according to the current rotation angle;

[0021] The starting pixel to be lit is determined based on the rotation direction, the length of the single pixel, the length of the human eye viewing area, the rotation distance, and the length of the effective display area.

[0022] In one embodiment, the step of determining the starting pixel to be lit based on the rotation direction, the length of the single pixel, the length of the human eye viewing area, the rotation distance, and the length of the effective display area includes:

[0023] Obtaining the central pixel position of the current display area of ​​the display screen, and determining the first area length and the second area length according to the effective display area length and the central pixel position of the current display area;

[0024] When the rotation direction is a first rotation direction, determining a starting pixel to be lit based on the first area length, the single pixel length, the human eye viewing area length, and the rotation distance;

[0025] When the rotation direction is the second rotation direction, the starting pixel to be lit is determined based on the second area length, the single pixel length, the human eye viewing area length, and the rotation distance.

[0026] In one embodiment, the step of determining the starting pixel to be lit based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance comprises:

[0027] Determine the starting light-up pixel by using a first preset pixel determination formula and based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance;

[0028] The first preset pixel determination formula is:

[0029]

[0030] Wherein, P1' is the starting light pixel, X is the length of the first area, L2 is the rotation distance, L1 is the length of the human eye viewing area, and D pixcel is the single pixel length;

[0031] The step of determining the starting pixel to be lit based on the length of the second area, the length of the single pixel, the length of the human eye viewing area, and the rotation distance comprises:

[0032] Determine the starting light-up pixel by a second preset pixel determination formula based on the single pixel length, the length of the human eye viewing area, and the rotation distance;

[0033] The second preset pixel determination formula is:

[0034]

[0035] Wherein, P1' is the starting light pixel, Y is the length of the second area, L2 is the rotation distance, L1 is the length of the human eye viewing area, D pixcel is the single pixel length.

[0036] In one embodiment, before the step of obtaining the current distance to the user, the method further includes:

[0037] When the power is not turned on for the first time, determining whether the current angle of the rotating part is within a preset calibration rotation angle;

[0038] If not, the rotating part is rotated to the preset calibration angle, and the step of obtaining the current distance to the user is performed.

[0039] In one embodiment, before the step of determining whether the current angle of the rotating part is within the preset calibration rotation angle when the power is not turned on for the first time, the method further includes:

[0040] When the power is turned on for the first time, the current angle of the rotating part is obtained, and the current angle is used as the preset calibration rotation angle.

[0041] In addition, to achieve the above-mentioned purpose, the present application also proposes a display device, the device comprising:

[0042] A parameter acquisition module, used to acquire the current distance from the user and the current rotation angle of the rotating unit, wherein the current rotation angle is the angle at which the rotating unit rotates the camera to face the user;

[0043] A pixel determination module, used to obtain the length of the effective display area of ​​the display screen, and determine the starting light-up pixel based on the current distance, the current rotation angle and the length of the effective display area;

[0044] The area adjustment module is used to adjust the current display area of ​​the display screen according to the starting lit pixels, and display through the adjusted current display area.

[0045] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which a display program is stored, and when the display program is executed by a processor, the display method as described above is implemented.

[0046] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic device, the electronic device comprising: a fixed part and a rotating part, the fixed part is provided with a display screen, the rotating part is provided with a camera, a distance sensor and an angle sensor, and the fixed part or the rotating part is provided with a processor and a memory;

[0047] The distance sensor is used to collect the current distance to the user and transmit the current distance to the processor;

[0048] The angle sensor is used to collect the current rotation angle of the rotating part and transmit the current rotation angle to the processor;

[0049] The processor is used to run the display program stored in the memory, and the display program implements the display method described above when executed by the processor.

[0050] The present application provides a display method, device, storage medium and electronic device, the method is applied to an electronic device provided with a fixed part and a rotating part, the fixed part is provided with a display screen, the rotating part is provided with a camera, the method comprises: obtaining the current distance from the user, and obtaining the current rotation angle of the rotating part, the current rotation angle being the angle at which the rotating part rotates the camera to face the user; obtaining the effective display area length of the display screen, and determining the starting lit pixel based on the current distance, the current rotation angle and the effective display area length; adjusting the current display area of ​​the display screen according to the starting lit pixel, and displaying through the adjusted current display area. Since the present application can drive the camera to rotate through the rotating part, and obtain the current rotation angle of the rotating part when the camera rotates to face the user, and then determine the starting lit pixel based on the current rotation angle, the current distance from the user and the effective display area length of the display screen, adjust the current display area of ​​the display screen according to the starting lit pixel, and finally display through the adjusted current display area. Compared to the existing method that requires users to move to a position facing the curved screen for viewing, the present application can determine the angle facing the user through the rotating part, and then adjust the current display area according to the angle, so that the adjusted current display area faces the user, without the need for users to move by themselves, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0052] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0053] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;

[0054] Figure 2 This is an internal block diagram of an electronic device according to an embodiment of the present application;

[0055] Figure 3 This is a flow chart of a first embodiment of the display method of the present application;

[0056] Figure 4 This is an expanded view of the display screen in the first embodiment of the display method of this application;

[0057] Figure 5This is a flow chart of a second embodiment of the display method of the present application;

[0058] Figure 6 This is a schematic diagram of determining the length of the viewing area of ​​the human eye in the first embodiment of the display method of the present application;

[0059] Figure 7 It is a flowchart of a third embodiment of the display method of the present application;

[0060] Figure 8 This is a structural block diagram of the first embodiment of the display device of the present application.

[0061] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0062] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0063] It should be noted that currently, electronic devices (such as smart speakers, etc.) can be provided with a curved screen on the periphery of the device to display images. However, when the user watches the curved screen at an angle that is not directly facing the screen, the user needs to move to a position directly facing the curved screen to watch, resulting in a poor user experience.

[0064] Therefore, in order to solve the above defects, this embodiment provides an electronic device, which can drive the camera to rotate through a rotating part, and obtain the current rotation angle of the rotating part when the camera rotates to face the user, and then determine the starting light-up pixels based on the current rotation angle, the current distance from the user, and the effective display area length of the display screen, adjust the current display area of ​​the display screen according to the starting light-up pixels, and finally display through the adjusted current display area. Compared with the existing requirements that users move to a position facing the curved screen for viewing, this embodiment can determine the angle facing the user through the rotating part, and then adjust the current display area according to the angle, so that the adjusted current display area faces the user, without the need for the user to move by themselves, thereby improving the user experience.

[0065] For ease of understanding, the following combination Figure 1 and Figure 2 The electronic device provided in the embodiments of the present application is introduced in detail.

[0066] Reference Figure 1 , Figure 1 A schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiment of the present application.

[0067] like Figure 1As shown, the electronic device may include: a fixed part and a rotating part, the fixed part is provided with a display screen, the rotating part is provided with a camera, a distance sensor and an angle sensor, and the fixed part or the rotating part is provided with a processor (not shown in the figure) and a memory (not shown in the figure).

[0068] It should be noted that the above-mentioned electronic device may be a smart speaker, and of course may also be other devices that require display. This embodiment uses a smart speaker for illustration.

[0069] It should also be noted that the rotating part can be arranged on the fixed part and can rotate relative to the fixed part. Furthermore, in this embodiment, a motor can be arranged between the fixed part and the rotating part, and the rotating part can be driven to rotate by the motor. The setting position of the motor is not limited in this embodiment.

[0070] A display screen may be provided on the outer peripheral wall of the fixed part, and since both the fixed part and the rotating part may be designed to be cylindrical, the display screen may be provided as a curved display screen, and a picture may be displayed through the display screen for the user to watch. A camera may be provided on the rotating part, and the camera may track and shoot the user under the rotation of the rotating part, so as to determine the user's position. The distance sensor may also be provided on the rotating part, so as to measure the distance between the user and the electronic device. The angle sensor may be used to collect the angle of rotation of the rotating part.

[0071] It is understandable that, in this embodiment, the processor may be a central processing unit (CPU) or the like, and the memory may be a high-speed random access memory (RAM) or a stable memory (NVM), such as a disk memory. The memory may optionally be a storage device independent of the processor. In this embodiment, the processor and memory may be arranged in the fixed part or in the rotating part. Of course, one may be arranged in the fixed part and one in the rotating part respectively. The specific arrangement may be made according to the actual situation, and this embodiment does not limit this.

[0072] In order to realize the relevant functions of the speaker, refer to Figure 2 , Figure 2 This is an internal block diagram of the electronic device according to the embodiment of the present application, such as Figure 2 As shown, in this embodiment, the above-mentioned processor is connected to the camera, the distance sensor, the motor and the memory respectively.

[0073] The distance sensor is used to collect the current distance from the user and transmit the current distance to the processor; the angle sensor is used to collect the current rotation angle of the rotating part and transmit the current rotation angle to the processor; the processor is used to run the display program stored in the memory, and when the display program is executed by the processor, the display method provided in the embodiment of the present application is implemented.

[0074] It should be understood that if Figure 2 As shown, the electronic device in this embodiment may further include: a microphone, a speaker, a crystal and a wireless module, and the microphone, the speaker, the crystal and the wireless module are all connected to the processor;

[0075] The microphone may be a microphone array (i.e. Figure 2 MIC array in the middle), which can be used for voice recognition and wake-up sound collection; the above-mentioned speaker can be a stereo speaker (i.e. Figure 2 The above-mentioned angle sensor can be used to measure the angle of rotation of the rotating part; the above-mentioned crystal can provide a stable clock source for the processor when it is working; the above-mentioned wireless module (i.e. Figure 2 The WIFI / BT Module may be a module for wireless communication, including but not limited to wireless network and Bluetooth modules. The specific settings may be made according to the actual situation. This embodiment does not limit this and can be used for networking and wireless transmission.

[0076] It should also be understood that the microphone, speaker, crystal and wireless module mentioned above can be arranged in the fixed part or the rotating part, and the angle sensor mentioned above can be arranged in the rotating part because it is necessary to measure the rotation angle of the rotating part.

[0077] It should be emphasized that those skilled in the art can understand that Figure 1 and Figure 2 The structure shown in the figure does not constitute a limitation on the above-mentioned device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0078] In order to solve the above defects, the embodiment of the present application further provides a display method, which can be applied to the above electronic device. For ease of understanding, the following is combined with Figures 3 to 8 The display method provided in the embodiment of the present application is introduced in detail.

[0079] Reference Figure 3 , Figure 3 The flowchart of the first embodiment of the display method of the present application is shown in FIG. Figure 3 As shown, in this embodiment, the method includes:

[0080] Step S10: obtaining a current distance from the user and a current rotation angle of the rotating unit, wherein the current rotation angle is an angle at which the rotating unit rotates the camera to face the user.

[0081] It should be noted that the method of this embodiment can be applied to the scene where the display screen on the smart speaker is displayed, and of course it can also be applied to the scene where the display screen on other electronic devices is displayed, and this embodiment does not limit this. The execution subject of this embodiment can be an electronic device with display, data processing, network communication and program running functions, such as the above-mentioned smart speaker, etc. This embodiment is explained with the above-mentioned smart speaker (hereinafter referred to as the device). Specifically, the specific structure of the above-mentioned device in this embodiment can be Figure 1 as well as Figure 2 The form shown, of course, can also be other forms, this embodiment adopts Figure 1 as well as Figure 2 Furthermore, the execution subject of the method of this embodiment may specifically be a processor in the above-mentioned device.

[0082] It is understandable that the current distance may be the distance between the device and the user. In this embodiment, since a distance sensor may be provided in the device, the distance between the device and the user may be detected in real time by the distance sensor as the current distance.

[0083] The above-mentioned current rotation angle can be the angle when the rotating part rotates from an initial angle to the angle when the camera is facing the user. The above-mentioned device in this embodiment can collect the rotation angle of the rotating part in real time through the angle sensor. In actual use, the above-mentioned device can drive the camera to rotate through the rotating part to search for the user's position. The camera can transmit the captured picture to the processor, and the processor can analyze the captured picture to determine whether there is a user therein; if not, it can be determined that there is no user around, and then the processor can control the rotating part to return to the initial angle through the motor, and control the display screen to turn off the screen; if there is, it can be determined that there is a user around, and then the camera can be rotated to a position facing the user, that is, rotated to the middle position of the user's image in the camera, to ensure that the camera is facing the user, and then the angle of the rotating part from the initial angle to the current position can be collected through the angle sensor as the above-mentioned current rotation angle.

[0084] If the angle collected by the angle sensor is recorded as θ angle sensor , the initial angle is recorded as θ angle sensor = 0°, if the rotating part rotates to the angle of the camera facing the user, it is θ angle sensor=θ1, then the current rotation angle is |θ1|-0°=|θ1|. This is because the rotation may include clockwise rotation and counterclockwise rotation. In this embodiment, the angle value of clockwise rotation can be defined as a negative value, and the angle value of counterclockwise rotation can be defined as a positive value.

[0085] Furthermore, in order to determine the initial angle, in this embodiment, before the step of obtaining the current distance to the user, the following steps are further included:

[0086] Step S02: when the power is not turned on for the first time, determining whether the current angle of the rotating part is within a preset calibration rotation angle;

[0087] Step S03: If not, the rotating part is rotated to the preset calibration angle, and the step of obtaining the current distance to the user is performed.

[0088] It should be understood that the above-mentioned preset calibration rotation angle can be the angle of the camera on a certain straight line on the display screen. In this embodiment, the midline of the display screen can be used for explanation, that is, the angle of the camera at the middle position of the display screen, which is recorded as P0 in this embodiment. In this embodiment, the preset calibration rotation angle is the above-mentioned θ angle sensor =0° initial angle. Of course, the above-mentioned preset calibration rotation angle may also be an angle corresponding to a straight line at other positions on the display surface of the display screen, and this embodiment does not impose any limitation on this.

[0089] In actual use, after the above equipment is powered on, it can be determined whether this power-on is the first power-on after leaving the factory; if it is not the first power-on, the angle θ collected by the angle sensor at this time can be determined. angle sensor Whether the value is the above preset calibration rotation angle, that is, judging θ angle sensor Is it equal to 0°? If it is not equal to 0°, it means that the camera is not on the center line of the display screen, that is, it is not at the P0 position. In order to facilitate subsequent calculations, the rotating part can be controlled to rotate it to the above-mentioned preset calibration angle, that is, rotate it until the camera is at the P0 position, and then start working to obtain the current distance from the user;

[0090] If it is equal to 0°, it means that the camera is on the center line of the display screen, that is, at the P0 position, and can start working without adjustment to obtain the current distance from the user.

[0091] Furthermore, when the above device is powered on for the first time, before the step of determining whether the current angle of the rotating part is within the preset calibration rotation angle when the device is not powered on for the first time, the step further includes:

[0092] Step S01: When powered on for the first time, the current angle of the rotating part is obtained, and the current angle is used as a preset calibration rotation angle.

[0093] It should be noted that, since the manufacturer generally adjusts the camera to the P0 position before selling it, when the device is powered on for the first time, the current angle of the rotating part collected by the angle sensor can be directly used as the above-mentioned preset calibration rotation angle, that is, θ angle sensor = Angle of 0°.

[0094] As another implementation, in order to avoid the manufacturer having to adjust the camera to the P0 position before selling it, this embodiment can also store the preset calibration rotation angle in the device in advance, so that when it is used later, it is not necessary to determine whether it is the first time to power on the device after it is powered on, but only needs to determine whether the current angle is the preset calibration rotation angle; if it is the preset calibration rotation angle, it can be used directly without adjustment; if it is not the preset calibration rotation angle, it can be used after automatically adjusting to the preset calibration rotation angle.

[0095] Step S20: Acquire the length of the effective display area of ​​the display screen, and determine the starting light-up pixel based on the current distance, the current rotation angle, and the length of the effective display area.

[0096] It is understandable that the above effective display area length may be the length of the entire area that can be used for display in the curved display screen of this embodiment. Figure 4 , Figure 4 This is an expanded view of the display screen in the first embodiment of the display method of this application. Figure 4 As shown, the length of the effective display area of ​​the display screen can be DL, the width of the effective display area can be DW, and the center line of the display screen is recorded as Acenter. Then the position of P0 on the center line is as follows: Figure 4 As shown, if the camera is at position P0, it can be determined that the camera is on the center line of the display screen.

[0097] It can also be understood that the length of the effective display area in this embodiment may not be less than the length of the display area required for displaying the picture, and since the pixels of the display screen in this embodiment are generally lit up in sequence from left to right, the above-mentioned starting lit pixel may be the leftmost pixel in the display screen that starts to display the display picture. And since the length of the display picture is generally fixed, by determining different starting lit pixels, the display picture can be adjusted to move left and right in the effective display area so that the display picture faces the user.

[0098] Step S30: adjusting the current display area of ​​the display screen according to the starting lit pixels, and performing display through the adjusted current display area.

[0099] It should be understood that after the initial lighting pixel is determined, the current display area is determined according to the initial lighting pixel, and the display is performed through the current display area. Specifically, the current display area can be adjusted according to the size of the preset display area.

[0100] For example, continue as Figure 4 As shown, if the user is in the middle of the display screen, the pixels to be lit up initially can be determined to be the pixels in the P1 column, and the following can be formed according to the size of the preset display area: Figure 4 However, when the user moves to the right, the starting lit pixel can be determined as P1' column pixel according to the current distance, the current rotation angle and the effective display area length, and then the size of the display area can be formed according to the above preset size. Figure 4 The image is displayed in the area where the current display area 2 is located, and the display screen is controlled to light up from left to right in sequence starting from P1, so that the current display area 2 formed can face the user directly without the user having to move it by himself.

[0101] The above-mentioned device of this embodiment can drive the camera to rotate through the rotating part, and obtain the current rotation angle of the rotating part when the camera rotates to face the user, and then determine the starting light-up pixels based on the current rotation angle, the current distance from the user, and the effective display area length of the display screen, adjust the current display area of ​​the display screen according to the starting light-up pixels, and finally display through the adjusted current display area. Compared with the existing method that requires the user to move to the position facing the curved screen for viewing, this embodiment can determine the angle facing the user through the rotating part, and then adjust the current display area according to the angle, so that the adjusted current display area faces the user, without the need for the user to move by himself, thereby improving the user experience.

[0102] Reference Figure 5 , Figure 5 This is a flow chart of the second embodiment of the display method of the present application. Based on the above-mentioned first embodiment, the second embodiment of the display method of the present application is proposed.

[0103] In order to accurately determine the starting lit pixel, such as Figure 5 As shown, in this embodiment, the step of determining the starting pixel to be lit based on the current distance, the current rotation angle and the length of the effective display area includes:

[0104] Step S21: determining the length of the human eye viewing area based on a preset human eye focus area angle and the current distance.

[0105] It should be noted that the above-mentioned preset human eye focus area angle can be the angle of the user's human eye viewing comfort zone, which can be specifically determined according to ergonomics. This embodiment uses 60° for illustration, that is, according to ergonomics, generally 60° can be the focus area of ​​the human eye, which is a more comfortable area for the human eye to watch. Therefore, this embodiment can illustrate the above-mentioned preset human eye focus area according to 60°.

[0106] The length of the human eye viewing area may be the length of the area where the human eye can view the display screen, and may be determined according to a preset human eye focus area angle and a current distance between the user and the device. Specifically, if the preset human eye focus area angle is denoted as α, the current distance is denoted as d1, and the length of the human eye viewing area is denoted as L1, the following relationship may exist according to trigonometric functions:

[0107]

[0108] However, considering that there may be a certain gap between the distance between the display screen and the user and the distance between the distance sensor and the user, and directly using the current distance acquired by the distance sensor may result in a low accuracy result, in this embodiment, the above step S21 includes:

[0109] Step S211: acquiring a relative distance between the display screen and the rotating part, and determining a display distance between the display screen and the user according to the relative distance and the current distance;

[0110] Step S212: determining the length of the human eye viewing area based on a preset human eye focus area angle and the display distance.

[0111] It can be understood that the above-mentioned relative distance can be the distance between the display screen and the rotating part, and the relative distance can reflect the difference between the distance between the display screen and the user and the distance between the distance sensor and the user. This is because in this embodiment, the distance sensor is arranged on the rotating part, and then the current distance collected by the distance sensor minus the relative distance can be used as the distance between the display screen and the user, that is, the above-mentioned display distance.

[0112] It should be understood that the above relative distances may be pre-stored in this embodiment. Figure 6 To explain, Figure 6 This is a schematic diagram of determining the length of the viewing area of ​​the human eye in the first embodiment of the display method of this application. Figure 6 As shown, the display screen in this embodiment is arranged outside the fixed part, thereby protruding from the fixed part, and the rotating part in this embodiment can be arranged at the same radius as the fixed part, and the distance sensor is arranged on the rotating part, so that the display screen in this embodiment can be protruded relative to the distance sensor.

[0113] It should also be emphasized that in this embodiment, the distance sensor can be set close to the camera, and then when the camera is facing the user, the distance sensor can also be identified as facing the user. Figure 6 If the user's current position is recorded as P4, the overlapping point of the camera facing the user can be recorded as P2, and P2 can also be the overlapping point of the distance sensor. The intersection of P2 and P4 on the display screen can be recorded as P3. This point can be the midpoint of the length of the human eye viewing area when the user is watching. When watching at point P4, according to the above-mentioned preset human eye focus area angle of 60°, the above-mentioned human eye viewing area can be formed, which is recorded as P5P6.

[0114] In summary, the distance between P2P3 is the relative distance between the above-mentioned display screen and the rotating part, denoted as d2, the distance between P5P6 is the length of the above-mentioned human eye viewing area, denoted as L1, the distance between P2P4 is the current distance between the user and the above-mentioned distance sensor collected, denoted as d1, and P3P4 is the display distance between the user and the display screen. According to the above description, it can be known that the display distance is d2-d1.

[0115] After obtaining the display distance, the above trigonometric functions can be combined to form a formula for calculating the length of the viewing area of ​​the human eye, specifically:

[0116]

[0117] Wherein α is the preset human eye focus area angle of 60°.

[0118] The value of L1 can be determined by the above formula. It should be emphasized that, since the display screen is arc-shaped with a small curvature, the straight line length between P5P6 calculated in this embodiment can be approximately considered as the arc length of the human eye viewing area in the display screen, that is, the above L1.

[0119] Step S22: Acquire the device radius of the electronic device, and determine the rotation distance of the camera according to the device radius and the current rotation angle.

[0120] It should be noted that the device radius may be the radius of the fixed portion, which may be pre-stored in the device, and in this embodiment, the radius of the fixed portion may be the same as the radius of the rotating portion. The rotation distance may be the distance that the camera moves relative to the display screen when it rotates from a preset calibration angle to face the user.

[0121] In order to determine the above rotation distance, in this embodiment, the above step S22 includes:

[0122] Step S221: determining a rotation radius based on the relative distance and the device radius;

[0123] Step S222: determining the rotation distance of the camera according to the rotation radius and the current rotation angle.

[0124] It should be noted that the above rotation radius may be the radius that the pixels on the display screen need to move when the camera rotates from a preset calibration angle to face the user;

[0125] Continue as Figure 6 As shown, if the center of the fixed part is recorded as P7, the device radius of the fixed part is recorded as r, that is, Figure 6 The distance between P7 and P9 on the fixed part is r, and P8 can be the point on the display screen when the camera is at a preset calibration angle, that is, the point on the center line Acenter of the display screen. The current rotation angle is Figure 6 The angle corresponding to the rotation from P8 to the angle facing the user P3, that is, the above θ angle sensor =θ1. When the camera rotates from P9 to P2, the corresponding movement of the pixel on the display screen can be from P8 to P3, where the distance between P9 and P8 is also d2, and the corresponding rotation radius is r+d2;

[0126] It is understandable that the above rotation distance can be the distance between P8 and P3, recorded as L2. After the rotation radius is obtained, the rotation distance can be calculated according to the relationship between the arc and the radius, as shown in the following formula:

[0127]

[0128] Step S23: determining the starting pixel to be lit based on the length of the human eye viewing area, the rotation distance and the length of the effective display area.

[0129] After the rotation distance is obtained, the starting pixel to be lit can be determined based on the length L1 of the viewing area for human eyes, the rotation distance L2 and the length DL of the effective display area.

[0130] In this embodiment, the initial lighting pixel is determined by combining the preset human eye focus area angle and the relative distance between the display screen and the rotating part, thereby further improving the accuracy.

[0131] Reference Figure 7 , Figure 7 This is a flow chart of the third embodiment of the display method of the present application. Based on the above embodiments, the third embodiment of the display method of the present application is proposed.

[0132] Considering that the rotating part in this embodiment can rotate clockwise and counterclockwise, different rotation directions may determine different ways of starting to light up the pixels. Figure 7 As shown, in this embodiment, the above step S23 includes:

[0133] Step S231: Acquire the length of a single pixel of the display screen, and determine the rotation direction of the camera according to the current rotation angle.

[0134] It should be noted that the above-mentioned single pixel length may be the length of a single pixel in the display screen, which may be pre-stored in the above-mentioned device according to the display screen used. The above-mentioned rotation direction may be the rotation direction of the camera from the preset calibration rotation angle to the current angle, which may be based on θ angle sensor The sign of θ1 is used to judge. When θ1 is a positive value, the rotation direction is counterclockwise, and the initial lighted pixel can be adjusted in the counterclockwise direction, that is, to the right. When θ1 is a negative value, the rotation direction is clockwise, and the initial lighted pixel can be adjusted in the clockwise direction, that is, to the left.

[0135] Step S232: Determine the starting pixel to be lit based on the rotation direction, the length of the single pixel, the length of the human eye viewing area, the rotation distance, and the length of the effective display area.

[0136] After the rotation direction is obtained, the specific starting light pixel can be determined. However, considering that different rotation modes have different calculation methods, in this embodiment, the above step S232 includes:

[0137] Step S2321: Obtain the center pixel position of the current display area of ​​the display screen, and determine the first area length and the second area length according to the effective display area length and the center pixel position of the current display area.

[0138] It is understandable that the central pixel position of the current display area may be the pixel position on the line of the current display area of ​​the display screen before the camera rotates. Figure 4 , if the current display area of ​​the display screen before rotation is the current display area 1, then the center pixel position of the current display area can be Figure 4 The position corresponding to Acenter in .

[0139] It should be understood that the first region length may be the length on one side of the central pixel position of the current display region in the effective display region, and the second region length may be the length on the other side of the central pixel position of the current display region in the effective display region. Figure 4 As shown, the first area length may be the length on the left side of Acenter in the effective display area, and the second area length may be the length on the right side of Acenter in the effective display area.

[0140] In actual use, after determining the central pixel position of the current display area of ​​the display screen, the first area length and the second area length can be determined according to the effective display area length and the central pixel position of the current display area. In this embodiment, the sum of the first area length and the second area length can be equal to the effective display area length. If the first area length is recorded as X and the second area length is recorded as Y, then X+Y=DL.

[0141] Step S2322: when the rotation direction is the first rotation direction, determining a starting pixel to light up based on the first area length, the single pixel length, the human eye viewing area length, and the rotation distance;

[0142] Step S2323: When the rotation direction is the second rotation direction, determine the starting pixel to light up based on the second area length, the single pixel length, the human eye viewing area length and the rotation distance.

[0143] It should be noted that the first rotation direction in this embodiment may be a clockwise rotation direction, and the second rotation direction in this embodiment may be a counterclockwise rotation direction. pixcel ; Continue as Figure 4 as well as Figure 6 As shown, the length of the first region X (i.e. Figure 4 The number of pixels in the X) is The second region length Y (i.e. Figure 4 The number of pixels in Y The number of pixels within the length of the human eye viewing area L1 is

[0144] Furthermore, when the rotation direction is the first, the step S2322 includes: determining the starting light pixel by a first preset pixel determination formula and based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance;

[0145] The first preset pixel determination formula is:

[0146]

[0147] Wherein, P1' is the starting light pixel, X is the length of the first area, L2 is the rotation distance, L1 is the length of the human eye viewing area, and D pixcel is the single pixel length.

[0148] When the rotation direction is the second rotation direction, the step S2323 includes: determining the starting light-up pixel based on the single pixel length, the human eye viewing area length and the rotation distance by using a second preset pixel determination formula;

[0149] The second preset pixel determination formula is:

[0150]

[0151] Wherein, P1' is the starting light pixel, Y is the length of the second area, L2 is the rotation distance, L1 is the length of the human eye viewing area, D pixcel is the single pixel length.

[0152] For example, when the central pixel position of the current display area is Figure 4 When Acenter is located in the middle, it means that the length of the first area is consistent with the length of the second area, and both are (Right now Figure 4 DL / 2), when it is clockwise rotation, the above first preset pixel determination formula can be:

[0153]

[0154] When the rotation direction is counterclockwise, the second preset pixel determination formula may be:

[0155]

[0156] After determining the starting pixel P1' to be lit, the pixels in the P1'th column can be counted in the order of lighting (ie, from left to right) in the effective display area of ​​the display screen as the starting pixels to be lit.

[0157] In addition, an embodiment of the present application further proposes a storage medium, on which a display program is stored. When the display program is executed by a processor, the display method described above is implemented.

[0158] In addition, refer to Figure 8 , Figure 8 : is a structural block diagram of the first embodiment of the display device of the present application; Figure 8 As shown, the embodiment of the present application also provides an electronic device, the device comprising:

[0159] The parameter acquisition module 801 is used to acquire the current distance from the user and the current rotation angle of the rotating unit, where the current rotation angle is the angle at which the rotating unit rotates the camera to face the user.

[0160] A pixel determination module 802 is used to obtain the effective display area length of the display screen, and determine the starting light pixel based on the current distance, the current rotation angle and the effective display area length;

[0161] The area adjustment module 803 is used to adjust the current display area of ​​the display screen according to the starting lit pixels, and display through the adjusted current display area.

[0162] The above-mentioned device of this embodiment can drive the camera to rotate through the rotating part, and obtain the current rotation angle of the rotating part when the camera rotates to face the user, and then determine the starting light-up pixels based on the current rotation angle, the current distance from the user, and the effective display area length of the display screen, adjust the current display area of ​​the display screen according to the starting light-up pixels, and finally display through the adjusted current display area. Compared with the existing method that requires the user to move to the position facing the curved screen for viewing, this embodiment can determine the angle facing the user through the rotating part, and then adjust the current display area according to the angle, so that the adjusted current display area faces the user, without the need for the user to move by himself, thereby improving the user experience.

[0163] As an embodiment, the parameter acquisition module 801 is also used to determine whether the current angle of the rotating part is at a preset calibrated rotation angle when the power is not turned on for the first time; if not, the rotating part is rotated to the preset calibrated angle, and the operation of obtaining the current distance to the user is performed.

[0164] As an implementation manner, the parameter acquisition module 801 is further used to acquire the current angle of the rotating part when the power is first turned on, and use the current angle as the preset calibration rotation angle.

[0165] Based on the above-mentioned first embodiment of the display device of the present application, a second embodiment of the display device of the present application is proposed.

[0166] In this embodiment, the pixel determination module 802 is also used to determine the length of the human eye viewing area based on the preset human eye focus area angle and the current distance; obtain the device radius of the electronic device, and determine the rotation distance of the camera according to the device radius and the current rotation angle; determine the starting lighting pixel based on the length of the human eye viewing area, the rotation distance and the length of the effective display area.

[0167] As an embodiment, the pixel determination module 802 is also used to obtain the relative distance between the display screen and the rotating part, and determine the display distance of the display screen from the user based on the relative distance and the current distance; and determine the length of the human eye viewing area based on a preset human eye focus area angle and the display distance.

[0168] As an implementation manner, the pixel determination module 802 is further used to determine a rotation radius based on the relative distance and the device radius; and determine a rotation distance of the camera according to the rotation radius and the current rotation angle.

[0169] Based on the above-mentioned embodiments of the display device of the present application, a third embodiment of the display device of the present application is proposed.

[0170] In this embodiment, the pixel determination module 802 is also used to obtain the single pixel length of the display screen and determine the rotation direction of the camera according to the current rotation angle; determine the starting lit pixel based on the rotation direction, the single pixel length, the length of the human eye viewing area, the rotation distance and the length of the effective display area.

[0171] As an embodiment, the pixel determination module 802 is also used to obtain the central pixel position of the current display area of ​​the display screen, and determine the first area length and the second area length according to the effective display area length and the central pixel position of the current display area; when the rotation direction is the first rotation direction, the starting lit pixel is determined based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance; when the rotation direction is the second rotation direction, the starting lit pixel is determined based on the second area length, the single pixel length, the human eye viewing area length and the rotation distance.

[0172] As an implementation manner, the pixel determination module 802 is further used to determine the starting light-up pixel through a first preset pixel determination formula and based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance; the first preset pixel determination formula is: Wherein, P1' is the starting light pixel, X is the length of the first area, L2 is the rotation distance, L1 is the length of the human eye viewing area, and D pixcel is the length of the single pixel; a second preset pixel determination formula is used to determine the starting light pixel based on the single pixel length, the length of the human eye viewing area, and the rotation distance; the second preset pixel determination formula is: Wherein, P1' is the starting light pixel, Y is the length of the second area, L2 is the rotation distance, L1 is the length of the human eye viewing area, D pixcel is the single pixel length.

[0173] Other embodiments or specific implementations of the display device described in the present application can refer to the above-mentioned method embodiments and will not be described in detail here.

[0174] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0175] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0176] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0177] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A display method, characterized in that: The method is applied to an electronic device provided with a fixed part and a rotating part, wherein the fixed part is provided with a display screen and the rotating part is provided with a camera, and the method comprises: Acquire the current distance to the user, and acquire the current rotation angle of the rotating unit, where the current rotation angle is the angle at which the rotating unit rotates the camera to face the user; Acquire the length of the effective display area of ​​the display screen, and determine the starting light-up pixel based on the current distance, the current rotation angle and the length of the effective display area; The current display area of ​​the display screen is adjusted according to the starting lit pixels, and display is performed through the adjusted current display area.

2. The method according to claim 1, characterized in that The step of determining the starting pixel to be lit based on the current distance, the current rotation angle and the length of the effective display area comprises: Determine the length of the human eye viewing area based on a preset human eye focus area angle and the current distance; Acquire a device radius of the electronic device, and determine a rotation distance of the camera according to the device radius and the current rotation angle; The starting light-up pixel is determined based on the length of the human eye viewing area, the rotation distance, and the length of the effective display area.

3. The method according to claim 2, characterized in that The step of determining the length of the human eye viewing area based on the preset human eye focus area angle and the current distance includes: Acquire a relative distance between the display screen and the rotating part, and determine a display distance between the display screen and the user according to the relative distance and the current distance; The length of the human eye viewing area is determined based on a preset human eye focus area angle and the display distance.

4. The method according to claim 3, characterized in that The step of determining the rotation distance of the camera according to the device radius and the current rotation angle includes: determining a rotation radius based on the relative distance and the device radius; The rotation distance of the camera is determined according to the rotation radius and the current rotation angle.

5. The method according to claim 2, characterized in that The step of determining the starting pixel to be lit based on the length of the human eye viewing area, the rotation distance and the length of the effective display area comprises: Obtaining a single pixel length of the display screen, and determining a rotation direction of the camera according to the current rotation angle; The starting pixel to be lit is determined based on the rotation direction, the length of the single pixel, the length of the human eye viewing area, the rotation distance, and the length of the effective display area.

6. The method according to claim 5, characterized in that The step of determining the starting pixel to be lit based on the rotation direction, the length of the single pixel, the length of the human eye viewing area, the rotation distance and the length of the effective display area comprises: Obtaining the central pixel position of the current display area of ​​the display screen, and determining the first area length and the second area length according to the effective display area length and the central pixel position of the current display area; When the rotation direction is a first rotation direction, determining a starting pixel to be lit based on the first area length, the single pixel length, the human eye viewing area length, and the rotation distance; When the rotation direction is the second rotation direction, the starting pixel to be lit is determined based on the second area length, the single pixel length, the human eye viewing area length, and the rotation distance.

7. The method according to claim 6, characterized in that The step of determining the starting pixel to be lit based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance comprises: Determine the starting light-up pixel by using a first preset pixel determination formula and based on the first area length, the single pixel length, the human eye viewing area length and the rotation distance; The first preset pixel determination formula is: Wherein, P1' is the starting light pixel, X is the length of the first area, L2 is the rotation distance, L1 is the length of the human eye viewing area, and D pixcel is the single pixel length; The step of determining the starting pixel to be lit based on the length of the second area, the length of the single pixel, the length of the human eye viewing area, and the rotation distance comprises: Determine the starting light-up pixel by a second preset pixel determination formula based on the single pixel length, the length of the human eye viewing area, and the rotation distance; The second preset pixel determination formula is: Wherein, P1' is the starting light pixel, Y is the length of the second area, L2 is the rotation distance, L1 is the length of the human eye viewing area, D pixcel is the single pixel length.

8. The method according to any one of claims 1 to 7, characterized in that Before the step of obtaining the current distance to the user, the method further includes: When the power is not turned on for the first time, determining whether the current angle of the rotating part is within a preset calibration rotation angle; If not, the rotating part is rotated to the preset calibration angle, and the step of obtaining the current distance to the user is performed.

9. The method according to claim 8, characterized in that Before the step of determining whether the current angle of the rotating part is within the preset calibration rotation angle when the power is not turned on for the first time, the method further includes: When the power is turned on for the first time, the current angle of the rotating part is obtained, and the current angle is used as the preset calibration rotation angle.

10. A display device, characterized in that: The device comprises: A parameter acquisition module, used to acquire the current distance from the user and the current rotation angle of the rotating unit, wherein the current rotation angle is the angle at which the rotating unit rotates the camera to face the user; A pixel determination module, used to obtain the length of the effective display area of ​​the display screen, and determine the starting light-up pixel based on the current distance, the current rotation angle and the length of the effective display area; The area adjustment module is used to adjust the current display area of ​​the display screen according to the starting lit pixels, and display through the adjusted current display area.

11. A storage medium, characterized in that: The storage medium stores a display program, and when the display program is executed by the processor, the display method according to any one of claims 1 to 9 is implemented.

12. An electronic device, characterized in that: The electronic device comprises: a fixed part and a rotating part, the fixed part is provided with a display screen, the rotating part is provided with a camera, a distance sensor and an angle sensor, and the fixed part or the rotating part is provided with a processor and a memory; The distance sensor is used to collect the current distance to the user and transmit the current distance to the processor; The angle sensor is used to collect the current rotation angle of the rotating part and transmit the current rotation angle to the processor; The processor is used to run a display program stored in the memory, and the display program, when executed by the processor, implements the display method according to any one of claims 1 to 9.