Display control method and device, electronic device and storage medium

By detecting posture changes of electronic devices and inverting the interface, the problem of limited screen-to-body ratio improvement in the existing technology is solved, achieving a higher full-screen experience and interface switching smoothness.

CN113190313BActive Publication Date: 2024-09-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110473346.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-29
Publication Date
2024-09-03
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

It is difficult to realize a true full-screen terminal with existing technology, and the increase in screen-to-body ratio is limited by technical limitations, especially how to reduce the impact of openings on user experience in the design of electronic devices.

Method used

By detecting the posture change of the electronic device, using the angle sensor to determine the change in the direction of the opening, the center-symmetrically inverted interface of the screen content is obtained and displayed, thereby reducing the impact of the opening on the user without affecting the user's reading, and improving the overall screen experience.

Benefits of technology

It can reduce the impact of the opening on the display screen on the user without affecting the user's ability to read the interface content, improve the user's full-screen experience, and provide smoother interface switching and a higher screen-to-body ratio design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113190313B
    Figure CN113190313B
Patent Text Reader

Abstract

The present disclosure relates to a display control method and device, an electronic device and a storage medium. The display control method is applied to an electronic device including a display screen, the display screen having an opening, the method comprising: detecting a posture change of the electronic device; if the posture of the electronic device changes from a first posture to a second posture, obtaining a second interface after inverting the first interface displayed on the display screen; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen; and displaying the second interface in the second posture. Through this method, the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of display control technology, and in particular to a display control method and device, an electronic device, and a storage medium. Background Art

[0002] With the rapid development of electronic technology, terminal devices such as full-screen smartphones and tablets have become increasingly popular. Full-screen is a relatively broad definition of ultra-high screen-to-body ratio design in the industry, which can be understood as the front of the electronic device is all screen, and the four borders of the electronic device are all borderless, pursuing a screen-to-body ratio close to 100%.

[0003] Taking mobile phones as an example, full-screen mobile phones first improve the appearance of mobile phones, making them look more technological. In addition, the same area on the front of the body can accommodate a larger screen, which significantly improves the visual experience.

[0004] However, due to technical limitations, the full-screen terminals claimed by the industry are currently only terminals with ultra-high screen-to-body ratios, and have not yet achieved true full-screen. Under existing technology, how to achieve a higher screen-to-body ratio is still a difficult problem to be solved. Summary of the invention

[0005] The present disclosure provides a display control method and device, an electronic device and a storage medium.

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a display control method, which is applied to an electronic device including a display screen having an opening, and includes:

[0007] Detecting a posture change of the electronic device;

[0008] If the posture of the electronic device changes from the first posture to the second posture, obtaining a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen;

[0009] The second interface is displayed in the second posture.

[0010] In some embodiments, when the first interface is displayed on the display screen of the electronic device, a status bar including status information of the electronic device is displayed on the display screen;

[0011] The method further comprises:

[0012] When the second interface is displayed in the second posture, the status bar is hidden.

[0013] In some embodiments, a first switch for turning on or off a status bar hiding function is arranged on the first display setting interface of the electronic device; the first display setting interface is an interface included in a first system supporting the operation of the electronic device;

[0014] The step of hiding the status bar when displaying the second interface in the second posture includes:

[0015] If the first switch is in the on state, the status bar is hidden when the second interface is displayed in the second posture.

[0016] In some embodiments, a second switch for turning on or off an interface inversion function is arranged on the first display setting interface of the electronic device;

[0017] The displaying the second interface in the second posture includes:

[0018] If the second switch is in the on state, the second interface is displayed in the second posture.

[0019] In some embodiments, a third switch for turning on or off an interface inversion function is arranged on the second display setting interface of the electronic device; the second display setting interface is an interface included in a second system supporting the operation of the electronic device;

[0020] The displaying the second interface in the second posture includes:

[0021] If the second switch and the third switch are both in the on state, the second interface is displayed in the second posture.

[0022] In some embodiments, the electronic device stores a white list of applications that support the interface inversion function;

[0023] The displaying the second interface in the second posture includes:

[0024] If the application to which the first interface belongs is an application in the whitelist, the second interface is displayed in the second posture.

