Control method, apparatus, device, and storage medium
By acquiring user standing posture and height information using LiDAR, and automatically adjusting the display screen height using a magnetic levitation lifting device, the problem of poor user experience caused by the fixed display screen height of self-service terminals is solved, and user comfort is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2023-05-26
- Publication Date
- 2026-07-24
AI Technical Summary
The fixed or inconveniently adjustable height of existing self-service terminal displays leads to poor user experience for users of different heights, especially those who are tall or short, who need to bend over or stand on tiptoe, affecting their interactive experience.
The system uses LiDAR to acquire the position information of target parts of the user's body, determines whether the user is standing upright, and automatically adjusts the height of the display screen according to the user's height. This includes acquiring the user's standing posture and height information, and using a magnetic levitation lifting device to adjust the height of the display screen.
It enables automatic adjustment of the display screen height based on the user's height, improving user comfort and interactive experience, especially for users whose height is not suitable, ensuring that they can interact with the display screen while standing upright.
Smart Images

Figure CN116820148B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal display technology, and in particular to a control method, apparatus, device and storage medium. Background Technology
[0002] Self-service terminal displays are highly integrated and multifunctional, and are widely used in public places, such as for finding books in libraries, reading documents in museums, and locating maps in tourist attractions. However, the height of most current self-service terminal displays is fixed or difficult to adjust, resulting in a poor user experience for people of different heights. For example, taller users have to bend over to interact with the display, while shorter users have to stand on tiptoe, and some very short users can only look at the screen with envy. Summary of the Invention
[0003] To address the aforementioned issues, this application provides a control method, apparatus, device, and storage medium capable of acquiring a user's relatively accurate height and automatically adjusting the terminal display screen based on the user's height.
[0004] This application provides a control method, including:
[0005] When a user enters the sensing area of the terminal display screen, the location information of the target part of the user's body is obtained;
[0006] Based on the location information, determine whether the user's standing posture is upright;
[0007] Determine the user's height if the user's standing posture is determined to be upright;
[0008] The height of the terminal display screen is adjusted based on the stated height.
[0009] In some embodiments, a lidar is used to acquire the position information of a target part of the user's body. The position information includes: the distance of the target part from the lidar, and the angle information of the target part, where the angle is the angle between the line connecting the target part and the lidar and the horizontal plane. The body includes: the head and the torso. The target part includes: a target part of the head and a target part of the torso. Determining whether the user's standing posture is upright based on the position information includes:
[0010] The first projection position of the target part of the head on the horizontal plane is determined based on the distance between the target part of the head and the lidar and the angle information of the target part of the head.
[0011] The second projection position of the target part of the body on the horizontal plane is determined based on the distance between the target part of the body and the lidar and the angle information of the target part of the body.
[0012] The user's standing posture is determined based on the first projection position and the second projection position.
[0013] In some embodiments, the target parts of the head include a first part and a second part, and the target parts of the torso include a third part and a fourth part. The first part and the second part are different, and the third part and the fourth part are different. Determining whether the user's standing posture is upright based on the first projection position and the second projection position includes:
[0014] Determine the first distance between the first projection position of the first part and the first projection position of the second part;
[0015] Determine the second distance between the first projection position of the third part and the first projection position of the fourth part;
[0016] Determine a third distance between a first projected position of at least one target part of the head and a first projected position of at least one target part of the torso;
[0017] The user's standing posture is determined to be upright based on the first distance, the second distance, and the third distance. Specifically, if the first distance is within a preset first distance threshold, the second distance is within a preset second distance threshold, and the third distance is within a third distance threshold, the user's standing posture is determined to be upright. In this case, the first distance being within the first distance threshold indicates that the user is not tilting their head back or down, the second distance being within the second distance threshold indicates that the user's body is not bent, and the third distance being within the third distance threshold indicates that the user's head is not extended forward or backward relative to the body.
[0018] In some embodiments, the method further includes:
[0019] If it is determined that the user's standing posture is not upright, a prompt message is output, which prompts the user to adjust their head and / or torso to an upright position.
[0020] In some embodiments, determining the user's height includes:
[0021] The distance between the lidar and the user's feet, and the angle between the lidar and the top of the user's head are obtained through the lidar.
[0022] The user's height is calculated based on the distance and the angle.
[0023] In some embodiments, adjusting the height of the terminal display screen based on the height includes:
[0024] Based on the height and the pre-established correspondence, the reference height of the terminal display screen is determined, wherein the correspondence includes the correspondence between the height and the reference height of the terminal display screen;
[0025] The height of the terminal display screen is adjusted based on the reference height.
[0026] In some embodiments, the method further includes:
[0027] If the system detects that the user has left the sensing area of the terminal display screen, the height of the terminal display screen is adjusted to the default height.
[0028] This application provides a control device, including:
[0029] The acquisition module is used to acquire the location information of a target part of the user's body when the user enters the sensing area of the terminal display screen;
[0030] The first determining module is used to determine whether the user's standing posture is upright based on the location information;
[0031] The second determining module is used to determine the user's height when the user's standing posture is determined to be upright.
[0032] A control module is used to adjust the height of the terminal display screen based on the height.
[0033] This application provides an electronic device, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, performs the control method described in any of the above embodiments.
[0034] This application provides a terminal display screen, including the electronic device described above.
[0035] This application provides a computer-readable storage medium storing a computer program that can be executed by one or more processors and can be used to implement the control method described above.
[0036] This application provides a control method, apparatus, device, and storage medium that, when a user enters the sensing area of a terminal display screen, acquires the position information of a target part of the user's body; determines whether the user's standing posture is upright based on the position information; if the user's standing posture is determined to be upright, determines the user's height; and adjusts the height of the terminal display screen based on the height, thereby obtaining a relatively accurate height of the user and automatically adjusting the terminal display screen according to the user's height. Attached Figure Description
[0037] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings.
[0038] Figure 1 A schematic diagram of a lidar placement point provided in an embodiment of this application;
[0039] Figure 2 A schematic diagram illustrating the implementation flow of a control method provided in an embodiment of this application;
[0040] Figure 3 This application provides a schematic diagram of the projection points of a target region.
[0041] Figure 4 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application.
[0042] In the accompanying drawings, the same parts are referred to by the same reference numerals, and the drawings are not drawn to scale. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0044] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0045] If the application documents contain similar descriptions such as "first, second, third", the following explanation shall be added: In the following description, the terms "first, second, third" are used only to distinguish similar objects and do not represent a specific order of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0047] Based on the problems existing in related technologies, this application provides a control method applied to an electronic device, which may be a computer, mobile terminal, etc. The mobile terminal may include a mobile phone, tablet computer, etc. In some embodiments, the electronic device may be a controller for a terminal display screen. The terminal display screen may include a display screen, a controller, a lifting device, and a detection device. The controller is communicatively connected to the display device, the lifting device, and the detection device. The display device is connected to the lifting device. The controller is used to issue control commands to the lifting device to control the lifting device to move up and down, thereby driving the display device to move up and down. The detection device is used to detect the user's location information, etc. In this application embodiment, the detection device may be a lidar, which is located at the bottom of the terminal display screen. Figure 1 This is a schematic diagram of the placement point of a lidar provided in an embodiment of this application, as shown below. Figure 1 The laser radar is placed below the screen to detect at least the user's foot and head position. The display device can be a wall-mounted monitor, and the lifting device is a magnetic levitation lifting device. Using a magnetic levitation lifting device avoids noise during lifting and lowering. The terminal display screen can be used in libraries for data retrieval, in museums for document reading, and in tourist attractions for map display. The functions implemented by the control method provided in this application embodiment can be achieved by the processor of an electronic device calling program code, wherein the program code can be stored in a computer storage medium.
[0048] This application provides a control method. Figure 2 This is a schematic diagram illustrating the implementation flow of a control method provided in an embodiment of this application, as shown below. Figure 2 As shown, it includes:
[0049] Step S101: When the user enters the sensing area of the terminal display screen, the location information of the target part of the user's body is obtained.
[0050] In this embodiment, the sensing area can be a pre-defined area in front of the terminal display screen. The electronic device can communicate with a detection device to detect whether a user has entered the sensing area of the terminal display screen.
[0051] The detection device can obtain first detection information when there is no one in the sensing area. During the application, the detection device detects the sensing area and obtains second detection information. The first detection information and the second detection information are compared to determine whether a user has entered the sensing area of the terminal display screen. If the first detection information and the second detection information are different, it can be considered that a user has entered the sensing area of the terminal display screen. If the first detection information and the second detection information are the same, then no user has entered the sensing area of the terminal display screen.
[0052] In this embodiment of the application, the electronic device can obtain the location information of the target part of the user's body through LiDAR.
[0053] In this embodiment, a lidar system is used to detect the position, velocity, and other characteristics of a target by emitting a laser beam. By emitting a detection signal (laser beam) towards the target, and then comparing the received signal reflected back from the target (target echo) with the emitted signal, and performing appropriate processing, relevant information about the target can be obtained, such as parameters like range, azimuth, altitude, velocity, attitude, and even shape.
[0054] In this embodiment of the application, the target is the user's body, which may include: head and torso.
[0055] In this embodiment of the application, the target part of the head may include at least one, and the target part of the torso may include at least one.
[0056] In this embodiment of the application, the shape of various parts of the user's body can be identified by LiDAR, thereby determining each target part.
[0057] In this embodiment of the application, the target part can be set. For example, the target part of the head may include: nose, chin, etc., and the target part of the torso may include: back, buttocks, center of back, etc.
[0058] In this embodiment of the application, the location information may include: the distance between the target part and the lidar, and the angle information of the target part, wherein the angle information is the angle between the line connecting the target part and the lidar and the horizontal plane.
[0059] Step S102: Determine whether the user's standing posture is upright based on the location information.
[0060] In this embodiment, since users may have posture problems, such as bending their body, looking up, looking down, stretching their head forward, or stretching it backward, the user's standing state is not upright. When the user's standing state is not upright, it may lead to inaccurate height measurement, which in turn leads to inaccurate height adjustment of the terminal display screen. Some users still have a poor experience. Therefore, in this embodiment, it is necessary to determine whether the user is in an upright state.
[0061] In this embodiment of the application, when the user is in the upright standing position, the user's head and torso are in an upright position, and the user's head and torso are relatively upright. In this embodiment of the application, if the user's standing posture is not in the upright standing position, it may include: the torso is not in an upright position, the head is tilted up or down, or the head is extended forward or backward.
[0062] In this embodiment of the application, step S102 can be implemented through the following steps:
[0063] Step S1021: Determine the first projection position of the target part of the head on the horizontal plane based on the distance between the target part of the head and the lidar and the angle information of the target part of the head.
[0064] The first projection position can be calculated using trigonometric function formulas.
[0065] Step S1022: Determine the second projection position of the target part of the body on the horizontal plane based on the distance between the target part of the body and the lidar and the angle information of the target part of the body.
[0066] Similarly, the second projection position can be calculated using trigonometric function formulas.
[0067] Step S1023: Determine whether the user's standing posture is upright based on the first projection position and the second projection position.
[0068] In this embodiment, the target parts of the head include a first part and a second part, and the target parts of the torso include a third part and a fourth part. The first part and the second part are different, and the third part and the fourth part are different. Of course, to make the judgment more accurate, there can be multiple target parts for the head and the torso.
[0069] In this embodiment of the application, determining whether the user's standing posture is upright based on the first projection position and the second projection position includes: determining a first distance between the first projection position of the first part and the first projection position of the second part; determining a second distance between the first projection position of the third part and the first projection position of the fourth part; determining a third distance between the first projection position of at least one target part of the head and the first projection position of at least one target part of the torso; determining whether the user's standing posture is upright based on the first distance, the second distance, and the third distance, wherein, if the first distance is within a preset first distance threshold, the second distance is within a preset second distance threshold, and the third distance is within a third distance threshold, the user's standing posture is determined to be upright, wherein the first distance being within the first distance threshold indicates that the user is not tilting their head back or down, the second distance being within the second distance threshold indicates that the user's torso is not bent, and the third distance being within the third distance threshold indicates that the user's head is not extended forward or backward relative to the torso.
[0070] by Figure 3 For example, Figure 3 This application provides a schematic diagram of the projection points of a target region, as shown in the embodiment. Figure 3 As shown, for example, the first part is the nose D and the second part is the chin E. Points d and e are the first projection positions of the nose D and the chin E. Under normal circumstances, if the distance between points d and e is a certain threshold, it is determined that the head posture is normal and there is no tilting or lowering of the head, that is, the head posture is upright. If |de| is not within the threshold, then the user is tilting or lowering their head.
[0071] For example, the third part of the body is the center of the back, and the fourth part is the buttocks. Based on the judgment principle of the upper head, if the second distance is not within the second distance threshold, it means that the body is bent. If the second distance is within the second distance threshold, the user's body is not bent, that is, the user's body is in an upright state.
[0072] In some embodiments, multiple parts can be taken from the body. For example, taking points A, B, and C on the body as examples, a coordinate system is established with the lidar as the origin based on the distance reflection and angle information of the lidar. The points projected onto the horizontal line are a, b, and c. Under normal circumstances, the human body is in a state perpendicular to the horizontal line, that is, theoretically, the distance between points a, b, and c is very close, or they are the same point.
[0073] For example, based on the first projection position of point E, the feature point of the head is taken and compared with the first projection position of a part of the body. When the third distance is within the third distance threshold, it is determined that the body posture does not have the situation of the head extending forward or backward, that is, the head and the body are relatively upright.
[0074] Step S103: If the user's standing posture is determined to be upright, determine the user's height.
[0075] In this embodiment of the application, if the user's standing posture is upright, the height can be measured by LiDAR to determine the user's height.
[0076] In this embodiment of the application, the distance between the lidar and the user's feet and the angle between the lidar and the top of the user's head are obtained through the lidar; the user's height is calculated based on the distance and the angle.
[0077] For example, the distance L between the lidar and the user's feet and the elevation angle α between the lidar and the top of the user's head are used to measure the user's height H using trigonometric function formulas, where H = tanα * L.
[0078] In this embodiment of the application, the foot can be the heel.
[0079] Step S104: Adjust the height of the terminal display screen based on the height.
[0080] In this embodiment of the application, the reference height of the terminal display screen can be determined based on the height and a pre-established correspondence, wherein the correspondence includes: the correspondence between the height and the reference height of the terminal display screen; and the height of the terminal display screen is adjusted based on the reference height.
[0081] In this embodiment of the application, the electronic device can send an adjustment command to the lifting device so that the lifting device can adjust the height of the terminal display screen.
[0082] This application provides a control method that, when a user enters the sensing area of a terminal display screen, acquires the position information of a target part of the user's body; determines whether the user's standing posture is upright based on the position information; if the user's standing posture is upright, determines the user's height; and adjusts the height of the terminal display screen based on the height. This method can obtain a more accurate height of the user and automatically adjust the terminal display screen according to the user's height, enabling the user to stand upright and interact with the terminal display screen in a more comfortable manner.
[0083] In some embodiments, after step S102 and before S103, the method further includes:
[0084] Step S105: If it is determined that the user's standing posture is not upright, a prompt message is output, which prompts the user to adjust their head and / or torso to an upright position.
[0085] In this embodiment of the application, when not standing upright, the user may have their head tilted back or down, their body bent, or their head extended forward or backward relative to their body.
[0086] In some embodiments, prompts can be displayed on the terminal screen to output prompts.
[0087] In some embodiments, prompts can be output via a voice device, such as inputting the voice message "Please adjust your head posture".
[0088] In some embodiments, after step S105, the method further includes:
[0089] Step S106: If the user is detected leaving the sensing area of the terminal display screen, adjust the height of the terminal display screen to the default height.
[0090] Continuing with the example above, the detection information can be compared with the first detection information to determine whether there is a person in the sensing area. If the detection information is the same as the first detection information, then it is determined that there is no one in the sensing area.
[0091] In this embodiment of the application, the default height can be determined based on the historical height data of the terminal display screen. By statistically analyzing the historical height data, the most frequently used historical height can be determined as the default height. For example, if the most frequently used height is 1.4 meters, then the default height can be set to 1.4 meters.
[0092] Based on the foregoing embodiments, this application provides a control method, the method comprising:
[0093] Step S1: The user enters the sensing area of the terminal display screen.
[0094] Step S2: Obtain the user's accurate height and adjust the height of the terminal display screen.
[0095] In this embodiment of the application, step S2 includes:
[0096] Step S21: Determine whether the user's body is standing upright.
[0097] See also Figure 3Taking points A, B, and C on the body as an example, based on the distance reflection and angle information from the lidar, a coordinate system is established with the lidar as the origin. The points projected onto the horizontal line are a, b, and c. Under normal circumstances, the human body is perpendicular to the horizontal line, meaning that theoretically, points a, b, and c are very close together, or even the same point. For example, the average values of |ab|, |bc|, and |ac| are all within a certain threshold range. When sampling a large number of points, i.e., based on mathematical statistics, the average value is within a certain range, denoted as m1.
[0098] Step S22: Determine whether the user is tilting their head up or down.
[0099] According to the judgment principle in step S21, points d and e are the horizontal projections of the nose D and the chin E. Under normal circumstances, if the distance between points d and e is a certain threshold, i.e., |de| meets a certain threshold, the head posture is determined to be normal.
[0100] Step S23: Determine if the neck is not extending forward or backward.
[0101] Based on the abscissa of the projection e of point E, the feature points of the head are taken and compared with the feature data of the body, that is, combined with the average value m1 in S21. When |e-m1| is within a certain threshold, it is determined that the body posture does not involve the head extending forward or backward.
[0102] Step S24: Determine if the user is standing properly.
[0103] In this embodiment, standing qualified means standing upright as described in the above embodiments.
[0104] Based on the logical judgments in S21, S22, and S23, human body data is collected at certain intervals for the lidar. When the detection results of S21, S22, and S23 are found to be inconsistent with the standard, the user is reminded to stand in the correct posture to complete the precise lifting and lowering operation of the terminal, thus avoiding terminal lifting and lowering problems caused by the user's standing posture.
[0105] After the standing test is passed, proceed to step S25.
[0106] Step S25: Obtain the angle of the user's head.
[0107] In this embodiment of the application, the lidar is placed on the ground, and its beam will be emitted and reflected at the user's heel. The distance between them is L (unit cm) according to the physical formula L = v * t / 2 (v is the speed of the object moving uniformly; t is the time of the object's movement; L is the distance). When the beam captures the top of the user's head, the angle between the beam and the horizontal can be calculated to be α (unit °).
[0108] Step S26: Obtain the user's height.
[0109] Given the distance L between the lidar and the user and the elevation angle α between the lidar and the user's head, the user's height H can be measured using trigonometric formulas, where H = tanα * L;
[0110] Step S27: The processing unit will find the reference height of the corresponding display screen based on the preset mapping relationship between the user's height and the display screen in the database, and control the magnetic levitation guide rail to lift and lower, thereby adjusting the height of the display screen.
[0111] Step S27: After the display screen is raised and lowered to a suitable height for the user, the height is fixed so that the user can interact with the display screen in a natural and comfortable manner while standing.
[0112] Step S27: After the user completes the operation, they leave the sensing area of the terminal display screen, and the display screen returns to its default height.
[0113] The control method provided in this application embodiment can avoid the problem of the terminal display screen rising and falling due to the user's standing posture.
[0114] Based on the foregoing embodiments, this application provides a control device. The modules and units included in the device can be implemented by a processor in a computer device; of course, they can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0115] This application provides a control device, including:
[0116] The acquisition module is used to acquire the location information of a target part of the user's body when the user enters the sensing area of the terminal display screen;
[0117] The first determining module is used to determine whether the user's standing posture is upright based on the location information;
[0118] The second determining module is used to determine the user's height when the user's standing posture is determined to be upright.
[0119] A control module is used to adjust the height of the terminal display screen based on the height.
[0120] In some embodiments, a lidar is used to acquire the position information of a target part of the user's body. The position information includes: the distance of the target part from the lidar, and the angle information of the target part, where the angle is the angle between the line connecting the target part and the lidar and the horizontal plane. The body includes: the head and the torso. The target part includes: a target part of the head and a target part of the torso. Determining whether the user's standing posture is upright based on the position information includes:
[0121] The first projection position of the target part of the head on the horizontal plane is determined based on the distance between the target part of the head and the lidar and the angle information of the target part of the head.
[0122] The second projection position of the target part of the body on the horizontal plane is determined based on the distance between the target part of the body and the lidar and the angle information of the target part of the body.
[0123] The user's standing posture is determined based on the first projection position and the second projection position.
[0124] In some embodiments, the target parts of the head include a first part and a second part, and the target parts of the torso include a third part and a fourth part. The first part and the second part are different, and the third part and the fourth part are different. Determining whether the user's standing posture is upright based on the first projection position and the second projection position includes:
[0125] Determine the first distance between the first projection position of the first part and the first projection position of the second part;
[0126] Determine the second distance between the first projection position of the third part and the first projection position of the fourth part;
[0127] Determine a third distance between a first projected position of at least one target part of the head and a first projected position of at least one target part of the torso;
[0128] The user's standing posture is determined to be upright based on the first distance, the second distance, and the third distance. Specifically, if the first distance is within a preset first distance threshold, the second distance is within a preset second distance threshold, and the third distance is within a third distance threshold, the user's standing posture is determined to be upright. In this case, the first distance being within the first distance threshold indicates that the user is not tilting their head back or down, the second distance being within the second distance threshold indicates that the user's body is not bent, and the third distance being within the third distance threshold indicates that the user's head is not extended forward or backward relative to the body.
[0129] In some embodiments, the control device is further configured to:
[0130] If it is determined that the user's standing posture is not upright, a prompt message is output, which prompts the user to adjust their head and / or torso to an upright position.
[0131] In some embodiments, determining the user's height includes:
[0132] The distance between the lidar and the user's feet, and the angle between the lidar and the top of the user's head are obtained through the lidar.
[0133] The user's height is calculated based on the distance and the angle.
[0134] In some embodiments, adjusting the height of the terminal display screen based on the height includes:
[0135] Based on the height and the pre-established correspondence, the reference height of the terminal display screen is determined, wherein the correspondence includes the correspondence between the height and the reference height of the terminal display screen;
[0136] The height of the terminal display screen is adjusted based on the reference height.
[0137] In some embodiments, the control device is further configured to:
[0138] If the system detects that the user has left the sensing area of the terminal display screen, the height of the terminal display screen is adjusted to the default height.
[0139] It should be noted that, in the embodiments of this application, if the above-described control method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0140] Accordingly, embodiments of this application provide a computer-readable storage medium storing a computer program thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the control method provided in the above embodiments, wherein a control method includes:
[0141] When a user enters the sensing area of the terminal display screen, the location information of the target part of the user's body is obtained;
[0142] Based on the location information, determine whether the user's standing posture is upright;
[0143] Determine the user's height if the user's standing posture is determined to be upright;
[0144] The height of the terminal display screen is adjusted based on the stated height.
[0145] In some embodiments, a lidar is used to acquire the position information of a target part of the user's body. The position information includes: the distance of the target part from the lidar, and the angle information of the target part, where the angle is the angle between the line connecting the target part and the lidar and the horizontal plane. The body includes: the head and the torso. The target part includes: a target part of the head and a target part of the torso. Determining whether the user's standing posture is upright based on the position information includes:
[0146] The first projection position of the target part of the head on the horizontal plane is determined based on the distance between the target part of the head and the lidar and the angle information of the target part of the head.
[0147] The second projection position of the target part of the body on the horizontal plane is determined based on the distance between the target part of the body and the lidar and the angle information of the target part of the body.
[0148] The user's standing posture is determined based on the first projection position and the second projection position.
[0149] In some embodiments, the target parts of the head include a first part and a second part, and the target parts of the torso include a third part and a fourth part. The first part and the second part are different, and the third part and the fourth part are different. Determining whether the user's standing posture is upright based on the first projection position and the second projection position includes:
[0150] Determine the first distance between the first projection position of the first part and the first projection position of the second part;
[0151] Determine the second distance between the first projection position of the third part and the first projection position of the fourth part;
[0152] Determine a third distance between a first projected position of at least one target part of the head and a first projected position of at least one target part of the torso;
[0153] The user's standing posture is determined to be upright based on the first distance, the second distance, and the third distance. Specifically, if the first distance is within a preset first distance threshold, the second distance is within a preset second distance threshold, and the third distance is within a third distance threshold, the user's standing posture is determined to be upright. In this case, the first distance being within the first distance threshold indicates that the user is not tilting their head back or down, the second distance being within the second distance threshold indicates that the user's body is not bent, and the third distance being within the third distance threshold indicates that the user's head is not extended forward or backward relative to the body.
[0154] In some embodiments, the method further includes:
[0155] If it is determined that the user's standing posture is not upright, a prompt message is output, which prompts the user to adjust their head and / or torso to an upright position.
[0156] In some embodiments, determining the user's height includes:
[0157] The distance between the lidar and the user's feet, and the angle between the lidar and the top of the user's head are obtained through the lidar.
[0158] The user's height is calculated based on the distance and the angle.
[0159] In some embodiments, adjusting the height of the terminal display screen based on the height includes:
[0160] Based on the height and the pre-established correspondence, the reference height of the terminal display screen is determined, wherein the correspondence includes the correspondence between the height and the reference height of the terminal display screen;
[0161] The height of the terminal display screen is adjusted based on the reference height.
[0162] In some embodiments, the method further includes:
[0163] If the system detects that the user has left the sensing area of the terminal display screen, the height of the terminal display screen is adjusted to the default height.
[0164] This application provides an electronic device; Figure 4 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application, such as... Figure 4As shown, the electronic device 500 includes: a processor 501, at least one communication bus 502, a user interface 503, at least one external communication interface 504, and a memory 505. The communication bus 502 is configured to enable communication between these components. The user interface 503 may include a control panel, and the external communication interface 504 may include standard wired and wireless interfaces. The processor 501 is configured to execute a program of a control method stored in the memory to implement the steps of the control method provided in the above embodiment.
[0165] The descriptions of the above embodiments of the electronic devices and storage media are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the embodiments of the computer devices and storage media of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0166] Based on the foregoing embodiments, this application provides a terminal display, including the electronic device described above.
[0167] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0168] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0169] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0170] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the controlled or discussed components can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0171] The units described above as separate components may or may not be physically separate. The components controlled by the units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0172] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0173] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0174] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a controller to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0175] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology 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 control method, characterized in that, include: When a user enters the sensing area of the terminal display screen, the location information of the target part of the user's body is obtained; Based on the location information, determine whether the user's standing posture is upright; Determine the user's height if the user's standing posture is determined to be upright; Adjust the height of the terminal display screen based on the stated height; The method involves acquiring the positional information of target body parts of the user using a lidar system. This positional information includes the distance between the target body part and the lidar, and the angle information of the target body part. The angle information is the angle between the line connecting the target body part and the lidar and the horizontal plane. The body includes the head and torso, and the target body parts include the target parts of the head and torso. Determining whether the user's standing posture is upright based on the positional information includes: The first projection position of the target part of the head on the horizontal plane is determined based on the distance between the target part of the head and the lidar and the angle information of the target part of the head. The second projection position of the target part of the body on the horizontal plane is determined based on the distance between the target part of the body and the lidar and the angle information of the target part of the body. The user's standing posture is determined based on the first projection position and the second projection position.
2. The method according to claim 1, characterized in that, The target parts of the head include: a first part and a second part; the target parts of the torso include: a third part and a fourth part. The first part and the second part are different, and the third part and the fourth part are different. Determining whether the user's standing posture is upright based on the first projection position and the second projection position includes: Determine the first distance between the first projection position of the first part and the first projection position of the second part; Determine the second distance between the second projection position of the third part and the second projection position of the fourth part; Determine a third distance between a first projection position of at least one target part of the head and a second projection position of at least one target part of the torso; The user's standing posture is determined to be upright based on the first distance, the second distance, and the third distance. Specifically, if the first distance is within a preset first distance threshold, the second distance is within a preset second distance threshold, and the third distance is within a third distance threshold, the user's standing posture is determined to be upright. In this case, the first distance being within the first distance threshold indicates that the user is not tilting their head back or down, the second distance being within the second distance threshold indicates that the user's body is not bent, and the third distance being within the third distance threshold indicates that the user's head is not extended forward or backward relative to the body.
3. The method according to claim 2, characterized in that, The method further includes: If it is determined that the user's standing posture is not upright, a prompt message is output, which prompts the user to adjust their head and / or torso to an upright position.
4. The method according to claim 1, characterized in that, Determining the user's height includes: The distance between the lidar and the user's feet, and the angle between the lidar and the top of the user's head are obtained through the lidar. The user's height is calculated based on the distance between the lidar and the user's feet and the angle between the lidar and the top of the user's head.
5. The method according to claim 1, characterized in that, Adjusting the height of the terminal display screen based on the height includes: Based on the height and the pre-established correspondence, the reference height of the terminal display screen is determined, wherein the correspondence includes the correspondence between the height and the reference height of the terminal display screen; The height of the terminal display screen is adjusted based on the reference height.
6. The method according to claim 1, characterized in that, The method further includes: If the system detects that the user has left the sensing area of the terminal display screen, the height of the terminal display screen is adjusted to the default height.
7. A control device applying the method as described in claim 1, characterized in that, include: The acquisition module is used to acquire the location information of a target part of the user's body when the user enters the sensing area of the terminal display screen; The first determining module is used to determine whether the user's standing posture is upright based on the location information; The second determining module is used to determine the user's height when the user's standing posture is determined to be upright. A control module is used to adjust the height of the terminal display screen based on the height.
8. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the control method as described in any one of claims 1 to 6.
9. A terminal display screen, characterized in that, include: The electronic device according to claim 8.
10. A computer-readable storage medium, characterized in that, The computer program stored in the computer-readable storage medium can be executed by one or more processors and can be used to implement the control method as described in any one of claims 1 to 6.