Wallpaper full-screen display method, folding screen equipment and storage medium
By powering on the full screen when the folding screen device is in a folded state and the lock screen is on, and displaying through wallpapers on the home screen and the back screen full screen, the problem of low utilization rate of the back screen is solved and the user experience is improved.
Patent Information
- Application Number
- CN202311214706.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2025-03-28
AI Technical Summary
How to improve the utilization rate of the back screen of the folding screen device, especially when the device is in a folded state and the lock screen is bright.
When the folding screen device is in a folded state and the lock screen is on, the full screen is powered on, and the through-wall wallpaper is displayed on the home screen and the back screen, and other layers are displayed on the home screen, such as the lock screen interface and status bar, creating a cool wallpaper mode.
It improves the utilization rate of the back screen and improves the user's experience when the screen is illuminated.
Smart Images

Figure CN119728841A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a wallpaper full-screen display method, a folding screen device and a storage medium. Background Art
[0002] At present, people's demand for foldable screen devices that combine portability and large screen sizes is becoming increasingly strong.
[0003] Take the foldable phone as an example. When the foldable phone is in the folded state, the main screen faces the user and the back screen faces away from the user. The foldable phone is similar to a straight-screen phone. In this case, the user only uses the main screen and does not pay attention to the back screen, causing the back screen to be idle. How to improve the utilization rate of the back screen has become an urgent problem to be solved. Summary of the invention
[0004] The present application provides a wallpaper full-screen display method, a folding screen device and a storage medium. When the folding screen device is in a folded state and the screen is locked, the through wallpaper is displayed in full screen on the main screen and the back screen, and other layers are displayed on the main screen, creating a cool wallpaper mode and improving the utilization rate of the back screen.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In the first aspect, the embodiment of the present application provides a wallpaper full-screen display method. The method is applied to a foldable screen device. Taking an external foldable screen device as an example, the external foldable screen device is provided with a display screen, and the display screen may include a main screen area and a back screen area. When the foldable screen device is in a folded state, the main screen area and the back screen area are in opposite directions. When the foldable screen device is in an unfolded state, the main screen area and the back screen area are in the same direction. The method may include: when the foldable screen device is in a folded state and the display screen is off, receiving a first operation of the user, such as a pressing operation on a power button; in response to the first operation, lighting up the main screen area and the back screen area of the display screen, and then displaying the first wallpaper in the main screen area and the back screen area, and displaying a non-lock screen interface in the main screen area; receiving a second operation of the user in the back screen area, keeping the first wallpaper displayed in the main screen area and the back screen area, and keeping the lock screen interface displayed in the main screen area, that is, the back screen area does not respond to the user operation; receiving a third operation of the user in the main screen area, turning off the back screen area, and displaying an unlock interface in the main screen area, that is, the main screen area can respond to the user operation.
[0007] Among them, the lock screen interface refers to the interface that has not been unlocked, including the calendar, clock, shortcut controls and lock screen prompt graphics. The non-lock screen interface refers to the interface other than the lock screen interface. For example, the third operation is the first sliding operation in the lock screen interface, and the non-lock screen interface is the desktop interface; or, the third operation is the pressing operation of the power button, and the non-lock screen interface is the shutdown interface; or, the third operation is the connection operation between the folding screen device and the power adapter, and the non-lock screen interface is the charging interface; or, the third operation is the second sliding operation in the lock screen interface, and the non-lock screen interface is the password input interface; or, the third operation is the selection operation of the first control in the lock screen interface, and the non-lock screen interface is the interface of the third-party application corresponding to the first control; or, the third operation is the selection operation of the second control in the lock screen interface, and the non-lock screen interface is the emergency call interface.
[0008] In the above scheme, when the folding screen device is in the folded state and the display screen is powered off, if the user wants to use the folding screen device, the user can press the power button to power on the full screen of the folding screen device, display a complete through wallpaper on the main screen and the back screen, and display other layers such as the lock screen interface on the main screen, thereby creating a cool wallpaper mode. In this way, not only the utilization rate of the back screen is improved, but also the user experience when the folding screen device is on is improved. In addition, when the folding screen device is in the folded state, the user's attention is mainly focused on the main screen, and the probability of operating the main screen is high, and the probability of operating the back screen is low. Therefore, setting the back screen area to not respond to user operations and setting the main screen area to respond to user operations can further enhance the user experience.
[0009] In a possible implementation, the first wallpaper may include the first content and the second content. When the first wallpaper is displayed in full screen on the display screen, the first wallpaper runs through the full screen, the first content is displayed in the main screen area, and the second content is displayed in the back screen area.
[0010] In the above scheme, the content of a wallpaper is displayed in the main screen area and the back screen area respectively, so that the wallpaper can penetrate the entire screen, and no black gap will appear between the main screen area and the back screen area, that is, the wallpaper will not be divided into two parts.
[0011] In a possible implementation, displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area may include: at a first time point, displaying the first content and the lock screen interface in the main screen area, displaying the first black mask in the back screen area, and the second content is invisible. At a second time point, the first content and the lock screen interface are kept displayed in the main screen area, and the second content covered by the second black mask is displayed in the back screen area, and the transparency of the second black mask is greater than the transparency of the first black mask. At a third time point, the first content and the lock screen interface are kept displayed in the main screen area, and the second content covered by the third black mask is displayed in the back screen area, and the transparency of the third black mask is greater than the transparency of the second black mask. At a fourth time point, the first content and the lock screen interface are kept displayed in the main screen area, the black mask is cancelled in the back screen area, and the second content is displayed in the back screen area. Among them, the second time point is later than the first time point, the third time point is later than the second time point, and the fourth time point is later than the third time point.
[0012] In the above scheme, after the full screen is turned on, the folding screen device can display a frame of wallpaper in the full screen and display other layers on the main screen, such as the unlock layer and the status bar layer, etc. However, since the wallpaper on the back screen is covered by the black mask, the user can only see the other layers and part of the wallpaper displayed on the main screen. Then, the black mask can gradually fade out of the back screen at a certain speed. For example, at time 1, the alpha value of the black mask is Alpha = 255; at time 2, the alpha value of the black mask is Alpha = 127; at time 3, the alpha value of the black mask is Alpha = 63; at time 4, the alpha value of the black mask is Alpha = 0. Among them, the Alpha value is used to indicate the transparency of the color. Generally, the Alpha value ranges from 0 to 255. If a color with an Alpha value of 0 is drawn to a Surface object, there is no effect because the color is completely transparent and invisible. If a color with an Alpha value of 255 is drawn to a Surface object, the color will cover other layers, making the other layers invisible. In this way, by reducing the Alpha value of the black mask, the user can see the black mask gradually fade out of the secondary screen.
[0013] In a possible implementation, displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area may include: at a first time point, displaying the first content and the lock screen interface in the main screen area, displaying the first black mask in the back screen area, and the second content is invisible. At a second time point, the first content and the lock screen interface are still displayed in the main screen area, the second black mask is displayed in the first area of the back screen area, the content of the second content that is not covered by the second black mask is displayed in the second area of the back screen area, the size of the second black mask is smaller than the size of the first black mask, the first area is not adjacent to the main screen area, and the second area is adjacent to the main screen area. At a third time point, the first content and the lock screen interface are still displayed in the main screen area, the third black mask is displayed in the third area of the back screen area, the content of the second content that is not covered by the third black mask is displayed in the fourth area of the back screen area, the size of the third black mask is smaller than the size of the second black mask, the third area is not adjacent to the main screen area, the fourth area is adjacent to the main screen area, the third area is smaller than the first area, and the fourth area is larger than the second area. At the fourth time point, the first content and the lock screen interface are kept displayed in the main screen area, and the second content is displayed in the back screen area. The second time point is later than the first time point, the third time point is later than the second time point, and the fourth time point is later than the third time point.
[0014] In the above scheme, after the full screen is turned on, the folding screen device can display a frame of wallpaper in full screen and display other layers on the main screen, such as the unlock layer and the status bar layer, etc. However, since the wallpaper on the back screen is covered by a black mask, the user can only see other layers and part of the wallpaper displayed on the main screen. Then, the black mask can move to the left side of the display at a certain speed. In this way, the user can see that the size of the black mask gradually becomes smaller, and the entire wallpaper gradually appears in a dynamic way similar to a sliding door until it fills the entire screen.
[0015] In one possible implementation, the first wallpaper is displayed in the main screen area and the back screen area, and before the lock screen interface is displayed in the main screen area, the method may also include: first, setting the display area and the projection area to the entire area of the display screen, the display area refers to the area supporting the display of the projected image, and the projection area refers to the actual projection range of the projected image in the display area, and the projected image is composed of multiple application layers; then, moving the multiple application layers to the right of the main screen area, and setting the logical screen as the main screen area, the logical screen refers to the area supporting the response to user operations; thereafter, moving the wallpaper layer in the multiple application layers to the left to the back screen area.
[0016] Exemplarily, the first coordinate is established with the upper left corner of the display screen as the origin, the horizontal rightward direction along the width direction of the display screen as the first coordinate axis, and the vertical downward direction along the height direction of the display screen as the second coordinate axis. The width of the display area and the projection area are both equal to the width of the display screen, and the height of the display area and the projection area are both equal to the height of the display screen. First, the upper left corner of the display area and the projection area is set at the origin, so that the display area and the projection area are set to the entire area of the display screen. Then, multiple application layers can be moved a first distance along the positive direction of the first coordinate axis. Then, the wallpaper layer is moved a first distance along the negative direction of the first coordinate axis. Among them, the first distance is equal to the width of the back screen area.
[0017] In the above scheme, when the folding screen device is in a folded state, the main screen is usually facing the user. After setting the upper left corner of the display area and the projection area to the origin, the user can only see part of the content of other layers on the main screen, which does not conform to the user's usage habits. In this case, the layers need to be moved, such as moving all layers to the right by 928 pixels (that is, the width of the back screen), and switching the logical screen to the main screen. However, the size of the wallpaper layer is larger than the size of the main screen, the left half of the wallpaper layer is located on the main screen, and the right half of the wallpaper layer is located outside the display screen, and the purpose of displaying the wallpaper layer in full screen has not yet been achieved. In this case, the wallpaper layer needs to be further offset to the left, such as offsetting the wallpaper layer to the left by 928 pixels. After these steps, if the moved wallpaper layer and other layers are synthesized and sent to the display screen, the wallpaper layer is displayed in full screen, and other layers are displayed in full on the main screen.
[0018] In a possible implementation, the multiple application layers include a wallpaper layer and other layers. The width of the wallpaper layer is greater than or equal to the width of the display screen, and the height of the wallpaper layer is greater than or equal to the height of the display screen. The width of the other layers in the multiple application layers is equal to the width of the main screen area, and the height of the other layers in the multiple application layers is equal to the height of the display screen.
[0019] It should be understood that by setting the resolution of the wallpaper layer to be greater than the resolution of the display screen, the wallpaper layer can be displayed in full screen.
[0020] In a possible implementation, the first wallpaper may include N frames of wallpaper, where N is an integer greater than or equal to 2. Displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area may include: starting from the first frame of the N frames of wallpaper, playing each frame of the N frames of wallpaper in the main screen area and the back screen area in sequence until the last frame of the N frames of wallpaper. In the process of playing each frame of the wallpaper, the lock screen interface is kept displayed in the main screen area. After the playback of the N frames of wallpaper is completed, the last frame of the wallpaper is kept displayed in the main screen area and the back screen area, and the lock screen interface is kept displayed in the main screen area.
[0021] In the above scheme, the wallpaper set by the user for the folding screen device may be a video resource. The video resource includes multiple frames. After entering the wallpaper through state in response to pressing the power button and lighting up the full screen, the folding screen device can display the first frame wallpaper of the video resource in full screen. Then, starting from the first frame wallpaper, each frame wallpaper of the video resource is played in sequence until the last frame wallpaper. In this process, other layers are displayed on the main screen. After the animation of the video resource ends, the last frame wallpaper can be displayed in full screen, and other layers can be displayed on the main screen. In this way, the cool effect of the full-screen through wallpaper is further enhanced, and the user's visual experience is improved.
[0022] In a possible implementation, in response to the first operation, lighting up the main screen area and the back screen area, displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area may include: in response to the first operation, lighting up the main screen area; if the application interface displayed in the main screen area is not detected within the first preset time, lighting up the back screen area, displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area. If the application interface displayed in the main screen area is detected within the first preset time, the back screen area remains off. For example, the first preset time is 500 milliseconds.
[0023] In the above scheme, after receiving the power-on operation from the user, the main screen state can be entered first. Then, within the preset time, it is determined whether the conditions for switching to the through state are met. For example, when the power was turned off last time, the user was watching a video, and the user triggered the power off by pressing the power button. Within 500 milliseconds of receiving this power-on operation, it can be detected whether there is an application running in the foreground. If the video application is detected as an application running in the foreground, and the main screen displays the interface of the video application, then the conditions for switching to the through state are not met, the main screen state is maintained, and the back screen continues to be off. If no application running in the foreground is detected within 500 milliseconds, then the conditions for switching to the through state are met, and the wallpaper through state is entered.
[0024] In a possible implementation, the first wallpaper is an interface corresponding to the first wallpaper; before lighting up the main screen area and the back screen area, the method may further include: obtaining the first wallpaper, the first wallpaper being the wallpaper selected by the user before receiving the first operation. Accordingly, if the resolution of the first wallpaper is greater than the resolution of the display screen, the folding screen device may light up the main screen area and the back screen area, and display the through wallpaper in full screen on the main screen and the back screen. On the contrary, if the resolution of the first wallpaper is less than the resolution of the display screen, the main screen area is lit, the back screen area remains off, and the first wallpaper and the lock screen interface are displayed in the main screen area.
[0025] In the above scheme, users can set various wallpapers for folding screen devices. Some wallpapers have a larger resolution and are suitable for full-screen display; while some wallpapers have a smaller resolution and are not suitable for full-screen display. Therefore, after the folding screen device receives a power-on operation, it can first determine whether the resolution of the current wallpaper resource is greater than or equal to the resolution of the display. If the resolution of the current wallpaper resource is greater than or equal to the resolution of the display, then the wallpaper is supported to be displayed in full screen, and the wallpaper is entered into the through-state, and the through-state wallpaper is displayed in full screen on the main screen and the back screen. If the resolution of the current wallpaper resource is smaller than the resolution of the display, then the wallpaper is not supported to be displayed in full screen, and the main screen state is entered, and the wallpaper is only displayed on the main screen.
[0026] In a possible implementation, after the first wallpaper is displayed in the main screen area and the back screen area, and the lock screen interface is displayed in the main screen area, the method may further include: if no unlocking operation by the user is received within a second preset time, turning off the main screen area and the back screen area. The second preset time is greater than the first preset time. For example, the second preset time is 10 minutes.
[0027] In the above scheme, when the folding screen device lights up the full screen in response to the user operation, and after a period of time after the main screen and the back screen display the through wallpaper in full screen, if the user does not perform any operation on the folding screen device, it means that the user may not have the need to use the folding screen device temporarily. Therefore, the folding screen device can power off the display screen, thereby reducing unnecessary power loss and improving the battery life of the folding screen device.
[0028] In a second aspect, the present application provides a device, the device comprising a unit for executing the method in the first aspect. The device may correspond to executing the wallpaper full-screen display method described in the first aspect. For the relevant description of the unit in the device, please refer to the description of the first aspect, which will not be repeated here for the sake of brevity.
[0029] In a third aspect, the present application provides a folding screen device, the folding screen device comprising a memory and one or more processors. The memory is used to store computer program code, and the computer program code comprises computer instructions. When the computer instructions are called by the processor, the folding screen device executes the wallpaper full-screen display method provided in any one of the first aspects.
[0030] In a fourth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium includes computer instructions. When the computer instructions are executed on a folding screen device, the folding screen device performs a wallpaper full-screen display method as provided in the first aspect and any possible implementation thereof.
[0031] In a fifth aspect, the present application provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the wallpaper full-screen display method provided in the first aspect and any possible implementation thereof.
[0032] In a sixth aspect, the present application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by lines. The chip system can be applied to a folding screen device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the folding screen device and send the received signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor calls the computer instruction, the folding screen device can execute the wallpaper full-screen display method provided in the first aspect and any possible implementation thereof.
[0033] It can be understood that the beneficial effects that can be achieved by the above-mentioned second aspect apparatus, third aspect folding screen device, fourth aspect computer-readable storage medium, fifth aspect computer program product and sixth aspect chip system can be referred to as the beneficial effects in the first aspect and any possible implementation method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1A-Figure 1C A schematic diagram of an outward folding screen mobile phone provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a scene in which a wallpaper is displayed on the main screen when the mobile phone is in a folded state provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of the relationship between the device status and the display status provided in the embodiment of the present application;
[0037] Figure 4A-4F A schematic diagram of a scenario of entering a through state provided in an embodiment of the present application;
[0038] Figure 5A-5D A schematic diagram of another scenario of entering a through state provided in an embodiment of the present application;
[0039] Figure 6A-6B A schematic diagram of a scene for playing a dynamic wallpaper in a through state provided in an embodiment of the present application;
[0040] Figure 7A-7D A schematic diagram of a scenario of switching from a through state to a main screen state provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of the relationship between the display screen, display area and projection area provided in an embodiment of the present application;
[0042] Fig. 9 A schematic diagram of layer changes that enter a through state when powered on provided in an embodiment of the present application;
[0043] Figures 10A-10G For Fig. 9 A corresponding schematic diagram of an example scenario;
[0044] Fig.11 Another schematic diagram of layer changes entering a through state when powered on provided in an embodiment of the present application;
[0045] Figure 12A-12G For Fig.11 A corresponding schematic diagram of an example scenario;
[0046] Fig.13 A schematic diagram of the architecture of a folding screen device provided in an embodiment of the present application;
[0047] Fig.14 A schematic diagram of a flow chart of a method for displaying a through wallpaper in full screen provided in an embodiment of the present application;
[0048] Fig.15 A schematic diagram of the hardware structure of a folding screen device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them.
[0050] For example, Figure 1A-Figure 1C A schematic diagram of an outward folding screen mobile phone is shown.
[0051] The foldable screen mobile phone is provided with a display screen, which can be bent into two display areas. Usually, the larger display area of at least two display areas is called the main screen or main screen area, and the smaller display area is called the back screen, sub-screen, back screen area or sub-screen area. Figure 1A As shown, when the back screen is folded to be flush with the surface where the rear camera is located, the folding angle between the main screen and the back screen is less than or equal to the first angle. At this moment, the external folding screen mobile phone is in a folded state, and the main screen and the back screen face different directions, the main screen faces the user, and the back screen faces away from the user. Figure 1B As shown, when the external folding screen mobile phone is in the stand state, the folding angle between the main screen and the back screen is greater than or equal to the first angle and less than the second angle. Figure 1CAs shown, when the external folding screen mobile phone is in the unfolded state, the main screen and the back screen are oriented in the same direction, and the folding angle between the two display areas is greater than or equal to the second angle. The second angle is greater than the first angle. For example, the first angle can be 30° or 45°, and the second angle can be 90° or 120°.
[0052] based on Figure 1A-Figure 1C The external folding screen mobile phone provided, Figure 2 FIG. 1 shows a schematic diagram of a scene in which a wallpaper is displayed on the main screen when the external folding screen mobile phone is in a folded state. Figure 2 As shown in the figure, when the phone is in a folded state, the main screen and the back screen face different directions, the main screen faces the user, and the back screen faces away from the user. At this moment, if the user powers on, the main screen lights up and the back screen turns off. Then, the phone displays wallpaper, status bar, unlock interface, etc. on the main screen. Then, the user can trigger the unlocking of the phone by swiping up on the main screen, thereby switching to a non-lock screen interface such as the desktop interface. In this process, the back screen is always idle, resulting in a low utilization rate of the back screen.
[0053] In view of the above problems, the present application provides a wallpaper full-screen display method. The method can be applied to folding screen devices, such as external folding screen mobile phones. When the folding screen device is in the folded state and the lock screen is on, the full screen is powered on, and a complete through wallpaper is displayed on the main screen and the back screen, and other layers are displayed on the main screen, thereby creating a cool wallpaper mode. In this way, not only the utilization rate of the back screen is improved, but also the user experience when the mobile phone is on is improved.
[0054] For example, Figure 3 A schematic diagram showing the relationship between the device status and display status of a foldable screen device.
[0055] This application provides four device states: unfolded state, folded state, stand state and tent state.
[0056] After the folding screen device is powered on, if it is detected that the folding angle is greater than or equal to 90°, the folding screen device enters the unfolded state. After the folding screen device is powered on, if it is detected that the folding angle is less than or equal to 30°, the folding screen device enters the folded state. After the folding screen device is powered on, if it is detected that the folding angle is greater than 30° and less than 90°, the folding screen device enters the bracket state. In addition to these three states, the present application also provides a special state: tent state. After the folding screen device is powered on, if it is detected that the tent state conditions are met, the tent state is entered. Among them, the tent state conditions include: 1. The folding angle is within the preset angle range, for example, the preset angle range is 45° to 105°; 2. The folding screen device is placed in a tent shape, that is, the two sides of the folding screen device are placed on the desktop; 3. The static time of the folding screen device in the tent shape is greater than or equal to the preset duration, for example, the preset duration is 300 milliseconds.
[0057] During the screen lighting process, if the user changes the folding angle of the folding screen device, the folding screen device can switch between these device states. For example, at the initial moment, the folding screen device is in the folded state, and the user can increase the folding angle of the folding screen device. When it is detected that the folding angle is greater than 30°, the folding screen device switches from the folded state to the stand state. Then, the user can continue to increase the folding angle of the folding screen device. When it is detected that the folding angle is greater than 90°, the folding screen device switches from the stand state to the unfolded state.
[0058] This application also provides the following five display states:
[0059] Full screen mode (DISPLAY_MODE_FULL) means that the display area and the logical screen are in the entire display screen. At this moment, the full screen display interface is displayed and the user can operate the full screen. When the foldable screen device is in the unfolded state, the stand state or the tent state, the corresponding display state is the full screen state.
[0060] The main screen state (DISPLAY_MODE_MAIN) means that when the foldable screen device is in the folded state or tent state, the display area and the logical screen are in the main screen, the back screen is frozen, and the main screen displays the interface, and the user can operate the main screen. For example, when the foldable screen device switches from the stand state to the folded state, the corresponding display state is the main screen state. For another example, when the foldable screen device is in the folded state, the screen is on and not locked, and the corresponding display state is the main screen state.
[0061] Sub-screen state (DISPLAY_MODE_SUB) means that when the foldable screen device is in the folded state, the display area and the logical screen are on the sub-screen, the main screen is frozen, and the back screen displays the interface. The user can operate the back screen. For example, when the user starts the rear selfie, the display state is the sub-screen state.
[0062] The collaborative state (DISPLAY_MODE_COORDINATON) means that when the foldable screen device is in the folded state, both the display area and the logical screen are set. For example, when the user starts the front camera and the rear camera to take a collaborative selfie, the display state is the collaborative state.
[0063] Wallpaper through state (DISPLAY_MODE_FULL_WALLPAPER) means that when the foldable screen device is in the folded state, the display area is on the entire display screen, and the logical screen is on the main screen. In this case, a through wallpaper is displayed in full screen on the main screen and the back screen, and other layers except the wallpaper layer are displayed on the main screen.
[0064] Below, taking a foldable screen mobile phone as an example, the wallpaper penetration state provided by this application is illustrated in combination with several scenario examples.
[0065] Scenario Example 1
[0066] like Figure 4A As shown in the figure, at the initial moment, the phone is in a folded state and the entire display screen is powered off. If the main screen faces the user, the user can see that the main screen is off. If the user flips the phone with the back screen facing him / herself, the user can see that the back screen is off. When the user wants to use the phone, Figure 4B As shown, the user can press the power button set on the side frame of the main screen. In response to the user's pressing operation, the wallpaper is turned on, the full screen is powered on, and the backlight module is lit. Among them, the backlight module is used to supply sufficient brightness and uniformly distributed light source so that the display screen can display normally. Figure 4C As shown in the figure, the phone displays a frame of wallpaper in full screen, and displays other layers on the main screen, such as the unlock layer and the status bar layer, but because the wallpaper on the back screen is covered by a black mask, the user can only see the other layers and part of the wallpaper displayed on the main screen. Then, the black mask can move to the left side of the display at a certain speed, for example, first displaying Figure 4D The interface shown in the figure is displayed. Figure 4E The interface shown in the figure is then displayed as follows Figure 4F In this way, users can see that the size of the black mask gradually decreases, and the entire wallpaper gradually appears in a dynamic way similar to a sliding door until it fills the entire screen.
[0067] Scenario Example 2
[0068] This application also provides another solution for displaying wallpaper effects. Figure 4B As shown, the power button is pressed to enter the wallpaper through state, and the full screen is lit. Figure 5A As shown in the figure, the phone can display a frame of wallpaper in full screen and display other layers on the main screen, such as the unlock layer and the status bar layer, but because the wallpaper on the back screen is covered by a black mask, the user can only see the other layers and part of the wallpaper displayed on the main screen. Then, the black mask can gradually fade out of the back screen at a certain speed. For example, at time 1, Figure 5A The alpha value of the black mask shown is Alpha=255; at time 2, Figure 5B The alpha value of the black mask shown is Alpha=127; at time 3, Figure 5C The alpha value of the black mask shown is Alpha=63; at time 4, Figure 5DThe alpha value of the black mask shown is Alpha=0. Among them, time 2 is later than time 1, time 3 is later than time 2, and time 4 is later than time 3. Alpha value is used to indicate the transparency of color. Usually, the value range of Alpha value is 0-255. If a color with an Alpha value of 0 is drawn to a Surface object, there will be no effect because this color is completely transparent and invisible. If a color with an Alpha value of 255 is drawn to a Surface object, this color will cover other layers, making other layers invisible. In this way, by gradually reducing the Alpha value of the black mask, the user can see the black mask gradually fade out of the secondary screen.
[0069] The above scenario examples 1 and 2 provide two animation effects based on the black mask set on the back screen. As another example, the mobile phone may not set a black mask on the back screen. Figure 4B After pressing the power button to light up the full screen, the phone may not display the following Figure 4C-4F The sliding door animation shown does not display the Figure 5A-5D The black mask shown gradually fades out, but directly displays the full-screen through wallpaper interface, for example, directly from Figure 4B Switch to Figure 4F , or from Figure 4B Switch to Figure 5D .
[0070] Scenario Example 3
[0071] The above-mentioned scenario examples 1 and 2 are illustrated by taking a frame of wallpaper as an example. The present application also provides another solution for displaying wallpaper effects. The wallpaper resource in scenario example 3 is a video resource, and the video resource includes multiple frames. Figure 4B As shown, the power button is pressed to enter the wallpaper through state, and the full screen is lit. Fig. 6A As shown in the figure, the mobile phone can display the first frame wallpaper of the video resource in full screen, and display other layers on the main screen, such as the unlock layer and the status bar layer. Then, the mobile phone can start from the first frame wallpaper and play each frame wallpaper of the video resource in sequence until the Figure 6B The last frame of wallpaper shown. During this process, other layers are displayed on the main screen. After the animation of the video resource ends, the mobile phone can continue to display the last frame of wallpaper in full screen and continue to display other layers on the main screen. Among them, other layers are located above the wallpaper layer.
[0072] As another example, when the wallpaper resource is a video resource, the mobile phone can simultaneously display the video resource playback dynamic effect and the black mask playback dynamic effect. Figure 4BAs shown in the figure, by pressing the power button to enter the wallpaper through state and lighting up the full screen, the mobile phone can display the first frame wallpaper of the video resource in full screen, and cover the upper layer of the wallpaper on the back screen with a black mask. Then, the mobile phone can play each frame wallpaper of the video resource in turn, and in the process of playing the dynamic wallpaper, it will display the following Figure 4C-4F The sliding door effect shown, or Figure 5A-5D The black mask shown gradually fades out. This application does not specifically limit the playback speed of the two effects. For example, the two effects can start and end at the same time; or, the two effects can start at the same time, and the black mask effect ends before the wallpaper resource effect; or, the two effects can start at the same time, and the wallpaper resource effect ends before the black mask effect.
[0073] Scenario Example 4
[0074] In response to the user's Figure 4B After the pressing operation of the power button shown enters the wallpaper through state, the mobile phone displays a frame of wallpaper in full screen through. After that, the user may operate the mobile phone, or the user may not operate the mobile phone. Exemplarily, after a frame of wallpaper is displayed in full screen through, the mobile phone can start timing. If the user's operation of increasing the folding angle is received within the preset time, the mobile phone can switch to other device states and change the display state; or, if the user's unlocking operation is received within the preset time, the mobile phone can remain in the folded state and switch from the wallpaper through state to the main screen state; or, if the user presses the power button again within the preset time, the full screen can be powered off. If the mobile phone still does not receive any operation from the user when the timing time is greater than or equal to the preset time, the full screen can be powered off and the display screen is turned off, thereby reducing the power consumption of the entire mobile phone. Among them, the preset time can be customized by the system or set by the user, such as the preset time can be 1 minute, 5 minutes or 10 minutes.
[0075] Take the example of receiving the user's unlock operation within the preset time and the display state of the mobile phone switching from the wallpaper through state to the main screen state. Fig. 7A As shown in the figure, when the phone displays a frame of wallpaper in full screen, the main screen faces the user and the back screen faces away from the user, and the user slides a finger upward from the bottom of the main screen for a distance. In response to the user's sliding operation, the phone switches from the wallpaper through state to the main screen state, and gradually covers the back screen with a black mask. Figure 4C-4F The black mask moves from right to left, gradually reducing the size of the black mask. Figure 7A-7D The black mask moves from left to right, gradually increasing in size. After the black mask covers the entire back screen, the back screen is powered off, and the main screen displays the unlocked desktop layer and the cropped new wallpaper layer.
[0076] It should be noted that Figure 7A-7D The black mask is used as an example for the sliding door dynamic effect, which does not limit the present application. In actual implementation, the black mask can also adopt a gradually appearing dynamic effect. For example, the mobile phone can cover a completely transparent black mask on the back screen, and then gradually reduce the transparency of the black mask at a certain speed. For example, at moment 1, the alpha value of the black mask is Alpha=0; at moment 2, the alpha value of the black mask is Alpha=63; at moment 3, the alpha value of the black mask is Alpha=127; at moment 4, the alpha value of the black mask is Alpha=255. Among them, moment 2 is later than moment 1, moment 3 is later than moment 2, and moment 4 is later than moment 3. After the alpha value of the black mask reaches Alpha=255, the mobile phone controls the back screen to power off, and the main screen displays the desktop layer after unlocking, as well as the new wallpaper layer after cropping.
[0077] The above embodiments illustrate the wallpaper through-state through several scenario examples, which do not limit the present application. It should be understood that in actual implementation, the wallpaper through-state can also be applied to other possible scenarios. In addition, the solution of full-screen through-display of layers when the mobile phone is in the folded state can also be applied to other applications. For example, when running a game application, a map application, or a video application, the layers of these applications are displayed in full screen through-display, while the layers of other applications are only displayed on the main screen.
[0078] Before formally introducing the specific implementation principle of the wallpaper through state, we first introduce several important concepts involved in the wallpaper through state: display screen, display area and projection area. Among them, the display screen refers to the physical display screen of the folding screen, the display area refers to the area that supports the display of the projected image, and the projection area refers to the actual projection range of the projected image in the display area. The projected image is composed of multiple application layers.
[0079] Figure 8 A schematic diagram showing the relationship between a display screen, a display area, and a projection area based on an external folding screen mobile phone is shown.
[0080] like Figure 8 As shown in the figure, the frame of the external folding screen mobile phone is equipped with a display screen, which can be bent into two display areas: the main screen and the back screen. The width of the display screen is 2016 pixels, and the height of the display screen is 2348 pixels. The width of the main screen is 1088 pixels, and the height of the main screen is 2348 pixels. The width of the back screen is 928 pixels, and the height of the back screen is 2348 pixels.
[0081] When the device state and / or display state of the mobile phone is changed, the relative position relationship between the display screen and the display area may change. For ease of description, a first coordinate system is established with the pixel point in the upper left corner of the display screen as the origin (0, 0), the horizontal rightward along the width direction as the x-axis, and the vertical downward along the height direction as the y-axis. With the first coordinate system as a reference, the pixel point coordinates in the upper left corner of the display area are (x1, y1), the width of the display area is m, and the height is n.
[0082] As an example, if x1=0, y1=0, m=2016, and n=2348, the display area covers the entire display screen, that is, the entire display screen can be used to display interface content.
[0083] As another example, if x1=928, y1=0, m=1088, n=2348, the display area covers the main screen, that is, the main screen can be used to display interface content, and the back screen cannot be used to display interface content.
[0084] As another example, if x1=0, y1=0, m=928, n=2348, the display area covers the back screen, that is, the back screen can be used to display interface content, and the main screen cannot be used to display interface content.
[0085] In addition, the relative position relationship between the display area and the projection area may change. A second coordinate system is established with the pixel point in the upper left corner of the display area as the origin (0, 0), the horizontal rightward direction along the width direction as the X axis, and the vertical downward direction along the height direction as the Y axis. With the second coordinate system as a reference, when the pixel point coordinates (x2, y2) of the upper left corner of the projection area are (0, 0), the pixel point in the upper left corner of the projection area is in the same position as the pixel point in the upper left corner of the display area.
[0086] It should be understood that Figure 8 The relationship diagram of the display screen, display area and projection area shown is only an example. When the position of the display area in the display screen is changed, the position actually used for imaging in the display screen can be changed, such as imaging in the full screen, imaging only on the main screen, and imaging only on the back screen. When the relative position relationship between the display screen and the display area is fixed, the position of the projection area in the display area can be changed. Figure 8 As shown, when the trapezoidal projection area is located within the display area, the display screen can display the projection content in the projection area, but when the projection area is completely moved outside the display area, the display screen will not be able to display the projection content in the projection area.
[0087] The following will be combined Fig. 9 , Figures 10A-10G , when the wallpaper is in the through state, use Figure 4C-4F The specific implementation principle of the sliding door dynamic effect with the black mask shown is illustrated as an example.
[0088] For example, Fig. 9 A schematic diagram of layer changes when entering a through state at power-on is shown.
[0089] At the initial moment, the phone is in a folded state and the entire display screen is powered off. When the user wants to use the phone, the user can press the power button set on the side frame of the main screen. In response to the user's pressing operation, the phone enters the wallpaper through state and the full screen is powered on. Then, the phone can perform the following layer change process:
[0090] like Fig. 9 As shown in (1), the display area is set to full screen display, that is, the display area covers the entire display screen.
[0091] The size of the wallpaper layer is greater than or equal to the size of the display screen, and the sizes of other layers except the wallpaper layer are equal to the size of the main screen. In order to display other layers on the main screen, such as Fig. 9 As shown in (2) in , all layers are moved to the right. Then, Fig. 9 As shown in (3), all layers are moved to the main screen so that the upper left corners of all layers coincide with the upper left corner of the main screen, other layers cover the entire main screen, and the right half of the wallpaper layer is outside the display screen.
[0092] like Fig. 9 As shown in (3) in , the wallpaper layer is moved to the left while keeping the positions of other layers unchanged. Then, Fig. 9 As shown in (4), the upper left corner of the wallpaper layer coincides with the upper left corner of the display screen, so that the wallpaper layer covers the entire screen and other layers cover the main screen.
[0093] like Fig. 9 As shown in (5), a black mask is covered on the wallpaper layer of the back screen, so that the wallpaper layer on the back screen is invisible to the user.
[0094] like Fig. 9 As shown in (6), while keeping the positions of the wallpaper layer and other layers unchanged, the black mask layer is moved to the left by reducing the x-axis coordinate, thereby revealing a portion of the wallpaper layer covered by the black mask layer.
[0095] like Fig. 9 As shown in (7), while keeping the positions of the wallpaper layer and other layers unchanged, the x-axis coordinate is further reduced so that the black mask continues to move left, thereby revealing more wallpaper layers covered by the black mask.
[0096] like Fig. 9 As shown in (8), after the black mask is completely removed from the display screen, the black mask is deleted, thereby displaying a frame of wallpaper in full screen and displaying other layers on the main screen.
[0097] For example, Figures 10A-10G Shown with Fig. 9 A schematic diagram of a corresponding scenario example.
[0098] exist Figures 10A-10G In the embodiment, the width of the display screen is 2016 pixels, and the height of the display screen is 2348 pixels. The display screen includes two display areas: a main screen and a back screen. Among them, the width of the main screen is 1088 pixels, and the height of the main screen is 2348 pixels. The width of the back screen is 928 pixels, and the height of the back screen is 2348 pixels. In actual implementation, the width and height of the display screen can be adjusted according to the use requirements, and this application does not make specific restrictions.
[0099] The first step is to power on the phone, enter the wallpaper through state, and set the display area to full screen display.
[0100] The first coordinate system is established with the pixel point in the upper left corner of the display screen as the origin (0, 0), the horizontal rightward along the width direction as the x-axis, and the vertical downward along the height direction as the y-axis. With the first coordinate system as a reference, if the pixel point coordinates in the upper left corner of the display area are (0, 0), the width of the display area is 2016 pixels, and the height is 2348 pixels, then the entire display screen will be used as the display area, and the entire display screen supports displaying interface content.
[0101] The second coordinate system is established with the pixel point in the upper left corner of the display area as the origin (0, 0), the horizontal rightward along the width direction as the X axis, and the vertical downward along the height direction as the Y axis. With the second coordinate system as a reference, the pixel point coordinates in the upper left corner of the projection area are (0, 0), the width of the projection area is 2016 pixels, and the height is 2348 pixels. Since the upper left corner of the display area is located at the same position as the upper left corner of the display screen, the first coordinate system and the second coordinate system are the same coordinate system. With the first coordinate system as a reference, the pixel point coordinates in the upper left corner of the projection area are still (0, 0).
[0102] like Fig. 10AAs shown, at the initial moment of entering the wallpaper through state, with the first coordinate system as a reference, the pixel coordinates of the upper left corner of the wallpaper layer are (0, 0), the width of the wallpaper layer is 2016 pixels, and the height of the wallpaper layer is 2348 pixels. The pixel coordinates of the upper left corners of other layers are (0, 0), the width of other layers is 1088 pixels, and the height of other layers is 2348 pixels. That is, the size of the wallpaper layer is equal to the size of the display screen, and the size of other layers except the wallpaper layer is equal to the size of the main screen. If the wallpaper layer and other layers are synthesized and sent to the display screen, part of the content of other layers is displayed on the back screen, and the other part of the content of other layers is displayed on the main screen. When the mobile phone is in a folded state, the main screen is usually facing the user, so the user can only see part of the content of other layers on the main screen, which is obviously not in line with the user's usage habits. In this case, the layer needs to be moved.
[0103] The second step is to move all layers to the right by 928 pixels (the width of the back screen) and switch the logical screen to the main screen.
[0104] The phone can use the setPosition(displayContent,getSurfaceControl(),928,0) function to move all layers 928 pixels in the positive direction of the x-axis, so that the pixel coordinates of the upper left corner of the wallpaper layer are updated to (928, 0), and the pixel coordinates of the upper left corners of other layers are also updated to (928, 0). Fig. 10B As shown in the figure, if the moved wallpaper layer and other layers are synthesized and sent to the display screen, the other layers can be fully displayed on the main screen. However, the size of the wallpaper layer is larger than the size of the main screen, the left half of the wallpaper layer is located on the main screen, and the right half of the wallpaper layer is located outside the display screen, which has not yet achieved the purpose of displaying the wallpaper layer in the full screen. In this case, the wallpaper layer needs to be offset to the left.
[0105] Step 3: Offset the wallpaper layer 928 pixels to the left.
[0106] The phone can use the setPosition(getTopVisibleWallpaper(),-928,0) function to move the wallpaper layer 928 pixels in the negative direction of the x-axis, so that the pixel coordinates of the upper left corner of the wallpaper layer are updated to (0, 0), while the pixel coordinates of the upper left corners of other layers remain (928, 0). Fig. 10C As shown, if the moved wallpaper layer and other layers are synthesized and sent to the display screen, the wallpaper layer is displayed through the full screen and the other layers are all displayed on the main screen.
[0107] It should be noted that the above Fig. 10A , Fig. 10B and Fig. 10C It is only used to explain the setting principle of the display area. In actual implementation, the mobile phone may not need to display these interfaces, but directly complete the parameter settings of the display area and layer.
[0108] Step 4: Add a black mask to the back screen.
[0109] The phone can create a black mask and set the display position for the black mask through the setPosition(mBlackLayer,0,0) function. The width of the black mask is 928 pixels, the height of the black mask is 2348 pixels, and the initial position of the upper left corner pixel coordinates of the black mask is (0, 0), so the black mask can cover the back screen without moving left or right or up and down. Fig. 10D As shown, the phone can overlay other layers and a black mask on the wallpaper layer and send them to the display. At this moment, the user can only see the other layers and part of the wallpaper layer displayed on the main screen.
[0110] Step 5. Offset the black mask to the left by x pixels.
[0111] The phone can use the interpolator to calculate the moving speed and use the setPosition(mBlackLayer,-x,0) function to move the image to the left. Here, x represents the offset each time, and x is an integer greater than or equal to 1 pixel and less than 928 pixels. Fig.10E As shown in the figure, the coordinates of the upper left corner pixel of the black mask are updated to (-x, 0). The black mask with other layers offset to the left by x pixels is superimposed on the wallpaper layer and sent to the display screen. At this moment, the user can see that the black mask displayed on the back screen is moving to the left at a speed of x pixels per frame, and the size of the black mask is gradually decreasing.
[0112] Step 6. Continue to offset the black mask to the left by x pixels.
[0113] The phone can continue to move the black layer to the left through the setPosition(mBlackLayer,-x,0) function. Fig.10F As shown in the figure, the coordinates of the upper left corner pixel of the black mask are updated to (-2x, 0). The black mask with other layers offset to the left by x pixels is superimposed on the wallpaper layer and sent to the display screen. The user can see that the black mask displayed on the back screen continues to move to the left, and the size of the black mask is further reduced.
[0114] Step 7. Delete the black mask after it is removed from the back screen.
[0115] like Figure 10GAs shown in the figure, after the black mask is shifted to the left several times, if the coordinates of the upper left corner pixel of the black mask are updated to (-928, 0), it means that the black mask has been completely moved out of the back screen and the wallpaper has been displayed in the full screen. In this case, the black mask is no longer needed and can be deleted.
[0116] The following will be combined Fig.11 , Figure 12A-12G , when the wallpaper is in the through state, use Figure 5A-5D The specific implementation principle of the gradual fading out effect of the black mask shown is illustrated by way of example.
[0117] For example, Fig.11 Another schematic diagram of layer changes when entering the through state at power-on is shown.
[0118] At the initial moment, the phone is in a folded state and the entire display screen is powered off. When the user wants to use the phone, the user can press the power button set on the side frame of the main screen. In response to the user's pressing operation, the phone enters the wallpaper through state and the full screen is powered on. Then, the phone can perform the following layer change process:
[0119] like Fig.11 As shown in (1), the display area is set to full screen display, that is, the display area covers the entire display screen.
[0120] The size of the wallpaper layer is greater than or equal to the size of the display screen, and the sizes of other layers except the wallpaper layer are equal to the size of the main screen. In order to display other layers on the main screen, such as Fig.11 As shown in (2) in , all layers are moved to the right. Then, Fig.11 As shown in (3), all layers are moved to the main screen so that the upper left corners of all layers coincide with the upper left corner of the main screen, other layers cover the entire main screen, and the right half of the wallpaper layer is outside the display screen.
[0121] like Fig.11 As shown in (3) in , the wallpaper layer is moved to the left while keeping the positions of other layers unchanged. Then, Fig.11 As shown in (4), the upper left corner of the wallpaper layer coincides with the upper left corner of the display screen, so that the wallpaper layer covers the entire screen and other layers cover the main screen.
[0122] like Fig.11 As shown in (5), a black mask is covered on the wallpaper layer of the back screen, so that the wallpaper layer on the back screen is invisible to the user.
[0123] like Fig.11As shown in (6), while keeping the positions of the various layers unchanged, the Alpha value of the black mask is reduced to increase the transparency of the black mask, so that the wallpaper layer covered by the black mask begins to appear on the back screen.
[0124] like Fig.11 As shown in (7), while continuing to keep the positions of the various layers unchanged, the Alpha value of the black mask layer is further reduced to further increase the transparency of the black mask layer, thereby further revealing the wallpaper layer covered by the black mask layer on the back screen.
[0125] like Fig.11 As shown in (8), after the black mask layer's Alpha value is set to 0, the black mask layer becomes completely transparent. Delete the black mask layer. Display a frame of wallpaper in full screen, and display other layers in the main screen.
[0126] For example, Figure 12A-12G Shown with Fig.11 A schematic diagram of a corresponding scenario example.
[0127] exist Figure 12A-12G In the embodiment, the width of the display screen is 2016 pixels, and the height of the display screen is 2348 pixels. The display screen includes two display areas: a main screen and a back screen. Among them, the width of the main screen is 1088 pixels, and the height of the main screen is 2348 pixels. The width of the back screen is 928 pixels, and the height of the back screen is 2348 pixels. In actual implementation, the width and height of the display screen can be adjusted according to the use requirements, and this application does not make specific restrictions.
[0128] The first step is to power on the phone, enter the wallpaper through state, and set the display area to full screen display.
[0129] The second step is to move all layers to the right by 928 pixels (the width of the back screen) and switch the logical screen to the main screen.
[0130] Step 3: Offset the wallpaper layer 928 pixels to the left.
[0131] For the specific implementation of the first to third steps, reference may be made to the description of the above embodiment and will not be repeated here.
[0132] Step 4: Add a black mask to the back screen.
[0133] The phone can create a black mask and set the display position for the black mask through the setPosition(mBlackLayer,0,0) function. The width of the black mask is 928 pixels, the height of the black mask is 2348 pixels, and the initial position of the upper left corner pixel coordinates of the black mask is (0, 0), so the black mask can cover the back screen without moving left or right or up and down. Fig.12DAs shown, the phone can overlay other layers and a black mask on the wallpaper layer and send them to the display. At this moment, the user can only see the other layers and part of the wallpaper layer displayed on the main screen.
[0134] Step 5. Reduce the Alpha value of the black mask.
[0135] The mobile phone can use the interpolator to calculate the fade-out speed of the black mask, and reduce the Alpha value of the black mask through the setAlpha(mScreenShot,0,-a) function. Where a represents the Alpha value reduced each time, and a is a positive integer. Fig.12E As shown in the figure, after reducing the alpha value of the black mask by a, other layers and the black mask with reduced alpha value can be superimposed on the wallpaper layer and displayed to the display screen. At this moment, the user can see that the transparency of the black mask displayed on the back screen gradually increases, and the wallpaper layer covered by the black mask begins to appear on the back screen.
[0136] Step 6. Continue to reduce the Alpha value of the black mask.
[0137] The phone can use the setAlpha(mScreenShot,0,-a) function to further reduce the alpha value of the black mask. Fig.12F As shown in the figure, after the alpha value of the black mask is further reduced by a, other layers and the black mask with reduced alpha value can be superimposed on the wallpaper layer and displayed to the display screen. At this moment, the user can see that the transparency of the black mask displayed on the back screen continues to increase, and the wallpaper layer covered by the black mask is further displayed on the back screen.
[0138] Step 7. Delete the black mask after it is removed from the back screen.
[0139] like Figure 12G As shown in the figure, after the alpha value of the black mask is reduced to 0, it means that the black mask is completely transparent and the wallpaper has been displayed through the full screen. In this case, the black mask is no longer needed and can be deleted.
[0140] In order to more clearly understand the solution of displaying a through wallpaper in full screen, the following first gives an example of the system architecture of a folding screen device, and then gives an example of the solution of displaying a through wallpaper in full screen in combination with the system architecture.
[0141] The software system of the folding screen device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to illustrate the system structure of the folding screen device.
[0142] Fig.13A schematic diagram of the system architecture of a folding screen device is shown.
[0143] like Fig.13 As shown, the folding screen device can adopt a layered architecture to divide the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the software layers of the software structure are divided from top to bottom into: application layer, application framework (framework, FWK) layer, native layer (native), hardware abstraction layer (HAL) layer, kernel layer. The above software architecture runs on the hardware layer, and the hardware layer may include an image processor (GPU), a display screen, a HWC hardware module, a sensor, etc. Among them, the sensor can be used to collect the angle between the two display areas of the display screen. For example, the sensor can be a gyroscope sensor, a gravity sensor and / or a magnetic sensor.
[0144] The application layer, referred to as the application layer, can include a series of applications and APKs, such as theme setting modules, wallpaper applications, camera applications, system user interfaces (system UI), codec modules (MediaCodec.java), etc. When these applications and APKs are running, they can access the various service modules provided by the application framework layer through the application programming interface (API) and perform corresponding intelligent services. Among them, the theme setting module is used to provide users with various theme wallpapers and set theme wallpapers for the display screen according to user operations. The wallpaper application sets the display state according to the power-on status and folding angle, etc. The system user interface is a native application of the Android system, which is responsible for controlling the change of rounded corners, etc. The codec module is a class in the android.media framework, which provides a Java API to the application side for developers to use, so as to load video resources, configure animation properties, and play wallpaper animations, etc. It should be noted that when the user turns on the display screen, the wallpaper application will obtain the screen-on event, which is also called the thawing event, which is used to trigger the display screen to switch from the off state to the on state.
[0145] The application framework layer, also known as the framework layer, is used to support the operation of each application in the application layer. For example, the framework layer may include device state manager service, folding screen management service, window management service (window manager service, WMS), display management service (display managerservice, DMS) wallpaper service framework, animation management service, Surface (surface) control service, video encoding and decoding service (JMediaCodec.c++), etc. Among them, the device state management service is responsible for managing the device state, such as the change of folding angle. The folding screen management service is used to set the display state, such as wallpaper through state, full screen state and main screen state. WMS is used to allocate and manage window properties (such as hierarchy, size, display order, etc.) for applications, as well as manage the display and switching of lock screen windows and wallpaper windows, and manage the display of wallpaper upper elements (such as icons). Wallpaper management service is used to manage the operation and switching of wallpapers, and provides an interface for operating wallpapers to the outside world through the WallpaperManager class. When switching wallpapers through the WallpaperManagaer interface, the wallpaper management service will determine whether it is necessary to cancel the currently bound wallpaper service and start the wallpaper service of the new wallpaper. The animation management service is responsible for the mask animation effect. The Surface control service is used to send layer rendering and synthesis tasks to SurfaceFlinger. The video codec service (JMediaCodec.C++) is a bridge for transmitting messages between the codec module (MediaCodec-java) of the application layer and the local codec module (MediaCodec.C++, ACodec.C++, OMXCllent.C++) of the local layer.
[0146] The local layer includes local codec modules (MediaCodec.C++, ACodec.C++, OMXCllent.C++), sensor services (SensorService) and SurfaceFlinger. Among them, SurfaceFlinger runs in the system process and is mainly responsible for allocating graphics buffers, synthesizing graphics buffers and managing vertical synchronization (vertical synchronization, Vsync) signals. The Vsync signal is a periodic signal used to control the drawing, rendering and synthesis of layers.
[0147] It should be noted that the combination of the codec module (MediaCodec.java) of the application layer, the video codec service (JMediaCodec.C++) of the application framework layer, and the local codec module (MediaCodec.C++, ACodec.C++, OMXCllent.C++) of the local layer is called MediaCodec. MediaCodec is an audio and video codec tool provided by the Android system. It mainly encapsulates the upper layer interface and provides it to developers. The codec function is actually completed in the local layer service.
[0148] The hardware abstraction layer (HAL) is an interface layer between the operating system kernel and the hardware circuit. Its purpose is to abstract the hardware and hide the hardware interface details of a specific platform. For example, the hardware abstraction layer can include the hardware composer (HWC) and the display HAL. Among them, the HWC is a module for window synthesis and display, providing hardware support for the system drawing core.
[0149] The kernel layer is the layer between hardware and software. The kernel layer includes display drivers, sensor drivers, and GPU drivers.
[0150] It should be noted that Fig.13 The layers in the system architecture shown and the components contained in each layer do not constitute a specific limitation on the folding screen device. In other embodiments, the folding screen device may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in this application.
[0151] It is understandable that in order to implement the solution of displaying the through wallpaper in full screen in the embodiment of the present application, the folding screen device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments.
[0152] Based on the above Fig.13 The system architecture of the folding screen device is shown below. The specific interaction process between various functional structures in the process of implementing the full-screen display of the wallpaper is explained in detail in combination with the interaction process diagram.
[0153] Fig.14 A schematic flow chart of a method for displaying a through wallpaper in full screen is shown.
[0154] This method can be applied to foldable screen devices, such as Figure 1A-Figure 1C The external folding screen device shown.
[0155] like Fig.14 As shown, the method may include the following S1 to S24.
[0156] S1, when the folding screen device is in the folded state and the display screen is powered off, the wallpaper application receives a power-on operation from the user.
[0157] At the initial moment, Figure 4A As shown in the figure, the foldable screen device is in the folded state and the display is powered off. If the user wants to use the foldable screen device, then Figure 4B As shown, the user can press the power button set on the side frame of the folding screen device, so that the wallpaper can receive the user's power-on operation through the WMS interface. In addition, the wallpaper application can also determine that the current folding screen device is in a folded state and the display screen is powered off.
[0158] As an example, the wallpaper application can obtain the currently set wallpaper resource. If the resolution of the current wallpaper resource is greater than or equal to the resolution of the display screen, then the wallpaper is supported to be displayed in full screen, and the wallpaper application notifies the folding screen management service to enter the wallpaper through state, that is, execute the following S2. If the resolution of the current wallpaper resource is less than the resolution of the display screen, then the wallpaper is not supported to be displayed in full screen, and the wallpaper application notifies the folding screen management service to enter the main screen state and display the wallpaper and other layers on the main screen, such as displaying Figure 2 The interface shown.
[0159] As an example, after receiving the user's power-on operation, the wallpaper application can first notify the folding screen management service to enter the main screen state. Then, the wallpaper application determines whether the conditions for switching to the through state are met within a preset time. For example, when the power was turned off last time, the user was watching a video, and the user triggered the power off by pressing the power button. Within 500 milliseconds of receiving this power-on operation, the wallpaper application can detect whether there is an application running in the foreground. If the video application is detected as an application running in the foreground and the interface of the video application is displayed, then the conditions for switching to the through state are not met, the main screen state is maintained, and the back screen continues to be off. If no application running in the foreground is detected within 500 milliseconds, then the conditions for switching to the through state are met, and the wallpaper application notifies the folding screen management service to enter the wallpaper through state, that is, executes the following S2.
[0160] S2, the wallpaper application notifies the folding screen management service to enter the wallpaper penetration state.
[0161] As an example, the wallpaper application can call the setFullWallPaperMode FULL_WALLPAPER interface to notify the folding screen management service to enter the wallpaper through state.
[0162] S3, the rounded corners of the folding screen management service notification system UI are removed.
[0163] Assume that after powering on, you first enter the home screen state and then switch to the wallpaper through state. When entering the home screen state, you can cut the rounded corners of the interface to make the interface more beautiful. When switching from the home screen state to the wallpaper through state, because the through wallpaper is to be displayed in full screen, the rounded corners must be removed first.
[0164] S4: The folding screen management service notifies the WMS to power on the full screen.
[0165] The above-mentioned "full screen power-on" means that the backlight module of the display screen is powered on to light up the entire display screen. It should be understood that when the wallpaper is in the through state, the through wallpaper is displayed on the entire display screen, and before that, the entire display screen needs to be lit up.
[0166] S5: The folding screen management service sets the display mode of the display screen to the through wallpaper mode, that is, the display screen enters the wallpaper through state.
[0167] S6, after the WMS is powered on in full screen, the WMS notifies the screen rotation animation module in the animation management service to create a new animation for the wallpaper through state.
[0168] The screen rotation animation module determines whether a new animation can be created. If the screen rotation animation module determines that a new animation cannot be created, the following S7 is executed. If the screen rotation animation module determines that a new animation can be created, the following S8 is executed.
[0169] S7: The screen rotation animation module returns a response message to the folding screen management service indicating that a new animation cannot be created.
[0170] S8, the screen rotation animation module notifies the outer folding screen animation module to create a new animation.
[0171] It should be noted that the screen rotation animation module is a native animation module of the Android system and does not have the ability to play black mask animation effects. Therefore, the screen rotation animation module can call the outer folding screen animation module to create a new animation. Among them, the outer folding screen animation module is a subclass of the screen rotation animation module.
[0172] S9, WMS notifies the screen rotation animation module to dismiss the original animation.
[0173] S10, the outer folding screen animation module creates a black mask.
[0174] Among them, the above-mentioned black mask is also called a black mask, which is essentially a black layer covering the wallpaper layer.
[0175] The resolution of the black mask is equal to the resolution of the back screen area. Fig. 10D or Fig.12D As shown, the width of the black mask layer and the back screen area are both 928 pixels, and the height of the black mask layer and the back screen area are both 2348 pixels.
[0176] S11, the outer folding screen animation module notifies the Surface control service to set the display area to full screen.
[0177] Exemplarily, take the case where the width of the display screen is 2016 pixels and the height of the display screen is 2348 pixels. The external folding screen animation module can notify the Surface control service to set the display area to full screen through the setDisPlayPorjection(0,(0,0,2016,2348),(0,0,2016,2348)) function. The first parameter "0" in the function indicates that the rotation angle of the display screen is 0°, that is, the display screen is in a vertical display state and no rotation occurs. The second parameter (0,0,2016,2348) in the function indicates that in the second coordinate system, the pixel coordinates of the upper left corner of the projection area are (0,0), the width of the projection area is 2016 pixels, and the height is 2348 pixels. The third parameter (0,0,2016,2348) in the function indicates that in the first coordinate system, the pixel coordinates of the upper left corner of the display area are (0,0), the width of the display area is 2016 pixels, and the height is 2348 pixels. The first coordinate system is a coordinate system established with the pixel point at the upper left corner of the display screen as the origin (0, 0), the horizontal rightward along the width direction as the x-axis, and the vertical downward along the height direction as the y-axis; the second coordinate system is a coordinate system established with the pixel point at the upper left corner of the display area as the origin (0, 0), the horizontal rightward along the width direction as the x-axis, and the vertical downward along the height direction as the y-axis. Since the upper left corner of the display area is located at the same position as the upper left corner of the display screen, the first coordinate system and the second coordinate system are the same coordinate system. Through this function, it can be determined that the display screen, display area, and projection area are exactly the same.
[0178] S12, the outer folding screen animation module notifies the Surface control service to move all layers to the main screen area and sets the logical screen as the main screen area.
[0179] The logical screen refers to the area that supports / allows responses to user operations. When the logical screen is set as the main screen area, if the user performs a touch operation on the main screen area, the phone will respond to the user operation and switch interfaces, such as switching to the unlock interface, an interface containing shortcut controls, a desktop interface, or a camera interface. However, if the user performs a touch operation on the back screen area, the phone will not respond to the user operation and will keep displaying the current interface.
[0180] All the above layers include: wallpaper layer, and other layers except wallpaper layer. The resolution of other layers is equal to the resolution of main screen area. For example, the width of other layers and main screen area is 1088 pixels, and the height of other layers and main screen area is 2348 pixels.
[0181] Exemplarily, after the display area is set to full screen, as Fig. 10B or Fig. 12B As shown, the outer folding screen animation module can move all layers to the main screen area through the setPosition(displayContent,getSurfaceControl(),928,0) function. Among them, displayContent in this function is used to obtain all layers, getSurfaceControl() in this function is used to control the movement of all layers, the parameter "928" in this function is used to indicate moving 928 pixels along the positive direction of the x-axis, and the parameter "0" in this function is used to indicate remaining unchanged in the y-axis direction. In this way, all layers are moved 928 pixels in the positive direction of the x-axis, so that the pixel coordinates of the upper left corner of each layer are updated to (928, 0).
[0182] S13, the outer folding screen animation module notifies the Surface control service to shift the wallpaper layer to the left to the back screen area.
[0183] The resolution of the wallpaper layer is greater than or equal to the resolution of the display. For example, the width of the wallpaper layer and the display is 2016 pixels, and the height of the black mask and the back screen area is 2348 pixels.
[0184] For example, after all layers are moved to the main screen area, Fig. 10C or Fig. 12CAs shown, the external folding screen animation module can offset the wallpaper layer to the left to the back screen area through the setPosition(getTopVisibleWallpaper(),-928,0) function. The getTopVisibleWallpaper() in the function is used to obtain the wallpaper layer. The parameter "-928" in the function is used to indicate that it moves 928 pixels in the negative direction of the x-axis, and the parameter "0" in the function is used to indicate that it remains unchanged in the y-axis direction. In this way, the wallpaper layer is moved 928 pixels in the negative direction of the x-axis, and the pixel coordinates of the upper left corner of the wallpaper layer are updated to (0, 0), while the pixel coordinates of the upper left corners of other layers remain (928, 0).
[0185] S14, the outer folding screen animation module notifies the Surface control service to set a black mask to the back screen area.
[0186] For example, the outer folding screen animation module can set the display position for the black mask through the setPosition(mBlackLayer,0,0) function. The width of the black mask is 928 pixels, the height of the black mask is 2348 pixels, and the initial position of the coordinates of the upper left corner pixel of the black mask is (0, 0), so the black mask can cover the back screen without moving left or right or up and down. Fig. 10D and Fig.12D As shown, the phone can overlay other layers and a black mask on the wallpaper layer and send them to the display. At this moment, the user can only see the other layers and part of the wallpaper layer displayed on the main screen.
[0187] S15, the outer folding screen animation module notifies the animation implementation module in the animation management service to create a new animation.
[0188] S16, the screen rotation animation module notifies the outer folding screen animation module to start playing the animation.
[0189] S17, the outer folding screen animation module notifies the animation implementation module to start playing the animation.
[0190] S18, the animation implementation module uses an interpolator to calculate the moving speed of the black mask, and moves the black mask to the left according to the moving speed; or, the animation implementation module uses an interpolator to calculate the fade-out speed of the black mask, and gradually reduces the Alpha value of the black mask according to the fade-out speed.
[0191] S19, when the black mask moves out of the back screen, or the Alpha value of the black mask is equal to 0, the outer folding screen animation module determines that the animation ends.
[0192] S20, the outer folding screen animation module notifies the folding screen management service that the animation ends (OnAnimationEnd).
[0193] S21, the outer folding screen animation module deletes the black mask and clears the animation.
[0194] S22, the outer folding screen animation module notifies the Surface control service to set the display area to full screen.
[0195] S23, the folding screen management service notifies the surface control service to move all layers to the main screen area.
[0196] S24, the folding screen management service notifies the surface control service to shift the wallpaper layer to the left to the back screen area.
[0197] After the dynamic effect of the through wallpaper ends, the folding screen management service can reset the display area through S22-S24. For the specific implementation of S22-S24, refer to S11-S13, which will not be repeated here.
[0198] It should be noted that the above embodiment is illustrated by creating a black mask and playing a dynamic effect that penetrates the wallpaper based on the black mask, and it does not limit the present application. In actual implementation, it is not necessary to execute the above S10, S14-S21. That is to say, after the folding screen management service enters the wallpaper penetration state, it can directly notify the Surface control service to set the display area to full screen, move all layers to the main screen area, offset the wallpaper layer to the left to the back screen area, and display the composite picture of each layer, that is, the mobile phone can not display the following. Figure 4C-4F The sliding door animation shown does not display the Figure 5A-5D The black mask shown gradually fades out, but directly displays the wallpaper interface in full screen, and displays other layers on the main screen.
[0199] In the method for displaying a through wallpaper on the full screen provided by the present application, when the folding screen device is in the folded state and the display screen is powered off, if the user wants to use the folding screen device, the user can press the power button set on the side frame of the folding screen device, so that the folding screen device is powered on in full screen, and a complete through wallpaper is displayed on the main screen and the back screen, and other layers are displayed on the main screen, thereby creating a cool wallpaper mode. In this way, not only the utilization rate of the back screen is improved, but also the user experience when the mobile phone screen is on is improved.
[0200] For example, Fig.15 A schematic diagram of the hardware structure of a folding screen device is shown.
[0201] like Fig.15As shown, the folding screen device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.
[0202] The processor 110 may include one or more processing units. For example, the processor 110 may include a central processing unit (CPU), a graphics processing unit (GPU), an application processor (AP), an image signal processor (ISP), etc.
[0203] GPU, also known as display core, visual processor or display chip, is a microprocessor for graphics and image processing. GPU connects display screen 194, AP and CPU. GPU can be used to perform complex mathematical and geometric calculations, floating-point operations, parallel calculations, and can also be used for graphics rendering. GPU reduces the graphics card's dependence on the CPU, especially when processing 3D graphics. GPU uses core technologies such as cubic environment material mapping and vertex blending, so GPU performs some of the work originally done by the CPU.
[0204] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the folding screen device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application (application, APP) required for at least one function, such as an album application, etc. The data storage area can store configuration files of each APP, as well as data created during the use of the folding screen device 100.
[0205] The display screen 194 may include a display panel for displaying images and videos, etc. For example, wallpaper, desktop, etc. In the present application, the display screen 194 may include at least two display areas, such as a main screen area and a back screen area.
[0206] The sensor module 180 can be used to collect the folding angle between the two display areas and report it to the processor 110. The processor 110 can determine that the device state has changed and switch to the display state corresponding to the device state. For example, when the sensor module 180 collects that the folding angle switches from 0° to 180° and reports it to the processor 110, the processor 110 can determine that the device state switches from the folded state to the unfolded state according to the change in the folding angle, and switches the display state from the wallpaper through state to the full screen state.
[0207] In the embodiment of the present application, the display screen 194 may include a main screen area and a back screen area. When the folding screen device is in the folded state, if the user's screen light operation is received, the processor 110 controls the display screen 194 to power on the full screen, and controls the display of a complete through wallpaper in the main screen area and the back screen area, and controls the superposition of other layers such as the status bar and the unlock interface on the wallpaper in the main screen area, thereby creating a cool wallpaper mode. The specific description of the above embodiment can be referred to, which will not be repeated here.
[0208] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer-readable storage medium is run on a folding screen device, the folding screen device executes the method shown in the above embodiment. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that contains one or more servers that can be integrated with the medium. The available medium can be a magnetic medium, an optical medium, a semiconductor medium, etc.
[0209] An embodiment of the present application also provides a computer program product, which includes a computer program code. When the computer program code runs on a folding screen device, the folding screen device executes the methods in the above embodiments.
[0210] The embodiment of the present application further provides a chip, which is coupled to a memory and is used to read and execute computer programs or instructions stored in the memory to execute the methods in the above embodiments. The chip can be a general-purpose processor or a dedicated processor.
[0211] The folding screen device, computer-readable storage medium, computer program product and chip provided in the embodiments of the present application are all used to execute the methods provided in the above embodiments. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects corresponding to the methods provided above, and will not be repeated here.
[0212] In the description of this application, " / " means or, for example, A / B can mean A or B. In the description of this application, "and / or" is just a way to describe the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0213] The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects. For example, a first operation and a second operation are used to distinguish different operations, rather than to describe a specific order of operations. In the embodiments of this application, "plurality" refers to two or more.
[0214] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0215] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A wallpaper full-screen display method, characterized in that: The method is applied to a folding screen device, wherein the folding screen device is provided with a display screen, and the display screen includes a main screen area and a back screen area; When the folding screen device is in a folded state, the main screen area and the back screen area are oriented in opposite directions; the method comprises: When the folding screen device is in the folded state and the display screen is off, receiving a first operation from a user; In response to the first operation, lighting up the main screen area and the back screen area, displaying a first wallpaper in the main screen area and the back screen area, and displaying a lock screen interface in the main screen area; receiving a second operation of the user in the back screen area, keeping displaying the first wallpaper in the main screen area and the back screen area, and keeping displaying the lock screen interface in the main screen area; A third operation of the user in the main screen area is received, the back screen area is turned off, and a non-lock screen interface is displayed in the main screen area.
2. The method according to claim 1, characterized in that The first wallpaper includes first content and second content; The displaying of the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area, includes: At a first time point, the first content and the lock screen interface are displayed in the main screen area, a first black mask is displayed in the back screen area, and the second content is invisible; At a second time point, the first content and the lock screen interface are kept displayed in the main screen area, and the second content covered by a second black mask is displayed in the back screen area, wherein the transparency of the second black mask is greater than the transparency of the first black mask; At a third time point, the first content and the lock screen interface are kept displayed in the main screen area, and the second content covered by a third black mask is displayed in the back screen area, and the transparency of the third black mask is greater than the transparency of the second black mask; At a fourth time point, the first content and the lock screen interface continue to be displayed in the main screen area, the black mask is removed from the back screen area, and the second content is displayed in the back screen area.
3. The method according to claim 1, characterized in that The first wallpaper includes first content and second content; The displaying of the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area, includes: At a first time point, the first content and the lock screen interface are displayed in the main screen area, a first black mask is displayed in the back screen area, and the second content is invisible; At a second time point, the first content and the lock screen interface are kept displayed in the main screen area, a second black mask is displayed in the first area of the back screen area, and content of the second content that is not covered by the second black mask is displayed in the second area of the back screen area, the size of the second black mask is smaller than the size of the first black mask, the first area is not adjacent to the main screen area, and the second area is adjacent to the main screen area; At a third time point, the first content and the lock screen interface are kept displayed in the main screen area, a third black mask is displayed in the third area of the back screen area, and content of the second content that is not covered by the third black mask is displayed in the fourth area of the back screen area, the size of the third black mask is smaller than the size of the second black mask, the third area is not adjacent to the main screen area, the fourth area is adjacent to the main screen area, the third area is smaller than the first area, and the fourth area is larger than the second area; At a fourth time point, the first content and the lock screen interface continue to be displayed in the main screen area, and the second content is displayed in the back screen area.
4. The method according to claim 2 or 3, characterized in that: The second time point is later than the first time point, the third time point is later than the second time point, and the fourth time point is later than the third time point.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: displaying the first wallpaper in the main screen area and the back screen area, and before displaying the lock screen interface in the main screen area: The display area and the projection area are set to be the entire area of the display screen, wherein the display area refers to the area supporting the display of the projection image, and the projection area refers to the actual projection range of the projection image in the display area, and the projection image is composed of multiple application layers; Moving the multiple application layers to the right of the main screen area, and setting a logical screen as the main screen area, the logical screen being an area supporting response to user operations; The wallpaper layer among the multiple application layers is moved leftward to the back screen area.
6. The method according to claim 5, characterized in that Before setting the display area and the projection area to the entire area of the display screen, the method further includes: establishing a coordinate system with the upper left corner of the display screen as the origin, with the horizontal rightward direction along the width direction of the display screen as the first coordinate axis, and with the vertical downward direction along the height direction of the display screen as the second coordinate axis; The moving the multiple application layers to the right to the main screen area comprises: moving the multiple application layers along the positive direction of the first coordinate axis by a first distance; The moving the wallpaper layer among the multiple application layers to the left to the back screen area comprises: moving the wallpaper layer by the first distance along the negative direction of the first coordinate axis; The first distance is equal to the width of the back screen area.
7. The method according to claim 5, characterized in that The width of the wallpaper layer is greater than or equal to the width of the display screen, and the height of the wallpaper layer is greater than or equal to the height of the display screen; The width of other layers in the multiple application layers is equal to the width of the main screen area, and the height of other layers in the multiple application layers is equal to the height of the display screen.
8. The method according to any one of claims 1 to 7, characterized in that The first wallpaper includes N frames of wallpaper, where N is an integer greater than or equal to 2; The displaying of the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area, includes: Starting from the first frame of the N frames of wallpaper, each frame of the N frames of wallpaper is played in sequence in the main screen area and the back screen area until the last frame of the N frames of wallpaper; During the process of playing each frame of the wallpaper, the lock screen interface is kept displayed in the main screen area; After the playing of the N frames of wallpaper is finished, the last frame of wallpaper is kept displayed in the main screen area and the back screen area, and the lock screen interface is kept displayed in the main screen area.
9. The method according to any one of claims 1 to 8, characterized in that In response to the first operation, lighting up the main screen area and the back screen area, displaying a first wallpaper in the main screen area and the back screen area, and displaying a lock screen interface in the main screen area, comprises: In response to the first operation, lighting up the main screen area; If no application interface displayed in the main screen area is detected within a first preset time period, lighting up the back screen area, displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area; Among them, if the application interface displayed in the main screen area is detected within the first preset time period, the back screen area remains off.
10. The method according to any one of claims 1 to 9, characterized in that The first wallpaper is an interface corresponding to the first wallpaper; before lighting up the main screen area and the back screen area, the method further includes: Acquire a first wallpaper, where the first wallpaper is a wallpaper selected by a user before receiving the first operation; If the resolution of the first wallpaper is greater than the resolution of the display screen, the main screen area and the back screen area are lit up.
11. The method according to claim 10, characterized in that After obtaining the first wallpaper, the method further includes: If the resolution of the first wallpaper is smaller than the resolution of the display screen, the main screen area is lit, and the first wallpaper and the lock screen interface are displayed in the main screen area, and the back screen area remains off.
12. The method according to any one of claims 1 to 11, characterized in that The third operation is a first sliding operation in the lock screen interface, and the non-lock screen interface is a desktop interface; Alternatively, the third operation is a pressing operation on a power button, and the non-lock screen interface is a shutdown interface; Alternatively, the third operation is an operation of connecting the folding screen device to a power adapter, and the non-lock screen interface is a charging interface; Alternatively, the third operation is a second sliding operation in the lock screen interface, and the non-lock screen interface is a password input interface; Alternatively, the third operation is a selection operation on the first control in the lock screen interface, and the non-lock screen interface is an interface of a third-party application corresponding to the first control; Alternatively, the third operation is a selection operation on the second control in the lock screen interface, and the non-lock screen interface is an emergency call interface.
13. The method according to any one of claims 1 to 11, characterized in that After displaying the first wallpaper in the main screen area and the back screen area, and displaying the lock screen interface in the main screen area, the method further includes: If no unlocking operation from the user is received within a second preset time period, the main screen area and the back screen area are turned off.
14. A folding screen device, characterized in that: comprising a processor, and a memory coupled to the processor; Among them, instructions are stored in the memory, and the processor calls the instructions so that the folding screen device executes the wallpaper full-screen display method as described in any one of claims 1 to 13.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program runs on a folding screen device, the folding screen device executes the wallpaper full-screen display method as described in any one of claims 1 to 13.