[0025] In some embodiments, the electronic device includes an angle sensor, and detecting a posture change of the electronic device includes:

[0026] Detecting the tilt angle of the electronic device by the angle sensor;

[0027] The method further comprises:

[0028] If the tilt angle meets the preset angle threshold, it is determined that the posture of the electronic device changes from the first posture to the second posture.

[0029] According to a second aspect of an embodiment of the present disclosure, a display control device is provided, which is applied to an electronic device including a display screen, wherein the display screen has an opening, and the device includes:

[0030] A detection module, configured to detect a change in the posture of the electronic device;

[0031] an acquisition module, configured to acquire, if the posture of the electronic device changes from a first posture to a second posture, a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen;

[0032] The display module is configured to display the second interface in the second posture.

[0033] In some embodiments, when the first interface is displayed on the display screen of the electronic device, a status bar including status information of the electronic device is displayed on the display screen;

[0034] The device also includes:

[0035] A hiding module is configured to hide the status bar when the second interface is displayed in the second posture.

[0036] In some embodiments, a first switch for turning on or off a status bar hiding function is arranged on the first display setting interface of the electronic device; the first display setting interface is an interface included in a first system supporting the operation of the electronic device;

[0037] The hiding module is specifically configured to hide the status bar when the second interface is displayed in the second posture if the first switch is in the on state.

[0038] In some embodiments, a second switch for turning on or off an interface inversion function is arranged on the first display setting interface of the electronic device;

[0039] The display module is specifically configured to display the second interface in the second posture if the second switch is in the on state.

[0040] In some embodiments, a third switch for turning on or off an interface inversion function is arranged on the second display setting interface of the electronic device; the second display setting interface is an interface included in a second system supporting the operation of the electronic device;

[0041] The display module is specifically configured to display the second interface in the second posture if the second switch and the third switch are both in the on state.

[0042] In some embodiments, the electronic device stores a white list of applications that support the interface inversion function;

[0043] The display module is specifically configured to display the second interface in the second posture if the application to which the first interface belongs is an application in the whitelist.

[0044] In some embodiments, the electronic device includes an angle sensor,

[0045] The detection module is specifically configured to detect the tilt angle of the electronic device through the angle sensor;

[0046] The device also includes:

[0047] The determination module is configured to determine that the posture of the electronic device changes from the first posture to the second posture if the tilt angle meets the preset angle threshold.

[0048] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0049] processor;

[0050] a memory for storing processor-executable instructions;

[0051] Wherein, the processor is configured to execute the display control method as described in the first aspect above.

[0052] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:

[0053] When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display control method as described in the first aspect above.

[0054] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0055] In an embodiment of the present disclosure, when it is detected that the posture of the electronic device changes from the first posture to the second posture, that is, the direction of the opening changes to meet the preset angle threshold condition, the first interface displayed on the display screen is inverted and then displayed after being symmetrically changed with respect to the center of the display screen. For example, when the opening of the electronic device is in the first posture and is located in the upper left corner of the display screen, and when the mobile phone is in the second posture and is located in the lower right corner of the display screen, the display content on the interface is also inverted and displayed with respect to the center of the display screen. It can be understood that the impact of the opening on the display screen on the user can be reduced without affecting the user's reading of the interface content, thereby improving the user's full-screen experience.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0058] Figure 1 It is a flow chart of a display control method shown in an embodiment of the present disclosure.

[0059] Figure 2a and Figure 2b This is an example diagram of display changes before and after a mobile phone is inverted in an embodiment of the present disclosure.

[0060] Figure 3 This is an example diagram of a first display setting interface in an embodiment of the present disclosure.

[0061] Figure 4 This is a diagram showing an example of a system architecture of a display control method in an embodiment of the present disclosure.

[0062] Figure 5 This is an example diagram of a display control method in an embodiment of the present disclosure.

[0063] Figure 6 The figure is a diagram of a display control device according to an exemplary embodiment.

[0064] Figure 7 It is a block diagram of an electronic device shown in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0066] Figure 1 is a flow chart of a display control method shown in an embodiment of the present disclosure, such as Figure 1 As shown, the display control method applied to the electronic device includes the following steps:

[0067] S11, detecting a posture change of the electronic device;

