Processing method of display information, electronic device and readable storage medium

By setting transition display parameters and reverse playback technology in electronic devices, the problems of insufficient visual experience and unbalanced power consumption when switching operating modes are solved, resulting in richer display effects and lower power consumption, thus improving the user experience.

CN121078166BActive Publication Date: 2026-08-04HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-05-27
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing electronic devices suffer from insufficient display quality and a lack of visual experience when switching operating modes, and their power consumption is also uneven.

Method used

By setting transition display parameters in electronic devices, and utilizing a combination of the first parameter, the second parameter, and the transition parameter, smooth transitions between screen frames can be achieved. Combined with reverse playback and foldable screen operation, the display effect is enriched and power consumption is optimized.

Benefits of technology

It improves the visual experience of electronic devices when switching operating modes, provides smoother screen transitions, reduces power consumption, and enhances user interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121078166B_ABST
    Figure CN121078166B_ABST
Patent Text Reader

Abstract

The application discloses a processing method for displaying information, an electronic device and a readable storage medium. The processing method comprises the following steps: obtaining an instruction for entering a second running mode when the electronic device is in a first running mode; the display parameter of the electronic device is a first parameter in the first running mode; the display parameter of the electronic device is a second parameter in the second running mode; playing at least one first picture frame with a third parameter when a preset display mode is a first display mode; the third parameter is a transition parameter between the first parameter and the second parameter; the first display mode corresponds to a first dynamic picture, and the first dynamic picture comprises the at least one first picture frame; playing at least one first target picture frame with the second parameter; and the first dynamic picture comprises the at least one first target picture frame. The application can provide more abundant display effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method for processing display information, an electronic device, and a readable storage medium. Background Technology

[0002] With the widespread adoption of mobile devices and the development of terminal technology, mobile devices have become closely integrated into people's daily lives. Due to the increasing diversification of terminal functions, they can not only be used for traditional telecommunications calls and internet browsing, but also for taking photos, displaying time and date, and displaying pictures, thus replacing physical objects such as cameras, clocks, calendars, or physical photo albums, thereby simplifying users' lives. However, electronic devices and physical objects have different properties; how to utilize the inherent properties of electronic devices to provide users with a better experience is an important direction for the improvement of electronic devices. Summary of the Invention

[0003] This application provides a method, an electronic device, and a readable storage medium, which can provide richer display effects. The technical solution is as follows:

[0004] In a first aspect, a method for processing display information is provided, comprising: when an electronic device is in a first operating mode, obtaining an instruction to enter a second operating mode; in the first operating mode, the display parameters of the electronic device are first parameters; in the second operating mode, the display parameters of the electronic device are second parameters; when the preset display mode is the first display mode, playing at least one first screen frame with a third parameter; the third parameter is a transition parameter between the first parameter and the second parameter; the first display mode corresponds to a first dynamic screen, the first dynamic screen including the at least one first screen frame; playing at least one first target screen frame with the second parameter; the first dynamic screen including the at least one first target screen frame.

[0005] In this embodiment of the application, the display parameters can be parameters related to the display screen, such as display brightness, display contrast, display chroma, display transparency, or display saturation.

[0006] In this embodiment of the application, the power consumption of the display screen corresponding to the first parameter is greater than or equal to the power consumption of the display screen corresponding to the third parameter, and the power consumption of the display screen corresponding to the third parameter is greater than or equal to the power consumption of the display screen corresponding to the second parameter.

[0007] Taking display brightness as an example, the first parameter is the initial brightness, the second parameter is the second brightness, and the third parameter is the transition brightness between the first and second brightness. In other words, the first brightness is greater than or equal to the third brightness, and the third brightness is greater than or equal to the second brightness.

[0008] Taking display contrast ratio as an example, the first parameter is the first contrast ratio, the second parameter is the second contrast ratio, and the third parameter is the transition contrast ratio between the first and second contrast ratios. In other words, the power consumption of the display screen corresponding to the first contrast ratio is greater than the power consumption of the display screen corresponding to the third contrast ratio, and the power consumption of the display screen corresponding to the third contrast ratio is greater than or equal to the power consumption of the display screen corresponding to the second contrast ratio.

[0009] Similarly, if the display parameters are display chroma, display transparency, or display saturation, then the power consumption of the display screen corresponding to the first display chroma, the first display transparency, or the first display saturation is respectively greater than or equal to the power consumption of the display screen corresponding to the third display chroma, the third display transparency, or the third display saturation; and the power consumption of the display screen corresponding to the second display chroma, the second display transparency, or the second display saturation is respectively greater than or equal to the power consumption of the display screen corresponding to the third display chroma, the third display transparency, or the third display saturation.

[0010] In this embodiment of the application, the display parameters may also be a combination of two or more of the following parameters: display brightness, display contrast, display chroma, display transparency, and display saturation.

[0011] The third parameter can include multiple different parameters. Taking brightness as an example, assuming the first brightness is 300 nits and the second brightness is 100 nits, the third brightness can include 250 nits, 200 nits, and 150 nits. Playing the first frame with the third parameter can include playing the first frame at 250 nits, the second frame at 200 nits, and the third frame at 150 nits.

[0012] In other possible implementations, assuming the first brightness is 100% of the maximum display brightness of the screen, the second brightness is 10% of the maximum display brightness of the screen, and the third brightness may include: 90% of the maximum display brightness of the screen, 80% of the maximum display brightness of the screen, 70% of the maximum display brightness of the screen, 60% of the maximum display brightness of the screen, 50% of the maximum display brightness of the screen, 40% of the maximum display brightness of the screen, 30% of the maximum display brightness of the screen, and 20% of the maximum display brightness of the screen.

[0013] In other possible implementations, assuming that the display difference between the first operating mode and the second operating mode is that the other effect parameters (such as display color) of the first operating mode and the second operating mode are different, and the power consumption of the display screen is similar in the two operating modes, then the effect parameter corresponding to the third parameter is between the effect parameters corresponding to the first parameter and the effect parameters corresponding to the second parameter.

[0014] In this embodiment of the application, the first target screen frame includes the screen frame displayed on the display screen in the second operating mode.

[0015] In this embodiment of the application, when the operating mode is switched, at least one first screen frame is played with transitional display parameters until the first target screen frame is displayed with the second display parameters corresponding to the second operating mode, which enriches the screen effect when the operating mode is switched and improves the visual experience for the user.

[0016] In one embodiment, before playing at least one first frame with the third parameter, the method for processing the display parameters further includes: playing at least one second target frame with the first parameter; the first dynamic frame includes the at least one second target frame.

[0017] In this embodiment of the application, when the electronic device switches operating modes, it first plays the screen frame using the display parameters of the operating mode before the switch, then plays the subsequent screen frame using the transition display parameters, and finally plays the screen frame using the display parameters of the operating mode after the switch, so that the display effect transitions more smoothly.

[0018] In one embodiment, the timing of the second target frame in the first dynamic frame is before the timing of the first target frame in the first dynamic frame; the timing of the first target frame in the first dynamic frame is before the timing of the first frame in the first dynamic frame.

[0019] In this embodiment, the playback order of the second target frame, the first target frame, and the first frame is consistent with the order of the three frames in the first dynamic frame, which helps to ensure visual continuity when playing the frames.

[0020] In one embodiment, the method for processing display parameters further includes: when the preset display mode is the second display mode, playing at least one fourth frame; and playing the second dynamic image corresponding to the second display mode.

[0021] In this embodiment, at least one fourth frame can be played on a bottom layer of the electronic device's display screen. The fourth frame and the second dynamic frame can be played on different layers of the display screen, with the second dynamic frame playing on a layer above the first frame.

[0022] Playing the fourth frame can be performed simultaneously with playing the second frame. If the number of at least one fourth frame is less than the number of frames in the second frame, at least one fourth frame can be played before the last frame of the second frame is played. Alternatively, at least one fourth frame can be played after the last frame of the second frame is played.

[0023] In one embodiment, the at least one fourth frame is a pre-set static frame; or the at least one fourth frame is a frame in the first dynamic frame.

[0024] In one embodiment, the at least one fourth frame is located below the layer corresponding to the second dynamic frame; when the at least one fourth frame is a frame in the first dynamic frame, the at least one fourth frame is the last frame of the at least one first target frame; the method for processing display information further includes: destroying the layer corresponding to the second dynamic frame when entering the first running mode.

[0025] In this embodiment, a fourth frame is played below the layer corresponding to the second dynamic image. When the electronic device enters the first operating mode, the layer corresponding to the second dynamic image is destroyed and the fourth frame is displayed. Thus, in the second display mode, the display screen when switching from the first operating mode to the second operating mode is different from the display screen when switching from the second operating mode to the first operating mode, which further enriches the display effect.

[0026] In one embodiment, the method for processing the displayed information further includes: when the electronic device is in the second operating mode, obtaining an instruction to enter the first operating mode; reversing at least one first target screen frame; and reversing the at least one first screen frame.

[0027] In this embodiment of the application, at least one fourth screen frame includes the last first target screen frame. In both the second display mode and the first display mode, when switching from the second operating mode to the first operating mode, the playback can start from the last frame of the first target screen frame and proceed in reverse, so that when switching from the second operating mode to the first operating mode, the playback screen of the electronic device is not affected by the display mode setting.

[0028] In one embodiment, the electronic device includes a foldable screen, and the method for processing information after the reverse playback of the at least one first screen frame further includes: in response to the operation of opening the foldable screen, reversing at least one fifth screen frame; the fifth screen frame is located before the at least one first screen frame in the timing sequence of the first dynamic screen.

[0029] Since the fifth frame appears before the first frame, during reverse playback, the fifth frame appears after the first frame when the foldable screen is opened. This allows the first frame and the first target frame to be played when the foldable screen is closed, further enriching the playback effect of the display.

[0030] In one embodiment, the power consumption of the second operating mode is lower than that of the first operating mode; after receiving the instruction to enter the second operating mode, the method for processing the displayed information further includes: entering the second operating mode.

[0031] In this embodiment, when the electronic device switches from a high-power operating mode to a low-power operating mode, dynamic video frames are played, and the display parameters of the electronic device are changed as the video frames are played, thereby presenting the user with a rich and transitional visual effect.

[0032] In this embodiment of the application, obtaining the instruction to enter the second operating mode includes: obtaining the instruction to enter the second operating mode in response to pressing the power button of the electronic device; or obtaining the instruction to enter the second operating mode when the duration of no operation on the electronic device reaches a preset duration.

[0033] In this embodiment of the application, pressing the power button may include pressing a control that has a power button function.

[0034] In one embodiment, playing at least one first target frame with the second parameter includes: for each first frame, the third parameter used during playback does not exceed the third parameter used when playing each first frame; or for each first frame, the third parameter used during playback is not less than the third parameter used when playing each first frame.

[0035] Through the above embodiments, the third parameter can gradually transition from high to low or from low to high, achieving a smoother visual effect.

[0036] In one embodiment, the first dynamic image is the image corresponding to the dynamic wallpaper of the electronic device.

[0037] In this embodiment of the application, dynamic wallpapers can be used to achieve richer display effects.

[0038] In one embodiment, the method for processing display information further includes: reading a database field pre-stored by the electronic device, the database field being generated in response to selecting the pre-set display mode, the database field indicating that the pre-set display mode is a first display mode or a second display mode.

[0039] Users can change database fields to activate either the first or second display mode, giving electronic devices more personalized display effects.

[0040] In one embodiment, the first parameter is a first brightness, the second parameter is a second brightness, and the third parameter is a third brightness; the first brightness is greater than or equal to the third brightness, and the third brightness is greater than or equal to the second brightness; or, the first brightness is less than or equal to the third brightness, and the third brightness is less than or equal to the second brightness.

[0041] Secondly, a method for processing display information is provided, comprising: when an electronic device is in a first operating mode, obtaining an instruction to enter a second operating mode; when the preset display mode is a first display mode, playing at least one first screen frame; the first display mode corresponds to a first dynamic screen, the first dynamic screen including at least one first screen frame; obtaining an instruction to enter the first operating mode; starting from a second screen frame, playing at least one first screen frame in reverse order, the playback order of playing at least one first screen frame in reverse order being the opposite of the playback order of the first dynamic screen, the second screen frame being the last of the at least one first screen frames played when the instruction to enter the first operating mode is obtained.

[0042] In this embodiment, the electronic device first executes a corresponding playback operation according to the instruction to enter the second operating mode, indicating a switch from the first operating mode to the second operating mode. Within a short time (e.g., within 1 second, 2 seconds, or approximately), the electronic device has not yet completed the playback operation, but at this time, it receives another instruction to enter the first operating mode. This is equivalent to receiving a new instruction to return to the first operating mode just as the electronic device enters the second operating mode, or while it is transitioning from the first to the second operating mode. In this case, the electronic device plays the first frames in reverse order, starting from the last first frame (i.e., the second frame) of all previously played first frame frames.

[0043] For example, if the first dynamic scene displays multiple frames showing an object moving from position A to position B, and then from position B to position C, when the electronic device switches from the first operating mode to the second operating mode, it needs to play the dynamic scene showing the object moving from position A to position B and then to position C. However, just as the electronic device finishes playing the scene up to the point where the object has reached position B, it receives a command to switch back to the first operating mode, and the electronic device plays the already played first frames in reverse. Visually, the user can see the object stop moving towards position C and move back from position B to position A.

[0044] In the method provided in this application embodiment, when the electronic device enters the second operating mode from the first operating mode and then re-enters the first operating mode in a short time, it can reverse the playback of the first frame of the screen that has already been played, thereby improving the sense of sophistication of the electronic device display, enriching the visual display effect of the electronic device, and enhancing the user's experience of interacting with the screen played by the electronic device.

[0045] In one embodiment, the electronic device includes a foldable screen; in a second operating mode, the foldable screen is folded; the method for processing the displayed information further includes: in response to an operation that changes the angle of the foldable screen, playing at least one third frame; the first dynamic image includes at least one third frame.

