A display position adjustment method, device, terminal and readable storage medium

By obtaining the current display position of the target component of the flexible screen device and adjusting the display position according to the preset solution, the problem of fixed display position of the flexible screen device is solved, the user experience is improved, and the automatic adaptive display position adjustment of the component is realized.

CN112671975BActive Publication Date: 2024-10-01ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910979884.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-15
Publication Date
2024-10-01
Estimated Expiration
2039-10-15

AI Technical Summary

Technical Problem

The display area or component position of existing flexible screen devices is fixed and cannot adapt according to the user's usage scenarios and habits, resulting in poor user experience.

Method used

By obtaining the current display position of the target component and determining the adjustment plan based on the preset display position, the display position of the component is automatically adjusted to achieve dynamic display position adjustment of the component.

Benefits of technology

It improves the user experience, avoids the need for users to manually adjust the display position, ensures that components are displayed in the appropriate position, and adapts to different usage scenarios and habits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112671975B_ABST
    Figure CN112671975B_ABST
Patent Text Reader

Abstract

The present invention provides a display position adjustment method, device, terminal and readable storage medium. The method obtains the current display position of the target component, determines an adjustment plan for the target component according to a preset display position, and adjusts the display position of the target component according to the adjustment plan. The present invention also provides a display position adjustment device, terminal and readable storage medium, which solves the problem that the display of components in the existing related technologies is a display at a relatively fixed position relative to the terminal, cannot be displayed according to the user's actual application scenario and usage habits, and has a low user experience. The current display position of the target component can be adjusted according to the preset display position. When the preset display position is set according to the user's application scenario and usage habits, the user no longer needs to manually adjust the display position of the target component. The adjustment plan can be automatically formulated and the target component can be adjusted to a suitable position, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of mobile communications, and specifically, relate to, but are not limited to, a display position adjustment method, device, terminal, and readable storage medium. Background Art

[0002] The concept of flexible screen products was proposed in 2017, but due to various reasons, it has not been applied in the market. In February 2019, Huawei released a folding screen mobile phone at the MWC conference, and in April, Nubia released the Alpha flexible screen smartphone, which once again brought flexible screens into the public's field of vision. It is expected that a large number of flexible screen-related smart terminals will be launched in the future, such as smart bracelets, smart watches, etc.

[0003] Current flexible screen products all have a common shortcoming, which is the fixed display area or component position, and they cannot adapt to user usage, such as the location of time, notifications, etc.

[0004] Currently, flexible screen devices are bendable, which will cause the device display to be in a three-dimensional state, which will inevitably reduce the user's visual range. This will bring certain obstacles to the promotion and application of flexible screens. Common ones include flexible screen bracelets, flexible screen folding phones, and there may be flexible screen smart watches in the future.

[0005] At present, relevant flexible screen devices all have fixed display positions. For example, the main and secondary screens of flexible folding screen mobile phones only display the main screen or the secondary screen, and there is no solution for automatically switching the main and secondary screens.

[0006] For new flexible screen devices such as bracelets or watches, they are also displayed at a fixed position relative to the terminal.

[0007] All current display solutions, because they do not have the automatic adaptation operation in the present invention, have poor user experience and require user intervention or reduced experience to adapt. Summary of the invention

[0008] The embodiments of the present invention provide a display position adjustment method, device, terminal and readable storage medium, which mainly solve the technical problem that the display of components in the current existing related technologies is displayed at a relatively fixed position relative to the terminal, and cannot be displayed according to the user's actual application scenarios and usage habits, resulting in a low user experience.

[0009] In order to solve the above technical problems, an embodiment of the present invention provides a display position adjustment method, which is applied to a terminal and includes:

[0010] Get the current display position of the target component;

[0011] Determining an adjustment scheme for the target component according to a preset display position, wherein the preset display position includes a position of the display position of the target component relative to a horizontal plane;

[0012] The display position of the target component is adjusted according to the adjustment scheme.

[0013] An embodiment of the present invention further provides a display position adjustment device, which is applied to a terminal and includes:

[0014] A first acquisition module, used to acquire the current display position of the target component;

[0015] A first determining module, configured to determine an adjustment scheme for the target component according to a preset display position, wherein the preset display position includes a position of a display position of the target component relative to a horizontal plane;

[0016] The adjustment module is used to adjust the target component to be displayed at a preset display position according to the adjustment scheme.

[0017] An embodiment of the present invention further provides a terminal, comprising: a processor, a memory and a communication bus;

[0018] The communication bus is used to realize the connection and communication between the processor and the memory;