[0068] S12, if the posture of the electronic device changes from the first posture to the second posture, obtaining a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen;

[0069] S13. Displaying the second interface in the second posture.

[0070] In an embodiment of the present disclosure, the electronic device has a display screen that can display images, such as a mobile phone, a tablet computer, or a wearable device.

[0071] The display screen of the electronic device has an opening, and a front camera or a speaker is disposed at the opening, for example. Therefore, when the electronic device displays an image using the display screen, the opening will affect the image display.

[0072] In step S11, the electronic device detects its own posture change, and in step S12, when it is detected that the posture of the electronic device changes from the first posture to the second posture, an inverted second interface is obtained based on the first interface displayed on the display screen, and in step S13, the second interface is displayed in the second posture.

[0073] It should be noted that in the embodiments of the present disclosure, the preset angle threshold is set based on experience, and the preset angle threshold may be a possible angle range that is set based on experience to characterize the inversion of the electronic device. For example, the preset angle threshold is an angle range greater than 160 degrees and less than or equal to 180 degrees. When the angle between the direction of the opening of the electronic device in the first posture and the direction of the opening in the second posture is between 160 and 180 degrees, it is determined that the electronic device is inverted, and at this time it is necessary to obtain the second interface after the first interface is inverted. Among them, the first interface includes, for example, a page in an application or a web page, or includes a display screen of any image in a photo library, etc.

[0074] When electronic devices are designed, the user's usage habits are taken into consideration, and the openings are usually located in the upper left corner, upper right corner or in the middle of the display screen. For example, if the opening is located in the upper left corner, when the user uses the front camera of the mobile phone to take a selfie, the user can preview the face and take a photo by slightly lifting the phone; if the opening is located in the lower left corner of the display screen, the user needs to lift the phone higher to preview the face and take a photo, which makes the user experience poor.

[0075] However, when the electronic device is not in the camera state, the user usually pays attention to the content on the top of the display screen first, based on the user's reading habit from top to bottom. Therefore, when the electronic device uses the display screen to display the interface, the user will easily pay attention to the opening, resulting in a poor user experience.

[0076] In this regard, when the present disclosure detects that the posture of the electronic device changes from the first posture to the second posture, that is, the direction of the opening has changed to meet the preset angle threshold condition, the first interface displayed on the display screen is inverted and then displayed after being symmetrically changed to the center of the display screen. For example, when the opening of the electronic device is in the first posture, the opening is located in the upper left corner of the display screen, and when the mobile phone is in the second posture, the opening is located in the lower right corner of the display screen. At this time, the display content on the interface is also inverted and displayed symmetrically to the center of the display screen. It can be understood that the impact of the opening on the display screen on the user can be reduced without affecting the user's reading of the interface content, thereby improving the user's full-screen experience. When the display content is inverted and displayed symmetrically to the center of the display screen, for example, for an image, the image can be rotated 180 degrees and then displayed; for example, for a page in a web page or application, the coordinate values ​​corresponding to the content on the page can be transformed symmetrically to the center of the display screen to obtain new coordinate values, and then the corresponding content can be displayed according to the new coordinate values.

[0077] It should be noted that in the embodiments of the present disclosure, the display mode of the electronic device includes a horizontal screen display mode and a vertical screen display mode. When the electronic device displays the first interface on the display screen, it can be displayed in a horizontal screen or in a vertical screen. When the posture of the electronic device changes to meet the preset angle threshold condition, the first interface originally displayed in a horizontal screen or a vertical screen in the first posture can still maintain the original display mode to display the inverted second screen in the second posture.

[0078] Figure 2a and Figure 2b FIG. 1 is an example diagram of display changes of a mobile phone before and after being inverted in an embodiment of the present disclosure, such as Figure 2a As shown in the figure, the front camera in the mobile phone is located in the upper left corner of the display screen, and the display content on the display screen is displayed in the forward direction. Figure 2b As shown, after the phone is turned upside down, the front camera is located in the lower right corner of the display, and the display content on the display is still displayed forward, which does not affect the user's reading experience, but reduces the impact of the front camera on the display on the user.

