Desktop display method, electronic equipment and storage medium
By merging the desktops of two display screens in the folded state, a synthetic desktop is generated, which solves the problem that desktop elements in folding screen electronic devices cannot be linked when in the unfolded state, and improves user experience and operational flexibility.
Patent Information
- Application Number
- CN202310361603.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
In foldable screen electronic devices, when in the unfolded state, the desktop elements of the first screen and the second screen cannot be linked, resulting in a reduced user experience.
By compositing the desktops of the two display screens in the folded state, a composite desktop is generated, so that the display screen in the expanded state can display two areas, realizing linkage of desktop elements in the first area and the second area, allowing users to Interaction between dragging elements on the composition desktop.
It improves the user experience in the expanded state, realizes the linkage effect between the desktop elements of the first screen and the second screen, and enhances the flexibility and convenience of operation.
Smart Images

Figure CN118733155A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent terminals, and in particular to a desktop display method, an electronic device and a storage medium. Background Art
[0002] With the continuous development of electronic technology, the screens of electronic devices (for example, mobile phones) are becoming more and more diverse. At present, a considerable number of electronic devices are equipped with folding screens, which can be divided into folded state and unfolded state according to the usage state of the folding screen. Among them, the folding screen in the folded state can be displayed through a smaller main screen, for example, the smaller main screen can be any of the first screen or the second screen, wherein the first screen and the second screen are two display screens in the folding screen of the electronic device; and the folding screen in the unfolded state can be displayed through a larger main screen, for example, the larger main screen can be composed of the first screen and the second screen. It can be understood that the screen of the electronic device with the folding screen in the folded state is smaller, and the screen of the electronic device with the folding screen in the unfolded state is larger.
[0003] However, since the first screen and the second screen have their own independent workspace layouts, when the user processes the desktop elements displayed on the unfolded folding screen, the desktop elements on the first screen cannot be linked with the desktop elements on the second screen, which reduces the user experience. For example, although the unfolded folding screen can display the desktop elements displayed on the first screen and the desktop elements displayed on the second screen, when the user drags the desktop elements on the first screen displayed in the unfolded folding screen, due to the limitation of the workspace layout, the desktop elements displayed on the first screen can only be dragged within the workspace layout of the first screen, and the desktop elements displayed on the second screen can only be dragged within the workspace layout of the second screen, and thus cannot interact with the desktop elements on the second screen displayed in the unfolded folding screen. Summary of the invention
[0004] The present application provides a desktop display method, an electronic device, and a storage medium, which are helpful in solving the desktop display problem of a folding screen.
[0005] In a first aspect, the present application provides a desktop display method, which is applied to an electronic device, wherein a first display screen of the electronic device is foldable, comprising:
[0006] In response to the first display screen changing from a folded state to an unfolded state, generating a first composite desktop, the first composite desktop including a first area and a second area;
[0007] The first composite desktop is displayed on a first display screen in an expanded state, wherein the first area displays desktop elements of the first desktop, and the second area displays desktop elements of the second desktop.
[0008] In the present application, the desktops of two display screens in a folded state are synthesized so that the display screen in an unfolded state can have a synthesized desktop, so that the desktop elements of the two display screens in a folded state can interact with each other to improve the user experience.
[0009] In one possible implementation, the method further includes:
[0010] In response to the first display screen changing from an unfolded state to a folded state, the first desktop or the second desktop is displayed on a second display screen of the electronic device.
[0011] In one possible implementation, the method further includes:
[0012] In response to a user dragging any target desktop element from the first area to the second area on the first synthetic desktop, displaying the target desktop element in the second area; or,
[0013] In response to a user dragging any target desktop element from the second area to the first area on the first composite desktop, the target desktop element is displayed in the first area.
[0014] In the present application, since the first area and the second area can share the same desktop, the desktop elements in the first area and the second area can be linked and squeezed to improve the user experience.
[0015] In one possible implementation, the method further includes:
[0016] In response to a desktop sliding operation performed by the user on the first synthetic desktop, the first synthetic desktop displayed on the first display screen is updated to a second synthetic desktop using a first sliding animation effect, wherein the second synthetic desktop includes the first area and the second area, the first area displays desktop elements of the third desktop, and the second area displays desktop elements of the fourth desktop.
[0017] In one possible implementation, the first screen sliding animation is set by a user, and the first screen sliding animation set by the user is different from the second screen sliding animation. The second screen sliding animation is the sliding screen animation when the second display screen of the electronic device switches the desktop, and the second display screen is the display screen that displays the desktop when the first display screen is in a folded state.
[0018] In one possible implementation, the first screen sliding animation is a screen sliding animation when the second display screen of the electronic device switches the desktop, and the second display screen is a display screen that displays the desktop when the first display screen is in a folded state.
[0019] In a second aspect, the present application provides a desktop display device, comprising one or more functional modules, wherein the one or more functional modules are used to implement the desktop display method as described in the first aspect.
[0020] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory, wherein the memory is used to store a computer program; the processor is used to run the computer program to implement the desktop display method as described in the first aspect.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is executed on a computer, the computer implements the desktop display method as described in the first aspect.
[0022] In a fifth aspect, the present application provides a computer program. When the above-mentioned computer program is executed on a processor of an electronic device, the electronic device executes the desktop display method as described in the first aspect.
[0023] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a schematic diagram of the effect of icon dragging in the prior art;
[0025] Figure 2 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of a process flow of an embodiment of a desktop display method provided by the present application;
[0028] Figure 5 A schematic diagram of the effect of changing the workspace layout provided in an embodiment of the present application;
[0029] Fig. 6A and Figure 6B A schematic diagram of the effect of dragging an icon provided in an embodiment of the present application;
[0030] Figure 7 A flowchart of another embodiment of the desktop display method provided by the present application;
[0031] Figure 8 A schematic diagram of the settings of an embodiment of the sliding screen animation provided in this application;
[0032] Fig. 9 A schematic diagram of another embodiment of the sliding screen animation provided in this application;
[0033] Fig.10 A schematic diagram of the sliding screen effect provided in an embodiment of the present application;
[0034] Fig.11 A schematic diagram of the structure of a desktop display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In the embodiments of the present application, unless otherwise specified, the character " / " indicates that the objects before and after the association are in an or relationship. For example, A / B can represent A or B. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
[0036] It should be pointed out that the words "first", "second", etc. involved in the embodiments of the present application are only used to distinguish the description purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor can they be understood as indicating or implying order.
[0037] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. In addition, "at least one of the following" or similar expressions refers to any combination of these items, which may include any combination of single items or plural items. For example, at least one of A, B, or C may represent: A, B, C, A and B, A and C, B and C, or A, B and C. Among them, each of A, B, and C may be an element itself, or a set containing one or more elements.
[0038] In the embodiments of the present application, "exemplary", "in some embodiments", "in another embodiment", etc. are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0039] In the embodiments of the present application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. In the embodiments of the present application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.
[0040] The equal to involved in the embodiments of the present application can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. It should be noted that when equal to is used in conjunction with greater than, it cannot be used in conjunction with less than; when equal to is used in conjunction with less than, it cannot be used in conjunction with greater than.
[0041] With the continuous development of electronic technology, the screens of electronic devices (for example, mobile phones) are becoming more and more diverse. At present, a considerable number of electronic devices are equipped with folding screens, which can be divided into folded state and unfolded state according to the usage state of the folding screen. Among them, the folding screen in the folded state can be displayed through a smaller main screen, for example, the smaller main screen can be any of the first screen or the second screen, wherein the first screen and the second screen are two display screens in the folding screen of the electronic device; and the folding screen in the unfolded state can be displayed through a larger main screen, for example, the larger main screen can be composed of the first screen and the second screen. It can be understood that the screen of the electronic device with the folding screen in the folded state is smaller, and the screen of the electronic device with the folding screen in the unfolded state is larger.
[0042] However, since the first screen and the second screen have their own independent workspace layouts, when the user processes the desktop elements displayed on the unfolded folding screen, the desktop elements on the first screen cannot be linked with the desktop elements on the second screen, which reduces the user experience. For example, although the unfolded folding screen can display the desktop elements displayed on the first screen and the desktop elements displayed on the second screen, when the user drags the desktop elements on the first screen displayed in the unfolded folding screen, due to the limitation of the workspace layout, the desktop elements displayed on the first screen can only be dragged within the workspace layout of the first screen, and the desktop elements displayed on the second screen can only be dragged within the workspace layout of the second screen, and thus cannot interact with the desktop elements on the second screen displayed in the unfolded folding screen.
[0043] Figure 1 The schematic diagram of the icon dragging effect in the prior art is shown as an example. Figure 1, the first screen and the second screen are two screens when the folding screen of the electronic device is in the folded state, the first screen can be used to display multiple icons, for example, icon 11, icon 12, icon 13, icon 14, icon 15, icon 16, icon 17, icon 18, icon 19, etc., and the second screen can be used to display multiple icons, for example, icon 21, icon 22, icon 23, icon 24, icon 25, icon 26, icon 27, icon 28, etc. When the folding screen of the electronic device is changed from the folded state to the unfolded state, the first screen and the second screen are combined into a fourth screen. At this time, the fourth screen of the electronic device includes a first area (for example, a left area) and a second area (for example, a right area), the first area displays the icons of the first screen, and the second area displays the icons of the second screen, wherein the first area and the second area respectively have their own workspace layouts, which can also be referred to as workspace layouts, referred to as workspaces. It can be understood that the workspace layout can be used to manage the scope of the desktop. Exemplarily, the first screen may include a first desktop, which has a first workspace layout corresponding thereto, and the second screen may include a second desktop, which has a second workspace layout corresponding thereto. Taking the second area as an example, when the user drags the icon 21 in the second area, since the second area corresponds to the second desktop, it is limited by the scope of the second workspace layout of the second desktop and can only be squeezed within the scope of the second workspace layout, that is, the icons of the second desktop can only be squeezed in the second area, and the effect of squeezing the icons of the first area by the icons of the second area cannot be achieved.
[0044] Based on the above problems, the embodiment of the present application proposes a desktop display method, which is applied to an electronic device, so that when a user operates the desktop of the electronic device in the unfolded state, a linkage effect can be achieved, thereby improving the user's experience. Among them, the electronic device is a terminal device with a folding screen. The terminal device can also be called user equipment (User Equipment, UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device can be a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a Wireless Local Loop (Wireless Local Loop, WLL) station, a Personal Digital Assistant (Personal Digital Assistant, PDA) device, a handheld device with wireless communication function, a computing device and a next-generation communication system, for example, a mobile terminal in a 5G network or a mobile terminal in a future evolved Public Land Mobile Network (Public Land Mobile Network, PLMN) network, etc.
[0045] The folding screen in the above-mentioned electronic device may include multiple display screens, and each display screen may include a display area. For example, the electronic device may form a first screen and a second screen along a folding edge or a folding axis. In practical applications, electronic devices with folding screens can be divided into two categories, one is an electronic device with a folding screen folded outward, and the other is an electronic device with a folding screen folded inward. Among them, taking the formation of the first screen and the second screen after the electronic device is folded as an example, after the electronic device that folds outward is folded, the first screen and the second screen are opposite to each other; after the electronic device that folds outward is folded, the first screen and the second screen face each other.
[0046] In some embodiments, the electronic device may further include a third screen, which may be located on the back of the first screen or the second screen.
[0047] It is understandable that when the electronic device is in a folded state, the desktop can be displayed on the first screen, the second screen, or the third screen; taking the electronic device folded outward as an example, the first screen or the second screen can display the desktop; or taking the electronic device folded inward as an example, the third screen can display the desktop. When the electronic device is in an unfolded state, the interface can be displayed on the fourth screen, wherein the fourth screen can be a display screen composed of the first screen and the second screen.
[0048] Generally speaking, the angle α between the first screen and the second screen of an electronic device with a folding screen has a value range of [0°, 180°]. In the embodiment of the present application, if α∈[0°, P], it can be determined that the electronic device is in a folded state; if α∈[P, 180°], it can be determined that the electronic device is in an unfolded state. Among them, P is a preset angle threshold. P can be determined based on the usage habits of a large number of users using folding screens; or P can be set by the user in the electronic device.
[0049] In some embodiments, the electronic device may further include a stand state, which may also be referred to as a semi-folded state. The specific setting of the stand state may be determined by the value of P mentioned above. For example, if α∈[P, 180°-P], it can be determined that the electronic device is in a semi-folded state.
[0050] It should be noted that the at least two screens formed by folding the electronic device in the embodiment of the present application may be two independent screens, or may be a complete screen of an integrated structure that is folded into at least two parts.
[0051] For another example, the folding screen of the electronic device may be a multi-screen folding screen. The multi-screen folding screen may include multiple screens. The multiple screens are multiple separate display screens. The multiple screens may be connected in sequence through folding axes. The multiple screens may rotate around the folding axes connected thereto to achieve folding of the multi-screen folding screen.
[0052] Figure 2 First, a schematic structural diagram of the electronic device 100 is shown as an example.
[0053] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, a camera 193, a display screen 194, etc. The sensor module 180 may include a pressure sensor 180A, a magnetic sensor 180D, and a touch sensor 180K.
[0054] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0055] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0056] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0057] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0058] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, etc.
[0059] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0060] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0061] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0062] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0063] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0064] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
[0065] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0066] The wireless communication module 160 can provide a wireless communication solution applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0067] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0068] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0069] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0070] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0071] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0072] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0073] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0074] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0075] 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 implement a data storage function, such as storing music, video and other files in the external memory card.
[0076] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.
[0077] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0078] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0079] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0080] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0081] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0082] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0083] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0084] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0085] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass 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 the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0086] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0087] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0088] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0089] Figure 3 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application.
[0090] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into three layers, from top to bottom: the application layer (referred to as the application layer), the application framework layer (referred to as the framework layer), and the kernel layer (also referred to as the driver layer).
[0091] The application layer can include a series of application packages. Figure 3 As shown, the application layer may include multiple application packages such as application 1 and application 2. For example, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, desktop launcher, etc.
[0092] The desktop startup application can be used to display the desktop. It is understandable that the desktop in the folded state can display one desktop. For example, when the display screen of the electronic device is folded outward, the first screen can display the first desktop, or the second screen can display the second desktop, wherein the first desktop and the second desktop are two independent desktops, and the first desktop and the second desktop have their own workspace layouts, and can independently perform icon dragging and sliding screen animations. When the display screen of the electronic device is folded inward, the third screen can display the first desktop or the second desktop. The desktop in the unfolded state can display a desktop. For example, the fourth screen can display a composite desktop, which is obtained by synthesizing the first desktop and the second desktop. The composite desktop has an independent workspace layout, and can simultaneously display the desktop elements displayed by the first desktop and the second desktop, and can manage the desktop elements displayed by the first desktop and the second desktop to achieve the linkage effect between the desktop elements displayed by the first desktop and the second desktop, wherein the desktop elements may include icons, cards and other elements, and the embodiment of the present application is not particularly limited to this. The framework layer provides an application programming interface (API) and a programming framework for the application of the application layer. The framework layer includes some predefined functions.
[0093] like Figure 3 As shown, the framework layer may include a window manager service (WMS) and an activity manager service (AMS), etc. Optionally, the framework layer may also include a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. (not shown in the drawings).
[0094] Among them, the window manager WMS is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The activity manager AMS is responsible for managing activities, starting, switching, scheduling each component in the system, and managing and scheduling applications.
[0095] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0096] When a user performs input operations on the electronic device 100 (for example, operations to unfold the electronic device 100, operations to drag desktop icons, operations to slide the interface, etc.), the kernel layer can generate responsive input events according to the input operations (for example, folding screen unfolding events, desktop icon dragging events, interface sliding events, etc.) and report the events to the framework layer. The activity manager AMS of the framework layer sets the interface display (including the interface display mode and window display mode, etc.). The window manager WMS of the framework layer draws the interface according to the settings of AMS, and then sends the interface data to the display driver of the kernel layer, which displays the corresponding interface on the folding screen.
[0097] The desktop display process provided in the embodiment of the present application can be found in Figure 3 .like Figure 3 As shown, the activity manager AMS may include a layout management module. The layout management module is responsible for managing the workspace layout of the current desktop. Exemplarily, when the display screen of the electronic device 100 is in a folded state, the desktops displayed in the first screen, the second screen, and the third screen have their own workspace layouts; when the display screen of the electronic device 100 is in an expanded state, the first screen and the second screen are synthesized into a fourth screen, and the synthesized desktop in the fourth screen has a workspace layout corresponding to it, thereby avoiding the problem that the desktop elements cannot be linked because the fourth screen has two workspace layouts (for example, a workspace layout corresponding to the first desktop displayed in the first area and a workspace layout corresponding to the second desktop displayed in the second area).
[0098] During the process of the electronic device 100 displaying the desktop, the folding screen of the electronic device 100 may switch from a folded state to an unfolded state, or from an unfolded state to a folded state. At this time, the folding driver of the kernel layer can detect the folding event input by the user. In the embodiment of the present application, the folding event may be triggered by the operation of the user controlling the folding screen to change from the above-mentioned folding screen to the unfolded state, which is referred to as folding event 1. Alternatively, the folding event may be triggered by the operation of the user controlling the folding screen to change from the unfolded state to the folded state, which is referred to as folding event 2. The folding driver can report the folding event to the window manager WMS of the framework layer.
[0099] The window manager WMS can listen to the folding event, and after listening to the folding event, it can determine to switch the display screen size. The window manager WMS sends a display change event to the activity manager AMS, and the activity manager AMS sets the workspace layout attributes. Among them, when the window manager WMS listens to the folding event 1, it can determine that the display size has increased, and send the display change event 1 to the activity manager AMS. Display change event 1 is used to trigger the activity manager AMS to set the workspace layout of the desktop displayed on the fourth screen as a workspace layout. When the window manager WMS listens to the folding event 2, it can determine that the display size has decreased, and send the display change event 2 to the activity manager AMS. Display change event 2 is used to trigger the activity manager AMS to set the desktops displayed on the first screen and the second screen as independent workspace layouts.
[0100] After the activity manager AMS sets the workspace layout, it can request the window manager WMS to draw the current desktop and call the display driver to display the drawn desktop content, thereby presenting the desktop content to the user.
[0101] For example, in response to the above display change event 1, the activity manager AMS requests the window manager WMS to draw the desktop, and calls the display driver to display the desktop, which can be: the folding screen is unfolded, and a composite desktop is displayed on the unfolded folding screen (for example, the fourth screen), and the composite desktop has a workspace layout. In response to the above display change event 2, the activity manager AMS requests the window manager WMS to draw the desktop, and calls the display driver to display the interface, which can be: the folding screen is folded, and the first desktop or the second desktop is displayed on the folded folding screen (for example, the first screen, the second screen, or the third screen), wherein the first desktop and the second desktop have their own independent workspace layouts.
[0102] Next, the desktop display method provided in the embodiment of the present application will be exemplified below by taking the electronic device 100 as a mobile phone with a folding screen as an example. Among them, when the folding screen of the electronic device 100 is in a folded state, the first screen, the second screen, or the third screen can be displayed as the main screen. When the folding screen of the electronic device 100 is in an unfolded state, the fourth screen can be displayed as the main screen.
[0103] Figure 4 The following is a flowchart of an embodiment of the desktop display method provided in the present application, which specifically includes the following steps:
[0104] Step 401, the folding screen of the electronic device is in a folded state, the first screen displays a first desktop, the first desktop includes multiple desktop elements, or the second screen displays a second desktop, the second desktop includes multiple desktop elements, or the third screen displays the first desktop or the second desktop.
[0105] Specifically, when the folding screen of the electronic device is in the folded state, if the folding screen of the electronic device is folded outward, the first screen can display the first desktop, which can include multiple desktop elements, or the second screen can display the second desktop, which can include multiple desktop elements. If the folding screen of the electronic device is folded inward, the third screen can display the desktop elements displayed on the first desktop or the second desktop.
[0106] As mentioned above, the above desktop elements may include elements such as application icons and cards. Taking the desktop element as an application icon as an example, multiple applications can be installed in an electronic device, and the application icons of these applications can be displayed on the desktop of the mobile phone. The application icon of an application is the startup entry of the application, and the application icon can also be called the entry element of the application, etc. The application in the embodiment of the present application can be an embedded application (also called a system application) or a downloadable application, and the embodiment of the present application does not specifically limit this.
[0107] It can be understood that the first desktop has a first workspace layout corresponding to it, and the second desktop has a second workspace layout corresponding to it.
[0108] Step 402: In response to the folding screen of the electronic device changing from a folded state to an unfolded state, a composite desktop is generated.
[0109] Specifically, the user can fold the foldable screen of the electronic device to change the shape of the foldable screen. For example, the user can change the foldable screen from a folded state to an unfolded state, or the user can fold the foldable screen from an unfolded state to a folded state. When the shape of the foldable screen changes, the layout of the workspace displayed by the electronic device will also change.
[0110] Exemplarily, when the user changes the folding screen from the folded state to the unfolded state, in response to the folding screen of the electronic device changing from the folded state to the unfolded state, the electronic device generates a composite desktop, and the composite desktop may include two areas, such as a first area and a second area, wherein the first area may display desktop elements of the first desktop, and the second area may display desktop elements of the second desktop. Thus, when the user operates on the composite desktop, a linkage effect between the desktop elements in the first area and the second area can be achieved, wherein the workspace layout of the composite desktop is obtained by synthesizing the workspace layout of the first desktop and the workspace layout of the second desktop.
[0111] Figure 5 The schematic diagram of the effect of changing the workspace layout is exemplarily shown. It can be understood that in the folded state, the electronic device can display the desktop through the first screen, the second screen or the third screen. The specific method of displaying the desktop through the first screen, the second screen or the third screen is described in the above embodiment, which will not be repeated here. Figure 5Taking the first screen or the second screen displaying the desktop as an example, the first screen displays the first desktop, and the first desktop has a first workspace layout. Exemplarily, the first workspace layout can have 4 columns of icons, or the second screen displays the second desktop, and the second desktop has a second workspace layout. Exemplarily, the second workspace layout can also have 4 columns of icons.
[0112] It is understandable that the above-mentioned 4-column workspace layout of icons is merely an exemplary illustration and does not constitute a limitation on the embodiments of the present application. In some embodiments, workspace layouts with other numbers of columns may also be included, for example, 5 columns, 6 columns, etc.
[0113] When the folding screen of the electronic device changes from the folded state to the unfolded state, the electronic device displays the desktop through the fourth screen. For example, the fourth screen can display a composite desktop, and the composite desktop has a composite workspace layout corresponding to it. The composite desktop is obtained by combining the first desktop and the second desktop, that is, the composite workspace layout is a composite of the first workspace layout and the second workspace layout. Figure 5 , the fourth screen displays a composite desktop, which may have a workspace layout with 8 columns of icons, and the workspace layout includes a first area and a second area, wherein the first area displays desktop elements displayed on the first desktop, and the second area displays desktop elements displayed on the second desktop. It can be understood that the first area and the second area are in the same workspace layout (e.g., a composite workspace layout), and therefore, the desktop elements of the first area can be linked with the desktop elements of the second area.
[0114] Alternatively, when the user folds the foldable screen from the unfolded state to the folded state, in response to the folding of the foldable screen of the electronic device from the unfolded state to the folded state, the electronic device displays the desktop through the first screen, the second screen, or the third screen. For example, the first screen can display the first desktop, or the second screen can display the second desktop, or the third screen can display the first desktop or the second desktop. For specific effect display, please refer to the above embodiment. Figure 5 The relevant description will not be repeated here.
[0115] Step 403, in response to the user dragging the target desktop element in the first area to the second area, the target desktop element is displayed in the second area; or, in response to the user dragging the target desktop element in the second area to the first area, the target desktop element is displayed in the first area.
[0116] Specifically, when the folding screen of the electronic device is in the unfolded state, the user can operate the desktop elements on the fourth screen. For example, the user can drag the desktop elements in the first area to make the desktop elements in the first area displayed in the second area, or drag the desktop elements in the second area to make the desktop elements in the second area displayed in the first area, thereby achieving a squeezing linkage effect between the first area and the second area due to the dragging of the desktop elements.
[0117] Fig. 6A and Figure 6B The following is an exemplary diagram showing the effect of dragging desktop elements. Fig. 6A The folding screen of the electronic device in the unfolded state includes a fourth screen, which displays a composite desktop. The composite desktop includes a first area and a second area. The first area displays desktop elements of the first desktop, and the second area displays desktop elements of the second desktop.
[0118] For example, taking the desktop element as an icon, when the user drags the icon 21 in the second area to the first area, the following can be obtained: Figure 6B The schematic diagram shown in Figure 1 shows the Figure 6B , icon 21 is displayed in the first area, and icon 19 squeezed by icon 21 is displayed in the second area, so that the linkage effect of icon squeezing between the first area and the second area can be achieved, so that the icons can be squeezed in linkage between the first area and the second area. It can be understood that in the prior art, since the first area and the second area have their own independent workspace layouts, when the user drags the icon, it can only be done in the first area or the second area, and cannot be done between the first area and the second area. For example, icon 21 can only be dragged in the second area, and cannot be displayed in the first area, nor can icon 19 be squeezed to the second area, so the squeezing linkage effect between the first area and the second area cannot be achieved.
[0119] Figure 7 A flowchart of another embodiment of the desktop display method provided by the present application specifically includes the following steps:
[0120] Step 701, the folding screen of the electronic device is in a folded state, the first screen displays the first desktop, or the second screen displays the second desktop, or the third screen displays the first desktop or the second desktop; wherein the first screen has a first sliding screen animation when the desktop is switched, the second screen has a second sliding screen animation when the desktop is switched, and the third screen has a third sliding screen animation when the desktop is switched.
[0121] Specifically, the sliding screen animation is used to characterize the dynamic effect displayed by the desktop during the sliding process. For example, the sliding screen animation may include translation, fade-in and fade-out, deep view and other animations. The embodiment of the present application does not specifically limit the type of sliding screen animation.
[0122] When the folding screen of the electronic device is in the folded state, the first screen displays the first desktop, or the second screen displays the second desktop, or the third screen displays the first desktop or the second desktop; wherein, the first screen has a first sliding screen animation when the desktop is switched, and the first sliding screen animation can be preset or changed by the user's operation, and the embodiment of the present application does not make special restrictions on this. The second screen has a second sliding screen animation when the desktop is switched, and the second sliding screen animation can be preset or changed by the user's operation, and the embodiment of the present application does not make special restrictions on this. The third screen has a third sliding screen animation when the desktop is switched, and the third sliding screen animation can be preset or changed by the user's operation, and the embodiment of the present application does not make special restrictions on this.
[0123] It is understandable that the first sliding screen animation effect, the second sliding screen animation effect and the third sliding screen animation effect may be the same or different, and the embodiment of the present application does not specifically limit this.
[0124] When the user performs a desktop sliding screen operation on different display screens, the desktop can be updated using the sliding screen animation corresponding to the current display screen to switch the desktop.
[0125] Exemplarily, when the electronic device displays the first desktop through the first screen, the first sliding screen animation effect may be used to update the first desktop to switch the desktop. For example, the first sliding screen animation effect may be used to switch the first desktop to the third desktop.
[0126] Alternatively, when the electronic device displays the second desktop through the second screen, the second desktop can be updated using the second sliding screen animation to switch the desktop. For example, the second sliding screen animation can be used to switch the second desktop to the fourth desktop.
[0127] Alternatively, when the electronic device displays the first desktop or the second desktop through the third screen, the third sliding screen animation can be used to update the first desktop or the second desktop to switch the desktop. For example, the third sliding screen animation can be used to switch the first desktop to the third desktop, or the third sliding screen animation can be used to switch the second desktop to the fourth desktop.
[0128] Figure 8 The following is an example of how to set the sliding screen effect on the desktop. Figure 8 , taking the first screen and the second screen as an example, the folding screen of the electronic device in the folded state displays the first desktop through the first screen, and the first screen has a first sliding screen effect, such as a depth effect; or the folding screen of the electronic device in the folded state displays the second desktop through the second screen, and the second screen has a second sliding screen effect, such as a translation effect. It can be seen that when the folding screen of the electronic device is in the folded state, the first screen or the second screen can respectively set the corresponding sliding screen effect for the current desktop through their respective controls.
[0129] It can be understood that the setting method of the sliding screen animation of the desktop in the third screen can specifically refer to the setting method of the first screen or the second screen in the above embodiment, and will not be repeated here.
[0130] Step 702, in response to the folding screen of the electronic device changing from a folded state to an unfolded state, determining a sliding screen animation of the folding screen in the unfolded state.
[0131] Specifically, the user can change the folding screen of the electronic device from the folded state to the unfolded state. In response to the folding screen of the electronic device changing from the folded state to the unfolded state, the fourth screen of the electronic device displays the first synthetic desktop, and the sliding screen animation of the folding screen in the unfolded state (for example, the fourth screen) can be determined.
[0132] Among them, the sliding screen effect of the fourth screen can inherit the above-mentioned first sliding screen effect or the second sliding screen effect. Exemplarily, when the folding screen of the electronic device is in a folded state, the first desktop is displayed through the first screen, and when the folded state is changed to an unfolded state, the fourth screen can inherit the above-mentioned first sliding screen effect. That is to say, when the desktop is slid on the fourth screen, the first sliding screen effect can be used to switch the first synthetic desktop to the second synthetic desktop, wherein the second synthetic desktop can include a first area and a second area, the first area can display the desktop elements of the third desktop, and the second area can display the desktop elements of the fourth desktop. Or,
[0133] When the folding screen of the electronic device is in a folded state, the second desktop is displayed through the second screen, and when the folded state is changed to an unfolded state, the fourth screen can inherit the second sliding screen animation. That is, when the desktop is slid on the fourth screen, the second sliding screen animation can be used to switch the first composite desktop to the second composite desktop, wherein the second composite desktop can include a first area and a second area, the first area can display the desktop elements of the third desktop, and the second area can display the desktop elements of the fourth desktop. Or,
[0134] When the folding screen of the electronic device is in a folded state, the first desktop or the second desktop is displayed through the third screen, and when the folded state is changed to the unfolded state, the fourth screen can inherit the above-mentioned third screen sliding animation. That is, when the desktop is slid on the fourth screen, the third screen sliding animation can be used to switch the first synthetic desktop to the second synthetic desktop, wherein the second synthetic desktop can include a first area and a second area, the first area can display the desktop elements of the third desktop, and the second area can display the desktop elements of the fourth desktop.
[0135] In some embodiments, the user can also set the sliding screen effect of the first composite desktop. It is understandable that the sliding screen effect of the first composite desktop after setting can be the same as the first sliding screen effect, the second sliding screen effect or the third sliding screen effect, or can be different from the first sliding screen effect, the second sliding screen effect or the third sliding screen effect, and the embodiment of the application does not specifically limit this.
[0136] Fig. 9 The following is an example of how to set the sliding screen effect on the desktop. Fig. 9 The folding screen (for example, the fourth screen) of the electronic device in the unfolded state displays the first synthetic desktop, and the fourth screen has a sliding screen animation corresponding to it, for example, a deep scene animation. The user can change the sliding screen animation of the fourth screen through the control.
[0137] Step 703, in response to the user's desktop sliding operation, the first synthetic desktop is switched to the second synthetic desktop by using the sliding animation of the folding screen in the unfolded state.
[0138] Specifically, the user can perform a desktop sliding operation on the unfolded folding screen to switch the first composite desktop to the second composite desktop. In response to the user's desktop sliding operation, the first composite desktop is switched to the second composite desktop using the sliding animation of the unfolded folding screen.
[0139] by Fig. 9 Taking the illustrated embodiment as an example, the sliding screen effect of the fourth screen is a deep view effect. Before the desktop sliding screen is executed, the first synthetic desktop includes a first area and a second area, wherein the first area displays the desktop elements of the first desktop, for example, the desktop elements of the first desktop may include icons 11, 12, ..., icon 19, etc., and the second area displays the desktop elements of the second desktop, for example, the desktop elements of the second desktop may include icons 21, 22, ..., icon 28, etc. When the user slides the desktop on the fourth screen, the electronic device can use the deep view effect to switch the first synthetic desktop to the second synthetic desktop, thereby obtaining the following result: Fig.10 The second synthetic desktop diagram is shown in FIG. Fig.10 As shown, the second composite desktop includes a first area and a second area, wherein the first area displays the desktop elements of the third desktop, for example, the desktop elements of the third desktop may include icon 1A, icon 1B, ..., icon 1F, etc., and the second area displays the desktop elements of the fourth desktop, for example, the desktop elements of the fourth desktop may include icon 29, icon 2A, ..., icon 2D, etc.
[0140] Fig.11 This is a schematic diagram of the structure of an embodiment of the desktop display device of the present application. Fig.11As shown, the desktop display device 1100 is applied to an electronic device, the first display screen of the electronic device is foldable, and the desktop display device 1100 may include: a generating module 1110 and a display module 1120; wherein,
[0141] A generating module 1110, configured to generate a first composite desktop in response to the first display screen changing from a folded state to an unfolded state, wherein the first composite desktop includes a first area and a second area;
[0142] The display module 1120 is used to display the first composite desktop on the first display screen in the expanded state, wherein the first area displays desktop elements of the first desktop, and the second area displays desktop elements of the second desktop.
[0143] In one possible implementation, the display module 1120 is further configured to display the first desktop or the second desktop on a second display screen of the electronic device in response to the first display screen changing from an unfolded state to a folded state.
[0144] In one possible implementation, the display module 1120 is further configured to display the target desktop element in the second area in response to a user dragging any target desktop element from the first area to the second area on the first synthetic desktop; or
[0145] In response to a user dragging any target desktop element from the second area to the first area on the first composite desktop, the target desktop element is displayed in the first area.
[0146] In one possible implementation, the display module 1120 is also used to respond to a desktop sliding operation performed by the user on the first synthetic desktop, and update the first synthetic desktop displayed on the first display screen to a second synthetic desktop using a first sliding animation effect, wherein the second synthetic desktop includes the first area and the second area, the first area displays the desktop elements of the third desktop, and the second area displays the desktop elements of the fourth desktop.
[0147] In one possible implementation, the first screen sliding animation is set by a user, and the first screen sliding animation set by the user is different from the second screen sliding animation. The second screen sliding animation is the sliding screen animation when the second display screen of the electronic device switches the desktop, and the second display screen is the display screen that displays the desktop when the first display screen is in a folded state.
[0148] In one possible implementation, the first screen sliding animation is a screen sliding animation when the second display screen of the electronic device switches the desktop, and the second display screen is a display screen that displays the desktop when the first display screen is in a folded state.
[0149] Fig.11 The desktop display device 1100 provided in the illustrated embodiment may be used to execute the technical solution of the method embodiment illustrated in the present application, and its implementation principle and technical effects may be further referred to the relevant description in the method embodiment.
[0150] It should be understood that the above Fig.11 The division of the various modules of the desktop display device 1100 shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. In the implementation process, each step of the above method or the above modules can be completed by the hardware integrated logic circuit in the processor element or the instructions in the form of software.
[0151] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0152] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0153] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment shown in the present application.
[0154] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method provided by the embodiment shown in the present application.
[0155] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0156] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0158] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.
[0159] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A desktop display method, characterized in that: Applied to an electronic device, wherein the first display screen of the electronic device is foldable, the method comprises: In response to the first display screen changing from a folded state to an unfolded state, generating a first composite desktop, the first composite desktop including a first area and a second area; The first composite desktop is displayed on a first display screen in an expanded state, wherein the first area displays desktop elements of the first desktop, and the second area displays desktop elements of the second desktop.
2. The method according to claim 1, characterized in that The method further comprises: In response to the first display screen changing from an unfolded state to a folded state, the first desktop or the second desktop is displayed on a second display screen of the electronic device.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to a user dragging any target desktop element from the first area to the second area on the first synthetic desktop, displaying the target desktop element in the second area; or, In response to a user dragging any target desktop element from the second area to the first area on the first composite desktop, the target desktop element is displayed in the first area.
4. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to a desktop sliding operation performed by the user on the first synthetic desktop, the first synthetic desktop displayed on the first display screen is updated to a second synthetic desktop using a first sliding animation effect, wherein the second synthetic desktop includes the first area and the second area, the first area displays desktop elements of the third desktop, and the second area displays desktop elements of the fourth desktop.
5. The method according to claim 4, characterized in that The first screen sliding animation is set by the user, and the first screen sliding animation set by the user is different from the second screen sliding animation. The second screen sliding animation is the sliding screen animation when the second display screen of the electronic device switches the desktop. The second display screen is the display screen that displays the desktop when the first display screen is in a folded state.
6. The method according to claim 4, characterized in that The first screen sliding animation effect is a screen sliding animation effect when the second display screen of the electronic device switches the desktop, and the second display screen is a display screen that displays the desktop when the first display screen is in a folded state.
7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the desktop display method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the desktop display method according to any one of claims 1 to 6 is implemented.