[0019] The processor is used to execute one or more computer programs stored in the memory to implement the steps of any of the above display position adjustment methods.

[0020] An embodiment of the present invention further provides a computer-readable storage medium, which stores one or more computer programs. The one or more computer programs can be executed by one or more processors to implement the steps of the display position adjustment method as described in any one of the above items.

[0021] The beneficial effects of the present invention are:

[0022] The present invention provides a display position adjustment method, device, terminal and readable storage medium. The method obtains the current display position of the target component, determines an adjustment plan for the target component according to a preset display position, and adjusts the display position of the target component according to the adjustment plan. The method solves the problem that the display of components in the existing related technologies is a display at a relatively fixed position relative to the terminal, cannot be displayed according to the user's actual application scenario and usage habits, and has a low user experience. The current display position of the target component can be adjusted according to the preset display position. When the preset display position is set according to the user's application scenario and usage habits, the user no longer needs to manually adjust the display position of the target component. The method can automatically formulate an adjustment plan, and adjust the target component to a suitable position according to the adjustment plan, thereby improving the user experience.

[0023] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a flow chart of a display position adjustment method provided in Embodiment 1 of the present invention;

[0025] Figure 2 A specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0026] Figure 3 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0027] Figure 4-1 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0028] Figure 4-2 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0029] Figure 4-3 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0030] Figure 5 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0031] Figure 6 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0032] Figure 7 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0033] Figure 8 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0034] Figure 9-1 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0035] Figure 9-2 Another specific embodiment of display position adjustment provided by the first embodiment of the present invention;

[0036] Fig.10 A schematic diagram of the structure of a display position adjustment device provided in Embodiment 2 of the present invention;

[0037] Fig.11 A schematic diagram of the structure of a terminal provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0039] Embodiment 1:

[0040] See also Figure 1 , a display position adjustment method provided in this embodiment includes:

[0041] S101: Obtain the current display position of the target component;

[0042] S102: determining an adjustment plan for the target component according to a preset display position;

[0043] S103: Adjust the display position of the target component according to the adjustment plan.

[0044] In some embodiments, a display position adjustment method provided by an embodiment of the present invention is applied to a terminal, and the target component may be one or more windows displayed on the terminal display screen, such as a web page currently opened by a browser, etc.; the target component may also be the time and date currently displayed on the display screen, etc.; the target component may also be the internal interface of some applications, such as the playback page of a music playback application, the video playback interface of a video playback application, etc. It should be noted that the selection of the target component may be set by the user or a person skilled in the art as required, and the target component may be a component or a combination of multiple components, that is, the number of single components included in the target component is not limited here.

[0045] In some embodiments, the user can also set the arrangement and display position of multiple components to achieve the purpose of combined display, for example, combining the time and notification on the lock screen interface, combining several spaces and icons on the main interface, etc.

[0046] In some embodiments, the current display position of the target component may be adjacent to each other, or may be displayed separately. The target component may also include two components, and at least a portion of one component is displayed overlapping with at least a portion of the other component. For example, when a date component is displayed in a weather component, when the two components are displayed overlappingly, the display color, transparency, etc. of the components can be adjusted to achieve the effect that the information of both components can be read by the user.

[0047] In some embodiments, before obtaining the current display position of the target component, the state of the current terminal can also be determined, such as whether the display screen is lit, whether there is a large position change such as shaking, picking up, putting down, etc., whether there is external pressure such as external pressing, etc., whether there is a specific external start signal such as voice command, etc., whether there is an incoming call, etc. It should be noted that the relationship between the state of the current terminal and the target component can be set according to the user's actual needs. For example, if the terminal display screen is lit, the current display position of the time component is obtained; for another example, if the terminal is shaken, the current display position of the music component is obtained; for another example, if there is an incoming call, the current display position of the phone component is obtained.

[0048] In some embodiments, the current display position of the target component may be a positional relationship between a display screen including the current display position of the target component and a horizontal plane, for example, Figure 2 As shown, the target component 202 is currently displayed on the display screen 201, the display screen 201 is a curved screen, the horizontal plane 203, and the current angle between the target component 202 and the horizontal plane 203 is A.

[0049] It should be noted that the horizontal plane in the embodiment of the present invention can be understood as a plane perpendicular to the earth's gravity, or can be understood as a plane preset by a user, or can be a plane parallel to the ground set as a horizontal plane according to the current geographical location of the terminal. Further, the horizontal plane can be understood as a reference plane. Of course, the user can also set the plane parallel to the earth's gravity as the horizontal plane.