[0079] Among the solutions to achieve full screen, one solution is to achieve full screen through ejection-type front camera instead of opening a hole in the display screen. However, this solution has gaps in the ejection area, which is easy to accumulate dust and water, has poor air tightness, has a high failure rate, and has a short service life of mechanical ejection. In addition, the ejection-type front camera also tends to make the body thicker and heavier. Another solution is to expand the screen through folding screen to improve user experience, but this solution has the problems of high cost, unstable performance of folding screen, and creases affecting visual effects and service life.

[0080] In this regard, the present disclosure achieves a better full-screen experience from a software perspective by detecting the posture change of the electronic device and synchronously changing the display direction of the content displayed on the display interface. It is not limited to the display mode of the display screen and is not limited to a specific display interface. And for a certain interface of the same application, after the interface is inverted for the first time based on the posture change of the electronic device, the subsequent interface of the application does not need to re-display the original first interface and then invert the interface, but can be directly inverted based on the inversion synchronization of the previous interface. It can be understood that the solution of the present disclosure can achieve smoother interface switching and improve user experience.

[0081] In one embodiment, a first switch for turning on or off a status bar hiding function is arranged on the first display setting interface of the electronic device; the first display setting interface is an interface included by the electronic device based on a first system supporting the operation of the electronic device;

[0082] The step of hiding the status bar when displaying the second interface in the second posture includes:

[0083] If the first switch is in the on state, the status bar is hidden when the second interface is displayed in the second posture.

[0084] The status bar may include the current time, the battery status, and the network status of the electronic device, etc. In the embodiment of the present disclosure, the status bar may be an independent page, which does not belong to the page included in the second interface, or is not a part of the picture screen stored locally in the electronic device and displayed on the second interface. Therefore, when hiding the status bar, the electronic device may set the page corresponding to the status bar to a non-display state, thereby hiding the status bar.

[0085] In an embodiment of the present disclosure, a first switch for turning on or off the status bar hiding function may be arranged on the first display setting interface of the electronic device, and the first display setting interface is an interface included in the first system supporting the operation of the electronic device. Taking the Android system as an example, the first display setting interface is an interface set by the electronic device based on the native Android system.

[0086] In an embodiment of the present disclosure, when the user sets the first switch to an on state, the status bar can be hidden when the second interface is displayed in the second posture.

[0087] It can be understood that the present invention is intelligent in that it turns on or off the status bar hiding function by setting a switch.

[0088] In one embodiment, a second switch for turning on or off an interface inversion function is arranged on the first display setting interface of the electronic device;

[0089] The displaying the second interface in the second posture includes:

[0090] If the second switch is in the on state, the second interface is displayed in the second posture.

[0091] In an embodiment of the present disclosure, a second switch for turning on or off the interface inversion function is arranged on the first display setting interface. If the second switch is in the on state, the electronic device can obtain the inverted second interface and display the second interface in the second posture.

[0092] It should be noted that in the embodiment of the present disclosure, if the second switch is in the off state, the electronic device displays the first interface in the second posture. In this case, when the electronic device detects that the second switch is in the off state, it may not obtain the inverted second interface, and directly display the first interface in the second posture; the electronic device may also obtain the inverted second interface, but display the first interface in the second posture. The embodiment of the present disclosure does not limit this.

[0093] Figure 3is an example diagram of a first display setting interface in an embodiment of the present disclosure, such as Figure 3 As shown, the display setting interface includes controls A and B, wherein control A is a first switch for turning on or off the status bar hiding function, and control A is in a state where the status bar hiding function is not turned on; control B is a second switch for turning on or off the interface inversion function, and control B is in a state where the interface inversion function is turned on.

[0094] In one embodiment, a third switch for turning on or off an interface inversion function is arranged on the second display setting interface of the electronic device; the second display setting interface is an interface included in a second system supporting the operation of the electronic device;

[0095] The displaying the second interface in the second posture includes:

[0096] If the second switch and the third switch are both in the on state, the second interface is displayed in the second posture.

[0097] In an embodiment of the present disclosure, a third switch for turning on or off the interface inversion function may be arranged on the second display setting interface of the electronic device, and the second display setting interface is an interface included in the second system that supports the operation of the electronic device, and the second system may be a system completely different from the first system, or a system optimized on the basis of the first system. For example, if the first system is an Android system, the second system may be an "MIUI" system optimized by the device manufacturer to which the electronic device belongs.