[0046] In this embodiment, the electronic device may include multiple displays, among which a foldable screen is included. When the foldable screen is folded, the included angle between the two sides of the folding screen hinge is approximately 0°.

[0047] If the electronic device's screen is folded and it is in the first operating mode, and the device first receives a command to enter the second operating mode, and then receives a command to enter the first operating mode shortly afterward, the device either stops entering the second operating mode or returns from the second operating mode to the first operating mode. If the user then unfolds the foldable screen, the electronic device will, after playing all the first frame in reverse, continue playing the first dynamic frame in reverse, which is the aforementioned third frame. Based on the user's changes to the folding state of the screen, more dynamic frames are played, resulting in a richer display effect.

[0048] In one implementation, at least one third frame is different from the first frame.

[0049] In this embodiment, the third frame may be different from the first frame and also different from the second frame, thus corresponding to different user operations. This allows the user to play different frames when the folding screen is open compared to when it is closed, providing a more vivid interactive experience.

[0050] In one implementation, at least one third frame is played in the first dynamic frame before at least one first frame and one second frame.

[0051] In this embodiment, in the first dynamic frame, the third frame is timed before the first frame, and the first frame includes the second frame. After the first frame is played back to the user, the electronic device continues to play the frame before the first frame, achieving the effect of playing the first dynamic frame back to the user, thus enabling the electronic device to produce a smooth dynamic visual experience.

[0052] In another embodiment of this application, the first dynamic frame is a dynamic frame played in reverse from a pre-stored video file. Accordingly, in the pre-stored video file, the first frame precedes the third frame. The third frame includes the first frame of the first dynamic frame played forward, and the second frame includes the last frame of the first dynamic frame played forward. Accordingly, with reference to the pre-stored video file, the third frame includes the last frame of the video file played forward, and the second frame includes the first frame of the video file played forward.

[0053] In one embodiment, the operation of changing the angle of the foldable screen includes an opening operation; the third screen frame includes multiple frames; playing at least one third screen frame includes: playing multiple third screen frames in the reverse order of their timing in the first dynamic screen.

[0054] In the embodiments of this application, the opening operation can be an operation that increases the included angle between the two sides of the folding screen hinge; the opening operation can also be called the unfolding operation.

[0055] The first dynamic frame plays in the reverse order of the pre-set video file. When the user unfolds the foldable screen, the third frame plays in the reverse order of the first dynamic frame, thus making the playback of the first frame and the reverse playback of the third frame seamless and further enhancing the visual effect.

[0056] In one embodiment, the operation of changing the angle of the folding screen includes a closing operation; the third screen frame includes multiple frames; playing at least one third screen frame includes: playing multiple third screen frames in the order of the multiple third screen frames in the first dynamic screen.

[0057] In this embodiment of the application, the closing operation is the operation of reducing the included angle between the two sides of the folding screen hinge. The closing operation can also be called the folding operation.

[0058] Because the playback order of the screen frames is reversed during the closing operation compared to the unfolding operation, the playback order of the screen frames adapts to the user's opening or closing operation of the foldable screen, providing the user with a more interactive experience.

[0059] In one embodiment, in response to an operation that changes the angle of the foldable screen, playing at least one third frame includes: determining the angle of the foldable screen in response to the operation that changes the angle of the foldable screen; determining a starting frame in the third frame based on the angle of the foldable screen; determining at least one third frame after the starting frame; the at least one third frame after the starting frame is obtained by skipping frames from the frame after the starting frame in the first dynamic frame; and playing at least one third frame.

[0060] In this embodiment of the application, the operation of changing the angle of the foldable screen includes opening the foldable screen, closing the foldable screen, or both opening and folding for a period of time.

[0061] In this embodiment, when the user unfolds the foldable screen of the electronic device, the playback order of the third frame and the first frame is the reverse of the playback order when the user folds the foldable screen. Therefore, when the foldable screen is unfolded, the playback order can be from the previous frame of the first frame in the first dynamic scene to the starting frame. When the foldable screen is closed, the playback order can be from the starting frame to the previous frame of the first frame in the first dynamic scene.

[0062] In one specific implementation, during the unfolding of the foldable screen, the included angle between the two sides of the hinge is changed from 0° to 180°. The angle sensor reports three angles: the first angle, the second angle, and the third angle. The first angle is less than the second angle, and the second angle is less than the third angle. After the three angle reports, the electronic device calculates the starting frames corresponding to the first starting frame, the second starting frame, and the third starting frame, respectively.

[0063] Therefore, when the folding screen changes from 0° to the first angle, starting from the frame preceding the first dynamic frame, the third frame following the first starting frame can be played in the reverse order of the first dynamic frame, until the first starting frame. Then, when the folding screen changes from the first angle to the second angle, starting from the frame preceding the first starting frame, the third frames between the first and second starting frames can be played in the reverse order of the first dynamic frame. Finally, when the folding screen changes from the second angle to the third angle, starting from the frame preceding the second starting frame, the third frames between the second and third starting frames can be played in the reverse order of the first dynamic frame.

[0064] By segmenting frames based on the angle as the user changes the foldable screen, fewer third-view frames are played when the user changes the screen angle rapidly, and more third-view frames are played when the user changes the screen angle slowly. This ensures that the electronic device can play all the necessary frames when the user fully folds or unfolds the screen, and the playback speed of the frames matches the speed at which the foldable screen is opened or closed.

[0065] In one implementation, determining at least one third frame after the starting frame includes: determining the frame extraction of a first dynamic frame starting from the starting frame according to a frame extraction step size, wherein the frame extraction step size may be determined according to the speed at which the angle of the folding screen is changed; and extracting frames in the first dynamic frame to obtain at least one third frame after the starting frame.

[0066] In the embodiments of this application, the frame extraction step size can be the frame interval during frame extraction.

[0067] Assuming the frame extraction step size is n, then starting from the initial frame, determining the extraction frame includes: determining the nth frame, the 2nth frame, the 3nth frame, and so on as the extraction frames. Here, n is an integer greater than or equal to 0.

[0068] The starting frame can be the frame preceding the first frame in the first dynamic frame.

[0069] In this embodiment of the application, extracting frames in the first dynamic frame to obtain at least one third frame after the starting frame may include: using the extracted frame as the third frame, or using the remaining frame after removing the extracted frame as the third frame.

[0070] In this embodiment, frames are extracted according to the calculated step size to obtain at least one third frame, thereby making the picture more stable when playing the third frame.

[0071] In one embodiment, when the preset display mode is a first display mode, after playing at least one first frame, the method further includes: if no instruction to enter the first operating mode is received, playing the last frame of the first dynamic image; and entering the second operating mode.

[0072] In this embodiment, the last frame of the first dynamic scene is also the last frame of all first dynamic scene frames. If no information or instruction to return to the first operating mode is received within a set time after receiving the instruction to enter the second operating mode, the first dynamic scene continues to play until the last frame of the first dynamic scene is played.

[0073] In one implementation, the first dynamic image is the image corresponding to the dynamic wallpaper of the electronic device.

[0074] In this embodiment of the application, the video file corresponding to the live wallpaper can be played when the running mode is switched, which enriches the application of live wallpaper and also enriches the user's visual experience of using electronic devices.

[0075] In one implementation, the last frame of the third frame is the first frame in the first frame, and the previous frame in the first dynamic frame.

[0076] In this embodiment, the third frame and the first frame are consecutive frames, thereby improving the continuity of the user's visual experience when playing the first frame and the third frame. The above solution can also be described as follows: the starting frame of the third frame is the frame following the last frame of the first frame in a pre-set video file, and the order of the frames in the pre-set video file is the reverse of the order of the frames in the first dynamic image.

[0077] In one embodiment, obtaining an instruction to enter a second operating mode includes: obtaining an instruction to enter a second operating mode in response to pressing the power button of the electronic device; or obtaining an instruction to enter a second operating mode when the duration of inactivity of the electronic device reaches a preset duration.

[0078] In this embodiment, the instruction to enter the second operating mode can be obtained in various ways. For example, pressing the power button on an electronic device can include operations performed on a control that functions as a power button.

[0079] In one embodiment, the method for processing display information further includes: reading a database field pre-stored by the electronic device, the database field being generated in response to selecting a pre-set display mode, the database field indicating whether the pre-set display mode is a first display mode or a second display mode.

[0080] In this embodiment, before playing the first frame, pre-stored database fields are read. Based on the read database fields, the display mode currently enabled by the electronic device is determined to be the first display mode. Then, the screen corresponding to the live wallpaper is played. This allows different database fields to be pre-set in the electronic device to achieve different display modes.

[0081] In one implementation, the first operating mode is the unlocked screen-on mode, and the second operating mode is the screen-off mode.

[0082] Accordingly, the first display mode and the second display mode are always-on display modes. Specifically, the first display mode is a global always-on display mode, and the second display mode is a partial always-on display mode. In the global always-on display mode, the method provided in this application embodiment enables electronic devices to achieve the effect of always-on display using dynamic wallpapers. Furthermore, when switching from always-on to always-on display, the video file corresponding to the dynamic wallpaper is played forward (equivalent to playing the first dynamic image in reverse), and when switching from always-on to always-on display, the video file corresponding to the dynamic wallpaper is played in reverse (equivalent to playing the first dynamic image forward), so that the switching between always-on and always-on display modes has corresponding display effects.

[0083] In the embodiments of this application, the second screen frame of the second aspect described above may be the same as or partially the same as the first target screen frame and the second target screen frame in other embodiments. For example, the first screen frame includes the second screen frame, or the second screen frame includes the first target screen frame. The third screen frame of the second aspect described above may be the same as or partially the same as the first target screen frame and the second target screen frame in other embodiments.

[0084] Thirdly, embodiments of this application provide an electronic device, which includes: a processor and a memory;

[0085] The memory is used to store a program for an electronic device to perform the method provided in any embodiment of the present application, and to store data involved in implementing the method provided in any embodiment of the present application;

[0086] The processor is configured to execute programs stored in memory.

[0087] Optionally, there may be one or more processors and one or more memories.

[0088] Alternatively, the memory can be integrated with the processor, or the memory can be set up separately from the processor.

[0089] The processing device in the third aspect above can be a chip. The processor can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor that reads software code stored in memory. The memory can be integrated into the processor or located outside the processor and exist independently.

[0090] In the specific implementation process, the memory can be a non-transitory memory, such as read-only memory (ROM), which can be integrated with the processor on the same chip or set on different chips. This application does not limit the type of memory or the way the memory and processor are set.

[0091] Fourthly, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, enable the computer to perform the method described in the first aspect.

[0092] Fifthly, this application provides a computer program product that, when run on a computer, causes the computer to execute a scheduling method of any possible implementation of the first aspect.

[0093] Sixthly, embodiments of this application also provide a processor, including: an input circuit, an output circuit, and a processing circuit. The processing circuit is used to receive signals through the input circuit and transmit signals through the output circuit, causing the processor to execute the method in any of the embodiments of the first aspect described above.

[0094] In specific implementation, the processor can be a chip, the input circuit can be input pins, the output circuit can be output pins, and the processing circuit can be transistors, gate circuits, flip-flops, and various logic circuits. The input signal received by the input circuit can be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to and transmitted by a transmitter. Furthermore, the input circuit and the output circuit can be the same circuit, which is used as both the input circuit and the output circuit at different times. This application does not limit the specific implementation of the processor and various circuits.

[0095] The technical effects achieved by the second, third, fourth, fifth, and sixth aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0096] Figure 1 This is a schematic diagram illustrating an application scenario of an embodiment of this application;

[0097] Figure 2 This is a schematic diagram illustrating another application scenario of an embodiment of this application;

[0098] Figure 3 This is a schematic diagram illustrating another application scenario of this application embodiment;

[0099] Figure 4 This is a schematic diagram illustrating another application scenario of this application embodiment;

[0100] Figure 5 This is a schematic diagram of a method for processing display information according to an embodiment of this application;

[0101] Figure 6A This is a schematic diagram illustrating the playback effect of the first frame in one example of this application;

[0102] Figure 6B for Figure 6A The diagram shows the effect of the electronic device playing the first frame after the first frame shown.

[0103] Figure 6C for Figure 6B The diagram shows the effect of the electronic device playing the first frame after the first frame shown.

[0104] Figure 6D for Figure 6C The diagram shows the effect of the electronic device playing the first frame after the first frame shown.

[0105] Figure 6E This is a black and white schematic diagram of the playback effect of the first frame in one example of this application;

[0106] Figure 7A This is a schematic diagram of a method for processing display information according to another embodiment of this application;

[0107] Figure 7B This is a schematic diagram of the directory where the video file is located in one example of this application;

[0108] Figure 8 This is a schematic diagram of a method for processing display information according to another embodiment of this application;

[0109] Figure 9A This is a schematic diagram illustrating the change in the display area of ​​a foldable screen in one example of this application;

[0110] Figure 9B This is a schematic diagram illustrating the display area change of a non-foldable screen in one example of this application;

[0111] Figure 10A This is a schematic diagram of the external screen display in one example of this application;

[0112] Figure 10B This is a schematic diagram of the screen displayed when the inner screen is not fully unfolded, as shown in one example of this application.

[0113] Figure 10C This is a schematic diagram of the screen displayed when the inner screen is fully unfolded in one example of this application;

[0114] Figure 11A This is a schematic diagram of a video file as an example of this application;

[0115] Figure 11B This is a schematic diagram of a foldable screen in another example of this application;

[0116] Figure 12A A schematic diagram of the display mode setting interface in one example of this application;

[0117] Figure 12B and Figure 12C This is a schematic diagram illustrating the playback effect of the first frame in a first display mode, as shown in one example of this application.

[0118] Figure 13A and Figure 13B This is a schematic diagram of the frame playback effect in a second display mode in one example of this application;

[0119] Figure 14This is a schematic diagram illustrating the steps included in the information display processing method in another embodiment of this application;