[0050] In some embodiments, the current display position of the target component may also include that if the terminal is currently in a screen-off state, the current display position of the target component may be set to the display position of the target component on the display screen when the terminal last turned on the screen. It should be noted that when the terminal is in a screen-off state, the relative position of the target component to the display screen of the terminal may be set to remain unchanged.

[0051] It should be noted that the terminal screen turning off or terminal screen turning on described in the embodiments of the present invention can be understood as whether the content displayed on the terminal screen can be observed by the user.

[0052] In some embodiments, whether to obtain the current display position of the target component can also be set according to whether there is a lock screen or unlock action on the terminal.

[0053] In some embodiments, the preset display position includes a position of the display position of the target component relative to a horizontal plane.

[0054] It should be noted that the display position of the target component can be understood as the position of the display screen, and the preset display position is the position of the display screen currently displaying the target component relative to the horizontal plane. The position can be set according to the user's usage habits.

[0055] It should be noted that the current display position of the target component can be obtained through data analysis of various sensors, for example, by using a gyroscope, a posture sensor, etc. to obtain the current display position of the target component.

[0056] In some embodiments, the preset display position can be understood as the angle between the plane where the display screen of the display target component is located and the horizontal plane. Since two angles can be formed when one plane intersects with another plane, it should be further explained that the angle referred to in the embodiments of the present invention is the angle from the direction of the display screen that the user can see to the direction of the horizontal plane. For example, Figure 3 As shown, a terminal including a main screen and a back screen, wherein the display screen 301 of the main screen currently has an angle B with the horizontal plane, and the display screen 302 of the back screen currently has an angle C with the horizontal plane.

[0057] It should be noted that, when the display screen of the terminal is currently flat, the preset display position may be the distance between the target component and the highest point of the display screen in a certain direction of the terminal. Of course, the preset display position may also be a fixed position set by the user.

[0058] In some embodiments, the preset display position includes not only the angle of the display position of the target component relative to the horizontal plane, but also a preset direction of the target component.

[0059] In some embodiments, when the display screen of the terminal is a plane, the preset direction of the target component is obtained, and the angle between the preset direction and the horizontal plane is taken as the current display position. Figure 4-1 , Figure 4-2 and Figure 4-3 ,like Figure 4-1 As shown, the preset display position of the target component 402 is that the display screen 401 is perpendicular to the horizontal plane 403, the angle is D, and the preset direction is vertical and upward to the horizontal plane. Figure 4-2As shown, when the terminal rotates a certain angle, although the angle between the display screen 401 of the terminal displaying the target component 402 and the horizontal plane 403 is still D, the display directions of other components displayed on the display screen change with the terminal, and the display direction of the target component 402 is still upward after adjustment by the method of the embodiment of the present invention. Figure 4-2 As shown, when the terminal is rotated 180 degrees, after adjustment by the method of the embodiment of the present invention, the display direction of the target component 402 is still upward.

[0060] In some embodiments, the terminal includes two display screens. It should be noted that the two display screens may be two completely independent display screens, or two display screens with different display directions formed by folding a display screen. Figure 5 As shown, the terminal includes a first display screen 501 and a second display screen 502, and the target component 503 is initially displayed on the first display screen 501, and its preset display position is a position at an angle E with the horizontal plane 504. After the terminal position or posture changes, according to the method provided by the embodiment of the present invention, in order to make the target component 503 still consistent with the preset display position, the target component 503 is replaced on the second display screen 502 for display. As for how to determine the display position of the target component 503 after the posture change, the following method can be adopted: when the terminal posture changes, the projection coordinates of the new display area on the physical screen are calculated according to the terminal posture data collected by the sensor. Then the display unit is notified to redraw the specified target component, and its display position is dynamically adjusted to the current display position of the second display screen 502. When the mobile phone is flipped or other posture changes occur, the target component is converted and redrawn according to the above principle, so that the target component is always dynamically maintained at the position specified in the setting (the upward screen display area position).

[0061] In some embodiments, after obtaining the current position of the target component and before determining an adjustment scheme for the target component according to the preset display position, the method further includes:

[0062] The available display position of the terminal is obtained, where the available display position includes the current position of each area of ​​the display screen of the terminal relative to the horizontal plane.

[0063] It should be noted that the available display position can be understood as the angle between each area of ​​the terminal display screen and the horizontal plane. When the terminal display screen is a curved surface, the terminal is pre-allocated with several areas, and the angle between the center point of each area or the section at the specified position and the horizontal plane is taken as the available display position. Figure 6As shown, the display screen 601 of the terminal is annular, and the preset display position of the target component 602 is at an angle of G1 with the horizontal plane 603. When the display screen changes, the current display position of the target component 602 is at an angle of G2 with the horizontal plane. At this time, the available display positions are obtained. As shown in the figure, the current available display positions are at an angle of G2 with the horizontal plane, at an angle of G3 with the horizontal plane, and at an angle of G4 with the horizontal plane. In some embodiments, assuming that the angle of G3 is equal to G1, the target component 602 can be projected to the area where the angle of G3 is located for display.