[0098] In this embodiment, when the second switch and the third switch are both in the on state, the electronic device displays the second interface in the second posture.

[0099] It should be noted that when any one of the second switch and the third switch is in the off state, the electronic device still displays the first interface in the second posture. In the embodiment of the present disclosure, when the third switch is in the off state, the electronic device may not obtain the inverted second interface, and directly display the first interface in the second posture; the electronic device may also obtain the inverted second interface, but display the first interface in the second posture.

[0100] It can be understood that the present invention turns on or off the interface inversion function by setting a switch, which is intelligent and can improve the user experience.

[0101] In one embodiment, the electronic device stores a white list of applications supporting the interface inversion function;

[0102] The displaying the second interface in the second posture includes:

[0103] If the application to which the first interface belongs is an application in the whitelist, the second interface is displayed in the second posture.

[0104] In an embodiment of the present disclosure, a whitelist is stored in the electronic device, and the whitelist records the application identifiers of applications that support the interface inversion function. When the electronic device determines that the application identifier of the application to which the first interface belongs is an application identifier in the whitelist, it determines that the application to which the first interface belongs is an application in the whitelist, and displays the second interface in the second posture.

[0105] It should be noted that, in the embodiment of the present disclosure, if the application to which the first interface belongs is not an application in the whitelist, the first interface is still displayed in the second posture.

[0106] It can be understood that the present disclosure supports inversion of the display interface for designated applications by setting a whitelist, which is intelligent.

[0107] In one embodiment, the electronic device includes an angle sensor, and the detecting a posture change of the electronic device includes:

[0108] Detecting the tilt angle of the electronic device by the angle sensor;

[0109] The method further comprises:

[0110] If the tilt angle meets the preset angle threshold, it is determined that the posture of the electronic device changes from the first posture to the second posture.

[0111] In this embodiment, the electronic device includes an angle sensor, such as a three-axis gyroscope. The electronic device can determine the tilt angle of the electronic device after obtaining angular velocity data from the three-axis gyroscope. When the tilt angle meets a preset angle threshold, it is determined that the posture of the electronic device changes from the first posture to the second posture.

[0112] Figure 4 : is a system architecture example diagram of a display control method in an embodiment of the present disclosure. The present disclosure implements the display control method based on the operation of the underlying system. Taking the Android system as an example, Figure 4As shown, the Android system architecture can be roughly divided into four layers, including: kernel layer, system runtime layer, application framework layer and application layer. The application layer is a user-oriented application. The application layer can receive user operations based on the inversion switch (second switch / third switch) and the full-screen switch (first switch). The listener of the framework layer starts working, monitors the location status of the mobile phone through various monitoring components (such as SensorManager, SensorService or SensorDevice), and reports the location status to the kernel layer. When the kernel layer determines that the location status meets the inversion condition, it reports the information that meets the inversion condition to the display driver module, and then through the processing of the display manager of the system runtime layer, the window manager of the framework layer and other modules, the screen inversion of the application layer is realized, and the user can see the inverted second interface based on the application layer.

[0113] Figure 5 FIG. 1 is an example diagram of a display control method in an embodiment of the present disclosure, such as Figure 5 As shown, the display control method includes the following steps:

[0114] S21, detecting the operation of turning on the screen inversion control switch.

[0115] In this embodiment, the screen inversion control switch is the second switch of the embodiment of the present disclosure, and the second switch is, for example, Figure 5 The control shown is B. S22, detecting the operation of closing the direction lock switch.

[0116] In this embodiment, the function of the direction lock switch is the same as the function of the third switch of the present disclosure, and the function of the direction lock switch being closed is the same as the function of the third switch being opened in the embodiment of the present disclosure.

[0117] S23, detecting whether the position change of the electronic device satisfies the inversion condition; if not, executing step S24; if so, executing step S25.

[0118] In this embodiment, it is detected whether the position change satisfies the inversion condition, that is, the present disclosure detects the posture change of the electronic device to determine whether the posture of the electronic device changes from the first posture to the second posture.

[0119] S24. Maintain the display interface on the screen unchanged.