[0120] Figure 15 This is a schematic diagram illustrating the steps included in a method for processing information display in another embodiment of this application;

[0121] Figure 16 This is a schematic diagram of the architecture of an electronic device in one embodiment of this application;

[0122] Figure 17 This is a schematic diagram of module interaction in the architecture of an electronic device in one example of this application;

[0123] Figure 18 This is a schematic diagram of a method for processing information display in one example of this application;

[0124] Figure 19 This is a schematic diagram illustrating a method for processing information display in another example of this application;

[0125] Figure 20A This is a schematic diagram illustrating a method for processing displayed information in yet another example of this application;

[0126] Figure 20B This is a schematic diagram illustrating a method for processing displayed information in yet another example of this application;

[0127] Figure 21 This is a schematic diagram illustrating a method for processing displayed information in yet another example of this application;

[0128] Figure 22 This is a schematic diagram illustrating a method for processing displayed information in yet another example of this application;

[0129] Figure 23 A schematic diagram of a display information processing device provided in an embodiment of this application;

[0130] Figures 24A-24C This is a schematic diagram illustrating the unlocking of the device after receiving a message in one example of this application, in both global and local AOD modes.

[0131] Figure 25 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0132] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0133] It should be understood that "multiple" as mentioned in this application refers to two or more. In the description of this application, unless otherwise stated, " / " indicates "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist, for example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, to facilitate a clear description of the technical solutions of this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., do not necessarily imply differences.

[0134] References to "an embodiment," "a particular embodiment," "a implementation," "some implementations," or "some embodiments" as used in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," "in yet another embodiment," "exemplary," "as an example," or "in a possible implementation" appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "configured as," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically emphasized.

[0135] In this embodiment, the electronic device may include a terminal and a server. The terminal may include a mobile terminal and a fixed terminal. The mobile terminal may include laptops, tablets, mobile phones, PDAs, smart wearable devices, electronic calendars, and e-readers, etc. The fixed terminal may include desktop computers or smart home devices, etc.

[0136] With the development of computer and terminal technologies, users are becoming increasingly reliant on electronic devices in their daily lives. Because a significant portion of users frequently use electronic devices to check information such as the time or weather, they may need to perform multiple actions to turn the screen back on when the device is off in order to view the information.

[0137] To facilitate users' access to frequently viewed information on electronic devices, new features have been added. For example, in always-on display (AOD) mode, the screen only displays information that users are likely to view frequently, such as time, date, or weather. Furthermore, in certain screen-off states, the device can display photos, time, battery level, or calendar information that users might need to see. These new features reduce the number of times users need to interact with the screen to access frequently viewed information.

[0138] At the same time, due to the characteristics of electronic devices, when displaying functions such as time, photos, or dates, electronic devices can utilize their own features to provide users with a better viewing experience for information such as time, photos, or dates.

[0139] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this application. Taking a mobile phone as an example, the user pre-enables the AOD (Ahead-of-Demand) function on the phone through settings. Figure 1 As shown in Figure a, when the desktop is displayed on the screen 12 of the phone 11, it is in normal operation mode. If the user presses the power button 13 of the phone 11 to turn off the screen 12, the phone 11 changes from normal operation mode to screen-off mode, and the phone 11 activates AOD mode. The screen displayed on the screen 12 changes from... Figure 1 The transformation of 'a' into... Figure 1 As shown in b, the always-on display is displayed. In the always-on display, the screen 12 shows only a black background, the time, date, and battery icon.

[0140] In another possible application scenario, the display screen 12 can also display the fingerprint unlock light spot, step count information, number of unread messages, weather information, schedule information, system prompts and / or other icons. Figure 1 Not shown in the image. The step count information could be the number of steps taken as tracked by an application with motion tracking capabilities. Users can customize the icons and information displayed when the screen is off.

[0141] Figure 2 This is a schematic diagram of another application scenario of the present application. Figure 2 The mobile phone 21 shown has AOD (Always-On Display) enabled beforehand. The mobile phone 21 is running the first target application, and the display screen 22 of the mobile phone 21 shows the interface of the first target application. Figure 2 Example 'a' uses a chat application as the first target application to demonstrate the chat interface displayed on phone 21 in its normal operating state with the screen on and unlocked when the first target application is running. If the user displays on phone 21's screen... Figure 2When the interface shown in Figure a is pressed, press the power button 22 on phone 21, and phone 21 will switch from... Figure 2 The normal operating state shown in 'a' is transformed into... Figure 2 The always-on display shown in b is a black background with the time, date, and fingerprint unlock light spot displayed on the screen.

[0142] In other similar scenarios, the target application could also be a video playback application, a web browsing application, or a camera application, etc.

[0143] Figure 3 This is a schematic diagram illustrating another application scenario of this application embodiment. Figure 3 The phone 31 shown still has AOD (Ahead-of-Demand) enabled by default. The phone 31 runs a second target application, which can display simplified application information in AOD mode. The second target application can be a map navigation application, a step tracking application, or a recording application, etc. Taking a step tracking application as an example, when the phone 31 is in normal operation, the screen displays the interface of the step tracking application, for example... Figure 3 As shown in a. In Figure 3 In the state shown in 'a', if the user presses the power button on phone 31, phone 31 transitions from normal operation to screen-off mode, and the display screen 32 of phone 31 enters AOD mode, displaying the always-on display. In AOD mode, phone 31 can display a black background and key information about the currently running step count application, such as... Figure 3 The step count information is displayed in b. In addition, the phone 31 can also display basic information that is shown in the AOD mode display interface when no second target application is running, such as time, date and battery icon.

[0144] exist Figures 1 to 3 In the scenario shown, if the user does not perform any operation on the phone within a set time, the phone will automatically lock the screen and enter AOD mode. Alternatively, the user can control a control with an always-on display function, or a control with the same function as the power button, to automatically lock the screen and enter AOD mode.

[0145] Figure 4 This is a schematic diagram illustrating another application scenario of this application embodiment. Figure 4 The phone 41 shown still has AOD (Always-On Display) enabled by default. When the phone 41 is running normally, the user presses the power button on the phone 41 to lock the screen and enter AOD mode. Or, as... Figure 4 As shown in Figure a, the user locks the screen and enters AOD mode via screen control 43 on the display screen 42 of the phone 41. Then, the user lightly touches the screen of the phone 41, causing the display screen 42 to light up and display... Figure 4The lock screen interface shown in b. When the phone is in position 41... Figure 4 In state b, if no user interaction is detected for a given duration exceeding a set threshold, phone 41 will still enter the state as described above. Figure 1 b or Figure 2 The screen-off display shown in b is shown in the image.

[0146] In the embodiments of this application, some technical terms that may have many synonyms are listed below.

[0147] Screen off, also known as screen turning off or screen shut-off, refers to turning off the backlight of the display screen to save power.

[0148] A display screen can also be called a screen or a monitor. A display screen capable of being used for touch control can be referred to as a touchscreen, touch panel, touch display screen, or touch display screen in this embodiment of the application.

[0149] A frame is also called a video frame, image frame, or frame image.

[0150] Reverse playback, also known as backward playback or reverse streaming, refers to playback in the order opposite to a reference order in the embodiments of this application.

[0151] The method for processing display information provided in this application embodiment can also be applied to other related scenarios, which will not be listed one by one here.

[0152] exist Figures 1-4 Based on the scenario shown, the specific implementation of the schedule information processing method provided in the embodiments of this application will be described next. Figure 5 This is a flowchart illustrating a method for processing schedule information according to an exemplary embodiment. This method can be implemented by the electronic device involved in this application embodiment through the interaction of multiple modules. The method may include at least some or all of the following steps S51-S55.

[0153] Step S51: When the electronic device is in the first operating mode, the electronic device receives an instruction to enter the second operating mode.

[0154] In this embodiment, the electronic device has a display screen. In one implementation, in a first operating mode, the display parameters of the electronic device's display screen can be a first parameter; in a second operating mode, the display parameters of the electronic device's display screen can be a second parameter.

[0155] Display parameters can be configuration parameters for the display screen when displaying images. For example, display parameters can be brightness, with the first parameter being a first brightness level and the second parameter being a second brightness level. Alternatively, display parameters can be contrast ratio, with the first parameter being a first contrast ratio and the second parameter being a second contrast ratio. Or, display parameters can be color saturation, with the first parameter being a first color saturation level and the second parameter being a second color saturation level.

[0156] The first operating mode and the second operating mode can be different operating modes of an electronic device. The operating mode of an electronic device may be related to its power consumption level, access permission level, or information security level. For example, the first operating mode and the second operating mode can be modes corresponding to different power consumption levels. Or, the first operating mode and the second operating mode can be modes corresponding to different access permission levels. Or, the first operating mode and the second operating mode can be modes corresponding to different information security levels. Alternatively, the power consumption level, access permission level, and information security level of the first operating mode may all be different from those of the second operating mode.

[0157] In specific embodiments of this application, the instruction to enter the second operating mode may be obtained in a variety of different ways. For example, the instruction to enter the second operating mode may be obtained directly in response to the user's operation.

[0158] In other possible implementations, the instruction to enter the second operating mode can also be obtained through different modules or components of the electronic device. For example, the instruction to enter the second operating mode can be obtained through the touch screen of the electronic device, or through the physical button of the electronic device.

[0159] Different display parameters of electronic devices can be adjusted by the red, green, and blue (RGB) color values ​​of the displayed image frames. Display parameters can also be adjusted by changing the screen's backlight; for example, if the display parameter is brightness, the brightness can be reduced by turning off or lowering the screen's backlight.

[0160] Electronic devices may also have other different attributes under different operating modes. For example, the display interface, functional level, or communication network connection type of the electronic device may differ under different operating modes, which is not limited in the embodiments of this application.

[0161] For example, the first operating mode can be the on (enabled) mode (also known as the on state); correspondingly, the second operating mode can be a low-power mode, such as the doze mode (also known as the doze state).

[0162] For example, in doze mode, an electronic device can meet the following conditions: (1) the screen is off and the screen brightness is zero; (2) it is powered by a battery; and (3) the electronic device does not detect a wake-up event. If the above three conditions are not met, the electronic device can switch from doze mode to on mode.

[0163] For example, the first running mode can be the on mode, and the second running mode can be the doze_suspend mode (also known as the doze_suspend state).

[0164] For example, the first operating mode can be the on_suspend mode, and the second operating mode can be either the doze mode or the doze_suspend mode. In the on_suspend mode or the doze_suspend mode, the central processing unit (CPU) of the electronic device is suspended, and the CPU power consumption is reduced.

[0165] When the electronic device is another type of device, the names of the first operating mode and the second operating mode may differ. These are not listed individually in the embodiments of this application.

[0166] For example, the first operating mode can be a screen-on operating mode, and the second operating mode can be a screen-off operating mode. Alternatively, the first operating mode can be a screen-on operating mode, and the second operating mode can be a sleep operating mode. Or, the first operating mode can be a screen-on operating mode, and the second operating mode can be a power-saving operating mode.

[0167] Step S52: When the preset display mode is the first display mode, the display screen of the electronic device plays at least one first screen frame; the first display mode corresponds to the first dynamic screen, and the first dynamic screen includes at least one first screen frame.

[0168] If the first frame comprises multiple frames, then the first frame following the first first frame is played using the third parameter. The third parameter is a transition parameter between the first and second parameters. The display effect parameter corresponding to the third parameter lies between the display effect parameters corresponding to the first and second parameters. The display effect parameter can represent the effect caused by the display parameters being applied to the display. For example, if the display effect parameter is the display power consumption, the display power consumption corresponding to the third parameter lies between the display power consumption corresponding to the first and second parameters.

[0169] For example, the first dynamic image can be a video file corresponding to the live wallpaper of the electronic device played in reverse, or a video file played in reverse by other pre-set parameters. The live wallpaper can be a wallpaper with dynamic image effects, used to generate a brief animation after the electronic device's screen is unlocked, or after the electronic device's screen is locked. Alternatively, the first dynamic image can be a static image generated during the process of changing display parameters; that is, by adjusting the values ​​of each pixel in different frames of the first dynamic image, the first dynamic image, when played on the electronic device's screen, produces an effect where the screen displays the image using a first parameter, a second parameter, or a third parameter. The static image can be, for example, a frame from the video corresponding to the electronic device's static wallpaper, an image from the electronic device's gallery or photo album, the interface of the target application of the electronic device, or a user-defined interface.

[0170] In this embodiment, the first frame is N1 frames following the first dynamic frame (possibly including the last frame of the first dynamic frame), where N1 is an integer greater than 1. If, after receiving the instruction to enter the second operating mode, no other instruction or event interrupts the electronic device's playback of the first dynamic frame, the electronic device can continue playing the first frame after it has been played, until the last frame of the first dynamic frame is played.

[0171] For example, when playing the first frame, the starting frame can be a frame set in the first dynamic picture. For instance, the starting frame is the Xth frame in the first dynamic picture, where X is an integer greater than 1.

[0172] In one implementation, the first frame includes a first target frame, which is a frame set in the first dynamic frame up to the last frame in the first dynamic frame. The first target frame may also be or include the second frame of the invention's content.

[0173] In one implementation, the third parameter includes multiple different parameters. When playing the first frame using the third parameter, different third parameters can be used for different first frames to produce a visual effect of parameter variation.

[0174] In one implementation, the pre-set display mode can be the display mode when the electronic device switches from a first operating mode to a second operating mode. The display mode can include configuration parameters of at least one display screen of the electronic device. For example, the display mode can include a display method under set conditions. As a more specific example, a gradual display mode can be used when switching operating modes.

[0175] In another implementation, the preset display mode can be the display mode of the electronic device in its second operating mode. For example, the electronic device can be preset to display in AOD (Always-On Display) mode in the second operating mode. Furthermore, the specific presentation method of AOD can be divided into full-screen AOD and partial AOD.

[0176] In this embodiment, the dynamic scene may include dynamic images and / or videos. The dynamic image can be a scene with dynamic effects generated by continuously switching multiple frame images at a specific frequency, and each frame image can be a static image.