[0064] In some embodiments, if all available display positions do not match the preset display position,

[0065] Then, the best available display position is determined according to preset rules.

[0066] In some embodiments, assuming Figure 6 In the example, G3 and G1 are not equal. In this case, G3, G2, and G4 are obtained, and the area where the one with the smaller error with G1 is located is selected as the best display position. Assuming that G3 is the best display position, the target component 602 is projected to the area where the angle of G3 is located for display.

[0067] It should be noted that the preset rule may be to select the available display position with the smallest error with the preset display position as the best display position. Of course, the preset rule may also be other feasible rules set by the user, such as fixedly selecting a certain position as the best display position.

[0068] In some embodiments, adjusting the display position of the target component according to the adjustment scheme includes:

[0069] According to the positional relationship between the best available display position and the preset display position, the display form of the target component at the best available display position is determined.

[0070] It should be noted that the display form includes the deformation of the target component. In some embodiments, a feasible way to determine the display form of the target component at the best available display position is to project the target space at the best available display position according to the projection relationship between the best display position and the preset display position. Figure 7 , the preset display position of the target component 702 is the angle H1 between the display screen 701 in the area where it is located and the horizontal plane 703. When the terminal changes its posture, the current terminal can only display at an angle H2 between the display screen and the horizontal plane. At this time, there is an angle H2-H1 between the best display position and the preset display position. A feasible display method is to project the target component 702, determine the display form of the target component 702 as the target component 704, and display it on the display screen 701.

[0071] In some embodiments, the preset display position also includes the distance between the target component and a preset display screen edge of the terminal.

[0072] It should be noted that the preset display screen edge of the terminal may be a specified edge of the terminal display screen; the preset display screen edge of the terminal may also be an edge of the display screen in a certain direction after the posture change occurs. Figure 7 As shown, when the target component 702 is at the preset display position, the distance between its center point and the edge M of the display screen is M1, and the distance between its center point and the edge N of the display screen is N1. After the terminal changes its posture, the distance between the new target component 704 and the edge M of the display screen is still M1, and the distance between its center point and the edge N of the display screen is still N1. Figure 8 , the preset display screen edge of the terminal is the display screen edge facing the left side and the upper side of the user. When the target component 802 is in the preset display position, the distance between its center point and the display screen edge X is X1, and the distance between it and the display screen edge O is O1. After the terminal changes its posture, the distance between the new target component 804 and the display screen edge P is P1, and the distance between it and the display screen edge Q is Q1, where P1 is equal to X1, and Q1 is equal to O1.

[0073] The following takes a case where the terminal is a flexible screen smart bracelet and the display screen of the bracelet is a curved display screen as an example to further illustrate the display position adjustment method provided by the embodiment of the present invention. Figure 9-1 and Figure 9-2 ,like Figure 9-1 As shown, first, the user can select the target component to be set in the terminal setting interface, and then select the relative position of the target component relative to the horizontal plane. Specifically, the selection method can be to set the preset display position by dragging. Figure 9-2 , S01 is the current display position of the target component, and S02 is the new display position of the target component in the setting. After setting the fixed position, the target component will automatically remain at the set position S02 relative to the horizontal plane angle, regardless of how the display screen part changes its position, such as rotation, flipping, etc.

[0074] An embodiment of the present invention provides a display position adjustment method, which obtains the current display position of a target component, determines an adjustment plan for the target component according to a preset display position, and adjusts the display position of the target component according to the adjustment plan. This method solves the problem that the display of components in the existing related technologies is a display at a relatively fixed position relative to the terminal, cannot be displayed according to the user's actual application scenario and usage habits, and has a low user experience. The current display position of the target component can be adjusted according to the preset display position. When the preset display position is set according to the user's application scenario and usage habits, the user no longer needs to manually adjust the display position of the target component. The method can automatically formulate an adjustment plan, and adjust the target component to a suitable position according to the adjustment plan, thereby improving the user experience.

[0075] Furthermore, by obtaining the available display position of the terminal, if there is no available display position that matches the preset display position when the available display position matches the preset display position, the best available display position is determined by preset rules, which can avoid the situation where there is no area in the current display screen of the terminal that can meet the preset display area conditions due to changes in the posture of the terminal. However, in this scenario, it is sometimes necessary to display the target component. In this case, the display of the target component can be achieved by selecting the best available display position as a second choice.