[0120] In this embodiment, if the electronic device is not turned over, the display interface is maintained unchanged, that is, the first interface is still displayed in the second posture.

[0121] S25. Check whether the application to which the display interface belongs is an application in the application whitelist; if not, execute step S26; if so, execute step S27.

[0122] In this embodiment, whether the application is in the application whitelist is to determine whether the application to which the first interface belongs is in the whitelist.

[0123] S26. Do not turn on screen inversion.

[0124] In this embodiment, if the application to which the first interface belongs is not an application in the whitelist, the screen inversion is not enabled, that is, the first interface is still displayed in the second posture.

[0125] S27, intelligent screen inversion.

[0126] In this embodiment, if the application to which the first interface belongs is an application in the whitelist, the screen is intelligently inverted, that is, a second interface is obtained by inverting the first interface in the second posture.

[0127] S28. Check whether the true full-screen switch is turned on; if not, return to step S27; if so, execute step S29.

[0128] In this embodiment, the true full screen switch is the first switch of the embodiment of the present disclosure, and the first switch is, for example, Figure 5 Control A shown.

[0129] S29, full screen display.

[0130] In this embodiment, if the true full-screen switch is turned on, the status bar is hidden when the second interface is displayed, thereby achieving true full-screen display.

[0131] The above-mentioned solution disclosed in the present invention can reduce the impact of the opening on the display screen on the user without affecting the user's reading interface content, thereby improving the user's full-screen experience.

[0132] Figure 6 FIG. 1 is a diagram showing a display control device according to an exemplary embodiment. Figure 6 , applied to an electronic device including a display screen having an opening, the device comprising:

[0133] A detection module 101 is configured to detect a change in the posture of the electronic device;

[0134] The acquisition module 102 is configured to acquire, if the posture of the electronic device changes from the first posture to the second posture, a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen;

[0135] The display module 103 is configured to display the second interface in the second posture.

[0136] In some embodiments, when the first interface is displayed on the display screen of the electronic device, a status bar including status information of the electronic device is displayed on the display screen;

[0137] The device also includes:

[0138] The hiding module 104 is configured to hide the status bar when the second interface is displayed in the second posture.

[0139] In some embodiments, a first switch for turning on or off a status bar hiding function is arranged on the first display setting interface of the electronic device; the first display setting interface is an interface included in a first system supporting the operation of the electronic device;

[0140] The hiding module 104 is specifically configured to hide the status bar when the second interface is displayed in the second posture if the first switch is in the on state.

[0141] In some embodiments, a second switch for turning on or off an interface inversion function is arranged on the first display setting interface of the electronic device;

[0142] The display module 103 is specifically configured to display the second interface in the second posture if the second switch is in the on state.

[0143] In some embodiments, a third switch for turning on or off an interface inversion function is arranged on the second display setting interface of the electronic device; the second display setting interface is an interface included in a second system supporting the operation of the electronic device;

[0144] The display module 103 is specifically configured to display the second interface in the second posture if the second switch and the third switch are both in the on state.

[0145] In some embodiments, the electronic device stores a white list of applications that support the interface inversion function;

[0146] The display module 103 is specifically configured to display the second interface in the second posture if the application to which the first interface belongs is an application in the whitelist.

[0147] In some embodiments, the electronic device includes an angle sensor,

[0148] The detection module 101 is specifically configured to detect the tilt angle of the electronic device through the angle sensor;

[0149] The device also includes:

[0150] The determination module 105 is configured to determine that the posture of the electronic device changes from the first posture to the second posture if the tilt angle meets the preset angle threshold.

[0151] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0152] Figure 7 8 is a block diagram of an electronic device 800 shown in an embodiment of the present disclosure. For example, the electronic device 800 may be a mobile phone, a mobile computer, etc.

[0153] Reference Figure 7 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0154] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0155] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0156] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0157] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0158] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0159] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0160] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0161] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0162] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0163] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0164] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a display control method, wherein the electronic device includes a display screen having an opening, and the method includes:

[0165] Detecting a posture change of the electronic device;

[0166] If the posture of the electronic device changes from the first posture to the second posture, obtaining a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen;

[0167] The second interface is displayed in the second posture.