[0177] Step S53: If an instruction to enter the first operating mode is received before the last frame of the first dynamic image is played, the display screen of the electronic device plays at least one first image frame in reverse order, starting from the first target image frame; the playback order of the reverse playback is the opposite of the playback order of the first dynamic image, and the first target image frame is the first image frame played when the instruction to enter the first operating mode is received.

[0178] In the embodiments of this application, the initial N2 frame first screen frame (equivalent to at least one second target screen frame played with the first parameter in the invention content) can be played using the first parameter, and N2 can be an integer greater than or equal to 1.

[0179] If the command to enter the first operating mode is received before the last frame of the first dynamic image finishes playing, it is equivalent to receiving the command to enter the first operating mode again within a short period of time after the command to enter the second operating mode is issued. The electronic device has switched operating modes twice within a short period of time.

[0180] Playing at least one first frame in reverse order can mean playing at least one first frame, starting from the first target frame, in the reverse order of its sequence in the first dynamic frame. Since the order of the frames in the first dynamic frame is reversed compared to the order of the frames in the video file pre-stored within the electronic device, playing the first frames in the reverse order of its sequence in the first dynamic frame is equivalent to playing the first frames in the forward order of the pre-stored video file. For example, when playing multiple first frames, the playback order can be: frame 1, frame 2, frame 3…frame N3, where N3 is a positive integer greater than 3. Therefore, when playing multiple first frames in reverse order, the playback order can be: frame N3, frame N3-1,…frame 3, frame 2, and frame 1.

[0181] The first frame of at least one first frame that is played in reverse, i.e. the first target frame in the invention, can be the last frame of the first frame that has been played in forward mode up to the point of receiving the instruction to enter the first operating mode.

[0182] The process of playing the first frame in reverse may include: playing at least one second target frame according to a first parameter, wherein the at least one first frame includes at least one second target frame. The second target frame may include the first first frame. Or, the second target frame includes the first N frames of at least one first frame, where N is an integer greater than or equal to 1.

[0183] As an example, such as Figure 6A As shown, the electronic device is a candybar phone, and the display parameter is the brightness. The first parameter is the initial brightness, and the second parameter is the second brightness. In "on" mode, as shown... Figure 6A As shown in Figure a, the phone displays the desktop. If the phone does not receive any operation command within the set time or the user presses the power button, the phone will restart from its home screen. Figure 6A As shown in 6A, the phone transitions from on mode to doze mode. As shown in 6A, when the phone transitions from on mode to doze mode, the screen is locked, the home screen icons are hidden, and the first frame of the video begins playing. For example, while playing the first frame, the display parameters of the phone's screen are changed as playback progresses, such as... Figure 6B , Figure 6C and Figure 6D As shown.

[0184] In another implementation, the first dynamic frame can be a frame from a pre-stored video file played in reverse. The video frames in the pre-stored video file can include all the first frame frames. Therefore, playing the first frame frames can be achieved by playing the pre-stored video file in reverse. Correspondingly, playing the first frame frames in reverse is essentially equivalent to playing the pre-stored video file forward. Playing the pre-stored video file in reverse can refer to playing it in the reverse chronological order of the frames in the pre-stored video file. Playing the pre-stored video file forward can refer to playing it in the chronological order of the frames in the pre-stored video file.

[0185] If the command to enter the first operating mode is received before the last frame of the first dynamic scene is played (an unlock command may be received simultaneously), then the first frame that has already been played can be played in reverse order from the moment the command to enter the first operating mode is received. Figure 6A Based on the example shown, assuming that during playback to Figure 6C When the first frame shown by d is received, the instruction to enter the first operating mode is received, and then proceeds sequentially from... Figure 6C b in Figure 6C a in Figure 6B b in Figure 6B a in Figure 6A b in the sequence, to Figure 6A Play the first frame in the order of 'a' in the text, until returning. Figure 6A The first operating mode is shown in 'a'.

[0186] As an example, the first target frame can be the last frame of the first dynamic frame.

[0187] As an example, when playing the first frame in reverse order from the first target frame, the changes in display parameters can be the opposite of those when playing the first frame in forward order. For instance, in the second operating mode, upon receiving a command to enter the first operating mode, one can start from... Figure 6D Playback begins with b in the middle, and the playback order follows as follows: Figure 6D b in Figure 6D a in Figure 6C b in Figure 6C a in Figure 6B b in Figure 6B a and Figure 6A In the middle of b, until finally entering the first running mode, it plays. Figure 6A 'a' in 'a'.

[0188] As an example, the first frame can be a series of frames from a pre-defined video file, or it can be a frame obtained by extracting frames from a pre-defined video file. That is to say, Figures 6A to 6D The displayed frames are only used to represent changes in display parameters such as brightness, and to illustrate the relative order in which the frames are played. In actual implementation, Figures 6A to 6D There may be more frames between each pair of frames shown, which are not depicted in this example.

[0189] Step S54: If no instruction to enter the first operating mode is received before the last frame of the first dynamic image is played, the display screen of the electronic device plays the last frame of the first dynamic image; the first image frame includes the last frame of the first dynamic image.

[0190] In the case where there are multiple frames in the first frame, at least one first frame is played with a third parameter. The third parameter can be a transition parameter between the first parameter and the second parameter. The last frame of the first frame can be played with the second parameter (the last frame of the first frame can be in the second frame). Alternatively, the last N4 frames of the first frame can be played with the second parameter (equivalent to: playing at least one first target frame with the second parameter in the invention). N4 is an integer greater than or equal to 1.

[0191] In other words, the relationship between the first, second, and third parameters can exist in at least several ways. Case 1: The first parameter is greater than the third parameter, and the third parameter is greater than the second parameter. Case 2: The first parameter is less than the third parameter, and the third parameter is less than the second parameter. Case 3: The power consumption corresponding to the first parameter is greater than the power consumption corresponding to the third parameter, and the power consumption corresponding to the third parameter is greater than the power consumption corresponding to the second parameter. Case 4: The power consumption corresponding to the first parameter is less than the power consumption corresponding to the third parameter, and the power consumption corresponding to the third parameter is less than the power consumption corresponding to the second parameter. Therefore, during the playback of the first frame to the first target frame, the display parameters change from the first parameter to the third parameter, and then back to the second parameter. If the display parameter is brightness, since there is a third brightness as a transition brightness between the first and second brightness levels, the display visually presents a gradually changing or gradually dimming effect. Utilizing the adjustable brightness of the electronic device's display screen, diverse display methods are achieved.

[0192] For example, the first screen frame and the first target screen frame each include at least one frame. Specifically, the first screen frame includes at least the starting frame of the first screen frame in the first dynamic image played when the electronic device switches from the first operating state to the second operating state in the first display mode; simultaneously, the first target screen frame includes at least the ending frame of the first dynamic image played when the electronic device switches from the first operating mode to the second operating mode in the first display mode. Furthermore, when the aforementioned starting frame of the first screen frame is played with the first parameter, it is equivalent to the second target screen frame, and when the aforementioned ending frame is played with the second parameter, it is equivalent to the first target screen frame.

[0193] In one implementation, if an instruction to enter the first operating mode is received before the last frame of the first dynamic image has finished playing, then the instruction to enter the first operating mode is used to instruct the electronic device to return to the first operating mode and stop entering the second operating mode.

[0194] For example, the instruction to return to the first operating mode and stop entering the second operating mode may be generated when the user touches the screen of the electronic device. When the user touches the touchscreen of the electronic device, the brief process of entering the second operating mode terminates, and the device returns to the first operating mode.

[0195] As an example, the display parameters differ when playing different first-frame images. For example... Figure 6A b in Figure 6B , Figure 6C and Figure 6D These correspond to the first frame at seven different times. As can be seen from the figure, the brightness of the first frame displayed on the phone screen varies, and the brightness of the phone screen gradually decreases.

[0196] exist Figure 6A Based on the example shown in b, if the phone does not experience a playback interruption event or receive an instruction to enter the first operating mode within the set time after the start of step S53, then the phone will continue to play the first frame, displaying the frames sequentially. Figure 6B a, Figure 6B b, Figure 6C a, Figure 6C b and Figure 6D As shown in Figure a. The mobile phone plays the first frame until it reaches the last frame of the first dynamic scene, i.e., the first target frame, and then enters the second operating mode. In the second operating mode, the display screen shows the first display mode. For example, the first target frame can be as follows: Figure 6D As shown in b, the second frame can be partially or completely identical to the first target frame. During the playback of the first and second frames, display parameters such as brightness can be changed.

[0197] In another implementation, the third parameter is a transitional parameter different from the first and second parameters. For example, when an electronic device switches from a first operating mode to a second operating mode, the displayed parameter may first decrease and then increase, or first increase and then decrease, or change multiple times between high and low.

[0198] For example, the first frame may include multiple frames, and when the first frame is played, the third parameter may change according to a certain pattern, such as a linear pattern, an exponential pattern, a fluctuating pattern, or an arithmetic pattern.

[0199] In one specific example, for each first frame, playback is performed according to the corresponding third parameter, causing the display parameters to gradually change as the first frame is played. For instance, if the second parameter is lower than the first parameter, then in steps S53 and S54, the third parameter used for each first frame does not exceed the third parameter used in the previous sequence of first frames. When playing the last frame of the first dynamic scene, playback can be performed using the second parameter or the third parameter closest to the second parameter.

[0200] Step S55: The electronic device enters the second operating mode.

[0201] In one possible implementation, the display parameter is display brightness, and the power consumption of the electronic device in the second operating mode is lower than that in the first operating mode. Accordingly, in the second operating mode, the second brightness of the display screen is lower than the first brightness of the display screen in the first operating mode.

[0202] In one possible implementation, the last frame of the first dynamic image serves as the background or wallpaper of the electronic device's display interface in the second operating mode. In the second operating mode, the electronic device's display interface uses the frame from the first dynamic image as its background. In addition, the display interface may include the time, date, battery level, and / or other user-customized interface elements. These user-customized elements may further include: a light spot corresponding to the fingerprint unlock area, step count, number of unread new messages, the running progress of currently running applications, weather, and / or next schedule reminders, etc.

[0203] In this embodiment of the application, in the second operating mode, the display screen of the electronic device is in the first display mode and simultaneously performs other corresponding operations. For example, the second operating mode can be a doze mode. If the electronic device is a candybar phone and includes a display screen, then in doze mode, the display screen of the electronic device is locked and in the first display mode.

[0204] As an example, the first display mode could be Figures 1 to 4 The AOD display mode shown. Figure 1 a in Figure 2 a in Figure 3 a or Figure 4 In step 'a', the phone is in the first operating mode. When the user presses the power button, a command is generated to enter the second operating mode. In the second operating mode, the phone displays the following interfaces: Figure 1 b in Figure 2 b in Figure 3 b or Figure 4 As shown in b in the diagram. Additionally, in both the first and second display modes, the phone's display interface can also be referenced... Figures 1 to 4 Other similar scenarios.

[0205] As another example, the electronic device is a candybar phone. The first operating mode is "on," and the second operating mode is "doze." The first display mode is either global AOD or local AOD. In global AOD display mode, such as... Figure 6A As shown, the first dynamic image is a scene from the video file corresponding to the phone's wallpaper. When the phone receives a command to enter the second operating mode from the first operating mode, it plays the video file corresponding to the phone's dynamic wallpaper in reverse. Simultaneously, the display parameter is the brightness; as the phone plays the video file in reverse, the brightness of the phone's screen changes, such as... Figures 6A to 6D .in, Figure 6A The moment corresponding to 'a' in the equation is when the phone is in 'on' mode. Figure 6D At the moment corresponding to 'b', the phone is in doze mode. Figure 6A b in Figure 6B , Figure 6C and Figure 6D The moment 'a' corresponds to is when the phone is switching from on mode to doze mode.

[0206] exist Figure 6A After the moment corresponding to 'a' in the code, if the user presses the phone's power button (or a similar control), or if the phone does not detect any wake-up event within the set time, the phone enters doze mode. First, when the phone switches from on mode to doze mode, the app icons on the unlock screen are hidden, the first frame is displayed, and the screen locks. At the beginning of the first frame playback, the elements on the first frame are as follows... Figure 6A As shown in b in the example. In a specific example, elements on the lock screen can be rendered using a fade-in technique. For example, Figure 6A At the moment corresponding to 'b', the phone screen is locked, and the elements on the lock screen begin to show faint, highly transparent outlines, such as... Figure 6A The content within the dashed box of 'b' is shown in the figure.

[0207] exist Figure 6A After moment b, the phone displays the following sequentially: Figure 6B , Figure 6C and Figure 6D The displayed frame, with its display parameter set to brightness, is darkened by the phone while simultaneously generating lock screen elements within it. As the frame is played and darkened, lock screen elements 61 gradually appear, their outlines becoming increasingly clear. Then, as the frame is further darkened, the lock screen elements darken along with it.

[0208] In the example of this application, the black and white effect diagrams of the first frame and the first target frame during playback are as follows: Figure 6E As shown. From Figure 6E a and Figure 6E The number 'b' shows how the phone's display changes when playing different frames.

[0209] In other examples, the first moving image can also be a frame from another preset video.

[0210] As another example, the electronic device is a foldable screen phone, and other conditions are the same as... Figures 6A to 6E The example shown is the same. A foldable screen consists of an outer screen and an inner screen. When the electronic device is folded, the image is displayed on the outer screen; after the electronic device is unfolded to a certain angle, the image is displayed on the inner screen.

[0211] In this embodiment, when the electronic device switches operating modes, a first dynamic image is played. Simultaneously, during the mode switching process, if the electronic device receives an instruction to enter the first operating mode, the already played first image frame is played in reverse. Thus, not only are more diverse visual effects produced when the electronic device switches modes, but the reverse playback operation can also be performed according to the received instruction at the moment of switching. The visual changes reflect the state of the terminal receiving the instruction and the switching state, presenting diverse display effects and bringing users a richer and more diverse experience.