[0076] Furthermore, when the target component is displayed at the best available display position, if the preset display position is set according to the user's habitual viewing angle, then at this time, since it is different from the user's habitual viewing angle to a certain extent, the display form of the target component can be re-determined and the size, shape, etc. of the target component can be changed as needed, so that the user can view the target component better, thereby further improving the user experience.

[0077] Furthermore, by specifying the distance between the target component and the edge of a preset display screen of the terminal, it can be achieved in some specific scenarios that the relative display position of the target component is within the preset display position regardless of how the posture of the terminal changes.

[0078] Embodiment 2:

[0079] This embodiment also provides a display position adjustment device, such as Fig.10 As shown, the display position adjustment device 1000 includes:

[0080] The first acquisition module 1001 is used to acquire the current display position of the target component;

[0081] A first determining module 1002 is used to determine an adjustment scheme for the target component according to a preset display position, wherein the preset display position includes a position of the display position of the target component relative to a horizontal plane;

[0082] The adjustment module 1003 is used to adjust the target component to be displayed at a preset display position according to the adjustment scheme.

[0083] In some embodiments, a display position adjustment method provided by an embodiment of the present invention is applied to a terminal, and the target component may be one or more windows displayed on the terminal display screen, such as a web page currently opened by a browser, etc.; the target component may also be the time and date currently displayed on the display screen, etc.; the target component may also be the internal interface of some applications, such as the playback page of a music playback application, the video playback interface of a video playback application, etc. It should be noted that the selection of the target component may be set by the user or a person skilled in the art as required, and the target component may be a component or a combination of multiple components, that is, the number of single components included in the target component is not limited here.

[0084] In some embodiments, the user can also set the arrangement and display position of multiple components to achieve the purpose of combined display, for example, combining the time and notification on the lock screen interface, combining several spaces and icons on the main interface, etc.

[0085] In some embodiments, the current display position of the target component may be adjacent to each other, or may be displayed separately. The target component may also include two components, and at least a portion of one component is displayed overlapping with at least a portion of the other component. For example, when a date component is displayed in a weather component, when the two components are displayed overlappingly, the display color, transparency, etc. of the components can be adjusted to achieve the effect that the information of both components can be read by the user.

[0086] In some embodiments, before obtaining the current display position of the target component, the state of the current terminal can also be determined, such as whether the display screen is lit, whether there is a large position change such as shaking, picking up, putting down, etc., whether there is external pressure such as external pressing, etc., whether there is a specific external start signal such as voice command, etc., whether there is an incoming call, etc. It should be noted that the relationship between the state of the current terminal and the target component can be set according to the user's actual needs. For example, if the terminal display screen is lit, the current display position of the time component is obtained; for another example, if the terminal is shaken, the current display position of the music component is obtained; for another example, if there is an incoming call, the current display position of the phone component is obtained.

[0087] In some embodiments, the current display position of the target component may be a positional relationship between a display screen including the current display position of the target component and a horizontal plane, for example, Figure 2As shown, the target component 202 is currently displayed on the display screen 201, the display screen 201 is a curved screen, the horizontal plane 203, and the current angle between the target component 202 and the horizontal plane 203 is A.

[0088] It should be noted that the horizontal plane in the embodiment of the present invention can be understood as a plane perpendicular to the earth's gravity, or can be understood as a plane preset by a user, or can be a plane parallel to the ground set as a horizontal plane according to the current geographical location of the terminal. Further, the horizontal plane can be understood as a reference plane. Of course, the user can also set the plane parallel to the earth's gravity as the horizontal plane.

[0089] In some embodiments, the current display position of the target component may also include that if the terminal is currently in a screen-off state, the current display position of the target component may be set to the display position of the target component on the display screen when the terminal last turned on the screen. It should be noted that when the terminal is in a screen-off state, the relative position of the target component to the display screen of the terminal may be set to remain unchanged.

[0090] It should be noted that the terminal screen turning off or terminal screen turning on described in the embodiments of the present invention can be understood as whether the content displayed on the terminal screen can be observed by the user.

[0091] In some embodiments, whether to obtain the current display position of the target component can also be set according to whether there is a lock screen or unlock action on the terminal.

[0092] In some embodiments, the preset display position includes a position of the display position of the target component relative to a horizontal plane.

[0093] It should be noted that the display position of the target component can be understood as the position of the display screen, and the preset display position is the position of the display screen currently displaying the target component relative to the horizontal plane. The position can be set according to the user's usage habits.

