Wallpaper screen switching display method and device and storage medium

By switching between the wallpaper through mode and the main screen mode in the folded state of the folding screen device, the problem of low utilization rate of the back screen is solved and the user experience is improved.

CN119718229AActive Publication Date: 2025-03-28HONOR DEVICE CO LTD

Patent Information

Application Number
CN202311216796.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-03-28
Estimated Expiration
2043-09-19

AI Technical Summary

Technical Problem

When the existing folding screen devices are in a folded state, the back screen is in an idle state, resulting in low utilization.

Method used

By switching between the wallpaper through mode and the main screen mode when the folding screen device is in a folded state, the back screen displays wallpaper with transitional animation effects.

Benefits of technology

Not only does it create a cool wallpaper mode, it also improves the utilization rate of the back screen and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718229A_ABST
    Figure CN119718229A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a wallpaper screen switching display method and device and a storage medium, and relates to the technical field of terminals. According to the scheme, in the process that the folding screen equipment is in the folding state, a user can trigger the display mode to be switched between the wallpaper through mode and the main screen mode by operating the folding screen equipment. When the wallpaper run-through mode is switched to the main screen mode, the run-through wallpaper is quitted, and the back screen is turned off; and when the main screen mode is switched to the wallpaper run-through mode, the back screen is turned on, and wallpaper run-through is entered. Therefore, not only is a cool wallpaper mode created, but also the utilization rate of the back screen is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a wallpaper screen switching 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, which causes the back screen to be idle. Therefore, 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 switching screen display method, a folding screen device and a storage medium. For a folding screen device in a folded state, when the display mode is switched between the wallpaper through mode and the main screen mode, a wallpaper with a transition effect is displayed on the back screen, which not only creates a cool wallpaper mode, but also improves 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, an embodiment of the present application provides a wallpaper screen switching display method. The method can be applied to a folding screen device. Taking an external folding screen device as an example, the external folding screen device may be provided with a display screen, and the display screen may include a main screen area and a back screen area. When the external folding screen device is in a folded state, the main screen area and the back screen area are oriented in opposite directions. The method may include: when the folding screen device is in a folded state and the display screen is turned off, receiving a first operation of the 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 first lock screen interface in the main screen area. Then, receiving a second operation of the user; in response to the second operation, turning off the back screen area, and displaying a non-lock screen interface in the main screen area. Then, receiving a third operation of the user to close the non-lock screen interface; in response to the third operation, lighting up the back screen area, displaying a second wallpaper in the main screen area and the back screen area, and displaying a second lock screen interface in the main screen area.

[0007] 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 folding screen device in full screen, 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. In addition, while the folding screen device is in the folded state, the user can trigger the display mode to switch between wallpaper through mode and main screen mode by operating the folding screen device. When switching from wallpaper through mode to main screen mode, the through wallpaper is exited and the back screen is turned off; when switching from main screen mode to wallpaper through mode, the back screen is turned on and the through wallpaper is entered. In this way, not only a cool wallpaper mode is created, but also the utilization rate of the back screen is improved.

[0008] In one possible implementation, the second operation is a first sliding operation in the first lock screen interface, and the non-lock screen interface is a desktop interface; or, the second operation is a pressing operation on the power button, and the non-lock screen interface is a shutdown interface; or, the second operation is an operation of connecting the folding screen device to the power adapter, and the non-lock screen interface is a charging interface; or, the second operation is a second sliding operation in the first lock screen interface, and the non-lock screen interface is a password input interface; or, the second operation is a selection operation of the first control in the first lock screen interface, and the non-lock screen interface is an interface of a third-party application corresponding to the first control; or, the second operation is a selection operation of the second control in the first lock screen interface, and the non-lock screen interface is an emergency call interface.

[0009] Among them, the desktop interface is the interface displayed after the display screen is unlocked; the shutdown interface, the charging interface, the password input interface, the interface of the third-party application corresponding to the first control, and the emergency call interface are the interfaces displayed when the display screen remains locked.

[0010] In the above scheme, when the display mode is the wallpaper through state, the user can trigger the folding screen device to unlock by unlocking the lock screen interface, thereby switching from the wallpaper through state to the main screen state and displaying the desktop on the main screen; the user can also trigger the folding screen device to switch from the wallpaper through state to the main screen state while keeping the screen locked through other operations, and display the shutdown interface, charging interface, password input interface, interface of the third-party application corresponding to the first control, emergency call interface, etc.

[0011] In a possible implementation, in response to the second operation, turning off the back screen area and displaying the non-lock screen interface in the main screen area may include: in response to the second operation, at a first time point, displaying a first full-screen screenshot in the main screen area and the back screen area. At a second time point, displaying a second full-screen screenshot in the main screen area and the back screen area, displaying the non-lock screen interface in the main screen area, and covering a first black mask in a first area of ​​the back screen area; wherein the transparency of the second full-screen screenshot is greater than the transparency of the first full-screen screenshot, and the first area is not adjacent to the main screen area. At a third time point, displaying a third full-screen screenshot in the main screen area and the back screen area, displaying the non-lock screen interface in the main screen area, and covering a second black mask in a second area of ​​the back screen area; wherein the transparency of the third full-screen screenshot is greater than the transparency of the second full-screen screenshot, the second area is not adjacent to the main screen area, and the second area may include the first area. At a fourth time point, displaying the non-lock screen interface in the main screen area, and covering the third black mask in the back screen area. At a fifth time point, displaying the non-lock screen interface in the main screen area, and turning off the back screen area. Among them, the first full-screen screenshot, the second full-screen screenshot and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.

[0012] In the above solution, when switching from the wallpaper through state to the main screen state, the folding screen device sets a black mask on the outside of the back screen, and then the black mask can move to the right of the back screen at a certain speed until it covers the entire back screen. In this way, the user can see that the size of the black mask gradually increases, gradually covering the back screen in a dynamic way similar to a sliding door. In addition, the folding screen device can display a full-screen screenshot before the non-lock screen interface is drawn, thereby avoiding the problem of flashing black screen.

[0013] In a possible implementation, in response to the second operation, turning off the back screen area and displaying the non-lock screen interface in the main screen area may include: in response to the second operation, at a first time point, displaying a first full-screen screenshot in the main screen area and the back screen area, and covering the first full-screen screenshot in the back screen area with a first black mask. At a second time point, displaying a second full-screen screenshot in the main screen area and the back screen area, displaying the non-lock screen interface in the main screen area, and covering the second full-screen screenshot in the back screen area with a second black mask; wherein the transparency of the second full-screen screenshot is greater than the transparency of the first full-screen screenshot, and the transparency of the second black mask is less than the transparency of the first black mask. At a third time point, displaying a third full-screen screenshot in the main screen area and the back screen area, displaying the non-lock screen interface in the main screen area, and covering the third full-screen screenshot in the back screen area with a third black mask; wherein the transparency of the third full-screen screenshot is greater than the transparency of the second full-screen screenshot, and the transparency of the third black mask is less than the transparency of the second black mask. At a fourth time point, a non-lock screen interface is displayed in the main screen area, and a fourth black mask is covered in the back screen area; wherein the transparency of the fourth black mask is less than the transparency of the third black mask. At a fifth time point, a non-lock screen interface is displayed in the main screen area, and the back screen area is turned off. The first full-screen screenshot, the second full-screen screenshot, and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.

[0014] In the above solution, when switching from the wallpaper through state to the main screen state, the folding screen device covers a transparent invisible black mask on the top of the back screen, and then the black mask can gradually reduce the transparency at a certain speed until it covers the entire back screen. In this way, the user can see that the black mask covers the back screen in a gradually clear manner. In addition, the folding screen device can display a full-screen screenshot before the non-lock screen interface is drawn, thereby avoiding the problem of flashing black screen.

[0015] In a possible implementation, in response to the third operation, lighting up the back screen area, displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area, may include: in response to the third operation, at the sixth time point, lighting up the back screen area, covering the back screen area with a first black mask, and displaying the first main screen screenshot in the main screen area. At the seventh time point, displaying the second wallpaper in the main screen area and the back screen area, displaying the second main screen screenshot and the second lock screen interface in the main screen area, and covering the second black mask over the second wallpaper in the back screen area; wherein the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot. At the eighth time point, displaying the second wallpaper in the main screen area and the back screen area, displaying the third main screen screenshot and the second lock screen interface in the main screen area, and covering the third area of ​​the back screen area with a third black mask; wherein the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the third area is not adjacent to the main screen area. At the ninth time point, the second wallpaper is displayed in the main screen area and the back screen area, the fourth main screen screenshot and the second lock screen interface are displayed in the main screen area, and the fourth area of ​​the back screen area is covered with a fourth black mask; wherein the transparency of the fourth main screen screenshot is greater than the transparency of the third main screen screenshot, the fourth area is not adjacent to the main screen area, and the fourth area belongs to the third area. At the tenth time point, the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area. wherein the first main screen screenshot, the second main screen screenshot, and the third main screen screenshot are screenshots corresponding to the non-lock screen interface.