[0212] In another embodiment, the electronic device's display screen includes a foldable screen. In a first operating mode, the foldable screen unfolds or folds. In a second operating mode, the foldable screen folds. Figure 5 The embodiment shown, another embodiment of the method for processing display information includes, as shown in the figure, ... Figure 7A The steps are shown.

[0213] Steps S71-S73 can be referred to Figure 5 The steps S51-S53 are shown, along with related examples.

[0214] For example, the first operating mode is the "on" mode, and the second operating mode is the "doze" mode. Users can use... Figures 1 to 4 In the method of pressing the power button of the electronic device shown, in steps S71 and S72, during the process of the user completing the first screen frame, the electronic device senses the instruction to enter the first operating mode, obtains the instruction to enter the first operating mode, and then ends the playback of the first screen frame, and starts playing the first dynamic screen in reverse from the currently played first screen frame.

[0215] Figure 5 In the illustrated embodiment, steps S51 to S53 respectively correspond to Figure 7A Steps S71 to S73 of the illustrated embodiment. When executing step S73, depending on the angle of the folded screen at the start of reverse playback, after at least one first frame has been played in reverse, step S74 or step S75 can be executed.

[0216] If the folding screen angle is 0 degrees and the user unfolds the folding screen when the electronic device receives the instruction to enter the first operating mode, then proceed to step S74. If the folding screen angle is 0 degrees during step S73 and the user does not change the folding screen angle, then proceed to step S75.

[0217] Step S74: In response to the operation of changing the angle of the folding screen, the display screen of the electronic device plays at least one third frame; the first dynamic image includes at least one third frame.

[0218] In one implementation, if the folding screen of the electronic device is in a folded state in the second operating mode, i.e., the included angle between the two sides of the folding screen hinge is 0, then the first operation to change the angle of the folding screen after step S73 is an operation to unfold the folding screen. This unfolding operation is used to increase the included angle between the two sides of the folding screen hinge. If, in any operating mode, the included angle between the two sides of the folding screen hinge is not 0, the operation to change the angle of the folding screen may be an operation to close the folding screen. This closing operation is used to decrease the included angle between the two sides of the folding screen hinge.

[0219] In one implementation, when the included angle between the two sides of the hinge of the folding screen is not 0, the image frame displayed by the electronic device is only related to the angle of the folding screen, and is independent of whether the user is currently opening or closing the folding screen. Alternatively, when the included angle between the two sides of the hinge of the folding screen is 0, the image frame displayed by the electronic device is not only related to the angle of the folding screen, but also to whether the user is currently opening or closing the folding screen.

[0220] In one implementation, the third frame is different from the first or second frame.

[0221] In one implementation, at least one third frame is played before the at least one first frame, the first target frame, and the second frame in the first dynamic frame.

[0222] For example, the first dynamic image can be the image of the video file corresponding to the dynamic wallpaper (i.e., the pre-set video file in the aforementioned embodiments) played in reverse. For instance, the electronic device may have pre-stored Moving Picture Experts Group 4 (MP4) files, audio video interleaved (AVI) files, advanced streaming format (ASF) files, real media variable bitrate (RMVB) files, or flash video (FLV) files.

[0223] In one example of this application, the storage directory of the video file corresponding to the live wallpaper in the electronic device is as follows: Figure 7B As shown. The live wallpaper may include multiple themes, each theme may further include at least one sub-theme and / or at least one sub-category, and each theme, sub-theme, or sub-category includes at least one specific theme. Each theme corresponds to a theme package stored on the electronic device, and each specific theme in the theme package may correspond to a unique theme number, such as... Figure 7BThe "Theme Number n" is shown in the image. Each theme number corresponds to a video file used to set the live wallpaper, as well as other files used when applying the live wallpaper.

[0224] Other files used when applying a live wallpaper, such as Figure 7B The file shows a preview, wallpaper, unlock, description (description.xml), icons, live wallpaper version category name information (liverpaper.xml), live wallpaper configuration information (liverpaper_config.xml), and the system wallpaper file corresponding to the theme number (butterfly.hwt). The system wallpaper file corresponding to the theme number can be named according to the main content of the theme, such as polar bear, butterfly, or phoenix.

[0225] The wallpaper folder further stores the video and image files corresponding to the live wallpapers. In the case of a foldable screen electronic device, the device may also be equipped with a non-foldable screen; the video files include frames used for display on the foldable screen and frames used for display on the non-foldable screen. Alternatively, if different areas are used to display frames on the foldable or non-foldable screen of the electronic device, the video files include frames used for displaying in those different areas.

[0226] exist Figure 7B The real-time wallpaper configuration information shows the numbering of the starting or ending frame for playback in different areas of the foldable screen, non-foldable screen, or a single display. For example, the electronic device includes a foldable screen and a non-foldable screen. If the corresponding frame number in the non-foldable screen is configured as 50, then the frames played in the non-foldable screen can be frames 0 (or 1) to 50 (i.e., the first frame in the aforementioned embodiment) of the video file, or the frames played in the non-foldable screen can be frames 50 to the last frame of the video file. Correspondingly, the frames played in the foldable screen are the remaining frames.

[0227] In the settings interface of an electronic device, users can select a theme package and the specific themes included within it. After the user clicks the selected control corresponding to the chosen theme, or clicks the application control in the settings interface, the theme is applied to the electronic device. At this point, the application corresponding to the selected theme parses the various files within the theme package, such as... Figure 7B The document shown is used to determine the frame that starts or stops playback on a foldable or non-foldable screen (i.e., to determine...). Figure 1 The first frame in the first frame of the first frame shown in the embodiment or the frame preceding the first frame of the first frame).

[0228] In one specific example, after a user selects a specific theme on an electronic device, upon receiving an instruction to enter a first operating mode or a second operating mode, the first or second animated frame to which the played frame belongs is already determined to be provided by the video file corresponding to the specific theme. Subsequently, if the user switches display modes, the video file corresponding to the specific theme remains unchanged.

[0229] In specific implementations, opening or closing the foldable screen will result in different playback orders for the same frames in the third frame. The process of playing the third frame when opening or closing the foldable screen is illustrated in the following two examples.

[0230] Example (1), the execution method when opening.

[0231] When the foldable screen is unfolded, the electronic device plays at least one third screen frame, including: the electronic device plays the third screen frames in reverse order, according to the reverse order of the timing of the third screen frames in the first dynamic screen.

[0232] It should be noted that an electronic device with a foldable screen may include two or more displays, with the foldable screen being one of the multiple displays included in the electronic device. When the electronic device plays at least one third frame, it can do so on any of the displays, and the display used to play at least one third frame may include either a foldable screen or a non-foldable screen.

[0233] Example (2), the execution method during the closing operation.

[0234] When the foldable screen is closed, the electronic device plays at least one third screen frame, including: playing multiple third screen frames in the order of their positions in the first dynamic screen.

[0235] Similar to the opening operation, when the electronic device plays at least one third frame, it can be played through either a folded screen or a non-folded screen. When the folded screen is closed, the third frame is played forward according to the timing sequence in the first dynamic frame.

[0236] Step S75: The display screen of the electronic device plays the first frame that has already been played in reverse until the first frame that has already been played is played.

[0237] In the specific implementation of this application, the first frame that has already been played is played in reverse order; the actual playback order is the same as... Figure 7B The video file shown contains frames that are played in the same forward order.

[0238] In one specific example, when playing the first frame in reverse, the display parameters of different first frames can be changed to create a transition in the display effect when playing the first frame.

[0239] In another embodiment, when changing the angle of the folding screen, the selection of which frames from the first dynamic image will be used as the currently playing third frame is determined based on the angle of the folding screen. Figure 7A Based on the illustrated embodiment, step S74 can also be implemented through the following steps, see reference. Figure 8 As shown.

[0240] Step S81: The electronic device responds to the operation of changing the angle of the folding screen and determines the angle of the folding screen.

[0241] For example, the angle sensor built into the electronic device reports the angle of the folding screen to the application layer of the electronic device. Whenever the angle reported by the angle sensor is received, the process starts from step S81.

[0242] Step S82: The electronic device determines the starting frame in the third frame according to the angle of the folded screen.

[0243] For example, a preset formula can be set to represent the relationship between the angle of the folded screen and the time of the starting frame in the third frame. Based on the preset formula and the angle of the folded screen, the time of the starting frame in the third frame is calculated.

[0244] For example, a table can be preset to record the angle of the folding screen and the frame number of the starting frame in the third frame in the first dynamic frame, and the frame corresponding to the frame number in the table that corresponds to the angle of the folding screen is used as the starting frame in the third frame.

[0245] Step S83: The electronic device determines at least one third frame after the start frame; the at least one third frame after the start frame is obtained by extracting frames from the frame after the start frame in the first dynamic frame.

[0246] In one example, the third frame following the starting frame in the third frame can be determined by the following process: determining the frame extraction of the first dynamic frame starting from the starting frame according to the frame extraction step size; extracting the frame in the first dynamic frame to obtain at least one third frame following the starting frame.

[0247] Step S84: The electronic device plays at least one third frame.

[0248] When playing the third frame forward, the starting frame of the third frame is the frame that appears earlier in the sequence of the first dynamic frame. When playing the third frame backward, the starting frame of the third frame is the frame that appears later in the sequence of the first dynamic frame.

[0249] In another implementation of this application, step S52 may include: playing the first N first frame images at a first brightness; playing the (N+1)th first frame image at a third brightness, where N is an integer greater than or equal to 0. Correspondingly, step S54 may include: playing the Mth first frame image at a third brightness; playing the (M+1)th first frame image at a second brightness, where the (M+1)th first frame image is used as the first target frame image, where M is an integer greater than or equal to 0. Alternatively, step S54 may include: playing the first target frame image at a second brightness. The first target frame image includes the last frame image of the first dynamic image. If the first dynamic image is a dynamic image of a pre-set video file played in reverse, then the first target frame image includes the first frame image of the pre-set video file.

[0250] In one embodiment, the display parameter is brightness. During the playback of the first frame and the first target frame, the brightness of the displayed frames on the electronic device is changed, thereby enhancing the visual sophistication of the electronic device when switching operating modes. The method of playing the frames may differ depending on the type of display screen configured on the electronic device; specific examples are provided below for illustration.

[0251] Example (1): The display screen of an electronic device may include a foldable screen. The foldable screen can be inward-folding or outward-folding. In an inward-folding mobile terminal, when folded, the foldable screen is located inside, and the user cannot see the display surface of the foldable screen, or cannot see part of the display surface of the foldable screen. In an outward-folding mobile terminal, when folded, the foldable screen is located outside the electronic device. When the electronic device is in a first operating mode or a second operating mode, the foldable screen of the electronic device may be in a folded state or an unfolded state. If the electronic device with a foldable screen does not have other displays, then the method provided in this application embodiment is implemented on the foldable screen. If the mobile terminal with a foldable screen is also equipped with other displays, then the display method provided in this application embodiment is implemented on the foldable screen and the other displays.

[0252] When the display information processing method provided in this application is implemented on a foldable screen of an electronic device, the foldable screen may be divided into different display areas. The playback operation involved in this application embodiment can be implemented in different display areas of the foldable screen. Accordingly, combined with... Figure 5 In the embodiment shown, when performing step S52, playing at least one first screen frame includes: playing one or more first screen frames in one display area of ​​the foldable screen; and playing another or more first screen frames in another display area of ​​the foldable screen.

[0253] For example, in Figure 9AThe electronic device shown has an outward-folding screen that displays image frames. The outward-folding screen may be divided into two display areas by a hinge. In the unfolded state, refer to... Figure 9A In section 'a', the entire outward-folding screen 91 is used to display the frames of the video being played. In the folded state, refer to... Figure 9A In the diagram, 'b' refers to one of the two display areas of the outward-folding screen, used to display the frame being played. The pixels of the other display area are turned off, becoming a non-display area.

[0254] Example (2): When the display information processing method provided in this application embodiment is implemented on the non-foldable screen of an electronic device, the non-foldable screen may be divided into different display areas. The playback operation involved in this application embodiment can be implemented in different display areas of the non-foldable screen.

[0255] Reference Figure 9B As shown in 'a', in the first operating mode, the display area is the entire pixel area of ​​the non-foldable screen. (Refer to...) Figure 9B As shown in b, in the second operating mode, some pixel areas of the non-foldable screen are lit up to display the first screen frame, the first target screen frame, the second target screen frame, the second screen frame, and / or the AOD interface. Figure 9B In the 'b' section, a black background indicates that the pixel is off.

[0256] Correspondingly, combined Figure 5 In the embodiment shown, step S52, playing at least one first frame includes: playing one or more first frames in the entire pixel area of ​​the non-foldable screen; and playing another or more first frames in a portion of the pixel area of ​​the non-foldable screen.

[0257] Example (3), as another example, in the first running mode, such as Figure 9B The area of ​​pixels in the non-foldable screen, indicated by 'a', is used to display the frame of the video being played. In the second operating mode, as... Figure 9B As shown in b, the pixel area within the dashed line on the non-foldable screen is used to display the played video frames. During the transition from the first operating mode to the second operating mode, the pixel area on the non-foldable screen used to display the played video frames gradually shrinks until it reaches a certain size. Figure 9B The size indicated by 'b' is set, and the system simultaneously enters the second operating mode. Therefore, the size of the first target frame displayed on the screen is smaller than or equal to that of the first frame.

[0258] Correspondingly, combined Figure 5In the embodiment shown, in step S52, when at least one first frame is played, the size of each first frame is changed according to the size of the partial pixel area corresponding to each first frame (the first frame after the size change is used as the first target frame), and the first frame is played according to the changed size, so that each first frame is adapted to be displayed in the partial pixel area of ​​the display screen.

[0259] Example (4), when the method provided in this application embodiment is applied to an electronic device having multiple displays, in Figure 5 Based on the illustrated embodiment, when performing step S52, playing at least one first screen frame includes: playing the corresponding first screen frame on at least one display screen. The display screen used to play the first target screen frame is not limited.