[0094] In some embodiments, the preset display position can be understood as the angle between the plane where the display screen of the display target component is located and the horizontal plane. Since two angles can be formed when one plane intersects with another plane, it should be further explained that the angle referred to in the embodiments of the present invention is the angle from the direction of the display screen that the user can see to the direction of the horizontal plane. For example, Figure 3 As shown, a terminal including a main screen and a back screen, wherein the display screen 301 of the main screen currently has an angle B with the horizontal plane, and the display screen 302 of the back screen currently has an angle C with the horizontal plane.

[0095] It should be noted that the current display position of the target component can be obtained through data analysis of various sensors, for example, by using a gyroscope, a posture sensor, etc. to obtain the current display position of the target component.

[0096] It should be noted that, when the display screen of the terminal is currently flat, the preset display position may be the distance between the target component and the highest point of the display screen in a certain direction of the terminal. Of course, the preset display position may also be a fixed position set by the user.

[0097] In some embodiments, the preset display position includes not only the angle of the display position of the target component relative to the horizontal plane, but also a preset direction of the target component.

[0098] In some embodiments, when the display screen of the terminal is a plane, the preset direction of the target component is obtained, and the angle between the preset direction and the horizontal plane is taken as the current display position. Figure 4-1 , Figure 4-2 and Figure 4-3 ,like Figure 4-1 As shown, the preset display position of the target component 402 is that the display screen 401 is perpendicular to the horizontal plane 403, the angle is D, and the preset direction is vertical and upward to the horizontal plane. Figure 4-2 As shown, when the terminal rotates a certain angle, although the angle between the display screen 401 of the terminal displaying the target component 402 and the horizontal plane 403 is still D, the display directions of other components displayed on the display screen change with the terminal, and the display direction of the target component 402 is still upward after adjustment by the method of the embodiment of the present invention. Figure 4-2 As shown, when the terminal is rotated 180 degrees, after adjustment by the method of the embodiment of the present invention, the display direction of the target component 402 is still upward.

[0099] In some embodiments, the terminal includes two display screens. It should be noted that the two display screens may be two completely independent display screens, or two display screens with different display directions formed by folding a display screen. Figure 5As shown, the terminal includes a first display screen 501 and a second display screen 502, and the target component 503 is initially displayed on the first display screen 501, and its preset display position is a position at an angle E with the horizontal plane 504. After the terminal position or posture changes, according to the method provided by the embodiment of the present invention, in order to make the target component 503 still consistent with the preset display position, the target component 503 is replaced on the second display screen 502 for display. As for how to determine the display position of the target component 503 after the posture change, the following method can be adopted: when the terminal posture changes, the projection coordinates of the new display area on the physical screen are calculated according to the terminal posture data collected by the sensor. Then the display unit is notified to redraw the specified target component, and its display position is dynamically adjusted to the current display position of the second display screen 502. When the mobile phone is flipped or other posture changes occur, the target component is converted and redrawn according to the above principle, so that the target component is always dynamically maintained at the position specified in the setting (the upward screen display area position).

[0100] In some embodiments, the display position adjustment device further includes:

[0101] A second acquisition module is used to obtain the available display position of the terminal after the first acquisition module obtains the current position of the target component and before the first determination module determines the adjustment plan for the target component according to a preset display position, wherein the available display position includes the current position of each area of ​​the terminal's display screen relative to the horizontal plane.

[0102] It should be noted that the available display position can be understood as the angle between each area of ​​the terminal display screen and the horizontal plane. When the terminal display screen is a curved surface, the terminal is pre-allocated with several areas, and the angle between the center point of each area or the section at the specified position and the horizontal plane is taken as the available display position. Figure 6 As shown, the display screen 601 of the terminal is annular, and the preset display position of the target component 602 is at an angle of G1 with the horizontal plane 603. When the display screen changes, the current display position of the target component 602 is at an angle of G2 with the horizontal plane. At this time, the available display positions are obtained. As shown in the figure, the current available display positions are at an angle of G2 with the horizontal plane, at an angle of G3 with the horizontal plane, and at an angle of G4 with the horizontal plane. In some embodiments, assuming that the angle of G3 is equal to G1, the target component 602 can be projected to the area where the angle of G3 is located for display.

[0103] In some embodiments, the display position adjustment device further includes:

[0104] The second determination module is used to determine the best available display position according to a preset rule if all the available display positions do not match the preset display position.

[0105] In some embodiments, assuming Figure 6 In the example, G3 and G1 are not equal. In this case, G3, G2, and G4 are obtained, and the area where the one with the smaller error with G1 is located is selected as the best display position. Assuming that G3 is the best display position, the target component 602 is projected to the area where the angle of G3 is located for display.

