Embodiments of the present disclosure relates to, but is not limited to, the field of mobile communication, in particular to but not limited to a display position adjustment method and device, a terminal device and a non-transitory computer-readable storage medium.
Conceptual products with flexible displays were proposed in 2017, but they have not been applied in the market for various reasons. In February 2019, Huawei released mobile phones with foldable screens at the Mobile World Congress (MWC), and in April, Nubia released Alpha smart phones with flexible displays, so that the flexible display once again enter the public's field of vision. It is expected that a large number of smart terminal devices related to flexible displays will be available in the future, such as smart bracelets and smart watches.
At present, all flexible display products have a common shortcoming, that is, the fixation of the position of a display area or component can not adapt to the user's use, such as the position of time and notification.
Current flexible display apparatuses are bendable, which will lead to display screens of the apparatuses in a three-dimensional state. This will inevitably lead to the reduction of the user's visual range. This will hinder the popularization and application of flexible displays, such as existing bracelets with flexible displays, foldable mobile phones with flexible displays, and smart watches with flexible displays in the future.
At present, existing flexible display apparatuses all have fixed display positions, for example, main and auxiliary screens, or only a main screen or an auxiliary screen of a mobile phone with a foldable flexible display are/or used for display, and there is no scheme that the main and auxiliary screens are automatically switched for display.
For new flexible display devices such as bracelets or watches, display is performed at a fixed position relative to the terminal device.
Since automatic adaptation operations are not provided, as compared to embodiments of the present disclosure, all the current display schemes are poor in user experience, and require user intervention or experience reduction during adaption.
A display position adjustment method and device, a terminal device and a non-transitory computer-readable storage medium provided by the embodiments of the present disclosure solve at least one of the technical problems in the existing technology to a certain extent, including the problem whereby components are all displayed in relatively fixed positions relative to the terminal device and cannot be displayed according to the actual application scenarios and usage habits of users, and the user experience is low.
In view of this, an embodiment of the present disclosure provides a display position adjustment method, which is applied to a terminal device, the method may include: obtaining a current display position of a target component; determining an adjustment scheme for the target component according to a preset display position, where the preset display position includes a position of the display position of the target component relative to a horizontal plane; and adjusting the display position of the target component according to the adjustment scheme.
An embodiment of the present disclosure further provides a display position adjustment device, which is applied to a terminal device, the device may include: a first obtaining module configured to obtain a current display position of a target component; a first determination module configured to determine an adjustment scheme for the target component according to a preset display position, where the preset display position includes a position of the display position of the target component relative to a horizontal plane; and an adjustment module configured to adjust the target component according to the adjustment scheme to display the target component at the preset display position.
An embodiment of the present disclosure further provides a terminal device, which may include: a processor, a memory and a communication bus, where the communication bus is configured to implement connection and communication between the processor and the memory; and the processor is configured to execute one or more computer programs stored in the memory to implement steps of any one of the display position adjustment methods described above.
An embodiment of the present disclosure further provides a non-transitory computer-readable storage medium storing one or more computer programs, where the one or more computer programs are executable by one or more processors to implement steps of any one of the display position adjustment methods described above.
Other features and corresponding beneficial effects of the present disclosure are illustrated in later sections of the specification, and it should be understood that at least part of the beneficial effects become obvious from the specification of the present disclosure.
In order to make the objectives, technical schemes and advantages of the present disclosure clear, the embodiments of the present disclosure will be further described below in detail with reference to the accompanying drawings. It should be understood that the particular embodiments described herein are only intended to explain the present disclosure and are not intended to limit the present disclosure.
Referring to
A display position adjustment method provided in some embodiments of the present disclosure is applied to a terminal device, and the target component may be one or more windows displayed on a display screen of the terminal device, such as a web page opened by the current browser. The target component may also be the time and date, etc. currently displayed on the display screen. The target component may also be internal interfaces of some applications, such as a playing page of a music playing application and a video playing interface of a video playing application. It should be noted that the selection of the target component may be set by a user or a person skilled in the art according to requirements, and the target component may be a single component or a combination formed by combining multiple components, that is, the number of individual components included in the target component is not limited here.
In some embodiments, the user may also set the arrangement and display positions of multiple components, so as to achieve the purpose of combined display. For example, the time and notifications of a lock screen are combined, or several spaces and icons of a home screen are combined.
In some embodiments, the current display positions of the target components may be adjacent or displayed separately. It is also possible that the target components may include two components, in which at least part of one component and at least part of the other component are displayed in an overlapping manner. For example, a date component is displayed within a weather component. When two components are displayed in an overlapping manner, the display colors and transparencies of the components may be adjusted to achieve the effect that the information of both components can be read by the user.
In some embodiments, before obtaining the current display position of the target component, the current state of the terminal device may also be determined, such as whether the display screen is “ON”, whether there is a large change in device position such as shaking, picking up or putting down, whether there is external pressure such as external pressing, whether there is a specific external activation signal such as voice command, whether there is an incoming call, etc. It should be noted that the relationship between the current state of the terminal device and the target component can be set by the user according to his/her actual needs. As an example, if the display screen of the terminal device is “ON”, the current display position of a time component is obtained. As another example, if the terminal device is shaken, the current display position of a music component is obtained. As still another example, if there is an incoming call, the current display position of a telephone component is obtained.
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, as shown in
It should be noted that the horizontal plane in the embodiment of the present disclosure can be understood as a plane perpendicular to gravity, or a plane preset by the user. It is also possible to set a plane parallel to the ground as a horizontal plane according to the current geographic location of the terminal device. Further, the horizontal plane can be understood as a reference plane. Of course, the user may also set the plane parallel to gravity as a horizontal plane.
In some embodiments, if the terminal device 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 device was turned on last time. It should be noted that when the terminal device is in the screen-off state, the target component may be configured such that its relative position with respect to the display screen of the terminal device is unchanged.
It should be noted that the screen-off or screen-on of the terminal device in the embodiment of the present disclosure can be understood as whether the content displayed on the screen of the terminal device can be observed by the user.
In some embodiments, it is also possible to set whether to obtain the current display position of the target component according to whether the terminal device is subjected to a screen locking or unlocking operation.
In some embodiments, the preset display position includes a position of the display position of the target component relative to a horizontal plane.
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 in this case is the position of the display screen currently displaying the target component relative to the horizontal plane. The position may be set according to the user's usage habits.
It should be noted that the current display position of the target component may be obtained by means of data analysis of various sensors. For example, the current display position of the target component is obtained by means of a gyroscope, an attitude sensor, etc.
In some embodiments, the preset display position can be understood as the included angle between the plane where the display screen displaying the target component is located and the horizontal plane. As two included angles can be formed between two intersecting planes, it should be further noted that the included angle in the embodiment of the present disclosure is the included angle from the direction of the display screen that the user can see to the direction of the horizontal plane. For example, as shown in
It should be noted that when the display screen of the terminal device is currently flat, the preset display position may include a distance between the target component and the highest point of the display screen in a certain direction of the terminal device. Of course, the preset display position may also be a fixed position set by the user.
In some embodiments, the preset display position includes not only the included angle between the display position of the target component and the horizontal plane, but also a preset orientation of the target component.
In some embodiments, when the display screen of the terminal device is flat, the preset orientation of the target component is obtained, and the included angle between the preset orientation and the horizontal plane is taken as the current display position. Reference can be made to
In some embodiments, the terminal device includes two display screens. It should be noted that the two display screens may be two separate display screens, or two display screens with different display directions formed by folding one display screen. As shown in
In some embodiments, after obtaining a current display position of a target component and before determining an adjustment scheme for the target component according to a preset display position, the method further includes:
obtaining available display positions of the terminal device, where the available display positions include a current position of each area of a display screen of the terminal device relative to the horizontal plane.
It should be noted that the available display positions can be understood as the included angle between each area of the display screen of the terminal device and the horizontal plane. When the display screen of the terminal device has a curved surface, a number of areas are pre-allocated to the terminal device, and the included angle between the central point of each area or a tangent plane of the designated position and the horizontal plane is taken as an available display position. As shown in
In some embodiments, an optimal available display position is determined according to a preset rule if none of the available display positions matches the preset display position.
In some embodiments, assuming that G3 and G1 in
It should be noted that the preset rule may be to select the available display position with the smallest error from the preset display position as the optimal available 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 optimal available display position.
In some embodiments, adjusting the display position of the target component according to the adjustment scheme includes: determining, according to a positional relationship between the optimal available display position and the preset display position, a display form of the target component at the optimal available display position.
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 optimal available display position may be to project a target space on the optimal available display position according to the projection relationship between the optimal available display position and the preset display position. Referring to
In some embodiments, the preset display position further includes a distance between the target component and a predefined display screen edge of the terminal device.
It should be noted that the predefined display screen edge of the terminal device may be a specified edge of the display screen of the terminal device. The predefined display screen edge of the terminal device may also be a display screen edge in a certain direction after the change in attitude. For example, as shown in
The display position adjustment method provided by the embodiment of the present disclosure will be further explained below by taking a smart bracelet with a flexible display as the terminal device as an example, a display screen of the bracelet being a curved display screen. Reference is made to
The embodiment of the present disclosure provides a display position adjustment method, which includes obtaining a current display position of a target component, determining an adjustment scheme for the target component according to a preset display position, and adjusting the display position of the target component according to the adjustment scheme. It solves the problem whereby components are all displayed in relatively fixed positions relative to the terminal device and cannot be displayed according to the actual application scenarios and usage habits of the user, and the user experience is low. 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 application scenarios and usage habits of the user, it is no longer necessary for the user to manually adjust the display position of the target component, so that it is possible to automatically formulate an adjustment scheme and adjust the target component to a suitable position according to the adjustment scheme, thereby improving the user experience.
Further, by obtaining the available display positions of the terminal device, if there is no available display position matching the preset display position when none of the available display positions matches the preset display position, an optimal available display position may be determined by means of a preset rule, which can avoid that there is no area in the current display screen of the terminal device that can meet preset display area conditions due to the change in the attitude of the terminal device. In such a scene, however, it is sometimes necessary to display the target component, so the target component may be displayed by selecting the optimal available display position as an alternative.
Further, when the target component is displayed at the optimal available display position, if the preset display position is set according to the user's habitual viewing angle, at this time, due to the optimal available display position differing from the user's habitual viewing angle to a certain extent, the display form of the target component is redetermined and the size, shape, etc. of the target component are changed as required, such that the user can watch the target component better and the user experience is further improved.
Further, by specifying the distance between the target component and a predefined display screen edge of the terminal device, it can be achieved in some specific scenes that the relative display position of the target component is in the preset display position no matter how the attitude of the terminal device changes.
This embodiment further provides a display position adjustment device. As shown in
A display position adjustment method provided in some embodiments of the present disclosure is applied to a terminal device, and the target component may be one or more windows displayed on a display screen of the terminal device, such as a web page opened by the current browser. The target component may also be the time and date, etc. currently displayed on the display screen. The target component may also be internal interfaces of some applications, such as a playing page of a music playing application and a video playing interface of a video playing application. It should be noted that the selection of the target component may be set by a user or a person skilled in the art according to requirements, and the target component may be a single component or a combination formed by combining multiple components, that is, the number of individual components included in the target component is not limited here.
In some embodiments, the user may also set the arrangement and display positions of multiple components, so as to achieve the purpose of combined display. For example, the time and notifications of a lock screen are combined, or several spaces and icons on a home screen are combined.
In some embodiments, the current display positions of the target components may be adjacent or displayed separately. It is also possible that the target components may include two components, in which at least part of one component and at least part of the other component are displayed in an overlapping manner. For example, a date component is displayed within a weather component. When two components are displayed in an overlapping manner, the display colors and transparencies of the components may be adjusted to achieve the effect that the information of both components can be read by the user.
In some embodiments, before obtaining the current display position of the target component, the current state of the terminal device may also be determined, such as whether the display screen is “ON”, whether there is a large change in device position such as shaking, picking up or putting down, whether there is external pressure such as external pressing, whether there is a specific external activation signal such as voice command, whether there is an incoming call, etc. It should be noted that the relationship between the current state of the terminal device and the target component can be set by the user according to his/her actual needs. As an example, if the display screen of the terminal device is “ON”, the current display position of a time component is obtained. As another example, if the terminal device is shaken, the current display position of a music component is obtained. As still another example, if there is an incoming call, the current display position of a telephone component is obtained.
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, as shown in
It should be noted that the horizontal plane in the embodiment of the present disclosure can be understood as a plane perpendicular to gravity, or a plane preset by the user. It is also possible to set a plane parallel to the ground as a horizontal plane according to the current geographic location of the terminal device. Further, the horizontal plane can be understood as a reference plane. Of course, the user may also set the plane parallel to gravity as a horizontal plane.
In some embodiments, if the terminal device 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 device was turned on last time. It should be noted that when the terminal device is in the screen-off state, the target component may be configured such that its relative position with respect to the display screen of the terminal device is unchanged.
It should be noted that the screen-off or screen-on of the terminal device in the embodiment of the present disclosure can be understood as whether the content displayed on the screen of the terminal device can be observed by the user.
In some embodiments, it is also possible to set whether to obtain the current display position of the target component according to whether the terminal device is subjected to a screen locking or unlocking operation.
In some embodiments, the preset display position includes a position of the display position of the target component relative to a horizontal plane.
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 in this case is the position of the display screen currently displaying the target component relative to the horizontal plane. The position may be set according to the user's usage habits.
In some embodiments, the preset display position can be understood as the included angle between the plane where the display screen displaying the target component is located and the horizontal plane. As two included angles can be formed between two intersecting planes, it should be further noted that the included angle in the embodiment of the present disclosure is the included angle from the direction of the display screen that the user can see to the direction of the horizontal plane. For example, as shown in
It should be noted that the current display position of the target component may be obtained by means of data analysis of various sensors. For example, the current display position of the target component is obtained by means of a gyroscope, an attitude sensor, etc.
It should be noted that when the display screen of the terminal device is currently flat, the preset display position may include a distance between the target component and the highest point of the display screen in a certain direction of the terminal device. Of course, the preset display position may also be a fixed position set by the user.
In some embodiments, the preset display position includes not only the included angle between the display position of the target component and the horizontal plane, but also a preset orientation of the target component.
In some embodiments, when the display screen of the terminal device is flat, the preset orientation of the target component is obtained, and the included angle between the preset orientation and the horizontal plane is taken as the current display position. Reference can be made to
In some embodiments, the terminal device includes two display screens. It should be noted that the two display screens may be two separate display screens, or two display screens with different display directions formed by folding one display screen. As shown in
In some embodiments, The display position adjustment device further includes: a second obtaining module configured to obtain available display positions of the terminal device after the first obtaining module obtains the current position of the target component and before the first determination module determines the adjustment scheme for the target component according to the preset display position, where the available display positions include a current position of each area of a display screen of the terminal device relative to the horizontal plane.
It should be noted that the available display positions can be understood as the included angle between each area of the display screen of the terminal device and the horizontal plane. When the display screen of the terminal device has a curved surface, a number of areas are pre-allocated to the terminal device, and the included angle between the central point of each area or a tangent plane of the designated position and the horizontal plane is taken as an available display position. As shown in
In some embodiments, The display position adjustment device further includes: a second determination module configured to determine an optimal available display position according to a preset rule if none of the available display positions matches the preset display position.
In some embodiments, assuming that G3 and G1 in
It should be noted that the preset rule may be to select the available display position with the smallest error from the preset display position as the optimal available 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 optimal available display position.
In some embodiments, the adjustment module includes: an adjustment sub-module configured to determine, according to a positional relationship between the optimal available display position and the preset display position, a display form of the target component at the optimal available display position.
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 optimal available display position may be to project a target space on the optimal available display position according to the projection relationship between the optimal available display position and the preset display position. Referring to
In some embodiments, the preset display position further includes a distance between the target component and a predefined display screen edge of the terminal device.
It should be noted that the predefined display screen edge of the terminal device may be a specified edge of the display screen of the terminal device. The predefined display screen edge of the terminal device may also be a display screen edge in a certain direction after the change in attitude. For example, as shown in
The embodiment of the present disclosure provides a display position adjustment device, which obtains a current display position of a target component, determines an adjustment scheme for the target component according to a preset display position, and adjusts the display position of the target component according to the adjustment scheme. It solves the problem whereby components are all displayed in relatively fixed positions relative to the terminal device and cannot be displayed according to the actual application scenarios and usage habits of the user, and the user experience is low. 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 application scenarios and usage habits of the user, it is no longer necessary for the user to manually adjust the display position of the target component, so that it is possible to automatically formulate an adjustment scheme and adjust the target component to a suitable position according to the adjustment scheme, thereby improving the user experience.
This embodiment further provides a terminal device, as shown in
The communication bus 1102 is configured to implement connection and communication between the processor 1101 and the memory 1103.
The processor 1101 is configured to execute one or more computer programs stored in the memory 1103 to implement at least one step of the display position adjustment method in the embodiment one.
This embodiment further provides a computer-readable storage medium including a volatile or nonvolatile, removable or non-removable medium implemented in any method or technology for storing information such as computer-readable instructions, data structures, computer program modules or other data. The computer-readable storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory, EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, cassettes, magnetic tapes, magnetic disc storage or other magnetic storage devices, or any other media that can be configured to store desired information and can be accessed by computers.
The computer-readable storage medium in this embodiment may be configured to store one or more computer programs which are executable by a processor to implement at least one step of the display position adjustment method in the example embodiment one.
This embodiment further provides a computer program (or computer software), which may be distributed on a computer-readable medium and executed by a computable device to implement at least one step of the display position adjustment method in the example embodiment one. Moreover, in some cases, at least one step shown or described may be performed in an order different from that described in the above embodiments.
This embodiment further provides a computer program (or computer software), which may be distributed on a computer-readable medium and executed by a computable device to implement at least one step for the display position adjustment device in the example embodiment two. Moreover, in some cases, at least one step shown or described may be performed in an order different from that described in the above embodiments.
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.
This embodiment further provides a computer program product including a computer-readable device on which a computer program as described above is stored. In this embodiment, the computer-readable device may include the computer-readable storage medium as described above.
The embodiment of the present disclosure provides a display position adjustment method and device, a terminal device and a non-transitory computer-readable storage medium. The method includes obtaining a current display position of a target component, determining an adjustment scheme for the target component according to a preset display position, and adjusting the display position of the target component according to the adjustment scheme. One of the technical problems in the existing technology that has been solved at least to a certain extent includes the problem whereby components are all displayed in relatively fixed positions relative to the terminal device and cannot be displayed according to the actual application scenarios and usage habits of the user, and the user experience is low. 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 application scenarios and usage habits of the user, it is no longer necessary for the user to manually adjust the display position of the target component, so that it is possible to automatically formulate an adjustment scheme and adjust the target component to a suitable position according to the adjustment scheme, thereby improving the user experience.
An embodiment of the present disclosure provides a display position adjustment device, a terminal device and a non-transitory computer-readable storage medium. One of the technical problems in the existing technology that has been solved at least to a certain extent includes the problem whereby components are all displayed in relatively fixed positions relative to the terminal device and cannot be displayed according to the actual application scenarios and usage habits of the user, and the user experience is low. 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 application scenarios and usage habits of the user, it is no longer necessary for the user to manually adjust the display position of the target component, so that it is possible to automatically formulate an adjustment scheme and adjust the target component to a suitable position, thereby improving the user experience.
Therefore, it should be understood by those having ordinary skills in the art that all or some of the steps of the methods, systems and functional modules/units in the devices disclosed above can be implemented as software (which may be implemented by computer program codes executable by a computing device), firmware, hardware and appropriate combinations thereof. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
Furthermore, it is well known to those having ordinary skills in the art that communication media typically contain computer-readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery media. Therefore, the present disclosure is not limited to any particular combination of hardware and software.
The foregoing is a detailed description of embodiments the present disclosure in conjunction with particular implementations, and implementations of the present disclosure should not be construed as being limited to the description. For those having ordinary skills in the art, several simple deductions or substitutions can be made without departing from the concept of the present disclosure, which should be regarded as falling within the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201910979884.2 | Oct 2019 | CN | national |
This application is a national stage filing under 35 U.S.C. § 371 of international application number PCT/CN2020/098633, filed on Jun. 28, 2020, which claims priority to Chinese patent application No. 201910979884.2 filed on Oct. 15, 2019. The contents of these applications are incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2020/098633 | 6/28/2020 | WO |