[0260] Example (5), when the display method provided in this application embodiment is implemented on a foldable screen and a non-foldable screen of an electronic device, in Figure 5 Based on the illustrated embodiment, when performing step S52, playing at least one first screen frame includes: playing at least one first screen frame on the outer screen of the electronic device. The outer screen of the electronic device is a non-foldable screen or a foldable screen. The first target screen frame is also played on the outer screen.

[0261] For example, if an electronic device has an inward-folding screen, then the outer screen is a non-folding screen. The first operating mode is "on" mode. In this mode, the screen may be folded or unfolded. When the angle between the two sides of the hinge is less than a certain threshold, the display automatically switches from the folded screen to the non-folding screen. The second operating mode is "doze" mode. In this mode, the screen is folded, so the display appears on the outer screen, i.e., on the non-folding screen. Figure 5 In the embodiment shown, when performing step S52, playing at least one first screen frame includes: playing at least one first screen frame on the external screen of the electronic device.

[0262] exist Figure 5 Based on the illustrated embodiments, if the electronic device includes a foldable screen and a non-foldable screen, and the foldable screen is an inward-folding foldable screen, then, as Figure 10A As shown, the non-foldable screen is the outer screen 101 of the electronic device, as... Figure 10B As shown, the foldable screen is the inner screen 102 of the electronic device. The size of the non-foldable screen is smaller than that of the foldable screen. When the included angle between the two sides of the foldable screen hinge is less than a certain angle threshold, the outer screen lights up and is used to display relevant information about the electronic device. When the included angle between the two sides of the foldable screen hinge is greater than a certain angle threshold, the inner screen lights up and is used to display relevant information about the electronic device.

[0263] Figure 7A and / or Figure 8 The illustrated embodiments can be applied to electronic devices with foldable screens, such as... Figure 9A , Figure 10A or Figure 10B The electronic device shown. When Figure 7A and / or Figure 8 When the illustrated embodiment is applied to an electronic device with a foldable screen, or an electronic device with both a foldable screen and a non-foldable screen, if playback is performed on a foldable screen, the frame of the playback is determined according to the angle of the foldable screen.

[0264] The electronic device pre-stores at least one video file, which can be used as the first dynamic image when the set display mode is a first display mode. For example, the video file providing the first dynamic image is as follows: Figure 11A As shown, the first dynamic frame can be Figure 11A The video file shown is generated by playing it in reverse.

[0265] Assumption Figure 11A The video file contains 200 frames, combined with Figure 5 The illustrated embodiments and Figures 1 to 4 In the scenario shown, the first operating mode is "on" mode. In "on" mode, the user presses the phone's power button, generating a command to enter the second operating mode, which is "doze" mode. Then, step S52 is executed, playing at least one first frame, including: playing a video file in reverse from a preset frame, where the preset frame is a first frame. Assuming the preset frame is the 60th frame 111 in the video file, then when executing step S52, playback is performed frame by frame starting from the 60th frame, i.e., the 60th frame, the 59th frame, the 58th frame, and so on are played sequentially.

[0266] based on Figure 5 In the illustrated embodiment, whether an instruction to enter the first operating mode is received before the last frame of the first dynamic image is played determines the process. Figure 5 The method shown will subsequently execute either step S53 or step S54. The last frame of the first dynamic frame, i.e. Figure 11A The 0th frame of the video file shown (also known as the first frame of the video file, or the initial frame of the video file, etc.).

[0267] In one scenario, before the last frame of the first dynamic image finishes playing, an instruction to enter the first operating mode is received, and step S53 is executed. Combined with... Figure 11AIf, when the instruction to enter the first running mode is received, the video file is played to the 30th frame, then in step S53, at least one first frame is played in reverse, including: starting from the 30th frame, the video file is played forward frame by frame until the 60th frame of the video file is played. At this time, the 30th frame is equivalent to the first target frame in step S53.

[0268] In another scenario, no instruction to enter the first operating mode is received before the last frame of the first dynamic image has finished playing. In this case, step S54 is executed, combined with... Figure 11A Step S54 includes: playing the 0th frame of the video file, where the 0th frame is equivalent to the last frame of the first dynamic picture.

[0269] Reference Figure 11A The video file shown is played frame by frame, either forward or backward, starting from the corresponding frame, regardless of whether the electronic device switches from the second operating mode to the first operating mode or vice versa.

[0270] Alternatively, when the electronic device switches from the first operating mode to the second operating mode, the video file can be played frame by frame, starting from the corresponding frame. Simultaneously, when the electronic device switches from the second operating mode to the first operating mode, the video file can be played by extracting frames from a continuous sequence of frames, starting from the corresponding frame.

[0271] Alternatively, in electronic devices including foldable screens, where the angle between the two sides of the foldable screen hinge changes during the switching of operating modes, frames can be extracted from a pre-set video file for playback.

[0272] Figure 11A The video file shown can be used as the first moving image and applied to... Figure 7A , Figure 8 The illustrated embodiment. Figures 10A to 10C The electronic devices shown are Figure 11A When the video files are combined, a portion of the video files are played on the external screen 101 of the electronic device, and another portion of the video files are played on the internal screen 102 of the electronic device. When the angle between the two sides of the internal screen hinge is approximately 180°, the 200th frame 112 is played. If the external or internal screen of the electronic device is not activated during the operation mode switch, then the video file corresponding to the activated display screen is played.

[0273] In another implementation of this application, the electronic device may be able to sense changes in the landscape or portrait orientation of the display screen and adjust the image frames accordingly. Furthermore, in addition to the left-right folding screen shown in the accompanying drawings of several embodiments of this application, the electronic device may also include a right-down folding screen, such as... Figure 11B As shown.

[0274] In some embodiments, the electronic device may activate a first display mode or a second display mode, as a display mode within a second operating mode. Figure 5 Based on the illustrated and related embodiments, the display mode can be configured before step S52. An example of display mode configuration is as follows: Figure 12A As shown, the first display mode is full-screen AOD (also known as global AOD), and the second display mode is local AOD.

[0275] Figure 12A The full-screen and partial AOD display modes shown can be implemented using different controls. For example, an electronic device is configured with an Android application package (APK) for AOD. In partial AOD display mode, the view control within the AODAPK configured on the electronic device is launched to draw screen frames and enable playback of those frames.

[0276] In global AOD display mode, the electronic device plays screen frames through view controls in the wallpaper APK. After receiving a command to enter the second display mode, the electronic device reuses the view controls of the wallpaper APK and the screen displayed when the device is locked, darkening the lock screen to obtain first screen frames with varying brightness. For example, darkening the lock screen can include adjusting the lock screen image or creating a layer on the lock screen image.

[0277] For example, in global AOD display mode, when the lock screen is dimmed, some icons (elements) on the lock screen can be hidden, such as the camera quick launch icon. Figure 12B As shown in 'a', this is the lock screen, which includes the camera icon 1201. Other icons may also appear on the lock screen. Figure 12B The 'a' in the diagram is not shown. Figure 12B After gradually darkening and hiding the element 'a' in the image, from... Figure 12B transition from b in Figure 12C In the case of 'a', the final result is... Figure 12C The effect shown in b is as follows. It can be seen that in... Figure 12CIn the image 'a', the camera icon 1201 begins to fade out (gradually appears) and then disappears. Figure 12C In option b, the camera icon is completely hidden. The aforementioned fade-out effect could be the icon's pattern gradually fading until it disappears.

[0278] If no instruction to enter the first operating mode is received at this time, from Figure 12B The first frame shown as b in the image is played sequentially to... Figure 12C The first frame shown in 'a', until... Figure 12C The last frame of the first dynamic image shown in b.

[0279] In one embodiment, in Figure 5 In the illustrated and related embodiments, if the electronic device is configured with two or more display modes, such as... Figure 12A The configuration shown includes two display modes, each of which can correspond to different dynamic images. When the preset display mode is the second display mode, after step S51, at least one fourth frame is played; the second dynamic image corresponding to the second display mode is then played.

[0280] The aforementioned fourth frame is a frame pre-configured by the electronic device. For example, the at least one fourth frame is a pre-set static frame; or the at least one fourth frame is a frame in the first dynamic frame. In the case where the at least one fourth frame is a frame in the first dynamic frame, the at least one fourth frame includes the last frame of the first dynamic frame.

[0281] For example, in Figure 5 Based on the illustrated embodiments, electronic devices such as Figure 12A As shown, two display modes can be configured, and the user has selected one. Figure 12A The partial AOD display mode shown depicts the image displayed on the screen as follows. Figure 13A As shown. When the electronic device is in the first operating mode, if the user presses the power button, or if the electronic device does not receive any command within a set time, the electronic device will enter the second operating mode. After receiving the command to enter the second operating mode, it will first proceed as follows: Figure 13A As shown in 'a', the pre-set fourth frame is played. Figure 13A In the example, the fourth frame being played was Figure 13A The second dynamic image shown in b is or Figure 13A The "off" (closed) screen shown in the image is obscured and not displayed. After the playback of the fourth frame is complete, the last fourth frame is displayed below the layer of the second dynamic screen, so that the last fourth frame can be displayed after the layer of the second dynamic screen is destroyed.

[0282] The fourth frame may consist of one frame or multiple frames. When there are multiple fourth frames, the content of these frames may be identical. Then, the electronic device plays the second dynamic image shown in the partial AOD (Ahead-On Display). The second dynamic image may be an animated video comprising multiple frames, such as... Figure 13A b in Figure 13B As shown, where, Figure 13B This can be the last frame of the second dynamic image. After playing multiple frames of the second dynamic image, the electronic device enters the second display mode, such as... Figure 13B As shown.

[0283] Combination Figure 5 , Figures 12A to 13B In the embodiment shown, if the electronic device is configured in the second display mode, the display brightness can be maintained without changing when playing video frames.

[0284] In another embodiment, besides Figures 12A to 12C Besides the method shown, other methods can be used to configure the display mode. Furthermore, the electronic device can also allow only one display mode to be configured; for example, the electronic device can only set the display mode for a partial AOD. In the partial AOD display mode, the electronic device launches the view control and plays the frame of the partial AOD through the AOD APK (i.e., the aforementioned AODAPK). Accordingly, Figure 5 In the embodiment shown, the first dynamic frame is a dynamic frame of a local AOD. Figure 5 The related embodiments and various examples are also applicable to the display mode of partial AOD.

[0285] In Adoption Figures 12A to 12C The display mode configuration shown Figure 5 In the case of the first display mode, after step S51 and before step S52, the method further includes: reading a database field pre-stored by the electronic device, the database field being generated in response to selecting the preset display mode, the database field indicating that the preset display mode is either the first display mode or the second display mode.

[0286] Similarly, if the second display mode is enabled in advance, after receiving the instruction to enter the second operating mode, the above steps of reading database fields are also executed before playing the corresponding screen frame.

[0287] based on Figures 12A to 12CIn the illustrated embodiment, if a user pre-configures the display mode as a first display mode or a second display mode through the electronic device's configuration interface, after the user confirms the configuration, the electronic device generates database fields corresponding to the user-configured display mode and stores these fields in a storage location on the electronic device. This allows the electronic device to retrieve the database fields from the storage location upon receiving an instruction to enter the first operating mode. When the user updates the display mode, the electronic device generates new database fields to update the original ones. When the user closes the pre-set display mode, a preset invalid field replaces the database field corresponding to the current display mode.

[0288] In other implementation methods, besides Figures 12A to 12C In addition to the two display modes shown, electronic devices can be pre-configured with more display modes, each corresponding to a different APK or a different video file. For example, an electronic device can also be pre-configured with a third display mode. After the user activates the third display mode, whenever the electronic device receives an instruction to enter the second operating mode from the first operating mode, it launches the view control of the target application through the pre-set target application APK and plays at least one cached frame of the target application. The cached frame of the target application may include information related to the target application.

[0289] The target application might be a timetable application. When the electronic device is in its first operating mode, if the user presses the power button or the electronic device is not woken up within a set time, the screen will be locked and the corresponding screen frame of the timetable application will be played. The screen frame of the timetable application includes information related to the timetable application, such as the plan for the next class or class reminders.

[0290] The aforementioned target application could also be a functional module within an electronic device, such as a screen lock module. In the first operating mode, upon receiving a command to enter the second operating mode, the screen lock module activates, creating a screen lock layer on the current screen of the electronic device. On top of this, another layer is created to play the first frame. During the playback of the first frame, the screen brightness is adjusted until the second operating mode is entered.

[0291] Figure 5 and with Figure 5 The relevant embodiments describe possible operational methods when an electronic device, while in a first operating mode, receives an instruction to enter a second operating mode. In other embodiments, if the electronic device was originally in a second operating mode and receives an instruction to enter the first operating mode, then the electronic device executes accordingly. Figure 14 The method shown includes the following steps S1401-S1402.

[0292] Step S1401: When the electronic device is in the second operating mode, the electronic device receives an instruction to enter the first operating mode.

[0293] It should be understood that if the second operating mode is doze mode, the electronic device may be in a screen-locked state in the second operating mode. When the electronic device enters the first operating mode from the second operating mode, it may need to unlock the screen. Therefore, the command to enter the first operating mode may be generated based on user operation.

[0294] For example, when a user touches the fingerprint sensor on a touchscreen, sending an unlock command to the electronic device, this unlock command can be used as the command to enter the first operating mode. Similarly, when a user activates the screen of an electronic device, displaying an unlock interface, and the user inputs an unlock command via the keyboard, this keyboard-input unlock command can also be used as the command to enter the first operating mode. Furthermore, when a user places their face in front of the camera of an electronic device and activates the screen, the device captures the facial image through the camera and generates an unlock command; this automatically generated unlock command can also be used as the command to enter the first operating mode. Alternatively, after receiving the command to enter the first operating mode, an unlock command request can be generated simultaneously, and the device can automatically check if unlocking conditions exist.