[0106] It should be noted that the preset rule may be to select the available display position with the smallest error with the preset display position as the best display position. Of course, the preset rule may also be other feasible rules set by the user, such as fixedly selecting a certain position as the best display position.

[0107] In some embodiments, the adjustment module includes:

[0108] The adjustment submodule is used to determine the display form of the target component at the optimal display position according to the positional relationship between the optimal display position and the preset display position.

[0109] It should be noted that the display form includes the deformation of the target component. In some embodiments, a feasible way to determine the display form of the target component at the best available display position is to project the target space at the best available display position according to the projection relationship between the best display position and the preset display position. Figure 7 , the preset display position of the target component 702 is the angle H1 between the display screen 701 in the area where it is located and the horizontal plane 703. When the terminal changes its posture, the current terminal can only display at an angle H2 between the display screen and the horizontal plane. At this time, there is an angle H2-H1 between the best display position and the preset display position. A feasible display method is to project the target component 702, determine the display form of the target component 702 as the target component 704, and display it on the display screen 701.

[0110] In some embodiments, the preset display position also includes the distance between the target component and a preset display screen edge of the terminal.

[0111] It should be noted that the preset display screen edge of the terminal may be a specified edge of the terminal display screen; the preset display screen edge of the terminal may also be an edge of the display screen in a certain direction after the posture change occurs. Figure 7 As shown, when the target component 702 is at the preset display position, the distance between its center point and the edge M of the display screen is M1, and the distance between its center point and the edge N of the display screen is N1. After the terminal changes its posture, the distance between the new target component 704 and the edge M of the display screen is still M1, and the distance between its center point and the edge N of the display screen is still N1. Figure 8, the preset display screen edge of the terminal is the display screen edge facing the left side and the upper side of the user. When the target component 802 is in the preset display position, the distance between its center point and the display screen edge X is X1, and the distance between it and the display screen edge O is O1. After the terminal changes its posture, the distance between the new target component 804 and the display screen edge P is P1, and the distance between it and the display screen edge Q is Q1, where P1 is equal to X1, and Q1 is equal to O1.

[0112] An embodiment of the present invention provides a display position adjustment device, which obtains the current display position of a target component, determines an adjustment plan for the target component according to a preset display position, and adjusts the display position of the target component according to the adjustment plan. This solves the problem that the display of components in the existing related technologies is relatively fixed relative to the terminal, cannot be displayed according to the user's actual application scenario and usage habits, and has a low user experience. The current display position of the target component can be adjusted according to the preset display position. When the preset display position is set according to the user's application scenario and usage habits, the user no longer needs to manually adjust the display position of the target component. The adjustment plan can be automatically formulated, and the target component can be adjusted to a suitable position according to the adjustment plan, thereby improving the user experience.

[0113] Embodiment three:

[0114] This embodiment also provides a terminal, see Fig.11 As shown, it includes a processor 1101, a memory 1103 and a communication bus 1102, wherein:

[0115] The communication bus 1102 is used to realize the connection and communication between the processor 1101 and the memory 1103;

[0116] The processor 1101 is configured to execute one or more computer programs stored in the memory 1103 to implement at least one step in the display position adjustment method in the first embodiment.

[0117] The present embodiment also provides a computer-readable storage medium, which includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer.

[0118] The computer-readable storage medium in this embodiment can be used to store one or more computer programs, and the one or more computer programs stored therein can be executed by a processor to implement at least one step of the display position adjustment method in the above-mentioned embodiment 1.