[0016] In the above scheme, when switching from the main screen state to the wallpaper through state, the folding screen device covers a black mask on the back screen, and then the black mask can move to the left of the back screen at a certain speed until it moves out of the entire back screen. In this way, the user can see that the size of the black mask gradually decreases, and the through wallpaper gradually appears in a dynamic way similar to a sliding door. In addition, the folding screen device can display a screenshot of the main screen before the second wallpaper and the second lock screen interface are drawn, thereby avoiding the problem of flashing black screen.

[0017] In a possible implementation, in response to the third operation, lighting up the back screen area, displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area, may include: in response to the third operation, at the sixth time point, lighting up the back screen area, covering the first black mask in the back screen area, and displaying the first main screen screenshot in the main screen area. At the seventh time point, displaying the second wallpaper in the main screen area and the back screen area, displaying the second main screen screenshot and the second lock screen interface in the main screen area, and covering the second black mask over the second wallpaper in the back screen area; wherein the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot, and the transparency of the second black mask is greater than the transparency of the first black mask. At the eighth time point, displaying the second wallpaper in the main screen area and the back screen area, displaying the third main screen screenshot and the second lock screen interface in the main screen area, and covering the third black mask over the second wallpaper in the back screen area; wherein the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the transparency of the third black mask is greater than the transparency of the second black mask. At the ninth time point, the second wallpaper is displayed in the main screen area and the back screen area, and the second lock screen interface is displayed in the main screen area. Among them, the first main screen screenshot, the second main screen screenshot and the third main screen screenshot are screenshots corresponding to the non-lock screen interface.

[0018] In the above solution, when switching from the main screen state to the wallpaper through state, the folding screen device covers a black mask on the back screen, and then the black mask can gradually increase its transparency at a certain speed until it is invisible to the user. In this way, the user can see the black mask gradually disappear. In addition, the folding screen device can display a screenshot of the main screen before the second wallpaper and the second lock screen interface are drawn, thereby avoiding the problem of flashing black screen.

[0019] In one possible implementation, after displaying the first wallpaper in the main screen area and the back screen area and displaying the first lock screen interface in the main screen area, the method may further include: receiving a fourth 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 first lock screen interface in the main screen area.

[0020] In one possible implementation, after displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area, the method may further include: receiving a fifth operation of the user in the back screen area, keeping displaying the second wallpaper in the main screen area and the back screen area, and keeping displaying the second lock screen interface in the main screen area.

[0021] In the above scheme, when the folding screen device enters the wallpaper through state from power-on, or when the folding screen device enters the wallpaper through state from the full-screen state, the user's attention is mainly focused on the main screen, the probability of operating the main screen is higher, and the probability of operating the back screen is lower. 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.

[0022] In one possible implementation, after displaying the first wallpaper in the main screen area and the back screen area and displaying the first lock screen interface in the main screen area, or after displaying the second wallpaper in the main screen area and the back screen area and displaying the second lock screen interface in the main screen area, the method may further include: if no user operation is received within a preset time period, turning off the main screen area and the back screen area.

[0023] In the above scheme, after the folding screen device displays the through wallpaper in full screen on the main screen and the back screen for a period of time, 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.

[0024] In a second aspect, the present application provides a device, which includes a unit for executing the method in the first aspect. The device may correspond to executing the wallpaper switching 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.

[0025] 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 switching screen display method provided in any one of the first aspects.

[0026] 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 the wallpaper switching screen display method provided in the first aspect and any possible implementation thereof.

[0027] 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 switching screen display method provided in the first aspect and any possible implementation thereof.

[0028] 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 screen switching display method provided in the first aspect and any possible implementation thereof.

[0029] 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

[0030] Figure 1A-Figure 1C A schematic diagram of an outward folding screen mobile phone provided in an embodiment of the present application;

[0031] 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;

[0032] Figure 3 A schematic diagram of the relationship between device status and display mode provided in an embodiment of the present application;

[0033] Figure 4A-4F A schematic diagram of a scenario of entering a through state provided in an embodiment of the present application;

[0034] Figure 5A-5D A schematic diagram of another scenario of entering a through state provided in an embodiment of the present application;

[0035] 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;

[0036] Figure 7 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;

[0037] Figure 8 A schematic diagram of another scenario of switching from a through state to a main screen state provided in an embodiment of the present application;

[0038] Fig. 9 A schematic diagram of another scenario of switching from a through state to a main screen state provided in an embodiment of the present application;

[0039] Fig.10 A schematic diagram of another scenario of switching from a through state to a main screen state provided in an embodiment of the present application;

[0040] Fig.11 A schematic diagram of another scenario of switching from a through state to a main screen state provided in an embodiment of the present application;

[0041] Fig.12 A schematic diagram of another scenario of switching from a through state to a main screen state provided in an embodiment of the present application;

[0042] Fig.13 A schematic diagram of a scenario of switching from a main screen state to a through state provided in an embodiment of the present application;

[0043] Fig.14 A schematic diagram of another scenario of switching from the main screen state to the through state provided in an embodiment of the present application;

[0044] Fig.15 A schematic diagram of the relationship between the display screen, display area and projection area provided in an embodiment of the present application;

[0045] Fig.16 A schematic diagram of layer changes when switching from a through state to a main screen state provided in an embodiment of the present application;

[0046] Figures 17A-17D For Fig.16 The corresponding scene diagram;

[0047] Fig.18 Another schematic diagram of layer changes when switching from a through state to a main screen state provided in an embodiment of the present application;

[0048] Fig.19 A schematic diagram of layer changes when switching from a main screen state to a through screen state provided in an embodiment of the present application;

[0049] Figures 20A-20F For Fig.19 The corresponding scene diagram;

[0050] Fig.21 Another schematic diagram of layer changes when switching from the main screen state to the through state provided in an embodiment of the present application;

[0051] Fig. 22 A schematic diagram of the architecture of a folding screen device provided in an embodiment of the present application;

[0052] Fig.23 A flowchart of a method for switching from a through state to a main screen state provided in an embodiment of the present application;

[0053] Fig.24 A flowchart of a method for switching from a main screen state to a through state provided in an embodiment of the present application;

[0054] Fig.25 A schematic diagram of the hardware structure of the folding screen device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] 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.

[0056] For example, Figure 1A-Figure 1C A schematic diagram of an outward folding screen mobile phone is shown.

[0057] 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 1C As 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°.

[0058] 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.

[0059] 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.

[0060] For example, Figure 3 A schematic diagram showing the relationship between the device status and display mode of a foldable screen device.

[0061] This application provides four device states: unfolded state, folded state, stand state and tent state.

[0062] 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.

[0063] 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.

[0064] This application also provides the following five display modes:

[0065] 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 mode is the full screen state.

[0066] 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 mode 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 mode is the main screen state.