[0295] In one implementation, the command to enter the first operating mode may not include an unlock command. In this case, after the user unlocks the electronic device's display, the display is in a state where access to the desktop is possible, but the lock screen is still displayed. The user can issue the command to enter the first operating mode through desktop controls, touch gestures, mouse scrolling, or unfolding the foldable screen.

[0296] In one implementation, the command to enter the first operating mode does not include an unlock command. In the second operating mode, the electronic device displays an always-on display. If the electronic device receives a notification from another device, or generates a notification based on an event, the always-on display remains unchanged even without receiving an unlock command.

[0297] In other implementations, in the second operating mode, the electronic device displays an always-on display. If the electronic device receives a higher-level notification or generates a higher-level notification based on an event, and no unlock command is received, the electronic device displays a notification interface (such as an incoming call notification interface).

[0298] In another implementation, the instruction to enter the first operating mode includes an unlock instruction. Upon receiving the instruction to enter the first operating mode, the electronic device in the second operating mode is unlocked, then the lock screen layer of the display is destroyed, and execution... Figure 14 Step S1402 and subsequent steps.

[0299] Step S1402: The display screen of the electronic device plays the at least one first frame in reverse.

[0300] In the embodiments of this application, Figure 14 The illustrated embodiments can be used with Figure 5 and with Figure 5 Any related embodiments may be combined. Regardless of the operating mode of the electronic device, when the electronic device transitions from a second operating mode to a first operating mode, a frame of the first dynamic image is played. That is, in one example, the electronic device may have a global AOD display mode or a local AOD display mode pre-enabled. However, regardless of which display mode is pre-enabled, the electronic device plays the video file corresponding to the desktop live wallpaper when entering the first operating mode.

[0301] when Figure 14 When the illustrated embodiment is applied to electronic devices with foldable and non-foldable screens, the user may change the foldable screen from a folded state to an unfolded state when entering the first operating mode. In this case, the following will be executed: Figure 15 The steps shown. Step S151 corresponds to... Figure 14 Step S1401. Step S152 corresponds to... Figure 14 In step S1402, in Figure 15 In the example shown, playing the at least one first frame in reverse includes: playing the first frame in reverse starting from the last frame of the first dynamic frame.

[0302] exist Figure 15 Based on step S152 shown, refer to Figure 7A In the illustrated embodiment, step S74 and in related embodiments, step S153 is executed.

[0303] If the included angle between the two sides of the hinge of the folding screen is expanded to 180° when step S153 is executed, then the second target screen frame played in step S153 includes the frame before the first screen frame in the first dynamic screen, up to the first frame in the first dynamic screen.

[0304] The first dynamic frame is Figure 11A Taking the video file shown as an example of playing it in reverse, when the angle between the two sides of the folding screen hinge is unfolded to 180°, the second target frame includes... Figure 11AThe video file shown contains frames 61 through 200.

[0305] exist Figure 15 In the illustrated embodiment, after step S153, step S154 is also executed: the electronic device enters the first operating mode.

[0306] exist Figure 14 Building upon this, in one possible implementation, when the electronic device transitions from a second operating mode to a first operating mode, the video file corresponding to the live wallpaper is played. During playback, the display brightness of the screen frames can be changed, causing the brightness of the screen frames to gradually increase as the device transitions from the first operating mode. In other words, the brightness change process of the screen frames when the electronic device transitions from the second operating mode to the first operating mode can be the reverse of the brightness change process when the electronic device transitions from the first operating mode to the second operating mode.

[0307] In this embodiment, the first target frame and the second target frame have set display parameters during playback, while the second frame and the third frame have a specific order during playback and within the first dynamic frame. In a specific example, the first target frame, the second target frame, the second frame, or the third frame may be the same or partially the same. In other implementations, they may also be named sequentially in the order of fourth, fifth, or sixth.

[0308] The method provided in this application can be applied to electronic devices. In one implementation, a schematic diagram of the software architecture configured in the electronic device is shown below. Figure 16 As shown, Figure 16 The electronic device shown runs the Android operating system. In other embodiments, the electronic device may be equipped with other types of operating systems.

[0309] Figure 16 This is a block diagram of a software system for an electronic device to which the method provided in the embodiments of this application is applied. See also... Figure 16 A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system comprises multiple layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system layer, and the kernel layer. When the electronic device is a touchscreen, the user can send instructions to enter a first operating mode or a second operating mode, layer by layer, from the kernel layer to the application layer via the touchscreen.

[0310] The application layer can include a series of application packages. For example... Figure 16As shown, the application package may include: a system user interface (system UI), livepaper, photo album, camera, AOD, theme, pedometer, and map applications. These applications can all be used to obtain or play the screen frames involved in the embodiments of this application. For example, the photo album application can store video files corresponding to the livepaper; the system UI can be used to generate the screen display or implement a lock screen based on various elements (such as screen frames, date, or step count); the livepaper application can generate wallpaper images using pre-stored video files; the camera application can generate corresponding quick launch controls on the lock screen; the pedometer application can display step counts on the lock screen; and the map application can display simplified routes on the lock screen.

[0311] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications within the application layer. The application framework layer includes some predefined functions. For example... Figure 16 As shown, the application framework layer may include a wallpaper manager, a sensor manager, a wallpaper manager service, a screensaver service, a resource manager, and a power manager (or power manager service). When the electronic device transitions from a first operating mode to a second operating mode, or vice versa, the corresponding service is launched through the system UI to play the corresponding frame. The sensor manager can be used to report the angle of the folded screen when the user changes it.

[0312] Still refer to Figure 16 The system layer includes the Android runtime. The Android runtime comprises the core libraries and the virtual machine. It is responsible for scheduling and managing the Android system. The system layer also includes native C / C++ libraries, which include various related function interfaces, such as the Open Graphics Library.

[0313] The hardware abstraction layer (HAL) is an interface layer located between the operating system kernel and the hardware circuitry. Its purpose is to abstract the hardware and enable interaction between the hardware and the system.

[0314] The Linux kernel is the layer between hardware and software. It contains at least a display driver module, a camera driver module, a touchscreen driver module, and a graphics driver module. When a user interacts with the touchscreen or buttons of an electronic device, the kernel can generate instructions to enter a first operating mode, a second operating mode, or unlock the screen based on these actions.

[0315] Under the aforementioned five-layer architecture, the receiving device also includes a hardware layer, which may include the aforementioned electronic device hardware components, such as displays and buttons.

[0316] In one implementation, the module for implementing the method of the embodiments of this application is delivered in the form of a binary APK, located at the application layer, and depends on underlying system capabilities such as the application framework layer, native libraries, HAL, and kernel layer.

[0317] Figure 17 Showing Figure 16 This is one embodiment of the interaction method of the modules in the illustrated architecture. The theme 171 in the application layer can be implemented using an APK and is used to set the theme 171 for playback frames. After the user sets the theme name for the desktop, lock screen, or live wallpaper, theme 171 obtains the name resolution result based on the theme name, and the resolution result corresponds to the name of the service. Theme 171 is also used to preview, display, and apply the selected theme name, providing the live wallpaper 172 with image or video resources corresponding to the theme name.

[0318] Based on the name resolution results, wallpaper service 173 retrieves the service corresponding to the theme name from live wallpaper 172. Furthermore, live wallpaper 172 is the application layer implementation and execution module of wallpaper service 173, inheriting from wallpaper service 173. It can receive commands corresponding to control events (such as commands to enter the first running mode, the second running mode, or unlock commands), and then control the playback of the corresponding screen frames.

[0319] exist Figure 17In the illustrated embodiment, the system UI can be used to receive instructions (such as instructions to control the playback of screen frames), and also to receive wallpaper switching broadcast notifications, set images for the lock screen, etc. When a user sends an instruction to enter the second operating mode or the first operating mode via the power button of the electronic device, the signal received by the power button is sent to the system UI, enabling the system to receive the instruction to enter the second operating mode or the first operating mode. Simultaneously, the system UI can also be used to receive lock screen instructions or unlock instructions. For example, after receiving the corresponding instruction, the system UI sends the received instruction to the wallpaper service 173, which then sends the instruction to the real-time wallpaper 172, allowing the real-time wallpaper 172 to monitor events such as screen on / off, screen lock, or unlock of the electronic device. Figure 17 The embodiments shown also include power management modules, kernel-level display drivers, etc., which will not be described again here.

[0320] Figure 18 Based on Figure 16 ,and Figure 17 The framework structure shown is a schematic diagram of an example implementation method of this application. Figure 18 In the example shown, the electronic device has a full-screen AOD display mode pre-activated, with the first operating mode being on mode and the second operating mode being doze mode. Figure 18 The example shown includes the following steps S181-S1810.

[0321] Step S181: When the user presses the power button while the electronic device screen is on, the electronic device's power manager generates a command to enter the second operating mode.

[0322] In this example application, the instruction to enter the second running mode can be the "going to sleep" instruction.

[0323] Step S182: The power manager sends the instruction to enter the second running mode to the livepaper module of the wallpaper application.

[0324] Correspondingly, the real-time wallpaper module receives an instruction to enter the second operating mode.

[0325] Among them, wallpaper applications can be Figure 17 The live wallpaper shown is 172 or Figure 16 The wallpaper application is located in the application layer. The real-time wallpaper module can be a class within the wallpaper application.

[0326] Step S183: The real-time wallpaper module reads the database fields and determines that the current display mode is global AOD.

[0327] Step S184: The live wallpaper module sends a dynamic image playback command to the playback module (player) of the wallpaper application.

[0328] Correspondingly, the playback module receives the instruction to play the dynamic image.

[0329] The dynamic video playback command can be expressed as: `playanimation(X, 0)`, which means playing frames X through 0 of the video file. Here, X is a positive integer, and frame X is the starting frame of the first frame in the video file. The playback module is another class in the wallpaper application.

[0330] For each first frame corresponding to the dynamic image playback command, the frame is rendered and output to achieve playback of the first frame.

[0331] The rendering and output process for each first frame includes: Figure 18 Steps S185 to S1810 in the process.

[0332] Step S185: The playback module locates the next first frame and sends the information of the located first frame to the media codec module of the wallpaper application.

[0333] The media encoding / decoding module is another class for the wallpaper application.

[0334] At the start of playback, the next first frame is the first frame in the first dynamic frame, which is also the Xth frame of the video file corresponding to AOD display mode.

[0335] Step S186: If the media codec module has not yet been started, configure the rendering parameters of the media codec module and start the media codec module.

[0336] Step S187: The media codec module determines that an available input buffer exists.

[0337] Step S188: The media codec module puts the next first frame into the input buffer and adds it to the waiting queue.

[0338] Step S189: The media codec module determines that there is an available output buffer and obtains the decoding data of the next first frame from the output buffer.

[0339] Step S1810: The media codec module outputs the decoded data to the display engine (surface flinger) for compositing and rendering.

[0340] The display engine is a component of the local runtime library.

[0341] Figure 19 Based on Figure 16 ,and Figure 17 The framework structure shown is a schematic diagram illustrating another example of the implementation method of this application. Figure 19 In the example shown, the electronic device has a local AOD display mode pre-activated, with the first operating mode being on mode and the second operating mode being doze mode. Figure 19 The example shown includes the following steps S1901-S1910.

[0342] The execution method of step S1901 can refer to step S181, and the execution method of step S1902 can refer to step S182.

[0343] Step S1903: The real-time wallpaper module reads the database fields and determines that the current display mode is partial AOD.

[0344] Step S1904: The real-time wallpaper module sends a dynamic image playback command to the playback module.

[0345] The command to play dynamic images can be expressed as: `seektotargetframe(0)`, which means playing the 0th frame of the video file. The 0th frame of the video file corresponds to... Figure 5 The last frame in the first dynamic scene of the illustrated embodiment.

[0346] The execution methods of steps S1905 to S1910 can be referred to accordingly. Figure 18 In the corresponding embodiment, steps S185 to S1810 are described.

[0347] After step S1901, the APK for the local AOD starts, creates a layer on the display screen, and the created layer is located at the top of the display screen. The APK for the local AOD plays the second dynamic image corresponding to the local AOD in the created layer.

[0348] Figure 20A Based on Figure 16 ,and Figure 17 The framework structure shown is a schematic diagram illustrating another example of the implementation method of this application. Figure 20A In the example shown, the electronic device has pre-activated a local AOD or global AOD display mode. The first operating mode is the on mode, and the second operating mode is the doze mode. Figure 20A The example shown includes the following steps S201-S2011.

[0349] Step S201: When the user presses the power button while the electronic device is off, the power manager of the electronic device generates a command to enter the first operating mode.

[0350] Step S202: The power manager sends a command to the live wallpaper module to enter the first running mode.

[0351] In this example, the instruction to enter the first running mode can be: waking up.

[0352] Step S203: The real-time wallpaper module sends a dynamic image playback command to the playback module (player) of the wallpaper application.

[0353] The animation playback command can be expressed as: playanimation(0, X), which means playing frames 0 to X of the video file, i.e., playing the first frame of the first animation in reverse. X can be obtained from the configuration item corresponding to the theme name.

[0354] In steps S204 to S209, decoding and rendering are performed for each first frame. The execution method of step S204 can refer to step S185, the execution method of step S205 can refer to step S186, the execution method of step S206 can refer to step S187, the execution method of step S207 can refer to step S188, the execution method of step S208 can refer to step S189, and the execution method of step S209 can refer to step S1810.

[0355] Figure 20B An example based on this application Figure 18 and Figure 20A The implementation method. In Figure 18 After step S1810 as shown, if the playback of the last frame of the first dynamic image is not completed, then it may enter... Figure 20B The process is shown. It includes steps S2011 to S2091.

[0356] Step S2011: After the electronic device receives the instruction to enter the second operating mode and is about to enter the second operating mode, the user operates the electronic device, and the power manager of the electronic device generates an instruction to enter the first operating mode.