[0119] This embodiment also provides a computer program (or computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement at least one step of maintaining resource consistency in the above embodiment one; and in some cases, at least one of the steps shown or described can be executed in an order different from that described in the above embodiment.

[0120] This embodiment also provides a computer program (or computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement at least one step of maintaining resource consistency in the above-mentioned embodiment 2; and in some cases, at least one of the steps shown or described can be executed in an order different from that described in the above-mentioned embodiment.

[0121] It should be understood that, in some cases, at least one step shown or described may be performed in an order different from that described in the above embodiments.

[0122] This embodiment further provides a computer program product, including a computer readable device, on which the computer program as shown above is stored. In this embodiment, the computer readable device may include the computer readable storage medium as shown above.

[0123] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.

[0124] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.

[0125] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A display position adjustment method, applied to a terminal, characterized in that: include: Get the current display position of the target component; Acquire an available display position of the terminal, wherein the available display position includes a current position of each area of ​​a display screen of the terminal relative to a horizontal plane; Determining an optimal available display position of the target component from the available display positions according to a preset display position, wherein the preset display position includes a position of the display position of the target component relative to a horizontal plane; Determine the display form of the target component at the optimal display position according to the positional relationship between the optimal display position and the preset display position, and display the target component in the display form at the optimal display position; The current display position includes at least one of the following: the position relationship between the display screen and the horizontal plane of the current display position of the target component; or, when the terminal is currently in an off-screen state, the display position of the target component on the display screen when the terminal last turned on the screen; or, a position determined based on data analysis of multiple sensors in the terminal; or, when the display screen of the terminal is a plane, an angle between a preset direction of the target component and the horizontal plane, the preset direction being obtained by acquisition; The available display positions include the angle positions between each area of ​​the display screen of the terminal and the horizontal plane; The optimal available display position is the available display position whose error with the preset display position is less than a preset error threshold; The preset display position includes at least one of the following: the angle between the plane where the display screen of the target component is located and the horizontal plane; or, when the display screen of the terminal is currently flat, the distance between the target component and the highest point of the display screen in one direction of the terminal; or, a fixed position set by the user; or, the preset direction of the target component and the angle between the plane where the display screen of the target component is located and the horizontal plane; The display form includes at least one of the following: a deformed form of the target component; a form of the target component after being changed in size and shape when the target component is displayed at the optimal display position and the preset display position is a position set based on the user's viewing angle.

2. The display position adjustment method according to claim 1, wherein: Also includes: If the available display positions do not match the preset display position, Then, the best available display position is determined according to preset rules.

3. The display position adjustment method according to claim 2, wherein: Determining the best available display position according to a preset rule includes: Selecting from the available display positions the available display position whose error with the preset display position is less than a preset error threshold as the best available display position; or, Determines the best available display position based on user-defined rules.

4. The display position adjustment method according to any one of claims 1 to 3, characterized in that: The preset display position also includes: The distance between the target component and an edge of a preset display screen of the terminal.

5. A display position adjustment device, applied to a terminal, characterized in that: include: A first acquisition module, used to acquire the current display position of the target component; A second acquisition module, configured to acquire an available display position of the terminal, wherein the available display position includes a current position of each area of ​​the display screen of the terminal relative to a horizontal plane; A first determining module, configured to determine an optimal available display position of the target component from the available display positions according to a preset display position, wherein the preset display position includes a position of the display position of the target component relative to a horizontal plane; An adjustment module, configured to determine a display form of the target component at the optimal display position according to a positional relationship between the optimal display position and the preset display position, and display the target component in the display form at the optimal display position; The current display position includes at least one of the following: the position relationship between the display screen and the horizontal plane of the current display position of the target component; or, when the terminal is currently in an off-screen state, the display position of the target component on the display screen when the terminal last turned on the screen; or, a position determined based on data analysis of multiple sensors in the terminal; or, when the display screen of the terminal is a plane, an angle between a preset direction of the target component and the horizontal plane, the preset direction being obtained by acquisition; The available display positions include the angle positions between each area of ​​the display screen of the terminal and the horizontal plane; The optimal available display position is the available display position whose error with the preset display position is less than a preset error threshold; The preset display position includes at least one of the following: the angle between the plane where the display screen of the target component is located and the horizontal plane; or, when the display screen of the terminal is currently flat, the distance between the target component and the highest point of the display screen in one direction of the terminal; or, a fixed position set by the user; or, the preset direction of the target component and the angle between the plane where the display screen of the target component is located and the horizontal plane; The display form includes at least one of the following: a deformed form of the target component; a form of the target component after being changed in size and shape when the target component is displayed at the optimal display position and the preset display position is a position set based on the user's viewing angle.

6. The display position adjustment device according to claim 5, characterized in that: The display position adjustment device also includes: The second determining module is used for, if all the available display positions do not match the preset display position, Then, the best available display position is determined according to preset rules.

7. The display position adjustment device according to claim 6, characterized in that: Determining the best available display position according to a preset rule includes: Selecting from the available display positions the available display position whose error with the preset display position is less than a preset error threshold as the best available display position; or, Determines the best available display position based on user-defined rules.

8. The display position adjustment device according to any one of claims 5 to 7, characterized in that: The preset display position also includes: The distance between the target component and an edge of a preset display screen of the terminal.

9. A terminal, characterized in that: include: Processor, memory and communication bus; The communication bus is used to realize the connection and communication between the processor and the memory; The processor is used to execute one or more computer programs stored in the memory to implement the steps of the display position adjustment method according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the steps of the display position adjustment method according to any one of claims 1 to 4.