[0067] Sub-screen mode (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 mode is sub-screen mode.

[0068] 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 mode is the collaborative state.

[0069] 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.

[0070] 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.

[0071] Scenario Example 1

[0072] 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.

[0073] 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 can be displayed in full screen and the wallpaper through state can be entered. If the resolution of the current wallpaper resource is less than the resolution of the display screen, then the wallpaper can not be displayed in full screen and the main screen state can be entered, and the wallpaper and other layers can be displayed on the main screen.

[0074] Scenario Example 2

[0075] 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 5D The 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.

[0076] 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 .

[0077] Scenario Example 3

[0078] 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.

[0079] 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 mode; 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.

[0080] Combine the following Figure 7-Figure 12 , it is explained that upon receiving a user operation within a preset time period, the display mode of the mobile phone switches from the wallpaper through state to the main screen state.

[0081] Scenario Example 4

[0082] like Figure 7 As shown in (1) in FIG, at the initial moment, the mobile phone is in a folded state and the entire display screen is powered off. When the user wants to use the mobile phone, Figure 7 As shown in (2) in FIG. 1 , the user can press the power button set on the side frame of the main screen, and the mobile phone will be powered on in full screen, and the through wallpaper will be displayed in full screen, and the lock screen interface will be displayed on the main screen. Figure 7As shown in (3) in the figure, when the phone displays a wallpaper in full screen, if the user wants to unlock the screen, the user slides a distance upward from the bottom of the main screen with one finger. In response to the user's sliding operation, the phone successfully recognizes the user's face through the camera, unlocks the phone, switches from the wallpaper through state to the main screen state, and adds a black mask and a full screen screenshot. Figure 7 As shown in (4) in the figure, a black mask appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the desktop and new wallpaper are displayed on the main screen. Figure 7 As shown in (5) in the figure, the black mask continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the desktop and new wallpaper are displayed on the main screen. Figure 7 As shown in (6), the back screen is powered off, and the main screen displays the desktop layer and the new wallpaper layer after cropping.

[0083] Scenario Example 5

[0084] like Figure 8 As shown in (1) in FIG. 1 , at the initial moment, the mobile phone is in a folded state and the entire display screen is powered off. When the user wants to use the mobile phone, the user can press the power button set on the side frame of the main screen, such as Figure 8 As shown in (2) in FIG. 1 , the mobile phone is powered on in full screen, and the through wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen. Figure 8 As shown in (3) in the figure, when the mobile phone displays a frame of wallpaper in full screen, if the user wants to shut down the phone, the user can long press the power button. In response to the user's shutdown operation, the mobile phone switches from the wallpaper state to the main screen state, and adds a black mask and a full screen screenshot. Figure 8 As shown in (4) in the figure, a black mask appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the shutdown interface is displayed on the main screen. Figure 8 As shown in (5) in the figure, the black mask continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the shutdown interface is displayed on the main screen. Figure 8 As shown in (6), the back screen is powered off and the main screen displays the shutdown interface.

[0085] Scenario Example 6

[0086] like Fig. 9 As shown in (1) in FIG. 1 , at the initial moment, the mobile phone is in a folded state and the entire display screen is powered off. When the user wants to use the mobile phone, the user can press the power button set on the side frame of the main screen, such as Fig. 9 As shown in (2) in FIG. 1 , the mobile phone is powered on in full screen, and the through wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen. Fig. 9As shown in (3) in the figure, when the mobile phone displays a frame of wallpaper in full screen, if the user wants to turn on the mobile phone, the user can connect the power adapter to the mobile phone. In response to the user's charging operation, the mobile phone switches from the wallpaper through state to the main screen state, and adds a black mask and full screen screenshot. Fig. 9 As shown in (4) in the figure, a black mask appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the charging interface is displayed on the main screen. Fig. 9 As shown in (5) in the figure, the black mask continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the charging interface is displayed on the main screen. Fig. 9 As shown in (6), the back screen is powered off and the main screen displays the charging interface.

[0087] Scenario Example 7

[0088] like Fig.10 As shown in (1) in FIG. 1 , at the initial moment, the mobile phone is in a folded state and the entire display screen is powered off. When the user wants to use the mobile phone, the user can press the power button set on the side frame of the main screen, such as Fig.10 As shown in (2) in FIG. 1 , the mobile phone is powered on in full screen, and the through wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen. Fig.10 As shown in (3), when the phone displays a wallpaper in full screen, if the user wants to use some shortcut functions, the user slides a distance upward from the bottom of the main screen with one finger. In response to the sliding operation, the phone displays a list of shortcut controls. The list of shortcut controls includes controls such as flashlight, calculator, recorder and camera. If the application corresponding to the control can be triggered to run in the foreground by operating the control. Fig.10 As shown in (4) in the figure, the user clicks the camera control. In response to the user's click, the phone switches from the wallpaper through state to the home screen state, and adds a black mask and a full-screen screenshot. Fig.10 As shown in (5) in the figure, the transparency of the black mask gradually decreases, and the transparency of the full-screen screenshot gradually increases until it disappears completely, and the camera interface is displayed on the main screen. Fig.10 As shown in (6), the back screen is powered off and the main screen displays the camera interface.

[0089] It should be noted that if Fig.10 The sliding distance of the sliding operation shown in (3) is greater than Figure 7 The sliding distance of the sliding operation shown in (3) in the figure, that is, the user can trigger the mobile phone to perform different processing operations, such as unlocking the screen or displaying a list of shortcut controls, by changing the sliding distance of the sliding operation.

[0090] Scenario Example 8

[0091] like Fig.11 As shown in (1) in FIG. 1 , at the initial moment, the mobile phone is in a folded state and the entire display screen is powered off. When the user wants to use the mobile phone, the user can press the power button set on the side frame of the main screen, such as Fig.11 As shown in (2) in FIG. 1 , the mobile phone is powered on in full screen, and the through wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen. Fig.11 As shown in (3) in FIG. 1 , when the mobile phone displays a frame of wallpaper in full screen, if the user wants to unlock the mobile phone, the user slides a distance upward from the bottom of the main screen with one finger. In response to the user's sliding operation, as shown in FIG. Fig.11 As shown in (4) in the figure, the mobile phone display switches from the wallpaper through state to the main screen state, a black mask and a full-screen screenshot are added, and the password input interface is displayed on the main screen. Then the black mask moves to the right, and the transparency of the full-screen screenshot gradually increases. Fig.11 As shown in (5) in the figure, the black mask continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the password input interface is displayed on the main screen. Fig.11 As shown in (6), the back screen is powered off and the main screen displays the password input interface.

[0092] Scenario Example 9

[0093] like Fig.12 As shown in (1) in FIG. 1 , at the initial moment, the mobile phone is in a folded state and the entire display screen is powered off. When the user wants to use the mobile phone, the user can press the power button set on the side frame of the main screen, such as Fig.12 As shown in (2) in FIG. 1 , the mobile phone is powered on in full screen, and the through wallpaper is displayed in full screen, and the lock screen interface is displayed on the main screen. Fig.12 As shown in (3) in the figure, when the mobile phone displays a frame of wallpaper in full screen, if the user wants to turn on the mobile phone, the user clicks the emergency call control on the lock screen interface. In response to the user's click operation, the mobile phone switches from the wallpaper through state to the main screen state, and adds a black mask and a full screen screenshot. Fig.12 As shown in (4) in the figure, a black mask appears from the left side of the back screen and moves to the right. The transparency of the full-screen screenshot gradually increases, and the emergency call interface is displayed on the main screen. Fig.12 As shown in (5) in the figure, the black mask continues to move to the right until it covers the entire back screen, the full-screen screenshot disappears, and the emergency call interface is displayed on the main screen. Fig.12 As shown in (6), the back screen is powered off and the main screen displays the emergency call interface.

[0094] Combine the following Figure 13-14 , explaining how to switch the display mode of the mobile phone from the main screen state to the wallpaper through state.

[0095] Scenario Example 10

[0096] Referring to the description of scenario example 7 above, the user can trigger the display of the interface of a third-party application (such as a camera application) by operating the shortcut controls when the phone is in the locked screen state. Fig.13 As shown in (1) in the figure, the main screen displays the camera interface, and the back screen turns off. After the user finishes using the camera application, the user slides a distance upward from the bottom of the main screen with one finger. In response to the sliding operation, the mobile phone exits the camera application and switches the display mode from the main screen state to the wallpaper through state. Fig.13 As shown in (2) in the figure, the phone lights up the back screen, displays a screenshot of the camera interface on the main screen, and displays a black mask on the back screen. Fig.13 As shown in (3), the black mask moves to the left side of the display screen, the size of the black mask decreases, the transparency of the screenshot of the camera interface increases, and the through wallpaper in the full screen gradually appears. Fig.13 As shown in (4) in FIG. 1 , the black mask continues to move to the left side of the display screen, the size of the black mask is further reduced, and the transparency of the screenshot of the camera interface is further increased. Fig.13 As shown in (5) in the figure, the black mask moves out of the entire display screen, the phone deletes the black mask, and the screenshot of the camera interface disappears. Fig.13 As shown in (6), the timing starts after the black mask is removed. If the timing reaches a preset time and no unlocking operation is received from the user, such as an unlocking operation, the entire display screen is powered off.

[0097] It should be noted that scenario example 10 is an example of exiting a third-party application in the lock screen state and switching the display mode from the main screen state to the wallpaper through state, which does not limit the present application. Referring to the description of the above scenario example, exiting the shutdown interface in the lock screen state, or exiting the charging interface in the lock screen state, or exiting the password input interface in the lock screen state, or exiting the emergency call interface in the lock screen state can trigger the display mode to switch from the main screen state to the wallpaper through state, and gradually reveal the through wallpaper through the black mask of the sliding door effect.

[0098] Scenario Example 11

[0099] Referring to the description of scenario example 8 above, when the phone is in the locked screen state, the user can trigger the password input interface by sliding up on the main screen. Fig.14 As shown in (1) in FIG. 1 , the main screen displays the password input interface, the back screen is turned off, and the user slides a finger upward from the bottom of the main screen for a certain distance. Fig.14 As shown in (2) in FIG. 1 , in response to the sliding operation, the mobile phone lights up the back screen, switches the display mode from the main screen state to the wallpaper through state, displays a black mask on the back screen, and displays a screenshot of the password input interface on the main screen. Fig.14As shown in (3) in the figure, the transparency of the black mask and the screenshot of the password input interface is increased, the through wallpaper is displayed in the full screen, and the lock screen interface is displayed on the main screen. Fig.14 As shown in (4) in FIG. 1 , the transparency of the black mask and the screenshot of the password input interface are further increased. Fig.14 As shown in (5) in the figure, the black mask is completely transparent and invisible, and the screenshot of the camera interface also disappears. Fig.14 As shown in (6), the timing starts after the black mask is removed. If the timing reaches a preset time and no unlocking operation is received from the user, such as an unlocking operation, the entire display screen is powered off.

[0100] The above embodiments illustrate the wallpaper through state and full screen state through several scenario examples, which do not limit the present application. It should be understood that in actual implementation, the solution of switching from the through state to the full screen state when the mobile phone is in the folded state, and the solution of switching from the full screen state to the through state when the mobile phone is in the folded state, can also be applied to other applications, such as running game applications, map applications or video applications, etc., and the present application does not make specific limitations.

[0101] 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.

[0102] Fig.15 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.

[0103] like Fig.15 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.

[0104] When the device state and / or display mode 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.

[0105] 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.

[0106] 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.

[0107] 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.

[0108] 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.

[0109] It should be understood that Fig.15 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. Fig.15 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.

[0110] The following will be combined Fig.16 , Figures 17A-17D , Fig.18 , an example is given to illustrate the specific implementation principle of switching from the wallpaper through state to the main screen state.

[0111] For example, Fig.16 A schematic diagram showing layer changes when switching from a wallpaper through state to a main screen state is shown.

[0112] like Fig.16As shown in (1), at the initial moment, the display mode of the mobile phone is the wallpaper through state. The upper left corner of the wallpaper layer coincides with the upper left corner of the display screen, and the upper left corners of other layers except the wallpaper layer coincide with the upper left corner of the main screen. The width of the wallpaper layer is equal to the width of the display screen, and the height of the wallpaper layer is equal to the height of the display screen. The width of other layers is equal to the width of the main screen, and the height of other layers is equal to the height of the main screen. In this way, the wallpaper is displayed in full screen through, and the lock screen interface is displayed on the main screen.

[0113] like Fig.16 As shown in (2), when the user unlocks the main screen, operates the shortcut controls on the main screen, enters the launcher, makes an emergency call, or the phone enters charging mode, the phone switches the display mode from the wallpaper through state to the main screen state. The phone obtains a full-screen screenshot of the current interface displayed on the display, and sets the upper left corner of the full-screen screenshot to coincide with the upper left corner of the display. In addition, the phone sets a black mask (the width of the black mask is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the display), and offsets the black mask by 928 pixels in the negative direction of the x-axis, that is, the upper left corner coordinates of the black mask are updated to (-928,0).

[0114] like Fig.16 As shown in (3), when the mobile phone is drawing a new wallpaper layer and new other layers, a full-screen screenshot is displayed on the display screen, thereby preventing a flashing black screen.

[0115] like Fig.16 As shown in (4), the mobile phone completes the drawing of the new wallpaper layer and the new other layer. Since the full-screen screenshot covers the new wallpaper layer and the new other layer, the interface seen by the user is still a full-screen screenshot. Among them, the width of the new wallpaper layer is equal to the width of the main screen, and the height of the new wallpaper layer is equal to the height of the main screen. The width of the new other layer is equal to the width of the main screen, and the height of the new other layer is equal to the height of the main screen. The upper left corners of the new wallpaper layer and the new other layer coincide with the upper left corner of the main screen.

[0116] like Fig.16 As shown in (5), the black mask starts to enter from the left side of the display screen and gradually moves to the right side of the display screen. The user can see that the full-screen screenshot is gradually decreasing. At the same time, the position of the full-screen screenshot remains unchanged, the transparency of the full-screen screenshot increases, and the user can also see that the new wallpaper layer and the new other layers covered by the full-screen screenshot begin to appear on the main screen.

[0117] like Fig.16As shown in (6), the black mask continues to move to the right side of the display screen, and the user can see that the full-screen screenshot displayed on the back screen is further reduced. At the same time, the transparency of the full-screen screenshot continues to increase, and the user can also see that the new wallpaper layer and the new other layers covered by the full-screen screenshot are further displayed on the main screen.

[0118] like Fig.16 As shown in (7), the black mask has been completely moved to the back screen, the black mask is deleted, and the back screen is powered off. In addition, the full-screen screenshot becomes completely transparent, and the full-screen screenshot is deleted.

[0119] like Fig.16 As shown in (8), after deleting the black mask and the full-screen screenshot, the new wallpaper layer and the new other layers are displayed on the main screen, and the back screen is in the off state.

[0120] For example, Figures 17A-17D Shown with Fig.16 A schematic diagram of a corresponding scenario example.

[0121] exist Figures 17A-17D 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.

[0122] The first step is to set a black mask and full-screen screenshot after switching from the wallpaper through state to the home screen state.

[0123] 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.

[0124] 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).