[0357] Figure 20B This demonstrates how, after a user receives a command to enter the second operating mode on an electronic device, but before all the first and second frame frames have been played, pressing the power button again or unlocking the device's screen using touch controls will trigger the following action: Figure 20A The first frame is played back in a similar manner. Therefore, Figure 20B Steps S2021 to S2091 are implemented in the same way as steps S202 and S209, respectively.

[0358] Figure 21Based on Figure 16 ,and Figure 17 The framework structure shown is a schematic diagram illustrating another example of the implementation method of this application. Figure 21 In the example shown, the electronic device has pre-activated a local AOD or global AOD display mode. The first operating mode is the on mode, and the second operating mode is the doze mode. Figure 21 The example shown includes the following steps S211-S2113.

[0359] Step S211: The user folds the foldable screen, causing a change in the screen's angle.

[0360] Accordingly, the sensor manager calls the angle acquisition function to obtain the angle of the folded screen when the user folds it. The angle acquisition function can be expressed as: onsensorchanged().

[0361] Step S212: The sensor manager sends the angle to the live wallpaper module.

[0362] Correspondingly, the real-time wallpaper module receives the angle sent by the sensor manager.

[0363] Step S213: The real-time wallpaper module verifies the reliability of the angle sensor.

[0364] In the specific example of this application, credibility can also be referred to as reliability. The real-time wallpaper module can call the sensor verification function to determine the credibility, which can be expressed as: verifysensorreliability().

[0365] Step S214: The real-time wallpaper module verifies the fusion degree of the electronic device's sensors.

[0366] In a specific example of this application, the degree of sensor fusion can refer to the degree of fusion of data acquired by multiple sensors, such as whether the data acquired by one sensor contradicts the data acquired by other sensors.

[0367] In a specific example, the live wallpaper module can call the blending degree function to determine the blending degree, which can be expressed as: verifysensorconverge().

[0368] Step S215: The real-time wallpaper module calculates the frame corresponding to the current angle of the foldable screen.

[0369] The real-time wallpaper module can call an angle conversion function to calculate the index of the frame corresponding to the current angle, thereby determining the frame corresponding to the current angle. The angle conversion function can be expressed as: convertdegreetoframeindex().

[0370] The frame corresponding to the current angle of the foldable screen can be a frame from a video clip used for playback on the outer screen, or a frame from a video clip used for playback on the inner screen.

[0371] Step S216: The real-time wallpaper module calculates the frame extraction step size.

[0372] The frame extraction step size can be determined by comparing the most recently played frame with the frame corresponding to the current angle. The frame extraction step size can be the minimum frame interval between two extracted frames.

[0373] The real-time wallpaper module can call the frame step size calculation function to determine the frame extraction step size. The frame step size calculation function can be expressed as: calculateframestep().

[0374] Step S217: The real-time wallpaper module sends a dynamic image playback command to the playback module.

[0375] In this example, the animation playback command can be expressed as: playeranimation(cur, target).

[0376] Correspondingly, the playback module receives the instruction to play the dynamic image.

[0377] Step S218 can be referred to Figure 18 Steps S185 and S219 in the example shown can be referred to Figure 18 Steps S186 and S2110 in the example shown can be referred to Figure 18 Steps S187 and S2111 in the example shown can be referred to Figure 18 Steps S188 and S2112 in the example shown can be referred to Figure 18 Steps S189 and S2113 in the example shown can be referred to Figure 18 Step S1810 in the example shown.

[0378] In the case of electronic devices with foldable screens, if a user presses the power button when the outer screen of the electronic device is off, the internal information processing of the electronic device can be referenced as follows: Figure 20A As shown.

[0379] In one example of this application, the first operating mode is a screen-on unlock mode, and the second operating mode is a screen-off mode. When switching from the first operating mode to the second operating mode, the electronic device's display needs to be locked; when switching from the second operating mode to the first operating mode, the electronic device's display needs to be unlocked. When the electronic device is unlocked, the lock screen interface is generally displayed after the screen is turned on. However, to play the video file of the live wallpaper, the transparency of the lock screen interface can be set to be greater than a preset transparency threshold, so that the lock screen interface does not obstruct the playback of the first live image. When the electronic device is in the second operating mode, the electronic device displays the last frame of the first live image, i.e., the last first frame. At this time, if the user triggers the display of the electronic device (for example, by lightly touching the touchscreen), then the following actions are executed: Figure 22 The process is shown below.

[0380] Step S221: When the electronic device is in the second operating mode, the user triggers the display screen of the electronic device.

[0381] Step S222: The power management module of the electronic device initiates the AOD service. This example applies to both global and local AOD scenarios.

[0382] Step S223: The AOD service calls the APK of the live wallpaper to play from the 0th frame of the video file corresponding to the live wallpaper to the set first frame.

[0383] When the screen of an electronic device is detected to have switched from Always-On Display (AOD) mode to Always-On Display (AOD), the last frame of the first dynamic image is played in reverse order until the set first frame is reached. The set first frame can be the Mth frame of the video file (i.e., the Mth frame from the end of the first dynamic image).

[0384] Step S224: The APK of the live wallpaper sends the 0th frame to the set first frame of the video file to the rendering engine for rendering.

[0385] Step S225: If the user triggers the electronic device's display screen again before reversing to the set first frame, then playback will continue from the next frame after the set first frame to the last frame of the video file.

[0386] Step S226: The PAK of the live wallpaper sends the next frame of the first frame set in the video file, up to the last first frame, to the rendering engine for rendering.

[0387] Since the video files of the first dynamic scene and the live wallpaper have the same frame count but play in reverse order, the last frame of the first scene in the video file is also the first frame of the first dynamic scene.

[0388] If the user triggers the display by tapping the touchscreen or other means before playing the Mth frame of the video file, then all the first frames will have been played.

[0389] This application embodiment also provides a processing device for displaying information, such as... Figure 23 As shown, it includes: a second operating mode instruction module 231, a first screen frame playback module 232, a first operating mode instruction module 233, and a reverse playback module 234.

[0390] The second operating mode instruction module 231 is used to obtain an instruction to enter the second operating mode when the electronic device is in the first operating mode;

[0391] The first frame playback module 232 is used to play at least one first frame when the preset display mode is a first display mode; the first display mode corresponds to a first dynamic image, and the first dynamic image includes the at least one first frame;

[0392] The first running mode instruction module 233 is used to obtain the instruction to enter the first running mode;

[0393] The reverse playback module 234 is used to play the at least one first frame in reverse order, starting from the first target frame. The reverse playback order is the opposite of the playback order of the first dynamic frame. The first target frame is the first frame played when an instruction to enter the first running mode is received.

[0394] In one example of this application, such as Figures 24A to 24C As shown. If the external screen is in partial AOD (Always-On Display) mode, and the phone is in a secondary operating state, it can maintain the display when receiving communication information (such as SMS messages or incoming calls) or network notification information (such as conversation information received by an application). Figure 24A The shown layer in partial AOD mode does not trigger screen activation. If you unlock the phone after receiving a message, you can then... Figure 24A The layer in the local AOD mode shown is destroyed, and the live wallpaper playback begins. Figure 24A b to Figure 24B The live wallpaper shown can be displayed, and at the same time, a banner for notification information can be displayed in a fade-in manner in the area of ​​element 241 on the lock screen.

[0395] If in full-screen AOD mode and the external screen is displaying, after receiving a message, the first frame can be displayed at the second brightness before unlocking, such as... Figure 24C As shown in 'a', after unlocking, the first frame is displayed at the first brightness level, as shown in 'a'. Figure 24C As shown in b in the figure.

[0396] If displayed on the inner screen, the display method after receiving the message, whether it is a global AOD or a local AOD, is the same as... Figure 24C similar.

[0397] In other embodiments of this application, in the information processing apparatus, each module is further configured to perform operations related to... Figure 5 The methods implemented in the relevant embodiments.

[0398] Meanwhile, the display information processing device in this application embodiment may also include other functional modules to implement any steps and functions in the click operation information processing method provided in any embodiment of this application.

[0399] The functional units and modules in the above embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of the embodiments of this application.

[0400] This application also provides a chip, including a processor. The processor is used to read and execute a computer program stored in a memory to perform the call method provided in any embodiment of this application.

[0401] Optionally, the chip may also include a memory, which is connected to the processor via a circuit or wire.

[0402] This application also provides a chip system including a processor. The processor is used to read and execute a computer program stored in a memory to perform the call method provided in any embodiment of this application.

[0403] Optionally, the chip system also includes a memory, which is connected to the processor via circuitry or wires.

[0404] As an example of this application, the aforementioned electronic device is capable of accessing a base station and also has the ability to access a wireless local area network. For example, the electronic device may be a mobile phone, tablet, smartwatch, or laptop. Please refer to [link / reference]. Figure 25 , Figure 25This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic 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, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0405] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0406] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0407] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.

[0408] The processor 110 may include one or more processing units. These processing units may be independent devices or integrated within one or more processors. The processor 110 may also include memory for storing instructions and data.

[0409] In some embodiments, the processor 110 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0410] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0411] The terminal device implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering.

[0412] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. In some embodiments, electronic device 100 may include one or N displays screens 194, where N is an integer greater than 1.

[0413] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage.

[0414] Internal memory 121 can be used to store computer-executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created by electronic device 100 during use (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0415] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A may be located on display screen 194. Touch sensor 180K, also known as a "touch panel," may be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch panel." Touch sensor 180K is used to detect touch operations applied to or near it. Touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. Bone conduction sensor 180M can acquire vibration signals.

[0416] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.

[0417] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line, DSL) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. Available media can be magnetic media (such as floppy disks, hard disks, and magnetic tapes), optical media (such as Digital Versatile Discs (DVDs)), or semiconductor media (such as Solid State Disks (SSDs)).

[0418] The above-described embodiments are optional embodiments provided by this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the technical scope disclosed in this application should be included within the protection scope of this application.

Claims

1. A method for processing information display, characterized in that, Applied to electronic devices, including: When the electronic device is in the first operating mode, in response to the user pressing the power button or the electronic device not receiving any instruction within a set period of time, it receives an instruction to enter the second operating mode; in the first operating mode, the display parameters of the electronic device are the first parameters; in the second operating mode, the display parameters of the electronic device are the second parameters, and the display parameters are brightness-related parameters; In the second operating mode, when the preset display mode is the first display mode, at least one first frame is played with a third parameter; the third parameter is a transition parameter between the first parameter and the second parameter, the display power consumption corresponding to the first parameter is greater than or equal to the display power consumption corresponding to the third parameter, and the display power consumption corresponding to the third parameter is greater than or equal to the display power consumption corresponding to the second parameter; the first display mode is a full-screen AOD display mode; the first display mode corresponds to a first dynamic image, the first dynamic image includes the at least one first frame, and the first dynamic image is the image corresponding to the dynamic wallpaper of the electronic device; At least one first target frame is played using the second parameter; the first dynamic frame includes the at least one first target frame. Enter the first display mode; or, In the second operating mode, when the preset display mode is the second display mode, at least one fourth screen frame is played with a third parameter. The third parameter is a transition parameter between the first parameter and the second parameter. The power consumption of the display screen corresponding to the first parameter is greater than or equal to the power consumption of the display screen corresponding to the third parameter, and the power consumption of the display screen corresponding to the third parameter is greater than or equal to the power consumption of the display screen corresponding to the second parameter. The second display mode is a partial AOD display mode. The at least one fourth screen frame is a preset static screen frame, or the at least one fourth screen frame is the last frame of the at least one first target screen frame, and the first target screen frame is a screen frame in the first dynamic screen. Play the second dynamic image corresponding to the second display mode using the second parameter; Enter the second display mode.

2. The method according to claim 1, characterized in that, Before playing at least one first frame with the third parameter, the method further includes: At least one second target frame is played using the first parameter; the first dynamic image includes the at least one second target frame.

3. The method according to claim 2, characterized in that, The timing of the second target frame in the first dynamic frame is before the timing of the first target frame in the first dynamic frame; the timing of the first target frame in the first dynamic frame is before the timing of the first frame in the first dynamic frame.

4. The method according to claim 1, characterized in that, The at least one fourth frame is located below the layer corresponding to the second dynamic frame; if the at least one fourth frame is a frame in the first dynamic frame, the at least one fourth frame is the last frame of the at least one first target frame; The method further includes: When entering the first operating mode, the layer corresponding to the second dynamic screen is destroyed.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: When the electronic device is in the second operating mode, an instruction to enter the first operating mode is received; Play back at least one frame of the first target image in reverse; Play back at least one first frame in reverse.

6. The method according to claim 5, characterized in that, The electronic device includes a foldable screen, and after the reverse playback of the at least one first frame, the method further includes: In response to the operation of opening the foldable screen, at least one fifth frame is played in reverse; the fifth frame is positioned before the at least one first frame in the first dynamic frame.

7. The method according to any one of claims 1-6, characterized in that, Playing at least one first frame with a third parameter includes: For each subsequent first frame of the first frame, the third parameter used during playback does not exceed the third parameter used during playback of each of the first frames; or For each subsequent first frame of the first frame, the third parameter used during playback is no less than the third parameter used when playing each first frame.

8. The method according to any one of claims 1-7, characterized in that, The method further includes: The database field is read from the electronic device. The database field is generated in response to the selection of the preset display mode. The database field indicates that the preset display mode is a first display mode or a second display mode.

9. The method according to any one of claims 1-8, characterized in that, The first parameter is the first brightness, the second parameter is the second brightness, and the third parameter is the third brightness; The first brightness is greater than or equal to the third brightness, and the third brightness is greater than or equal to the second brightness; or, the first brightness is less than or equal to the third brightness, and the third brightness is less than or equal to the second brightness.

10. An electronic device, characterized in that, The electronic device includes: a processor and a memory; The memory is used to store a program for the electronic device to execute the method as described in any one of claims 1-9, and to store data related to implementing the method as described in any one of claims 1-9; The processor is configured to execute programs stored in the memory.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-9.