A display method, device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202610874140.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-16
- Publication Date
- 2026-09-25
AI Technical Summary
但该种方式受姿态感应器件工作机理的约束,仅当设备本体姿态发生变动时,姿态感应器件方可感知姿态变化信号,整体方案存在技术局限性
[0014]本公开的显示方法、装置、电子设备及存储介质,通过发射探测波信号,并接收经反射形成的回波信号,依据回波信号判别探测范围内是否存在目标对象。当检测到存在目标对象时,确定目标对象与目标设备当前的显示画面(初始显示画面)的相对角度信息。再根据该相对角度信息,对当前的显示画面的显示方向进行调整,得到调整后的显示画面(目标显示画面)。本方案可根据目标对象和显示画面之间的偏转角度自适应调节画面方向,让画面显示方向始终适配目标对象视向,提升观看视角匹配度与用户视觉体验。
Smart Images

Figure CN122816448A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of data processing technology, and in particular to a display method, apparatus, electronic device, and storage medium. Background Technology
[0002] The screen of electronic devices is used to output interactive content such as images, text, and videos to users. Currently, attitude sensing devices such as gravity sensors and gyroscopes are commonly used to collect the device's own orientation data and adjust the screen display orientation accordingly. However, this method is limited by the working mechanism of the attitude sensing devices; the devices can only detect attitude changes when the device's own orientation changes, resulting in overall technical limitations. Summary of the Invention
[0003] This disclosure provides a display method, apparatus, electronic device, and storage medium to at least solve the above-mentioned technical problems existing in the prior art.
[0004] A first aspect of this disclosure provides a display method, the method comprising: Send probe wave signal; Receive the echo signal generated by the reflection of the probe wave signal; Based on the echo signal, determine whether the target object exists; If the target object exists, determine the relative angle information between the target object and the initial display screen of the target device; Based on the relative angle information, the target display screen of the target device is determined; the display direction of the target display screen is adapted to the orientation of the target object.
[0005] In one possible implementation, determining the target display screen of the target device based on the relative angle information includes: The relative angle information is compared with the angle adjustment threshold to obtain the comparison result; If the comparison result indicates that the relative angle information is greater than or equal to the angle adjustment threshold, the display direction of the initial display screen is adjusted to obtain the target display screen of the target device; If the comparison result indicates that the relative angle information is less than the angle adjustment threshold, the initial display screen is used as the target display screen of the target device.
[0006] In one possible implementation, determining the relative angle information between the target object and the initial display screen of the target device includes: Obtain the spatial location information of the target object; Based on the display orientation of the initial display screen, a spatial calibration coordinate system is established; The spatial positioning information of the target object is mapped onto the spatial calibration coordinate system to obtain the relative angle information between the target object and the initial display screen of the target device.
[0007] In one possible implementation, obtaining the spatial positioning information of the target object includes: Based on the echo signal, the contour features of the target object are determined; Based on the contour features of the target object, a preset positioning point corresponding to the target object is determined; Based on the preset positioning points, construct the head baseline and shoulder baseline corresponding to the target object; Based on the head baseline and the shoulder baseline, the spatial positioning information of the target object is obtained.
[0008] In one possible implementation, adjusting the display orientation of the initial display screen to obtain the target display screen of the target device includes: Obtain the preset display orientation matching rules; The relative angle information is matched with the display direction matching rule to obtain angle adjustment information; Based on the angle adjustment information, the display direction of the initial display screen is adjusted to obtain the target display screen of the target device.
[0009] In one possible implementation, determining whether a target object exists based on the echo signal includes: Feature extraction is performed on the echo signal to obtain the dynamic fluctuation characteristics corresponding to the echo signal; Based on the dynamic fluctuation characteristics, determine whether there is a live signal in the echo signal; If the aforementioned liveness signal is present, it is determined that a target object exists; If the liveness signal is not present, it is determined that the target object does not exist.
[0010] In one possible implementation, transmitting the probe wave signal includes: The probe wave signal is transmitted through the signal transmitting device configured in the target device.
[0011] A second aspect of this disclosure provides a display device, the device comprising: The signal transmitting module is used to send probe wave signals; The receiving module is used to receive the echo signal generated by the reflection of the probe wave signal; The determination module is used to determine whether a target object exists based on the echo signal; The determination module is used to determine the relative angle information between the target object and the initial display screen of the target device if the target object exists. An adjustment module is used to determine the target display screen of the target device based on the relative angle information; the display direction of the target display screen is adapted to the orientation of the target object.
[0012] A third aspect of this disclosure provides an electronic device comprising: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods described in this disclosure.
[0013] A fourth aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the methods described in this disclosure.
[0014] The display method, apparatus, electronic device, and storage medium disclosed herein transmit a detection wave signal and receive the reflected echo signal, determining the presence of a target object within the detection range based on the echo signal. When a target object is detected, the relative angle information between the target object and the current display screen (initial display screen) of the target device is determined. Then, based on this relative angle information, the display direction of the current display screen is adjusted to obtain the adjusted display screen (target display screen). This solution can adaptively adjust the screen direction according to the deflection angle between the target object and the display screen, ensuring that the screen display direction always matches the target object's viewing direction, improving viewing angle matching and user visual experience.
[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0016] The above and other objects, features, and advantages of this disclosure will become readily apparent from the following detailed description of exemplary embodiments, taken in conjunction with the accompanying drawings. Several embodiments of this disclosure are illustrated in the drawings by way of example and not limitation, in which: In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
[0017] Figure 1 A schematic diagram illustrating the implementation flow of a display method according to an embodiment of this disclosure is shown; Figure 2A schematic diagram of a spatial calibration coordinate system according to an embodiment of the present disclosure is shown; Figure 3 A schematic diagram of an application scenario according to an embodiment of this disclosure is shown; Figure 4 A schematic diagram of spatial positioning information according to an embodiment of the present disclosure is shown; Figure 5 This diagram illustrates another application scenario of an embodiment of the present disclosure. Figure 6 A schematic diagram of the composition structure of a display device according to an embodiment of the present disclosure is shown; Figure 7 A schematic diagram of the composition structure of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation
[0018] To make the objectives, features, and advantages of this disclosure more apparent and understandable, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0019] A first aspect of this disclosure is to provide a display method, such as... Figure 1 As shown, the method includes the following steps: Step 101: Send a probe wave signal.
[0020] This method is applicable to electronic devices with display and signal transmission / reception functions, such as mobile phones, tablets, smart screens, and wearable devices. These electronic devices are typically equipped with signal transmitting devices such as speakers, horns, millimeter-wave antennas, and radio frequency antennas. In this embodiment, the electronic device executing this method is taken as the target device.
[0021] In this step, the target device emits a probe wave signal through its built-in signal transmitting device. The probe wave signal can be either an acoustic signal or an electromagnetic signal, and the type of probe wave signal matches the activated signal transmitting device. Specifically, the target device can emit an acoustic signal as a probe wave signal through a speaker or horn, or it can emit an electromagnetic signal as a probe wave signal through its built-in antenna module.
[0022] Step 102: Receive the echo signal generated by the transmission of the probe wave signal.
[0023] After the target device's signal transmitting device emits a probe wave signal, the signal is reflected when it encounters obstacles such as a human body during its propagation through space, generating an echo signal that matches the type of the probe wave signal. The method of receiving the echo signal corresponds one-to-one with the type of probe wave signal emitted. That is, if the emitted probe wave signal is an acoustic signal, the reflected echo signal is an acoustic echo signal, which is received by the microphone built into the target device; if the emitted probe wave signal is an electromagnetic wave signal, the reflected echo signal is an electromagnetic echo signal, which is received by the antenna module built into the target device.
[0024] Step 103: Determine whether the target object exists based on the echo signal.
[0025] After the target device's signal receiving device acquires the echo signal, it transmits the echo signal to the data processing module built into the target device. The data processing module first performs preprocessing operations such as filtering and noise reduction on the acquired echo signal. After signal preprocessing, it can combine liveness detection algorithms, signal feature comparison, and other detection methods to analyze and judge the fluctuation characteristics of the echo signal, and identify whether there are live target objects such as users within the detection range.
[0026] Step 104: If a target object exists, determine the relative angle information between the target object and the initial display screen of the target device.
[0027] If a target object is determined to exist within the detection range, the deflection angle of the target object relative to the initial display screen of the target device (i.e., the display screen currently output by the target device) is obtained, and this angle is used as the relative angle information between the target object and the initial display screen.
[0028] For example: taking the vertical direction in space as the 0° reference reference; when the target object is facing the screen and the device's initial display screen is placed in the correct orientation, the relative deflection angle between the target object's viewing direction and the reference direction of the initial display screen is 0°; when the target object's head is tilted to the side, and the viewing direction is shifted by 30° relative to the initial orientation, and the orientation of the device's initial display screen remains unchanged, the relative deflection angle between the two is 30°.
[0029] Step 105: Based on relative angle information, determine the target display screen of the target device; the display direction of the target display screen is adapted to the orientation of the target object.
[0030] After obtaining the relative angle information, it is compared with a preset angle adjustment threshold. This angle adjustment threshold is used to define the critical conditions for image correction: if the relative angle information is greater than or equal to the threshold, it means that the target object's viewing direction deviates significantly from the reference orientation of the initial displayed image, which can easily lead to a poor viewing experience.
[0031] At this point, the display orientation of the initial display needs to be corrected and adjusted. This can be achieved by updating the display transformation matrix to rotate the image. The image generated after rotation and correction is the target display image. The display orientation of this target display image is adapted to the viewing direction of the target object, effectively improving viewing comfort.
[0032] Regardless of changes in the orientation of the target device or a shift in the target object's viewing direction, this solution can maintain the screen display facing the target object's view without requiring the user to manually adjust their viewing angle or move the device.
[0033] The display method disclosed in this embodiment transmits a probe wave signal and receives the reflected echo signal. Based on the echo signal, it determines whether a target object exists within the detection range. When a target object is detected, it determines the relative angle information between the target object and the current display screen (initial display screen) of the target device. Then, based on this relative angle information, it adjusts the display direction of the current display screen to obtain the adjusted display screen (target display screen). This solution can adaptively adjust the screen direction according to the deflection angle between the target object and the display screen, ensuring that the screen display direction always matches the target object's viewing direction, improving viewing angle matching and user visual experience.
[0034] Existing conventional solutions generally use attitude sensing components such as gravity sensors and gyroscopes to switch between horizontal and vertical display modes by detecting the device's own attitude. These devices rely on gravity components to complete attitude recognition, and can only be triggered when the device's orientation changes; when the device's orientation remains unchanged, they cannot adaptively correct the display direction, which has significant limitations.
[0035] This embodiment does not require a gravity-based attitude detection architecture and is not limited by the device's own placement posture. It can adaptively adjust the screen according to the user's posture, making it applicable to a wider range of scenarios. This display method is particularly suitable for electronic devices where the screen and host can be separated: after the physical connection between the screen and the host is broken, the screen's orientation is flexible and can easily lead to a mismatch between the screen orientation and the user's viewing direction. This solution can correct the display orientation in real time. When the screen and host remain connected, the overall placement of the device is relatively fixed. Even if the user's posture shifts, the screen orientation can be adjusted in time to ensure that the screen always adapts to the user's viewing direction.
[0036] Meanwhile, this solution can utilize existing hardware resources such as speakers, microphones, and antenna modules in the target device to achieve sound wave transmission and reception and orientation perception, without the need to add additional attitude sensing components such as gravity sensors and gyroscopes. The hardware structure design is simpler, effectively reducing the overall hardware development and material costs of the device.
[0037] In another embodiment of this disclosure, determining the relative angle information between the target object and the initial display screen of the target device includes: acquiring the spatial positioning information of the target object; establishing a spatial calibration coordinate system based on the display direction of the initial display screen; mapping the spatial positioning information of the target object to the spatial calibration coordinate system to obtain the relative angle information between the target object and the initial display screen of the target device.
[0038] First, spatial positioning information of the target object is collected. This information characterizes the target object's spatial orientation. Using the initial display orientation as a reference, a spatial calibration coordinate system is constructed. The direction parallel to the horizontal edge of the screen is set as the horizontal axis, and the direction parallel to the vertical edge of the screen is set as the vertical axis. This spatial calibration coordinate system serves as a unified reference system for calculating relative orientation. For its specific structure, please refer to the appendix. Figure 2 .
[0039] The collected spatial positioning information of the target object is then transformed and mapped to the spatial calibration coordinate system, as exemplified by the following structure: Figure 3 As shown, the angle between the spatial positioning information and the horizontal or vertical axis of the coordinate system is obtained, and this angle value is used as the relative angle information of the target object relative to the initial display screen of the target device. The solution in this embodiment constructs a spatial calibration coordinate system based on the display direction of the initial display screen, which can accurately quantify the deflection angle (relative angle information) of the target object's viewing direction relative to the screen image.
[0040] In another embodiment of this disclosure, obtaining the spatial positioning information of the target object includes: determining the contour features of the target object based on the echo signal; determining the preset positioning point corresponding to the target object based on the contour features of the target object; constructing the head baseline and shoulder baseline corresponding to the target object based on the preset positioning point; and obtaining the spatial positioning information of the target object based on the head baseline and shoulder baseline.
[0041] First, the acquired echo signals are analyzed to extract characteristic parameters such as time delay, phase, and reflection intensity. Based on these extracted parameters, the contour features of the target object are constructed, representing its overall spatial shape distribution. Specifically, the propagation distance of the probe wave can be calculated from the time delay value, and the three-dimensional spatial coordinates of each reflection point are obtained by combining the probe wave emission angle. The reflection intensity at each location is used to distinguish the human body area from background obstacles, eliminating low-intensity clutter noise. All valid human body reflection coordinate points are collected, and surface interpolation or point cloud mesh fitting is used to generate a continuous closed point cloud contour. This point cloud contour is the contour feature of the target object, capable of completely reconstructing the spatial morphological distribution of the human head, torso, and shoulders.
[0042] After acquiring the contour features, preset positioning points on the contour features are identified and calibrated. These preset positioning points are pre-defined feature points within the human contour that accurately represent the human posture and orientation, specifically including the head center feature point, left and right shoulder feature points, etc. Specifically, after contour extraction, the contour is divided into head and shoulder regions according to the human body structure. The real-time acquired contour is matched and compared with a pre-stored standard human contour template. The geometric center of the contour in the head region is calculated and used as the head center feature point. The extreme coordinates of the two protruding positions on the left and right sides of the contour in the shoulder region are obtained and used as the left and right shoulder feature points, thus completing the calibration of the preset positioning points.
[0043] Subsequently, based on the calibrated head and shoulder feature points, straight line fitting is performed to construct the head and shoulder baselines corresponding to the target object. For example, refer to... Figure 4 As shown. Finally, the constructed head and shoulder baselines are used as spatial positioning references, which serve as the spatial positioning information for the target object.
[0044] The solution in this embodiment, by reconstructing the contour features of the human body and marking easily locating baselines in the contour features, can accurately characterize the spatial positioning information of the target object, providing stable and reliable technical support for the logical determination and adaptive adjustment of the subsequent display direction.
[0045] In another embodiment of this disclosure, determining the target display screen of the target device based on relative angle information includes: comparing the relative angle information with an angle adjustment threshold to obtain a comparison result; if the comparison result indicates that the relative angle information is greater than or equal to the angle adjustment threshold, adjusting the display direction of the initial display screen to obtain the target display screen of the target device; if the comparison result indicates that the relative angle information is less than the angle adjustment threshold, using the initial display screen as the target display screen of the target device.
[0046] A pre-configured angle adjustment threshold is set, which is the critical angle value for determining whether to correct the image orientation. The calculated relative angle information is compared with this angle adjustment threshold, and the corresponding comparison result is output.
[0047] When the comparison result shows that the relative angle information is greater than or equal to the angle adjustment threshold, it indicates that the target object's posture deviates significantly from the reference orientation of the initial display screen, making the viewing image appear tilted and unnatural. In this case, the display orientation of the initial display screen is corrected and adjusted by rotating the image through a transformation matrix to generate a target display screen that adapts to the viewing direction.
[0048] When the comparison result shows that the relative angle information is less than the angle adjustment threshold, it means that the orientation deviation between the two is small and will not affect the normal viewing effect. There is no need to change the display direction of the initial screen, and the initial display screen can be directly regarded as the target display screen.
[0049] This embodiment introduces preset angle adjustment conditions as the basis for determining the adjustment trigger, which can achieve precise triggering and reasonable control of screen display direction adjustment. It can effectively avoid frequent screen switching caused by small angle fluctuations, reduce unnecessary ineffective adaptation actions, and significantly improve the operational stability and rationality of screen display adjustment.
[0050] In another embodiment of this disclosure, adjusting the original display screen of the target device to obtain the target display screen includes: matching relative angle information with display direction matching rules to obtain angle adjustment information; and adjusting the display direction of the initial display screen based on the angle adjustment information to obtain the target display screen of the target device.
[0051] The device retrieves the pre-configured display orientation matching rules, which are used to establish a one-to-one mapping relationship between relative angle information and angle adjustment information. This allows for matching the corresponding angle adjustment information based on different relative angle information, thereby determining the screen rotation parameters.
[0052] After obtaining the relative angle information between the target object and the initial display screen, this relative angle information is compared with a preset display direction matching rule to determine the corresponding angle adjustment information. The angle adjustment information refers to the rotation angle value required to adjust the initial display screen to eliminate viewing deviation and adapt to the user's viewing angle. Finally, based on this angle adjustment information, the display direction of the initial display screen is rotated and corrected to generate a target display screen that matches the viewing direction of the target object.
[0053] For example, the specific determination logic can be referred to Figure 5 Based on the spatial calibration coordinate system established earlier, the device detection area is divided into multiple different angle threshold intervals according to the angle range. Each threshold interval is pre-bound with a unique corresponding angle adjustment information. In this embodiment, the interval division and matching are performed with counterclockwise as the positive angle direction: when the relative angle information is in the upward threshold interval of 0°-45°, the positive display adaptation rule is matched, and the corresponding angle adjustment information is 45°; when the relative angle information is in the upper left change threshold interval of 45°-90°, the corresponding angle adjustment information is 90°, and so on.
[0054] It should be noted that the above interval division method is only an illustrative example and is not a limitation of this solution. In practical applications, more and smaller angle threshold intervals can be further refined according to the display accuracy requirements to achieve high-precision image adjustment. For example, 0°~10° can be set as an independent threshold interval. When the detected relative angle information falls into this interval, a 10° angle adjustment information is obtained, achieving accurate correction of small angle deviations and further improving image adaptation accuracy and user viewing experience.
[0055] The solution in this embodiment introduces a unified display direction matching rule to determine the angle adjustment information, which can realize the standardized and regular adaptation and adjustment of the screen display direction, making the screen adjustment logic clearer and the adaptation result more regular, effectively improving the rationality and consistency of screen viewing angle matching.
[0056] In another embodiment of this disclosure, determining whether a target object exists based on the echo signal includes: extracting features from the echo signal to obtain dynamic fluctuation features corresponding to the echo signal; determining whether a live signal exists in the echo signal based on the dynamic fluctuation features; if a live signal exists, determining that a target object exists; if no live signal exists, determining that no target object exists.
[0057] First, the original echo signal is processed using time-domain analysis. The amplitude fluctuations and phase shifts of the echo signal are extracted frame by frame to obtain the signal's time-domain fluctuation characteristics. The reflected echoes from stationary obstacles exhibit relatively constant amplitude and phase with no temporal fluctuations. However, human breathing, minor body movements, and posture adjustments continuously disturb the propagation path of the probe wave, causing continuous temporal jitter and shifts in the echo amplitude and phase. Therefore, the time-domain fluctuation characteristics can preliminarily distinguish between static objects and slightly moving targets.
[0058] Further frequency domain transformation is performed on the time-domain processed echo signal to convert the time-domain fluctuation signal into frequency distribution characteristics, extracting low-frequency perturbation components to obtain complete dynamic fluctuation characteristics. The perturbation corresponding to human body micro-movements is a low-frequency, regular, weak frequency signal, while environmental clutter and equipment noise are mostly high-frequency random signals. Stationary objects have no effective low-frequency perturbation components. Frequency domain filtering can further filter out interference and purify the characteristic information corresponding to human body micro-movements.
[0059] After feature extraction, the final dynamic fluctuation features are matched with a pre-constructed human liveness feature template. If the dynamic fluctuation features contain amplitude temporal fluctuations, phase shifts, and low-frequency perturbation components consistent with the micro-movements and small changes in posture of the human body, and the matching degree reaches a preset threshold, then it is determined that a liveness signal exists in the echo signal, and a human target object exists within the detection range. If the echo signal has no temporal fluctuation features, no effective low-frequency micro-movement components, and its overall features are consistent with the echo characteristics of a static obstacle, and cannot match the liveness template, then it is determined that no liveness signal exists, and no target object exists within the detection range.
[0060] The solution in this embodiment uses the dynamic fluctuation characteristics of the echo signal for liveness detection, which can effectively distinguish between live human bodies and interference signals from still objects, thereby improving the accuracy and reliability of target object detection.
[0061] In another embodiment of this disclosure, transmitting the probe wave signal includes: transmitting the probe wave signal through a signal transmitting device configured in the target device.
[0062] The signal transmitting device is an existing integrated component of the target equipment, requiring no additional hardware. The device itself possesses the capability to directionally transmit probe waves and stably output probe signals, similar to a speaker or antenna. This solution utilizes existing equipment components to transmit probe waves without adding new sensing or detection hardware, effectively reducing equipment modification costs and structural complexity, and enhancing the feasibility and versatility of the solution.
[0063] A second aspect of this disclosure is to provide a display device, such as... Figure 6 As shown, the device includes: Signal transmitting module 601 is used to transmit probe wave signals; Receiver module 602 is used to receive the echo signal generated by the reflection of the probe wave signal; The determination module 603 is used to determine whether a target object exists based on the echo signal; The determination module 603 is used to determine the relative angle information between the target object and the initial display screen of the target device if the target object exists. The adjustment module 604 is used to determine the target display screen of the target device based on the relative angle information; the display direction of the target display screen is adapted to the orientation of the target object.
[0064] In another embodiment of this disclosure, the adjustment module 604 is further configured to compare the relative angle information with the angle adjustment threshold to obtain a comparison result; if the comparison result indicates that the relative angle information is greater than or equal to the angle adjustment threshold, the display direction of the initial display screen is adjusted to obtain the target display screen of the target device; if the comparison result indicates that the relative angle information is less than the angle adjustment threshold, the initial display screen is used as the target display screen of the target device.
[0065] In another embodiment of this disclosure, the determination module 603 is further configured to obtain the spatial positioning information of the target object; establish a spatial calibration coordinate system based on the display direction of the initial display screen; and map the spatial positioning information of the target object to the spatial calibration coordinate system to obtain the relative angle information between the target object and the initial display screen of the target device.
[0066] In another embodiment of this disclosure, the determination module 603 is further configured to: determine the contour features of the target object based on the echo signal; determine the preset positioning point corresponding to the target object based on the contour features of the target object; construct the head baseline and shoulder baseline corresponding to the target object based on the preset positioning point; and obtain the spatial positioning information of the target object based on the head baseline and shoulder baseline.
[0067] In another embodiment of this disclosure, the adjustment module 604 is further configured to obtain a preset display direction matching rule; match the relative angle information with the display direction matching rule to obtain angle adjustment information; and adjust the display direction of the initial display screen based on the angle adjustment information to obtain the target display screen of the target device.
[0068] In another embodiment of this disclosure, the determination module 603 is further configured to extract features from the echo signal to obtain the dynamic fluctuation features corresponding to the echo signal; based on the dynamic fluctuation features, determine whether there is a live signal in the echo signal; if there is a live signal, determine that there is a target object; if there is no live signal, determine that there is no target object.
[0069] In another embodiment of this disclosure, the signal transmitting module 601 is further configured to transmit a probe wave signal via a signal transmitting device configured in the target device.
[0070] According to embodiments of this disclosure, this disclosure also provides an electronic device and a readable storage medium.
[0071] Figure 7 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0072] like Figure 7 As shown, device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 802 or a computer program loaded from storage unit 808 into random access memory (RAM) 803. RAM 803 may also store various programs and data required for the operation of device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via bus 804. Input / output (I / O) interface 805 is also connected to bus 804.
[0073] Multiple components in device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of monitors, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0074] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as display methods. For example, in some embodiments, the display method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the display method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform display methods by any other suitable means (e.g., by means of firmware).
[0075] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0076] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0077] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0078] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0079] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0080] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0081] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0082] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise explicitly specified.
[0083] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure 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 disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.
Claims
1. A display method, characterized in that, The method includes: Send probe wave signal; Receive the echo signal generated by the reflection of the probe wave signal; Based on the echo signal, determine whether the target object exists; If the target object exists, determine the relative angle information between the target object and the initial display screen of the target device; Based on the relative angle information, the target display screen of the target device is determined; the display direction of the target display screen is adapted to the orientation of the target object.
2. The display method according to claim 1, characterized in that, Determining the target display screen of the target device based on the relative angle information includes: The relative angle information is compared with the angle adjustment threshold to obtain the comparison result; If the comparison result indicates that the relative angle information is greater than or equal to the angle adjustment threshold, the display direction of the initial display screen is adjusted to obtain the target display screen of the target device; If the comparison result indicates that the relative angle information is less than the angle adjustment threshold, the initial display screen is used as the target display screen of the target device.
3. The display method according to claim 1, characterized in that, Determining the relative angle information between the target object and the initial display screen of the target device includes: Obtain the spatial location information of the target object; Based on the display orientation of the initial display screen, a spatial calibration coordinate system is established; The spatial positioning information of the target object is mapped onto the spatial calibration coordinate system to obtain the relative angle information between the target object and the initial display screen of the target device.
4. The display method according to claim 3, characterized in that, The acquisition of the spatial positioning information of the target object includes: Based on the echo signal, the contour features of the target object are determined; Based on the contour features of the target object, a preset positioning point corresponding to the target object is determined; Based on the preset positioning points, construct the head baseline and shoulder baseline corresponding to the target object; Based on the head baseline and the shoulder baseline, the spatial positioning information of the target object is obtained.
5. The display method according to claim 2, characterized in that, The step of adjusting the display orientation of the initial display screen to obtain the target display screen of the target device includes: Obtain the preset display orientation matching rules; The relative angle information is matched with the display direction matching rule to obtain angle adjustment information; Based on the angle adjustment information, the display direction of the initial display screen is adjusted to obtain the target display screen of the target device.
6. The display method according to claim 1, characterized in that, Determining whether a target object exists based on the echo signal includes: Feature extraction is performed on the echo signal to obtain the dynamic fluctuation characteristics corresponding to the echo signal; Based on the dynamic fluctuation characteristics, determine whether there is a live signal in the echo signal; If the aforementioned liveness signal is present, it is determined that a target object exists; If the liveness signal is not present, it is determined that the target object does not exist.
7. The display method according to claim 1, characterized in that, The transmission of the probe wave signal includes: The probe wave signal is transmitted through the signal transmitting device configured in the target device.
8. A display device, characterized in that, The device includes: The signal transmitting module is used to send probe wave signals; The receiving module is used to receive the echo signal generated by the reflection of the probe wave signal; The determination module is used to determine whether a target object exists based on the echo signal; The determination module is used to determine the relative angle information between the target object and the initial display screen of the target device if the target object exists. An adjustment module is used to determine the target display screen of the target device based on the relative angle information; the display direction of the target display screen is adapted to the orientation of the target object.
9. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-7.