[0125] First, the phone can set the display area and projection area to full screen through the setDisPlayPorjection(0,(0,0,2016,2348),(0,0,2016,2348)) function; then, the phone can move all layers to the right by 928 pixels (that is, the width of the back screen) through the setPosition(displayContent.getSurfaceControl(),928,0) function; then, the phone can offset the wallpaper layer to the left by 928 pixels through the setPosition(getTopVisibleWallpaper().getSurfaceControl(),-928,0) function. After completing these settings, if the wallpaper layer and other layers are synthesized and sent to the display, the wallpaper layer will be displayed in the full screen, and other layers will be displayed on the main screen.

[0126] Then, the phone can create a black mask and set the display position for the black mask through the setPosition(mBlackLayer,-928,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). By moving the black mask 928 pixels in the negative direction of the x-axis, the black mask can be located outside the display screen, that is, the coordinates of the upper left corner of the black mask are updated to (-928, 0).

[0127] In addition, the phone can also take a screenshot of all the contents of the current display, obtain a full-screen screenshot, and set the display position for the full-screen screenshot through the setPosition(mScreenShotLayer,-928,0) function. The width of the full-screen screenshot is 2016 pixels, the height of the full-screen screenshot is 2348 pixels, and the initial position of the upper left corner pixel coordinates of the full-screen screenshot is (928, 0). The full-screen screenshot cannot cover the back screen. The full-screen screenshot is moved 928 pixels to the left through the above function. The upper left corner pixel coordinates of the full-screen screenshot are updated to (0, 0).

[0128] After completing the above settings, Fig.17A As shown in the figure, the coordinates of the upper left corner pixel of the full-screen screenshot are at (0, 0), and the coordinates of the upper left corner pixel of the black mask are at (-928, 0). Since the new wallpaper layer and the new other layers have not been drawn yet, if the moved full-screen screenshot is sent to the display, the user can see the full-screen screenshot without flashing black screen and other problems.

[0129] In the second step, offset the black mask to the right by x pixels and increase the transparency of the full-screen screenshot.

[0130] The phone can use an interpolator to calculate how fast the black mask moves and how fast the full-screen screenshot fades out.

[0131] Then, the phone can move the black mask to the right through the setPosition(mBlackLayer,x,0) function, where x represents the offset each time and is an integer greater than or equal to 1 pixel and less than 928 pixels.

[0132] In addition, the phone can also reduce the Alpha value of the full-screen screenshot through the setAlpha(mScreenShot,0,-a) function, where a represents the Alpha value to be reduced each time, and x is a positive integer less than 255.

[0133] like Fig. 17B As shown, the coordinates of the upper left corner pixel of the black mask are updated to (-928+x, 0). The user can see that the black mask is moving to the right at a speed of x pixels per frame, and the transparency of the full-screen screenshot is gradually increasing.

[0134] In the third step, continue to offset the black mask to the right by x pixels and further increase the transparency of the full-screen screenshot.

[0135] The phone can continue to move the black mask to the right through the setPosition(mBlackLayer,x,0) function.

[0136] The phone can continue to use the setAlpha(mScreenShot,0,-a) function to further reduce the Alpha value of the full-screen screenshot.