[0168] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0169] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A display control method, characterized in that: Applied to an electronic device including a display screen having an opening, the method comprises: Detecting a posture change of the electronic device; If the posture of the electronic device changes from the first posture to the second posture, obtaining a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen; The second interface is displayed in the second posture.

2. The method according to claim 1, characterized in that When the first interface is displayed on the display screen of the electronic device, a status bar including status information of the electronic device is displayed on the display screen; The method further comprises: When the second interface is displayed in the second posture, the status bar is hidden.

3. The method according to claim 2, characterized in that A first switch for turning on or off a status bar hiding function is arranged on the first display setting interface of the electronic device; the first display setting interface is an interface included in a first system supporting the operation of the electronic device; The step of hiding the status bar when displaying the second interface in the second posture includes: If the first switch is in the on state, the status bar is hidden when the second interface is displayed in the second posture.

4. The method according to claim 1, characterized in that: A second switch for turning on or off an interface inversion function is arranged on the first display setting interface of the electronic device; The displaying the second interface in the second posture includes: If the second switch is in the on state, the second interface is displayed in the second posture.

5. The method according to claim 4, characterized in that A third switch for turning on or off the interface inversion function is arranged on the second display setting interface of the electronic device; the second display setting interface is an interface included in the second system supporting the operation of the electronic device; The displaying the second interface in the second posture includes: If the second switch and the third switch are both in the on state, the second interface is displayed in the second posture.

6. The method according to claim 1, characterized in that The electronic device stores a white list of applications supporting the interface inversion function; The displaying the second interface in the second posture includes: If the application to which the first interface belongs is an application in the whitelist, the second interface is displayed in the second posture.

7. The method according to claim 1, characterized in that The electronic device includes an angle sensor, and the step of detecting a posture change of the electronic device includes: Detecting the tilt angle of the electronic device by the angle sensor; The method further comprises: If the tilt angle meets the preset angle threshold, it is determined that the posture of the electronic device changes from the first posture to the second posture.

8. A display control device, characterized in that: Applicable to an electronic device including a display screen having an opening, the device includes: A detection module, configured to detect a change in the posture of the electronic device; an acquisition module, configured to acquire, if the posture of the electronic device changes from a first posture to a second posture, a second interface in which the first interface displayed on the display screen is inverted; wherein the angle between the direction of the opening in the first posture and the direction of the opening in the second posture satisfies a preset angle threshold, and the contents in the first interface and the second interface are symmetrical about the center of the display screen; The display module is configured to display the second interface in the second posture.

9. The device according to claim 8, characterized in that When the first interface is displayed on the display screen of the electronic device, a status bar including status information of the electronic device is displayed on the display screen; The device also includes: A hiding module is configured to hide the status bar when the second interface is displayed in the second posture.

10. The device according to claim 9, characterized in that A first switch for turning on or off a status bar hiding function is arranged on the first display setting interface of the electronic device; the first display setting interface is an interface included in a first system supporting the operation of the electronic device; The hiding module is specifically configured to hide the status bar when the second interface is displayed in the second posture if the first switch is in the on state.

11. The device according to claim 8, characterized in that A second switch for turning on or off an interface inversion function is arranged on the first display setting interface of the electronic device; The display module is specifically configured to display the second interface in the second posture if the second switch is in the on state.

12. The device according to claim 11, characterized in that A third switch for turning on or off the interface inversion function is arranged on the second display setting interface of the electronic device; the second display setting interface is an interface included in the second system supporting the operation of the electronic device; The display module is specifically configured to display the second interface in the second posture if the second switch and the third switch are both in the on state.

13. The device according to claim 8, characterized in that The electronic device stores a white list of applications supporting the interface inversion function; The display module is specifically configured to display the second interface in the second posture if the application to which the first interface belongs is an application in the whitelist.

14. The device according to claim 8, characterized in that The electronic device comprises an angle sensor, The detection module is specifically configured to detect the tilt angle of the electronic device through the angle sensor; The device also includes: The determination module is configured to determine that the posture of the electronic device changes from the first posture to the second posture if the tilt angle meets the preset angle threshold.

15. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the display control method according to any one of claims 1 to 7. 16 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the display control method according to any one of claims 1 to 7.