[0137] like Fig. 17C As shown, the coordinates of the upper left corner pixel of the black mask are updated to (-928+2x, 0). The user can see that the black mask moves further to the right, and the transparency of the full-screen screenshot is further improved.

[0138] Step 4: Remove the mask and turn off the back screen.

[0139] After the black mask shifts to the right several times, if the coordinates of the upper left corner pixel of the black mask are updated to (0, 0), it means that the black mask has completely covered the back screen and can be deleted. In addition, when the Alpha value of the full-screen screenshot is equal to 0, the full-screen screenshot is completely transparent and invisible to the user, so the full-screen screenshot can be deleted. Fig.17D As shown in the figure, after deleting the black mask and the full-screen screenshot, the back screen turns off, and the new wallpaper layer and the new other layers are displayed on the main screen. So far, the switch from the wallpaper through state to the full-screen state has been completed.

[0140] It should be noted that the above Fig.16 , Figures 17A-17D The example of the sliding door dynamic effect in which the black mask gradually hides the through wallpaper is used for illustration, and does not limit the present application. Fig.18 As shown, the present application also provides a solution for gradually hiding the through wallpaper by a black mask with a gradual fading and appearing effect.

[0141] like Fig.18 As shown in (1), at the initial moment, the display mode of the mobile phone is the wallpaper through state. The upper left corner of the wallpaper layer coincides with the upper left corner of the display screen, and the upper left corners of other layers except the wallpaper layer coincide with the upper left corner of the main screen. The width of the wallpaper layer is equal to the width of the display screen, and the height of the wallpaper layer is equal to the height of the display screen. The width of other layers is equal to the width of the main screen, and the height of other layers is equal to the height of the main screen. In this way, the wallpaper is displayed in full screen through, and the lock screen interface is displayed on the main screen.

[0142] like Fig.18 As shown in (2), when the user unlocks the main screen, operates the shortcut controls on the main screen, enters the launcher (desktop launcher), makes an emergency call, or the phone enters charging mode, the phone will switch the display mode from the wallpaper through state to the main screen state. The phone takes a full-screen screenshot of the current interface displayed on the display, and sets the upper left corner of the full-screen screenshot to coincide with the upper left corner of the display. In addition, the phone sets a black mask (the width of the black mask is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the display), and offsets the black mask by 928 pixels in the negative direction of the x-axis, that is, the upper left corner coordinates of the black mask are updated to (-928,0). Different from the Alpha=255 of the black mask in 16, in Fig.18 In (2), the Alpha of the black mask is 0, that is, the black mask is completely transparent.

[0143] like Fig.18 As shown in (3), when the mobile phone draws a new wallpaper layer and new other layers, the full-screen screenshot and a black mask (completely transparent) are displayed on the display screen to prevent the screen from flashing black.

[0144] like Fig.18 As shown in (4), the mobile phone completes the drawing of the new wallpaper layer and the new other layer. Since the full-screen screenshot covers the new wallpaper layer and the new other layer, the interface seen by the user is still a full-screen screenshot. Among them, the width of the new wallpaper layer is equal to the width of the main screen, and the height of the new wallpaper layer is equal to the height of the main screen. The width of the new other layer is equal to the width of the main screen, and the height of the new other layer is equal to the height of the main screen. The upper left corners of the new wallpaper layer and the new other layer coincide with the upper left corner of the main screen.

[0145] like Fig.18 As shown in (5), the positions of the black mask and the full-screen screenshot remain unchanged, the transparency of the black mask decreases, and the transparency of the full-screen screenshot increases.

[0146] like Fig.18 As shown in (6), the transparency of the black mask continues to decrease. At the same time, the transparency of the full-screen screenshot continues to increase, and the user can see that the new wallpaper layer and the new other layers covered by the full-screen screenshot are further displayed on the main screen.

[0147] like Fig.18 As shown in (7), the black mask completely covers the back screen, and the full-screen screenshot is completely transparent. The black mask and the full-screen screenshot are deleted, and the back screen is powered off.

[0148] like Fig.18 As shown in (8), after deleting the black mask and the full-screen screenshot, the new wallpaper layer and the new other layers are displayed on the main screen, and the back screen is in the off state.

[0149] The following will be combined Fig.19 , Figures 20A-20F , Fig.21 , an example is given to illustrate the specific implementation principle of switching from the main screen state to the wallpaper through state.

[0150] For example, Fig.19 A schematic diagram showing layer changes when switching from a wallpaper through state to a main screen state is shown.

[0151] like Fig.19 As shown in (1), at the initial moment, the display mode of the mobile phone is the main screen state, and the back screen is off. The upper left corners of the wallpaper layer and other layers coincide with the upper left corner of the main screen. The width of the wallpaper layer and other layers is equal to the width of the main screen, and the height of the wallpaper layer and other layers is equal to the height of the main screen.

[0152] like Fig.19 As shown in (2), when exiting a third-party application in the lock screen state, exiting the shutdown interface in the lock screen state, or exiting the charging interface in the lock screen state, or exiting the password input interface in the lock screen state, or exiting the emergency call interface in the lock screen state, the mobile phone will switch the display mode from the main screen state to the wallpaper through state. The mobile phone obtains a main screen screenshot of the current interface displayed on the main screen, and sets the upper left corner of the main screen screenshot to coincide with the upper left corner of the main screen. In addition, the mobile phone sets a black mask (the width of the black mask is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the back screen), and sets the upper left corner of the black mask to coincide with the upper left corner of the display screen.

[0153] like Fig.19As shown in (3), when the mobile phone draws a new wallpaper layer and new other layers, the main screen screenshot is displayed on the main screen and a black mask is displayed on the back screen, thereby preventing the black screen from flashing.

[0154] like Fig.19 As shown in (4), the mobile phone completes the drawing of the new wallpaper layer and the new other layers. Since the main screen screenshot and the black mask cover the top of the new wallpaper layer and the new other layers, the interface seen by the user is still the main screen screenshot and the black mask. Among them, the width of the new wallpaper layer is equal to the width of the display screen, and the height of the new wallpaper layer is equal to the height of the display screen. The width of the new other layer is equal to the width of the main screen, and the height of the new other layer is equal to the height of the main screen. The upper left corner of the new wallpaper layer coincides with the upper left corner of the display screen. The upper left corner of the new other layer coincides with the upper left corner of the main screen.

[0155] like Fig.19 As shown in (5), the black mask begins to move to the left side of the display screen. At the same time, the position of the main screen screenshot remains unchanged, and the transparency of the main screen screenshot increases. The user can see that the new wallpaper layer and the new other layers begin to appear.

[0156] like Fig.19 As shown in (6) in FIG. 1 , the black mask continues to move to the left side of the display screen. Meanwhile, the transparency of the main screen shot continues to increase.

[0157] like Fig.19 As shown in (7), the black mask has been completely removed from the display screen, the main screen screenshot is completely transparent, the black mask and the main screen screenshot are deleted, and the back screen is powered off.

[0158] like Fig.19 As shown in (8), after deleting the black mask and the main screen screenshot, the new wallpaper layer is displayed through the entire screen, and the new other layers are displayed on the main screen.

[0159] For example, Figures 20A-20F Shown with Fig.19 A schematic diagram of a corresponding scenario example.

[0160] exist Figures 20A-20F In the display, the width of the display is 2016 pixels and the height of the display is 2348 pixels. The display includes two display areas: the main screen and the back screen. 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.

[0161] The first step is to take a screenshot of the home screen after switching from the home screen state to the wallpaper through state.

[0162] Referring to the description of the above embodiment, a first coordinate system is established with the pixel point at the upper left corner of the display screen 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.

[0163] like Fig. 20A As shown, the coordinates of the upper left corner pixel of the main screen screenshot are (928, 0).

[0164] The second step is to switch to full screen display and set a black mask.

[0165] like Fig. 20B As shown, the coordinates of the upper left corner pixel of the black mask are (0, 0).

[0166] In the third step, the new wallpaper layer and new other layers are drawn.

[0167] like Fig. 20C As shown, the coordinates of the upper left corner pixel of the new wallpaper layer are (0, 0), and the coordinates of the upper left corner pixel of the new other layers are (928, 0).

[0168] Step 4. Offset the black mask by x pixels to the right and increase the transparency of the main screenshot.

[0169] The phone can use an interpolator to calculate how fast the black mask moves and how fast the main screen screenshot fades out.

[0170] Then, the phone can move the black mask to the left through the setPosition(mBlackLayer,x,0) function, where x represents the offset each time and is an integer greater than or equal to 1 pixel and less than 928 pixels.

[0171] In addition, the phone can also reduce the Alpha value of the main screen shot through the setAlpha(mScreenShot,0,-a) function, where a represents the Alpha value to be reduced each time, and x is a positive integer less than 255.

[0172] like Fig.20D As shown, the coordinates of the upper left corner pixel of the black mask are updated to (-x, 0). The user can see that the black mask is moving to the left at a speed of x pixels per frame, and the transparency of the main screen shot is gradually increasing.

[0173] Step 5. Continue to offset the black mask to the left by x pixels and further increase the transparency of the main screenshot.

[0174] The phone can continue to move the black mask to the left through the setPosition(mBlackLayer,x,0) function.

[0175] The phone can continue to use the setAlpha(mScreenShot,0,-a) function to further reduce the Alpha value of the main screen screenshot.

[0176] like Fig.20E As shown, the coordinates of the upper left corner pixel of the black mask are updated to (-2x, 0). The user can see that the black mask moves further to the left, and the transparency of the main screen shot is further improved.

[0177] Step 6. Remove the black mask and take a screenshot of the main screen, and turn off the back screen.

[0178] After the black mask shifts 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 can be deleted. In addition, when the Alpha value of the main screen screenshot is equal to 0, the main screen screenshot is completely transparent and invisible to the user, so the main screen screenshot can be deleted. Fig.20F As shown in the figure, after deleting the black mask and the main screen screenshot, the new other layer is displayed on the main screen, and the new wallpaper layer is displayed through the main screen and the back screen. So far, the switch from the main screen state to the wallpaper through state has been completed.

[0179] It should be noted that the above Fig.19 , Figures 20A-20F The black mask of the sliding door dynamic effect gradually appears through the wallpaper as an example, which does not limit the present application. Fig.21 As shown, the present application also provides a solution for gradually revealing the through wallpaper through a black mask with a gradual disappearance and appearance effect.

[0180] like Fig.21 As shown in (1), at the initial moment, the display mode of the mobile phone is the main screen state, and the back screen is off. The upper left corners of the wallpaper layer and other layers coincide with the upper left corner of the main screen. The width of the wallpaper layer and other layers is equal to the width of the main screen, and the height of the wallpaper layer and other layers is equal to the height of the main screen.

[0181] like Fig.21 As shown in (2), when exiting a third-party application in the lock screen state, exiting the shutdown interface in the lock screen state, or exiting the charging interface in the lock screen state, or exiting the password input interface in the lock screen state, or exiting the emergency call interface in the lock screen state, the mobile phone will switch the display mode from the main screen state to the wallpaper through state. The mobile phone obtains a main screen screenshot of the current interface displayed on the main screen, and sets the upper left corner of the main screen screenshot to coincide with the upper left corner of the main screen. In addition, the mobile phone sets a black mask (the width of the black mask is equal to the width of the back screen, and the height of the wallpaper layer is equal to the height of the back screen), and sets the upper left corner of the black mask to coincide with the upper left corner of the display screen.

[0182] like Fig.21As shown in (3), when the mobile phone draws a new wallpaper layer and new other layers, the main screen screenshot is displayed on the main screen and a black mask is displayed on the back screen, thereby preventing the black screen from flashing.

[0183] like Fig.21 As shown in (4), the mobile phone completes the drawing of the new wallpaper layer and the new other layers. Since the main screen screenshot and the black mask cover the top of the new wallpaper layer and the new other layers, the interface seen by the user is still the main screen screenshot and the black mask. Among them, the width of the new wallpaper layer is equal to the width of the display screen, and the height of the new wallpaper layer is equal to the height of the display screen. The width of the new other layer is equal to the width of the main screen, and the height of the new other layer is equal to the height of the main screen. The upper left corner of the new wallpaper layer coincides with the upper left corner of the display screen. The upper left corner of the new other layer coincides with the upper left corner of the main screen.

[0184] like Fig.21 As shown in (5), the positions of the black mask and the main screen screenshot remain unchanged, and the transparency of the black mask and the main screen screenshot increases.

[0185] like Fig.21 As shown in (6), the positions of the black mask and the main screen screenshot remain unchanged, and the transparency of the black mask and the main screen screenshot is further increased.

[0186] like Fig.21 As shown in (7), the black mask and the main screen screenshot are completely transparent, and the black mask and the main screen screenshot are deleted.

[0187] like Fig.21 As shown in (8), after deleting the black mask and the main screen screenshot, the new wallpaper layer and the new other layers are displayed on the main screen, and the back screen is in the off state.

[0188] In order to more clearly understand the solution of switching wallpapers between wallpaper penetration mode and main screen mode, the following first gives an example of the system architecture of a folding screen device, and then explains the solution in detail in combination with the system architecture.

[0189] 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.

[0190] Fig. 22 A schematic diagram of the system architecture of a folding screen device is shown.

[0191] like Fig. 22As 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.

[0192] 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 mode 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 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. This event is used to trigger the display screen to switch from the off state to the on state.

[0193] 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 mode, 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.

[0194] 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.

[0195] 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.

[0196] 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.

[0197] The kernel layer is the layer between hardware and software. The kernel layer includes display drivers, sensor drivers, and GPU drivers.

[0198] It should be noted that Fig. 22 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.

[0199] 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.

[0200] based on Fig. 22 The system architecture of the folding screen device shown in the figure, and the specific interaction process between each functional structure in the process of implementing the solution of switching wallpaper between wallpaper through mode and main screen mode are explained in detail below in combination with the interaction flow diagram.

[0201] Fig.23 A flowchart of a method for displaying wallpaper when switching from wallpaper through mode to main screen mode is shown.

[0202] This method can be applied to foldable screen devices, such as Figure 1A-Figure 1C The external folding screen device shown.

[0203] like Fig.23 As shown, the method may include the following A1 to A18.

[0204] A1. When the foldable screen device is in the folded state and the display mode is the wallpaper through state, the wallpaper application receives the user's operation.

[0205] The above operation can be Figure 7 The unlock operation in Figure 8 shutdown operation in , or Fig. 9 charging operation, or Fig.10 , or Fig.11 It should be understood that the user can also trigger the mobile phone to switch from the wallpaper through mode to the main screen mode through other operations.

[0206] A2, the wallpaper application notifies the folding screen management service to switch from the wallpaper through state to the main screen state.

[0207] Accordingly, the folding screen management service sets the main screen mode and notifies WMS to turn on the main screen animation.

[0208] A3, WMS notifies the Surface control service to set the display area to full screen.

[0209] For example, take the case where the width of the display screen is 2016 pixels and the height of the display screen is 2348 pixels. WMS 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 has not rotated. 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.

[0210] A4, WMS notifies the Surface control service to move all layers to the main screen area.

[0211] All the above layers include: wallpaper layer, and other layers except wallpaper layer, etc.

[0212] For example, WMS can move all layers to the main screen area through the setPosition(displayContent,getSurfaceControl(),928,0) function. The displayContent in this function is used to obtain all layers, the 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).

[0213] A5, the WMS module notifies the Surface control service to shift the wallpaper layer to the left to the back screen area.

[0214] Exemplarily, WMS 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 moving 928 pixels in the negative direction of the x-axis, and the parameter "0" in the function is used to indicate remaining 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).

[0215] A6: The folding screen management service notifies WMS to execute the main screen animation through the configChange() function. Then, WMS notifies the screen rotation animation module in the animation management service to create a new animation for the main screen state.

[0216] 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 A7 is executed. If the screen rotation animation module determines that a new animation can be created, the following A8 is executed.

[0217] A7: The screen rotation animation module returns a response message to the folding screen management service indicating that a new animation cannot be created.

[0218] A8: The screen rotation animation module notifies the outer folding screen animation module to create a new animation.

[0219] 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 screen switching effects. Therefore, the screen rotation animation module can call the external folding screen animation module to create a new animation. Among them, the external folding screen animation module is a subclass of the screen rotation animation module.

[0220] In addition, WMS will also notify the screen rotation animation module to dismiss the original animation.

[0221] A9, the outer fold screen animation module creates a full screen screenshot and a black mask.

[0222] Among them, the above full-screen screenshot is a screenshot of the interface content currently displayed on the display screen.

[0223] The resolution of the full-screen screenshot is equal to the resolution of the display. For example, the width of the full-screen screenshot and the display are both 2016 pixels, and the height of the full-screen screenshot and the display are both 2348 pixels.

[0224] The resolution of the black mask is equal to the resolution of the back screen area. For example, the width of the black mask and the back screen area is 928 pixels, and the height of the black mask and the back screen area is 2348 pixels.

[0225] A10, the outer folding screen animation module notifies the Surface control service to offset the full-screen screenshot to the left to the back screen area, and offset the black mask to the left to the outside of the back screen area.

[0226] Exemplarily, the outer folding screen animation module can set the display position for the full-screen screenshot through the setPosition(mScreenShotLayer,-928,0) function. The width of the full-screen screenshot is 2016 pixels, the height of the full-screen screenshot is 2348 pixels, and the initial position of the coordinates of the upper left corner pixel of the full-screen screenshot is (928, 0). The full-screen screenshot cannot cover the back screen. The full-screen screenshot is moved 928 pixels to the left through the above function. The coordinates of the upper left corner pixel of the full-screen screenshot are updated to (0, 0).

[0227] In addition, the outer folding screen animation module can set the display position for the black mask through the setPosition(mBlackLayer,-928,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). By moving the black mask 928 pixels in the negative direction of the x-axis, the black mask can be located outside the display screen, that is, the coordinates of the upper left corner of the black mask are updated to (-928, 0).

[0228] A11, the outer folding screen animation module notifies the animation implementation module in the animation management service to create a new animation.

[0229] A12: The screen rotation animation module notifies the outer folding screen animation module to start playing the animation.

[0230] A13, the outer folding screen animation module notifies the animation implementation module to start playing the animation.

[0231] A14, the animation implementation module uses an interpolator to calculate the movement speed of the black mask and the fade-out speed of the full-screen screenshot, and moves the black mask to the right according to the movement speed of the black mask, and gradually reduces the Alpha value of the full-screen screenshot according to the fade-out speed of the full-screen screenshot.

[0232] The above-mentioned "moving speed of new other layers" and "fading-out speed of full-screen screenshot" may be equal, that is, when the black mask layer is completely moved to the back screen area, the Alpha of the full-screen screenshot is 0.

[0233] A15, when the black mask is completely moved to the back screen area and the Alpha value of the full-screen screenshot is equal to 0, the outer folding screen animation module determines that the animation ends and notifies the folding screen management service that the animation ends (OnAnimationEnd).

[0234] A16, the outer folding screen animation module deletes the full-screen screenshot and black mask, and clears the animation.

[0235] A17, the external folding screen animation module notifies the Surface control service to add rounded corners to the current interface.

[0236] A18, the folding screen management service notifies the surface control service to set the display area of ​​all layers to the main screen area.

[0237] After the animation ends, the folding screen management service can reset the display area through the following three functions:

[0238] setDisPlayPorjection(0,(0,0,1088,2348),(928,0,1088,2348)) function;

[0239] setPosition(displayContent.getSurfaceControl(),0,0) function;

[0240] setPosition(getTopVisibleWallpaper().getSurfaceControl(),-928,0) function.

[0241] For the specific implementation of these three functions, please refer to the description of the above embodiments, which will not be repeated here.

[0242] In the above solution provided by the present application, when switching from the wallpaper through mode to the main screen mode, the through wallpaper displayed in full screen gradually transitions to the main screen display. In this way, the main screen and the back screen are used to display in coordination, creating a cool wallpaper mode and improving the user experience.

[0243] Fig.24 A schematic flow chart of a method for displaying wallpaper when switching from a main screen mode to a wallpaper through mode is shown.

[0244] This method can be applied to foldable screen devices, such as Figure 1A-Figure 1C The external folding screen device shown.

[0245] like Fig.24 As shown, the method may include B1 to B24 described below.

[0246] B1. When the folding screen device is in the folded state and the display mode is in the full-screen state, the wallpaper application receives the user's operation.

[0247] The above operation can be an operation of exiting the charging interface, or an operation of exiting a third-party application, or an operation of exiting the password input interface, or an operation of exiting the shutdown interface, or an operation of exiting the emergency call interface when the screen is locked. It should be understood that the user can also trigger the phone in the locked screen state to switch from the main screen mode to the wallpaper through mode through other operations.

[0248] B2, the wallpaper application notifies the folding screen management service to enter the wallpaper penetration state.

[0249] 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.

[0250] B3, the rounded corners of the folding screen management service notification system UI are removed.

[0251] When entering the home screen, you can cut the rounded corners of the interface to make it more beautiful. When switching from the home screen to the wallpaper through state, because the through wallpaper is to be displayed in full screen, the rounded corners must be removed first.

[0252] B4, the folding screen management service notifies the WMS device of the wallpaper through state. The WMS full screen is powered on.

[0253] 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.

[0254] B5, the folding screen management service sets the display mode of the display screen to the through wallpaper mode, that is, entering the wallpaper through state.

[0255] B6, 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.

[0256] 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, execute B7 below. If the screen rotation animation module determines that a new animation can be created, execute B8 below.

[0257] B7: The screen rotation animation module returns a response message to the folding screen management service indicating that a new animation cannot be created.

[0258] B8, the screen rotation animation module notifies the outer folding screen animation module to create a new animation.

[0259] 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 screen switching effects. Therefore, the screen rotation animation module can call the external folding screen animation module to create a new animation. Among them, the external folding screen animation module is a subclass of the screen rotation animation module.

[0260] B9, WMS notifies the screen rotation animation module to dismiss the original animation.

[0261] B10, the outer fold screen animation module creates a black mask and a main screen screenshot.

[0262] Among them, the above-mentioned black mask is also called a black mask, which is essentially a black layer covering the wallpaper layer.

[0263] The resolution of the black mask is equal to the resolution of the back screen area. For example, the width of the black mask and the back screen area is 928 pixels, and the height of the black mask and the back screen area is 2348 pixels.

[0264] The resolution of the main screen screenshot is equal to the resolution of the main screen area. For example, the width of the main screen screenshot and the main screen area are both 1088 pixels, and the height of the main screen screenshot and the main screen area are both 1088 pixels.

[0265] B11, the external folding screen animation module notifies the Surface control service to set the display area to full screen.

[0266] B12, the outer folding screen animation module notifies the Surface control service to move all layers to the main screen area.

[0267] B13, the outer folding screen animation module notifies the Surface control service to offset the wallpaper layer to the left to the back screen area.

[0268] 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.

[0269] For the implementation of B11-B13, please refer to the relevant description of A3-A5 above, which will not be repeated here.

[0270] B14, the outer folding screen animation module notifies the Surface control service to set the black mask to the back screen area.

[0271] B15, the outer folding screen animation module notifies the animation implementation module in the animation management service to create a new animation.

[0272] B16, the screen rotation animation module notifies the outer folding screen animation module to start playing the animation.

[0273] B17, the outer folding screen animation module notifies the animation implementation module to start playing the animation.

[0274] B18, the animation implementation module uses an interpolator to calculate the moving speed of the black mask and the fade-out speed of the main screen screenshot, and moves the black mask to the left according to the moving speed, and gradually reduces the Alpha value of the main screen screenshot according to the fade-out speed.

[0275] The moving speed of the black mask and the fading speed of the main screen screenshot may be the same.

[0276] B19, 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.

[0277] B20, the outer folding screen animation module notifies the folding screen management service that the animation ends (OnAnimationEnd).

[0278] B21, the outer folding screen animation module deletes the black mask and clears the animation.

[0279] B22, the outer folding screen animation module notifies the Surface control service to set the display area to full screen.

[0280] B23, the folding screen management service notifies the surface control service to move all layers to the main screen area.

[0281] B24, the folding screen management service notifies the surface control service to offset the wallpaper layer to the left to the back screen area.

[0282] After the dynamic effect of the through wallpaper ends, the folding screen management service can reset the display area and projection area through B22-B24. For the specific implementation of B22-B24, please refer to A3-A5 above, which will not be repeated here.

[0283] In the above solution provided by the present application, when switching from the main screen mode to the wallpaper through mode, the wallpaper displayed on the main screen gradually transitions to the full screen through display. In this way, the main screen and the back screen are used to display in coordination, creating a cool wallpaper mode and improving the user experience.

[0284] It should be noted that Fig.23 and Fig.24 The sliding door effect is used as an example for explanation. It should be understood that in actual implementation, a gradual disappearance and gradual appearance effect can also be used. The specific implementation method of the gradual disappearance and gradual appearance effect is similar to the specific implementation method of the sliding door effect, and will not be repeated here.

[0285] For example, Fig.25 A schematic diagram of the hardware structure of a folding screen device is shown.

[0286] like Fig.25 As 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.

[0287] 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.

[0288] 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.

[0289] 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.

[0290] 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.

[0291] 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 a display mode 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 switch the display mode from the wallpaper through state to the full screen state.

[0292] 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 display mode bar and the unlock interface on the wallpaper in the main screen area. In addition, in response to the user operation, when switching between the wallpaper through mode and the main screen mode, the processor 110 can control the display of the wallpaper with transition effects on the back screen.

[0293] 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.

[0294] 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.

[0295] 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.

[0296] 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.

[0297] 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.

[0298] 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.

[0299] 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.

[0300] 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 switching 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 first lock screen interface in the main screen area; receiving a second operation from the user; In response to the second operation, turning off the back screen area and displaying a non-lock screen interface in the main screen area; Receiving a third operation of the user to close the non-lock screen interface; In response to the third operation, the back screen area is lit, a second wallpaper is displayed in the main screen area and the back screen area, and a second lock screen interface is displayed in the main screen area.

2. The method according to claim 1, characterized in that The second operation is a first sliding operation in the first lock screen interface, and the non-lock screen interface is a desktop interface; Alternatively, the second operation is a pressing operation on a power button, and the non-lock screen interface is a shutdown interface; Alternatively, the second 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 second operation is a second sliding operation in the first lock screen interface, and the non-lock screen interface is a password input interface; Alternatively, the second operation is a selection operation on a first control in the first lock screen interface, and the non-lock screen interface is an interface of a third-party application corresponding to the first control; Alternatively, the second operation is a selection operation on a second control in the first lock screen interface, and the non-lock screen interface is an emergency call interface.

3. The method according to claim 2, characterized in that The desktop interface is an interface displayed after the display screen is unlocked; The power off interface, the charging interface, the password input interface, the interface of the third-party application corresponding to the first control, and the emergency call interface are interfaces displayed when the display screen remains in a locked state.

4. The method according to any one of claims 1 to 3, characterized in that In response to the second operation, turning off the back screen area and displaying a non-lock screen interface in the main screen area includes: In response to the second operation, displaying a first full-screen screenshot in the main screen area and the back screen area at a first time point; At a second time point, a second full-screen screenshot is displayed in the main screen area and the back screen area, the non-lock screen interface is displayed in the main screen area, and a first black mask is covered in a first area of ​​the back screen area; wherein the transparency of the second full-screen screenshot is greater than the transparency of the first full-screen screenshot, and the first area is not adjacent to the main screen area; At a third time point, a third full-screen screenshot is displayed in the main screen area and the back screen area, the non-lock screen interface is displayed in the main screen area, and a second black mask is covered in a second area of ​​the back screen area; wherein the transparency of the third full-screen screenshot is greater than the transparency of the second full-screen screenshot, the second area is not adjacent to the main screen area, and the second area includes the first area; At a fourth time point, the non-lock screen interface is displayed in the main screen area, and a third black mask is covered in the back screen area; At a fifth time point, the non-lock screen interface is displayed in the main screen area, and the back screen area is turned off; Among them, the first full-screen screenshot, the second full-screen screenshot and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.

5. The method according to any one of claims 1 to 3, characterized in that In response to the second operation, turning off the back screen area and displaying a non-lock screen interface in the main screen area includes: In response to the second operation, at a first time point, a first full-screen screenshot is displayed in the main screen area and the back screen area, and a first black mask is covered on the first full-screen screenshot in the back screen area; At a second time point, a second full-screen screenshot is displayed in the main screen area and the back screen area, the non-lock screen interface is displayed in the main screen area, and a second black mask is covered on the second full-screen screenshot in the back screen area; wherein the transparency of the second full-screen screenshot is greater than the transparency of the first full-screen screenshot, and the transparency of the second black mask is less than the transparency of the first black mask; At a third time point, a third full-screen screenshot is displayed in the main screen area and the back screen area, the non-lock screen interface is displayed in the main screen area, and a third black mask is covered on the third full-screen screenshot in the back screen area; wherein the transparency of the third full-screen screenshot is greater than the transparency of the second full-screen screenshot, and the transparency of the third black mask is less than the transparency of the second black mask; At a fourth time point, the non-lock screen interface is displayed in the main screen area, and a fourth black mask is covered in the back screen area; wherein the transparency of the fourth black mask is less than the transparency of the third black mask; At a fifth time point, the non-lock screen interface is displayed in the main screen area, and the back screen area is turned off; Among them, the first full-screen screenshot, the second full-screen screenshot and the third full-screen screenshot are screenshots corresponding to the first wallpaper and the first lock screen interface.

6. The method according to any one of claims 1 to 4, characterized in that The method of lighting up the back screen area in response to the third operation, displaying a second wallpaper in the main screen area and the back screen area, and displaying a second lock screen interface in the main screen area includes: In response to the third operation, at a sixth time point, the back screen area is lit, a first black mask is covered on the back screen area, and a first main screen screenshot is displayed on the main screen area; At a seventh time point, a second wallpaper is displayed in the main screen area and the back screen area, a second main screen screenshot and the second lock screen interface are displayed in the main screen area, and a second black mask is covered on the second wallpaper in the back screen area; wherein the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot; At an eighth time point, the second wallpaper is displayed in the main screen area and the back screen area, the third main screen screenshot and the second lock screen interface are displayed in the main screen area, and a third black mask is covered in a third area of ​​the back screen area; wherein the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the third area is not adjacent to the main screen area; At a ninth time point, the second wallpaper is displayed in the main screen area and the back screen area, the fourth main screen screenshot and the second lock screen interface are displayed in the main screen area, and a fourth black mask is covered in a fourth area of ​​the back screen area; wherein the transparency of the fourth main screen screenshot is greater than the transparency of the third main screen screenshot, the fourth area is not adjacent to the main screen area, and the fourth area belongs to the third area; At a tenth time point, displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area; Among them, the first main screen screenshot, the second main screen screenshot and the third main screen screenshot are screenshots corresponding to the non-lock screen interface.

7. The method according to any one of claims 1 to 3 and 5, characterized in that: The method of lighting up the back screen area in response to the third operation, displaying a second wallpaper in the main screen area and the back screen area, and displaying a second lock screen interface in the main screen area includes: In response to the third operation, at a sixth time point, the back screen area is lit, a first black mask is covered on the back screen area, and a first main screen screenshot is displayed on the main screen area; At a seventh time point, a second wallpaper is displayed in the main screen area and the back screen area, a second main screen screenshot and the second lock screen interface are displayed in the main screen area, and a second black mask is covered on the second wallpaper in the back screen area; wherein the transparency of the second main screen screenshot is greater than the transparency of the first main screen screenshot, and the transparency of the second black mask is greater than the transparency of the first black mask; At an eighth time point, the second wallpaper is displayed in the main screen area and the back screen area, the third main screen screenshot and the second lock screen interface are displayed in the main screen area, and a third black mask is covered on the second wallpaper in the back screen area; wherein the transparency of the third main screen screenshot is greater than the transparency of the second main screen screenshot, and the transparency of the third black mask is greater than the transparency of the second black mask; At a ninth time point, displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area; Among them, the first main screen screenshot, the second main screen screenshot and the third main screen screenshot are screenshots corresponding to the non-lock screen interface.

8. The method according to any one of claims 1 to 7, characterized in that After displaying the first wallpaper in the main screen area and the back screen area, and displaying the first lock screen interface in the main screen area, the method further includes: receiving a fourth 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 first lock screen interface in the main screen area; After displaying the second wallpaper in the main screen area and the back screen area, and displaying the second lock screen interface in the main screen area, the method further includes: receiving a fifth operation of the user in the back screen area, keeping displaying the second wallpaper in the main screen area and the back screen area, and keeping displaying the second lock screen interface in the main screen area.

9. The method according to any one of claims 1 to 8, characterized in that After displaying the first wallpaper in the main screen area and the back screen area and displaying the first lock screen interface in the main screen area, or after displaying the second wallpaper in the main screen area and the back screen area and displaying the second lock screen interface in the main screen area, the method further includes: If no user operation is received within a preset time period, the main screen area and the back screen area are turned off.

10. 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 screen switching display method as described in any one of claims 1 to 9.

11. 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 screen switching display method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Screen control method and terminal

    CN110290331A

  • Electronic equipment with foldable screen and display method

    CN110602315A

  • Display method and electronic equipment

    CN112558898A

  • Method for controlling screen display and electronic equipment

    CN114115587A

  • Display control method, electronic equipment and computer storage medium

    CN115268738A

Cited By

  • Theme synchronous switching method, system and device and storage medium

    CN121560426A

  • A method, system, device, and storage medium for synchronous topic switching.

    CN121560426B