Application startup method in locked screen state, electronic device, and storage medium
By creating an application window and displaying content while the screen is locked, the problem of poor user experience in the lock screen state is solved, enabling application preview and quick operation when the screen is locked.
Patent Information
- Application Number
- PCT/CN2025/101511
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-20
- Filing Date
- 2025-06-17
- Publication Date
- 2025-12-26
AI Technical Summary
When the screen is locked, existing technologies cannot provide a true preview of the application, resulting in a poor user experience.
When the screen is locked, the electronic device creates an application window and displays the application content, allowing the user to preview the content within the application without unlocking it, such as payment codes, QR code scanning pages, or camera previews.
It improves the user experience when the screen is locked, allowing users to quickly perform functions such as payment, scanning, or taking photos without unlocking the device, thus enhancing the usability and convenience of the application.
Smart Images

Figure CN2025101511_26122025_PF_FP_ABST
Abstract
Description
A method for launching applications while the screen is locked, an electronic device, and a storage medium.
[0001] This application claims priority to Chinese Patent Application No. 202410808333.0, filed on June 20, 2024, entitled "An Application Launch Method, Electronic Device and Storage Medium in Lock Screen State", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to an application launch method, electronic device and storage medium in a locked screen state. Background Technology
[0003] With the development of terminal technology, more and more applications are installed on electronic devices, allowing users to experience different functions.
[0004] To reduce power consumption and accidental touches in electronic devices, they can enter a lock screen state after prolonged periods of inactivity. Once locked, users can unlock the device using one or more methods, such as fingerprint, facial recognition, voiceprint, or password. While locked, users can also quickly launch applications from the lock screen without unlocking the device.
[0005] Currently, when users quickly launch applications from the lock screen, electronic devices can display animated effects based on a fixed image to enhance the user's visual experience. However, fixed images cannot accurately reflect the actual preview effect within the application, resulting in a poor user experience. Summary of the Invention
[0006] This application provides a method for launching an application while the screen is locked, an electronic device, and a storage medium. When a first application is launched while the screen is locked, the electronic device can create a first window for the first application and display the content of the first application within that first window, allowing the user to preview the application content of the first application in advance without unlocking the electronic device.
[0007] In a first aspect, this application provides a method for launching an application while in a locked screen state. The method includes: an electronic device displaying a first lock screen, the first lock screen including a first icon of a first application; the electronic device receiving a first swipe operation, the first swipe operation acting on the first icon; and in response to the first swipe operation, the electronic device displaying a first window of the first application, the first window displaying the screen content of the first application.
[0008] For example, when the first application is a payment application, the user can quickly open the payment application while the screen is locked and display the payment application window. The payment application window can display the payment code. In this way, the user can quickly display the payment code in the payment application without unlocking the screen, and use it for quick payment and other operations, which is convenient for the user.
[0009] For example, when the first application is a scan application, the user can quickly open the scan application while the screen is locked and display the scan application window. The scan application window can display a QR code scanning page. In this way, the user can quickly open the scan application without unlocking the screen and scan QR codes and other images for quick payment and other operations, which is convenient for the user.
[0010] For example, when the first application is a camera application, the user can quickly open the camera application while the screen is locked and display the camera application window, which can show the camera preview content. In this way, the user can open the camera application without unlocking the screen and perform operations such as taking pictures or recording videos through the camera application, which is convenient for the user.
[0011] For example, when the first application is the Notes app, the user can quickly open the Notes app while the screen is locked and display the Notes app window, which can display notes. In this way, the user can quickly display the notes in the Notes app without unlocking the screen, making it convenient for the user to operate.
[0012] This method allows the electronic device to create a first window for the first application when the first application is opened while the screen is locked, and to display the content of the first application within the first window, enabling the user to preview the application content of the first application in advance without unlocking the electronic device.
[0013] In conjunction with the first aspect, in one possible implementation, the electronic device displays a first lock screen, specifically including: the electronic device displays the first lock screen within the lock screen window; the electronic device displays a first window of a first application, specifically including: the electronic device displays the first window of the first application above the lock screen window.
[0014] In this way, when the first application is quickly launched from the lock screen, the electronic device can create a separate first window for that application. Thus, the first window of the first application and the lock screen window are independent and do not interfere with each other. Even when the lock screen application is closed, the first window of the first application still exists.
[0015] In conjunction with the first aspect, in one possible implementation, in response to the first swipe operation, the electronic device displays the first window of the first application, specifically including: the electronic device determining a first swipe distance based on the first swipe operation acting on the first icon; the electronic device determining whether the first swipe distance is greater than a preset distance; if the first swipe distance is greater than the preset distance, the electronic device displays the first window of the first application.
[0016] Optionally, the first sliding distance can be determined based on the vertical distance between the termination position and the initial position of the first sliding operation acting on the first icon. Optionally, the initial position can be the display position of the first icon.
[0017] For example, the display position of the first icon can refer to the position of the center point of the first icon. The display position of the first icon can also be the display position of other points of the first icon, such as the display position of any edge of the first icon, the display position of a point inside the first icon, or the display position of a point outside the first icon.
[0018] Using this method, when the swipe distance for the first icon is greater than a preset distance, the electronic device can create and display the first window of the first application.
[0019] In conjunction with the first aspect, in one possible implementation, the method further includes: if the first sliding distance is less than a preset distance, the electronic device displays a second lock screen, the second lock screen including a second icon of the first application, the size of the second icon being larger than the size of the first icon, or the size of the second icon being the same as the size of the first icon.
[0020] Using this method, when the swipe distance for the first icon is less than a preset distance, the electronic device can avoid creating and displaying the first window for the first application. Instead, it can accumulate and display the icon of the first application, such as a second icon. The size of the second icon and the size of the first icon can be the same or different, and the display position of the second icon and the display position of the first icon can be the same or different.
[0021] In conjunction with the first aspect, in one possible implementation, the display position of the second icon is different from that of the first icon, and the display position of the second icon is determined based on the first swipe operation.
[0022] Optionally, the display position of the second icon can be determined based on the end position of the first swipe operation on the first icon.
[0023] In conjunction with the first aspect, in one possible implementation, the electronic device displays a first window of the first application, specifically including: the electronic device determining a first display position based on a first swipe operation; and the electronic device displaying the first window of the first application based on the first display position.
[0024] Optionally, the display position of the first window can be determined based on the end position of the first swipe operation on the first icon.
[0025] Optionally, the electronic device displays the first window at a first display position. This first display position can refer to the display position of a vertex of the first window, the display position of a point on an edge of the first window, the display position of a point inside the first window, or the display position of a point outside the first window that is not located on or inside the first window. This application does not limit the method of displaying the first window based on the first display position.
[0026] This ensures that the display position of the first window changes with the display position of the user's finger, thus achieving responsiveness.
[0027] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the first window of the first application, the method further includes: the electronic device continuing to receive a first sliding operation, the first sliding operation acting on the first window; the electronic device determining a second sliding distance based on the first sliding operation acting on the first window; the electronic device determining whether the second sliding distance is greater than a preset distance; if the second sliding distance is greater than the preset distance, the electronic device displays the first window of the first application, the first window displaying the screen content of the first application.
[0028] After the electronic device creates and displays the first window of the first application, the user can continue with the first swipe operation on the first window.
[0029] Optionally, the first swipe operation on the first window can be in the same direction as the first swipe operation on the first icon, or it can be in the opposite direction.
[0030] Optionally, the second sliding distance can be based on the vertical distance between the end position and the initial position of the first sliding operation for the first window.
[0031] Optionally, the sliding direction of the first sliding operation for the first window and the sliding direction of the first sliding operation for the first icon can be the same or different.
[0032] Using this method, when the second sliding distance of the first sliding operation on the first window is greater than a preset distance, the electronic device can continue to display the first window of the first application. Before and after receiving the first sliding operation on the first window, the size of the first window can be the same or different, and the display position of the first window can be the same or different.
[0033] In conjunction with the first aspect, in one possible implementation, if the second sliding distance is greater than the first sliding distance, the size of the first window of the first application increases; if the second sliding distance is less than the first sliding distance, the size of the first window of the first application decreases.
[0034] In this way, the size of the first window can change with the sliding distance to achieve responsiveness.
[0035] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the first window of the first application, the method further includes: the electronic device receiving an unlock operation from the user; in response to the unlock operation, the electronic device displays the first window of the first application in full screen, the first window displaying the screen content of the first application.
[0036] Optionally, the electronic device 100 can be the first window of the first application displayed in full screen, or it can be the first window of the first application displayed in a non-full-screen manner. Afterwards, the electronic device can receive the user's unlock operation. Since the first window of the first application and the lock screen window are independent of each other, the display state of the first window of the first application is not affected by the lock screen window. Therefore, even if the lock screen window is destroyed after unlocking, the electronic device 100 can still continue to display the first window of the first application.
[0037] In conjunction with the first aspect, in one possible implementation, the electronic device destroys the lock screen window.
[0038] In this way, after the unlock operation is performed, the electronic device can destroy the lock screen window. That is, the electronic device has closed the lock screen application, and the lock screen window does not exist on the electronic device. When the electronic device enters the lock screen state again, the electronic device will reopen the lock screen application and create and display the lock screen window.
[0039] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the first window of the first application, the method further includes: after detecting the end of the first swipe operation, the electronic device displays the first window of the first application in full screen, and the first window displays the screen content of the first application.
[0040] In this way, once the user stops operating on the first window, that is, stops the first swipe operation on the first window, such as when the user releases their finger, the electronic device can automatically display the first window of the first application in full screen.
[0041] In conjunction with the first aspect, in one possible implementation, the first window of the first application is located on top of the lock screen window.
[0042] In this way, after the user stops operating on the first window, that is, the first swipe operation on the first window stops, such as when the user releases their finger, the lock screen window still exists on the electronic device, and the first window is located on top of the lock screen window.
[0043] In conjunction with the first aspect, in one possible implementation, before the first window of the first application is displayed in full screen on the electronic device, the method further includes: the first window of the first application on the electronic device gradually enlarges until the first window of the first application is displayed in full screen.
[0044] In this way, after the user stops operating on the first window, that is, after the first swipe operation on the first window stops, or after the user performs the unlock operation, the first window can gradually enlarge to achieve a natural switch to full-screen display.
[0045] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the first window of the first application in full screen, the method further includes: the electronic device receiving an operation from the user on the first window of the first application; in response to receiving the user's operation on the first window of the first application, the electronic device displays a lock screen window, which displays the first lock screen image.
[0046] In this way, when the electronic device is in a locked state, if the electronic device displays the first window in full screen and then receives a user's operation to stop displaying the first window, the electronic device can continue to display the lock screen window in full screen.
[0047] In conjunction with the first aspect, in one possible implementation, after the electronic device displays the lock screen window, the method further includes: the electronic device destroying the first window of the first application or displaying the first window of the first application below the lock screen window.
[0048] Optionally, the first window can be destroyed or allowed to remain in the electronic device. When the first window remains in the electronic device, the lock screen window is positioned on top of the first window.
[0049] In conjunction with the first aspect, in one possible implementation, when the electronic device is unlocked, if the electronic device displays the first window in full-screen mode and can then receive user input to stop displaying the first window, the electronic device can display the desktop. The desktop window is then located on top of the first window.
[0050] In a second aspect, this application provides an electronic device, which includes one or more processors and one or more memories; the one or more memories are coupled to one or more processors, and the one or more memories are used to store computer program code, which includes computer instructions, such that when the one or more processors execute the computer instructions, the electronic device performs any possible implementation method of the first aspect.
[0051] Thirdly, this application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform any of the possible implementations described in the first aspect.
[0052] Fourthly, this application provides a computer program product that may contain computer instructions that, when executed on an electronic device, cause the electronic device to perform any of the possible implementation methods described in the first aspect.
[0053] Fifthly, this application provides a chip for use in an electronic device, the chip including one or more processors for invoking computer instructions to cause the electronic device to perform any of the possible implementation methods in the first aspect.
[0054] For the beneficial effects of aspects two through five, please refer to the description of the beneficial effects in aspect one, which will not be repeated here. Attached Figure Description
[0055] Figure 1 shows a schematic diagram of an electronic device 100 playing a camera application startup effect on the lock screen;
[0056] Figure 2 shows a schematic diagram of the structure of the electronic device 100;
[0057] Figure 3 is a software structure block diagram of an electronic device 100 according to an embodiment of this application;
[0058] Figures 4A and 4B show the UI diagrams of an electronic device transitioning from an unlocked state to a locked state.
[0059] Figure 4C shows a schematic flowchart of the method for displaying a lock screen on an electronic device 100.
[0060] Figures 4D and 4E show the display hierarchy of various application windows in the electronic device 100 before and after the electronic device 100 enters the lock screen state.
[0061] Figures 5A-5I show the UI diagrams of how electronic device 100 quickly launches the camera application on the lock screen;
[0062] Figure 5J shows a flowchart of a method for electronic device 100 to open the first application when the electronic device 100 is in a locked state and receives a user operation.
[0063] Figure 5K shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 when the camera application is opened and the camera application window is displayed after the electronic device 100 enters the lock screen state.
[0064] Figure 6A shows a UI diagram of the camera application window moving as the finger moves in the first direction;
[0065] Figure 6B shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 after the camera application window moves with the user's finger position when the electronic device 100 enters the lock screen state.
[0066] Figures 7A and 7B show the UI diagrams of the electronic device 100 continuing to display lock screen content when the user slides the camera application icon in the second direction on the lock screen interface;
[0067] Figure 7C shows a flowchart illustrating the method by which the electronic device 100 continues to display lock screen content when the user slides the camera application icon in a second direction on the lock screen interface.
[0068] Figures 8A-8C show UI diagrams of whether the electronic device 100 continues to display the application window or stops displaying the application window when the user slides the camera application application window in the second direction on the lock screen interface;
[0069] Figure 8D shows a flowchart illustrating the method for the electronic device 100 to continue displaying the application window or stop displaying the application window when the user slides the application window of the camera application in the second direction on the lock screen.
[0070] Figures 8E-8G show a schematic diagram of the display hierarchy of application windows in a set of electronic devices 100;
[0071] Figure 9A shows a flowchart illustrating the method of displaying the application window of the first application in full screen on the electronic device 100 after the user unlocks the electronic device 100 before the camera application window is displayed in full screen on the electronic device 100.
[0072] Figure 9B shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 after the user unlocks the electronic device 100 and the electronic device 100 displays the application window of the first application in full screen.
[0073] Figure 9C shows a flowchart illustrating the method of displaying the application window of the first application in full screen on the electronic device 100 after the user unlocks the electronic device 100, following the full-screen display of the camera application window on the electronic device 100.
[0074] Figure 10A shows a flowchart of a method for electronic device 100 to display the application window of the first application in full screen after the user ends the first swipe operation when the electronic device 100 is in a locked screen state.
[0075] Figure 10B shows a schematic diagram of the display hierarchy of each application window in the electronic device 100 after the electronic device 100 recognizes that the user has stopped the first swipe operation on the camera application window and the electronic device 100 displays the application window of the first application in full screen.
[0076] Figures 11A-11B show a UI diagram of a set of electronic devices 100 receiving user operation to exit the camera application and displaying a lock screen window in full screen.
[0077] Figure 11C shows a flowchart of a method in which an electronic device 100 receives a user's operation to exit a camera application and displays a lock screen window in full screen.
[0078] Figures 11D-11E show schematic diagrams of the display hierarchy of application windows in another set of electronic devices 100;
[0079] Figures 11F-11G show UI diagrams of another set of electronic devices 100 receiving user operation to exit the camera application and electronic devices 100 displaying a desktop window in full screen;
[0080] Figure 11H shows a flowchart of another method in which an electronic device 100 receives a user's operation to exit the camera application and displays a desktop window in full screen.
[0081] Figures 11I-11J show schematic diagrams of the display hierarchy of application windows in another set of electronic devices 100;
[0082] Figure 12 is a flowchart illustrating an application launch method under lock screen conditions provided in this application. Detailed Implementation
[0083] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text 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, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0084] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0085] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.
[0086] When a user performs a quick access operation on the lock screen to open an application, in order to improve the user experience, the electronic device 100 can obtain the content of the application and display it on the lock screen, allowing the user to preview the content of the application in advance.
[0087] For example, let's take the example of a user quickly opening the camera app from the lock screen.
[0088] Figure 1 shows a schematic diagram of an electronic device 100 playing a camera application startup effect on the lock screen.
[0089] As shown in Figure 1(a), the electronic device 100 displays a lock screen. The electronic device 100 can receive user operations on the lock screen, such as swiping left. In response to the user operation, if the distance of swiping left is less than a preset distance, the electronic device 100 can play the camera application startup effect. For example, the electronic device 100 can display the user interface shown in Figure 1(b).
[0090] As shown in Figure 1(b), the electronic device 100 displays a user interface 1100, which includes a lock screen 1101 and a camera preview screen 1102 within the camera application. The electronic device 100 can receive user actions on the user interface 1100, such as continuing to swipe left. In response to the user action, if the distance swiped to the left is less than a preset distance, the electronic device 100 can continue playing the camera application startup effect.
[0091] As shown in Figure 1(c), the electronic device 100 displays a user interface 1200, which includes a lock screen 1201 and a camera preview screen 1202 within the camera application. The content of the camera preview screen 1202 shown in Figure 1(c) is more extensive than that of the camera preview screen 1102 shown in Figure 1(b).
[0092] As the user continues to swipe left, the content on the lock screen gradually decreases, while the content on the camera preview screen within the camera app gradually increases until the distance swiped to the left exceeds a preset distance. At this point, the electronic device 100 stops displaying the lock screen and displays the camera preview screen of the camera app in full screen.
[0093] The user interface 1100 shown in Figure 1(b) and the camera preview screen shown in Figure 1(c) can also be referred to as the camera application startup effect.
[0094] Since both the lock screen and the camera preview are displayed in the same window (e.g., both in the lock screen window), the electronic device 100 does not create a separate window for the camera application. If the user performs an unlock operation before sliding to the left a distance greater than a preset distance, in response to the unlock operation, the electronic device 100 stops displaying the lock screen window and stops playing the camera application startup effect. Since no camera application window has been created, the electronic device 100 cannot display the camera preview of the camera application, and the electronic device 100 can display the desktop by default, such as the desktop shown in Figure 1(d).
[0095] In other words, if the user unlocks the device while the application is playing its startup animation, the device will display the desktop instead of the application's screen. The user needs to click the camera application icon on the desktop. In response to this click, the device will create a camera application window and display the camera preview within that window.
[0096] The structure of the electronic device involved in this application is described below.
[0097] Please refer to Figure 2, which exemplarily shows a schematic diagram of the hardware structure of the electronic device 100.
[0098] As shown in Figure 2, 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.
[0099] 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.
[0100] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.
[0101] 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.
[0102] The processor 110 may also include a memory for storing instructions and data. In some examples, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or is recurring. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0103] USB interface 130 is an interface that conforms to the USB standard specification. USB interface 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices.
[0104] The charging management module 140 receives charging input from a charger, which can be a wireless charger or a wired charger. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0105] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.
[0106] 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.
[0107] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network.
[0108] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.
[0109] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as Wireless Fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), frequency modulation (FM), near-field communication (NFC), and infrared (IR) technologies. 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0110] Electronic device 100 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.
[0111] The display screen 194 is used to display images, videos, etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0112] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0113] The ISP is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye.
[0114] Camera 193 is used to capture still images or videos. In some embodiments, electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0115] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0116] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0117] The external memory interface 120 can be used to connect an external memory card, such as a MicroSD 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 functions.
[0118] 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 during the use of electronic device 100 (such as audio data, phonebook, etc.).
[0119] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0120] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 170 can also be used for encoding and decoding audio signals. In some examples, audio module 170 may be located in processor 110, or some functional modules of audio module 170 may be located in processor 110. Speaker 170A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Receiver 170B, also called a "handset," is used to convert audio electrical signals into sound signals. Microphone 170C, also called a "microphone" or "microphone," is used to convert sound signals into electrical signals. Headphone jack 170D is used to connect wired headphones.
[0121] The sensor module 180 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, gravity sensors, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0122] Buttons 190 include a power button, volume buttons, etc. Motor 191 can generate vibration feedback. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, and also to indicate messages, missed calls, notifications, etc.
[0123] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The electronic device 100 interacts with the network through the SIM card to achieve functions such as making calls and data communication.
[0124] Electronic device 100 can be a mobile phone, tablet computer, laptop computer, smartwatch, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc. This application embodiment does not limit the specific type of electronic device 100.
[0125] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of electronic device 100.
[0126] Figure 3 is a software structure block diagram of an electronic device 100 according to an embodiment of this application.
[0127] 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 is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0128] The application layer can include a series of application packages.
[0129] As shown in Figure 3, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0130] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0131] As shown in Figure 3, the application framework layer may include a screen lock module, a window management module, a runtime management module, and a display module.
[0132] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, capture screenshots, and manage application windows, such as creating, changing, and destroying application windows.
[0133] The lock screen module is used to obtain the lock screen content, draw the lock screen image based on the lock screen content, and send the lock screen image to the display module, so that the display module displays the lock screen image in the window of the lock screen application.
[0134] The runtime management module is used to manage the application's lifecycle.
[0135] The display module is used to display the application screen drawn by the application within the application's window. For example, the display module can display the lock screen drawn by the lock screen module within the lock screen application's window. The display module can also display the application screen drawn by other applications within the windows of those other applications.
[0136] When both the lock screen module and the window management module are located in the application framework layer, their interaction occurs within the same process, without involving IPC calls, resulting in faster response times.
[0137] Optionally, the lock screen module can also reside at the application layer. The lock screen module and the window management module communicate via IPC messages.
[0138] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0139] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0140] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGLES), 2D graphics engines (e.g., SGL), etc.
[0141] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0142] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0143] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0144] A 2D graphics engine is a graphics engine for 2D drawing.
[0145] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0146] The following section provides a detailed description of an application launch method in lock screen mode, using multiple scenarios as examples.
[0147] Scenario 1: Electronic device 100 enters lock screen state and displays the lock screen image.
[0148] In some embodiments, when the electronic device has not been used for an extended period, it can enter a locked screen state to reduce power consumption and accidental touches. Once locked, the user can unlock the device using one or more methods such as fingerprint, facial recognition, voiceprint, or password.
[0149] After the electronic device 100 enters the lock screen state, the electronic device 100 can display the lock screen image.
[0150] Figures 4A and 4B show the UI diagrams of an electronic device transitioning from an unlocked state to a locked state.
[0151] For example, as shown in Figure 4A, before the electronic device 100 enters the lock screen state, the electronic device 100 displays a desktop with application icons for multiple applications. As shown in Figure 4B, the electronic device 100 also displays a wallpaper, such as an image of a puppy.
[0152] After the electronic device 100 is not locked, it can display the lock screen 4102 shown in Figure 4B. As shown in Figure 4B, the lock screen 4102 displays application icons, such as the flashlight application icon and the camera application icon 4201. Users can quickly open the corresponding application without unlocking the electronic device 100 by using the application icon on the lock screen 4102. For example, users can quickly open the camera application without unlocking the electronic device 100 by using the camera application icon 4201.
[0153] In some embodiments, the electronic device 100 may also not display a wallpaper.
[0154] Figure 4C shows a schematic diagram of the method for displaying a lock screen on an electronic device 100.
[0155] As shown in Figure 4C, the software modules for displaying the lock screen on the electronic device 100 include, but are not limited to, a lock screen module, a window management module, and a display module.
[0156] The method by which an electronic device 100 displays a lock screen may include, but is not limited to, the following steps:
[0157] S401, The lock screen module recognizes that the electronic device 100 has entered the lock screen state and sends a message to the window management module to create a lock screen window.
[0158] When the electronic device 100 is detected to have entered a locked screen state, the lock screen module can send a message to the window management module to create a lock screen window. This message instructs the window management module to create a lock screen window so that the display module can display the lock screen image within the lock screen window.
[0159] Optionally, the electronic device 100 may automatically enter the lock screen state when the user has not operated the electronic device for a long time, or the user may actively trigger the electronic device 100 to enter the lock screen state.
[0160] S402. In response to the message about creating a lock screen window, the window management module creates a lock screen window.
[0161] Upon receiving the message from the lock screen module to create a lock screen window, the window management module creates the lock screen window in response to the message.
[0162] S403, The window management module sends the identifier of the lock screen window to the display module.
[0163] After creating the lock screen window, the window management module can send the lock screen window's identifier to the display module, so that the display module can obtain the lock screen window based on the lock screen window's identifier and display the lock screen image on the lock screen window.
[0164] Optionally, the window management module can also send the identifier of the lock screen window to the lock screen module.
[0165] S404. The electronic device 100 is identified as entering the lock screen state. The lock screen module obtains the lock screen content A, which includes the camera application icon A.
[0166] S405. The lock screen module draws the lock screen image A based on the lock screen content A.
[0167] When the electronic device 100 enters the lock screen state, the lock screen module can obtain lock screen content A. The type of lock screen content A can include, but is not limited to, images, text, and icons. Lock screen content A can also include, but is not limited to, attributes such as position, shape, size, and transparency.
[0168] Optionally, S404 and S405 can also be executed before S401, and the latter can be executed simultaneously with S401.
[0169] S406, The lock screen module sends the lock screen image A to the display module.
[0170] After obtaining the lock screen image A and the identifier of the lock screen window, the lock screen module can send the lock screen image A and the identifier of the lock screen window to the display module.
[0171] Optionally, the lock screen module can also send data to the display module.
[0172] S407 The display module obtains the lock screen window based on the lock screen window's identifier and displays the lock screen image A within the lock screen window.
[0173] After obtaining the identifier of the lock screen window and the lock screen image A, the display module can obtain the lock screen window based on the identifier of the lock screen window and display the lock screen image A in the lock screen window.
[0174] Optionally, S403 can be executed after S402, before or after any step before S407, or simultaneously.
[0175] For example, lock screen A can be lock screen 4102 as shown in Figure 4B.
[0176] Figure 4D shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 before the electronic device 100 enters the lock screen state.
[0177] Referring to the description in Figure 4A, the electronic device 100 displays a desktop and a wallpaper. The electronic device 100 contains a desktop window for a desktop application and a wallpaper window for a wallpaper application. The desktop window displays the desktop, such as icons of multiple applications, and the wallpaper window displays the wallpaper, such as an image of a puppy.
[0178] As shown in Figure 4D, the desktop window is located above the wallpaper window. Optionally, the desktop window can have 100% transparency, allowing the electronic device to display the wallpaper in the wallpaper window.
[0179] Figure 4E shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 after the electronic device 100 enters the lock screen state.
[0180] Referring to the description in Figure 4B, after the electronic device 100 enters the lock screen state, the electronic device 100 displays a lock screen image 4102. The electronic device 100 contains a lock screen window of the lock screen module, a desktop window of the desktop application, and a wallpaper window of the wallpaper application.
[0181] As shown in Figure 4E, since the electronic device 100 only displays the lock screen image 4102, the lock screen window is located on top of the desktop window, so that the electronic device 100 can display the lock screen image in the lock screen window, while the desktop window is still located on top of the wallpaper window.
[0182] Scenario 2: Electronic device 100 is in a locked state, and the first application is opened.
[0183] When an electronic device is locked, users can quickly launch applications from the lock screen without unlocking the device. To enhance the user experience, the electronic device 100 can access the content within applications and display it on the lock screen, allowing users to preview the content, such as displaying certain functional pages or real-time previews of the applications.
[0184] In some embodiments, the first application can be a payment application. Users can quickly open the payment application while the screen is locked, and the payment application window will be displayed above the lock screen window. The payment application window can display a payment code, so users can quickly display the payment code in the payment application without unlocking the screen for quick payment and other operations, which is convenient for users.
[0185] In some embodiments, the first application can be a scan application. Users can quickly open the scan application while the screen is locked, and the scan application window will be displayed above the lock screen window. The scan application window can display a QR code scanning page. In this way, users can quickly open the scan application without unlocking the screen and scan QR codes and other images for quick payment and other operations, which is convenient for users.
[0186] In some embodiments, the first application may be a camera application. Users can quickly open the camera application while the screen is locked, and the camera application window will be displayed above the lock screen window. The camera application window can display camera preview content, so users can open the camera application without unlocking and perform operations such as taking photos or recording videos through the camera application, which is convenient for users.
[0187] In some embodiments, the first application can be a memo application. Users can quickly open the memo application while the screen is locked, and the memo application window will be displayed above the lock screen window. The memo application window can display notes, so users can quickly view the notes in the memo application without unlocking the screen, which is convenient for users.
[0188] The first application is not limited to the above-mentioned applications; it can also be other applications, and this application does not limit it.
[0189] For example, this application describes how a user can quickly open the camera application when the electronic device 100 is locked. However, this is not limited to quickly opening the camera application when the electronic device 100 is locked; users can also quickly open other applications when the electronic device 100 is locked, and this application does not limit this to such applications.
[0190] Figures 5A-5I show the UI diagrams of how electronic device 100 quickly launches the camera application on the lock screen.
[0191] For example, as shown in Figure 5A, after the electronic device is in a locked screen state, the electronic device 100 displays a lock screen window 5100, which displays a lock screen image 4102, and the lock screen image 4102 displays a camera application icon 4201. The position of the camera application icon 4201 shown in Figure 5A can be display position 2.
[0192] Optionally, a Cartesian coordinate system can be established with the horizontal rightward direction of the lower edge of the electronic device 100 as the positive X-axis, the vertical upward direction of the left edge of the electronic device 100 as the positive Y-axis, and the intersection of the positive X-axis and positive Y-axis as the 0 point. The display position 2 of the camera application icon 4201 in this Cartesian coordinate system can be obtained.
[0193] It should be noted that the display position 2 of the camera application icon 4201 can also be determined based on other methods, and this application does not limit this.
[0194] As shown in Figure 5A, the electronic device 100 can receive user actions on the camera application icon 4201, such as long presses and swipes in the positive Y-axis direction. In response to the user's actions, the electronic device 100 can determine whether the swipe distance exceeds a preset distance. If the swipe distance does not exceed the preset distance, the electronic device 100 does not display the camera application window. If the swipe distance exceeds the preset distance, the electronic device 100 can create a camera application window and display it above the lock screen window, and display a camera preview within the camera application window.
[0195] Optionally, the sliding distance may include the sliding distance in the positive Y-axis direction. The sliding distance may also be determined in other ways, such as the straight-line distance between two points or the sliding distance between two points in the positive X-axis direction, etc., and this application does not limit it in this way.
[0196] As shown in Figures 5A and 5B, if the user long-presses the camera application icon 4201 and slides to position B as shown in Figure 5B, position B can be the position of the solid line finger shown in Figure 5B. If the distance between position B and display position 2 is less than a preset distance, the electronic device 100 can continue to display the lock screen, and display position 2 can be the position of the dashed line finger shown in Figure 5B.
[0197] As shown in Figure 5B, the electronic device 100 displays a lock screen window 5100, within which a lock screen image 5101 is displayed, and on the lock screen image 5101, a camera application icon 5102 is displayed. The camera application icon 5102 is located at position B, and the size of the camera application icon 5102 is larger than the size of the camera application icon 4201.
[0198] Optionally, the size of the camera application icon 5102 can be determined based on the distance between position B and display position 2. The distance between position B and display position 2 can refer to the distance between position B and display position 2 in the positive Y-axis direction.
[0199] As shown in Figures 5B and 5C, if the user long-presses the camera application icon 5102 and slides to position C as shown in Figure 5C, position C can be the position of the finger shown by the solid line in Figure 5C. If the distance between position C and display position 2 is less than a preset distance, the electronic device 100 can continue to display the lock screen.
[0200] As shown in Figure 5C, the electronic device 100 displays a lock screen window 5100, within which a lock screen image 5103 is displayed, and on the lock screen image 5103, a camera application icon 5104 is displayed. The camera application icon 5104 is located at position C, and the size of the camera application icon 5104 is larger than the size of the camera application icon 5102.
[0201] Optionally, the size of the camera app icon 5104 can be determined based on the distance between position C and display position 2. The distance between position C and display position 2 can refer to the distance between position C and display position 2 in the positive Y-axis direction.
[0202] As shown in Figures 5C and 5D, if the user long-presses the camera application icon 5104 and slides to position D as shown in Figure 5D, position D can be the position of the finger indicated by the solid line in Figure 5D. If the distance between position D and display position 2 is greater than a preset distance, the electronic device 100 can continue to display the lock screen and create a camera application window. The camera application window is displayed on top of the lock screen window, and a camera preview is displayed within the camera application window.
[0203] As shown in Figure 5D, the electronic device 100 displays a lock screen window 5100, which contains a lock screen image 5105. The lock screen image 5105 does not display an icon for the camera application.
[0204] Above the lock screen window 5100 is a camera application window 5200, which displays a camera preview image 5201. The camera preview image 5201 can be captured by the camera application through the webcam. The camera application window 5200 is located at position D.
[0205] Optionally, the size of the camera application window 5200 shown in Figure 5D can be determined based on the distance between position D and display position 2. The distance between position D and display position 2 can refer to the distance between position D and display position 2 in the positive Y-axis direction.
[0206] As shown in Figures 5D and 5E, if the user presses and holds the camera application window 5200 and slides to position E as shown in Figure 5E, position E can be the position of the finger as shown by the solid line in Figure 5E. If the distance between position E and display position 2 is greater than a preset distance, the electronic device 100 can continue to display the lock screen and display the camera application window on top of the lock screen window, and display the camera preview screen in the camera application window.
[0207] As shown in Figure 5E, the electronic device 100 displays a lock screen window 5100, which displays a lock screen image 5105. The lock screen image 5105 does not display an icon for the camera application.
[0208] Above the lock screen window 5100 is a camera application window 5200, which displays a camera preview image 5301. The camera preview image 5301 can be captured by the camera application through the webcam. The camera application window 5200 is located at position E.
[0209] Optionally, the size of the camera application window 5200 shown in Figure 5E is larger than the size of the camera application window 5200 shown in Figure 5D. The size of the camera application window 5200 shown in Figure 5E can be determined based on the distance between position E and display position 2. The distance between position E and display position 2 can refer to the distance between position E and display position 2 in the positive Y-axis direction.
[0210] As shown in Figures 5E and 5F, if the user presses and holds the camera application window 5200 and slides to position F as shown in Figure 5F, position F can be the position of the finger shown by the solid line in Figure 5F. If the distance between position F and display position 2 is greater than a preset distance, the electronic device 100 can continue to display the lock screen and display the camera application window on top of the lock screen window, and display the camera preview screen in the camera application window.
[0211] As shown in Figure 5F, the electronic device 100 displays a lock screen window 5100, which contains a lock screen image 5105. The lock screen image 5105 does not display an icon for the camera application.
[0212] Above the lock screen window 5100 is a camera application window 5200, which displays a camera preview image 5401. The camera preview image 5401 can be captured by the camera application through the webcam. The camera application window 5200 is located at position F.
[0213] Optionally, the size of the camera application window 5200 shown in Figure 5F is larger than the size of the camera application window 5200 shown in Figure 5E. The size of the camera application window 5200 shown in Figure 5F can be determined based on the distance between position F and display position 2. The distance between position F and display position 2 can refer to the distance between position F and display position 2 in the positive Y-axis direction.
[0214] As shown in Figures 5F and 5G, if the user long-presses the camera application window 5200 and slides to position G as shown in Figure 5G, position G can be the position of the finger as shown by the solid line in Figure 5G. If the distance between position G and display position 2 is greater than a preset distance, the electronic device 100 can continue to display the lock screen and display the camera application window on top of the lock screen window, and display the camera preview screen in the camera application window.
[0215] As shown in Figure 5G, the electronic device 100 displays a lock screen window 5100, which contains a lock screen image 5105. The lock screen image 5105 does not display an icon for the camera application.
[0216] Above the lock screen window 5100 is a camera application window 5200, which displays a camera preview image 5501. The camera preview image 5501 can be captured by the camera application through the webcam. The camera application window 5200 is located at position G.
[0217] Optionally, the size of the camera application window 5200 shown in Figure 5G is larger than the size of the camera application window 5200 shown in Figure 5F. The size of the camera application window 5200 shown in Figure 5G can be determined based on the distance between position G and display position 2. The distance between position G and display position 2 can refer to the distance between position G and display position 2 in the positive Y-axis direction.
[0218] As shown in Figures 5G and 5H, when the user stops sliding the camera application window 5200 (e.g., when the user releases their finger), the electronic device 100 can display the user interface shown in Figure 5H in response to the operation of stopping the sliding of the camera application window 5200.
[0219] As shown in Figure 5H, the electronic device 100 displays a lock screen window 5100, which displays a lock screen image 5105. The lock screen image 5105 does not display an icon for the camera application.
[0220] Above the lock screen window 5100 is a camera application window 5200, and inside the camera application window 5200 is a camera preview screen 5601, which can be obtained by the camera application through the camera.
[0221] Optionally, the size of the camera application window 5200 shown in Figure 5H is larger than the size of the camera application window 5200 shown in Figure 5G.
[0222] Then, the electronic device 100 can display the user interface shown in Figure 5I. As shown in Figure 5I, the electronic device 100 displays the camera application window 5200 in full screen. At this time, the lock screen window 5100 is hidden and invisible. The camera application window 5200 displays the camera preview screen 5701, which can be obtained by the camera application through the camera.
[0223] Optionally, the user interface shown in Figure 5H can be referred to as a transition frame.
[0224] Optionally, the size of the camera application window 5200 shown in FIG5H can be determined by the electronic device 100 based on the difference between the size of the camera application window 5200 shown in FIG5G and the size of the camera application window 5200 shown in FIG5I.
[0225] Optionally, after the user stops scrolling the camera application window 5200, before the electronic device 100 displays the user interface shown in FIG5I, in addition to displaying the transition frame shown in FIG5H, the electronic device 100 may also display other transition frames, so that the electronic device 100 can gradually increase the size of the camera application window to naturally switch to full-screen display of the camera application window.
[0226] Optionally, the number of transition frames can be determined based on the difference between the size of the camera application window 5200 shown in Figure 5G and the size of the camera application window 5200 shown in Figure 5I. A larger difference between the size of the camera application window 5200 shown in Figure 5G and the size of the camera application window 5200 shown in Figure 5I results in a larger number of transition frames; conversely, a smaller difference between the size of the camera application window 5200 shown in Figure 5G and the size of the camera application window 5200 shown in Figure 5I results in a smaller number of transition frames.
[0227] Optionally, after the user stops sliding the camera application window 5200, before the electronic device 100 displays the user interface shown in FIG5I, the electronic device 100 may not display the transition frame shown in FIG5H. After the user stops sliding the camera application window 5200, the electronic device 100 may directly switch to full-screen display of the camera application window.
[0228] Optionally, not only after the user stops scrolling the camera application window 5200, but also in any of the user interfaces shown in Figures 5D-5G, the electronic device 100 can automatically switch to full-screen display of the camera application window after the user stops scrolling, for example, by releasing their hand. For example, when the electronic device 100 is displaying the user interface shown in Figure 5E, if the user stops scrolling the camera application window 5200, for example, by releasing their finger, the electronic device 100 can also automatically switch to full-screen display of the camera application window. Optionally, before switching to full-screen display of the camera application window, the electronic device 100 can sequentially display the user interfaces shown in Figures 5F-5H, and then switch to full-screen display of the camera application window.
[0229] Optionally, Figures 5A-5I illustrate a swiping operation of the camera application icon in the lock screen window by the electronic device 100. After the swiping distance of the camera application icon in the positive Y-axis direction exceeds a preset distance, the electronic device 100 displays the camera application window above the lock screen window. In other embodiments, the lock screen window may not include the camera application icon. The electronic device 100 can receive the user's swiping operation on the lock screen window, and after the distance between the swiping termination position and the initial swiping position exceeds a preset distance, the electronic device 100 displays the camera application window above the lock screen window. This application embodiment only illustrates a swiping operation on an application icon and does not constitute a limitation.
[0230] Figure 5J shows a flowchart illustrating the method of opening a first application by receiving a user operation when the electronic device 100 is in a locked state.
[0231] The embodiment shown in Figure 5J can be a method flow for the electronic device 100 to first display the camera application window in the embodiments shown in Figures 5A-5D.
[0232] As shown in Figure 5J, when the electronic device 100 is in a locked state, the software modules for the electronic device 100 to receive user operation to open the first application include, but are not limited to, the lock screen module, window management module, display module, operation management module, and camera application.
[0233] When the electronic device 100 is in a locked state, the method by which the electronic device 100 receives a user operation to open the first application may include, but is not limited to, the following steps:
[0234] S501, The display module displays a lock screen window, which displays a lock screen image A. The lock screen image A includes a camera application icon A, and the position of the camera application icon A is position 1.
[0235] After the electronic device 100 enters the lock screen state, the window management module can create a lock screen window, and the display module can obtain the pre-drawn lock screen image A sent by the lock screen module and display the lock screen image A on the lock screen window.
[0236] For example, the lock screen window can be the lock screen window 5100 shown in Figure 5A, the lock screen screen A can be the lock screen screen 4102 shown in Figure 5A, and the camera application icon A can be the camera application icon 4201 shown in Figure 5A.
[0237] S502, The lock screen module recognizes the user's first swipe operation on the camera application icon A in the first direction on the lock screen window.
[0238] For example, camera app icon A can be the camera app icon 4201 shown in Figure 5A.
[0239] For example, a Cartesian coordinate system can be established with the horizontal rightward direction of the lower edge of the electronic device 100 as the positive X-axis, the vertical upward direction of the left edge of the electronic device 100 as the positive Y-axis, and the intersection of the positive X-axis and positive Y-axis as the 0 point. The first direction can be towards the positive Y-axis.
[0240] It should be noted that the first direction can be a direction pointing towards the positive Y-axis and forming a certain angle with the positive Y-axis. This certain angle can be greater than 0 degrees and less than 90 degrees. For example, the first direction can be a direction forming a 45-degree angle with the positive Y-axis.
[0241] For example, the first swipe operation for the camera application icon A in the first direction can be a swipe operation for the camera application icon 4201 in the positive Y-axis direction.
[0242] S503, The lock screen module determines the display position 2 based on the termination position of the first swipe operation.
[0243] For example, display position 2 can be position B as shown in Figure 5B, display position 2 can also be position C as shown in Figure 5C, or display position D as shown in Figure 5D.
[0244] S504. The lock screen module needs to confirm whether the distance between display position 2 and position 1 is greater than the preset distance.
[0245] For example, position 1 of the camera application icon A can be the display position 2 where the camera application icon 4201 shown in Figure 5A is located.
[0246] Optionally, the distance between display position 2 and position 1 can refer to the distance between display position 2 and position 1 in the positive Y-axis direction. In other embodiments, the distance between display position 2 and position 1 can also refer to the straight-line distance between the two points, such as display position 2 and position 1, and this application does not limit this.
[0247] If the distance between display position 2 and position 1 is less than a preset distance, the electronic device 100 can continue to display the lock screen window. Until the distance between the end position of the swipe operation and position 1 is greater than the preset distance, the electronic device 100 creates the camera application window, i.e., executes S505-S508.
[0248] When the distance between display position 2 and position 1 is greater than a preset distance, electronic device 100 can create a camera application window and display the camera application window above the lock screen application window, i.e., execute S509-S522.
[0249] S505, The lock screen module obtains the lock screen content B, and the lock screen B includes the camera application icon B.
[0250] If the distance between display position 2 and position 1 is less than a preset distance, the electronic device 100 can continue to display the lock screen window and continue to display the lock screen image within the lock screen window.
[0251] For example, display position 2 can be position B as shown in Figure 5B, or display position 2 can be position C as shown in Figure 5C.
[0252] Optionally, after the electronic device 100 receives the user's first swipe operation, if the distance between the display position 2 and position 1 is less than a preset distance, the lock screen module can obtain the lock screen content B, which may be the same as or different from the lock screen content A.
[0253] Optionally, lock screen content B includes a camera app icon B, and the position of the camera app icon B in lock screen content B can be the same as or different from the position of the camera app icon A in lock screen content A.
[0254] Optionally, the size of camera app icon B can be larger than the size of camera app icon A, and the size of camera app icon B can be determined based on the distance between display position 2 and position 1.
[0255] Optionally, the size of camera app icon B can also be the same as the size of camera app icon A.
[0256] S506. The lock screen module draws the lock screen image B based on the lock screen content B.
[0257] After obtaining the lock screen content B, the lock screen module can draw the lock screen image B based on the lock screen content B.
[0258] For example, lock screen B can be lock screen 5101 as shown in Figure 5B, or lock screen B can be lock screen 5103 as shown in Figure 5C.
[0259] S507, The lock screen module sends the lock screen image B to the display module.
[0260] S508, the display module obtains the lock screen window based on the lock screen window's identifier and displays the lock screen image B within the lock screen window.
[0261] After the lock screen B is drawn, the lock screen module can send the lock screen B and the lock screen window identifier to the display module.
[0262] After receiving the lock screen image B sent by the lock screen module, the display module can obtain the lock screen window based on the lock screen window's identifier and display the lock screen image B within the lock screen window.
[0263] Optionally, the lock screen module can also send the lock screen window identifier to the display module.
[0264] S509, The lock screen module determines the size of the camera application window.
[0265] When the distance between display position 2 and position 1 is greater than a preset distance, the electronic device 100 can create a camera application window and display the camera application window above the lock screen application window.
[0266] The lock screen module can determine the size of the camera application window before it is created.
[0267] Optionally, the lock screen module can determine the size 1 of the camera application window based on the distance between the end position of the first swipe operation (e.g., display position 2) and the initial position (the display position of the camera application icon A, e.g., position 1).
[0268] Optionally, the distance between the end position and the initial position of the first sliding operation can refer to the vertical distance between the end position and the initial position of the first sliding operation.
[0269] For example, display position 2 can be position D as shown in Figure 5D, and the initial position can be position 1. The lock screen module can determine the size 1 of the camera application window based on position D and position 1, and the size 1 of the camera application window can be the size of the camera application window 5200 shown in Figure 5D.
[0270] S510, the lock screen module sends a message to the window management module to create a camera application window, carrying size 1 and display position 2 of the camera application window.
[0271] S511. In response to the message about creating a camera application window, the window management module creates a camera application window with a size of 1.
[0272] After determining the size 1 of the camera application window, the lock screen module can send a message to the window management module to create the camera application window, carrying the size 1 and the display position 2 of the camera application window.
[0273] Upon receiving the message from the lock screen module to create a camera application window, the window management module can create the camera application window in response to the message. The size of the camera application window is 1.
[0274] For example, if the display position 2 is position D as shown in Figure 5D, then the camera application window can be the camera application window 5200 shown in Figure 5D.
[0275] S512, The window management module sends the identifier of the camera application window to the lock screen module.
[0276] After creating the camera application window, the window management module can obtain the identifier of the camera application window and send it to the lock screen module. When the user continues to swipe the camera application window in the first direction, the lock screen module can send the current display position of the camera application window and the identifier of the camera application window to the window management module. The window management module can then change the position and size of the camera application window based on the identifier, so that the camera application window can change with the position of the user's finger swipe, thus achieving responsiveness.
[0277] Optionally, the camera application window's identifier can remain unchanged until the camera application process is closed.
[0278] S513, The window management module sends the identifier of the camera application window and the display position of the camera application window to the display module.
[0279] After the camera application window is created, the window management module can also send the identifier of the camera application window and the display position of the camera application window to the display module.
[0280] The display module can obtain the camera application window based on the identifier of the camera application window and display the camera preview sent by the camera application within the camera application window.
[0281] The display position 2 of the camera application window is used by the display module to confirm the display position of the camera application window.
[0282] Optionally, S513 can be executed before S512, or S513 can be executed simultaneously with S512. Optionally, the identifier and display position 2 of the camera application window can be sent to the camera application simultaneously or separately.
[0283] S514, The window management module sends a message to the operation management module to start the camera application.
[0284] S515, The operation management module sends a message to the camera application to start the camera application.
[0285] Upon receiving the message to create a camera application window, the window management module can send a message to the operation management module to start the camera application in response to the message. The operation management module then sends a message to the camera application to start the camera application. The message to start the camera application is used to instruct the camera application to start.
[0286] Optionally, S514 and S515 can be a single message. That is, the window management module sends the message to the camera application directly, without going through the operation management module.
[0287] S516. In response to the message to launch the camera application, the camera application creates the camera application process.
[0288] Upon receiving a message to launch the camera application, the camera application can create its own process in response. After the process is created, the camera application launches and can then use the camera of the electronic device 100 to capture images.
[0289] Optionally, S514-S516 can also be executed after S510, and the execution order between S514-S516 and S511-S513 is not limited.
[0290] S517, The camera application sends a message to the operation management module that the camera application has been started.
[0291] S518, The operation management module sends a message to the window management module that the camera application has been started.
[0292] After the camera application process is created, the camera application can send a message to the runtime management module that the camera application has started, and the runtime management module will then send the message to the window management module that the camera application has started.
[0293] Optionally, the camera app can also directly send a message to the window management module that the camera app has been launched.
[0294] Optionally, S517 and S518 may not be executed.
[0295] S519, The camera application draws a camera preview screen A based on the image content captured by the camera.
[0296] S520, the camera application sends the camera preview screen A to the display module.
[0297] After the camera application is launched, it can use the image content captured by the camera of electronic device 100 to draw a camera preview screen and send the camera preview screen A to the display module.
[0298] S521, The display module obtains the camera application window based on the identifier of the camera application window, and displays the camera application window above the lock screen window based on display position 2.
[0299] After receiving the identifier of the camera application window and the display position 2 of the camera application window sent by the window management module, the display module can obtain the camera application window based on the identifier of the camera application window and display the camera application window above the lock screen window based on the display position 2 of the camera application window.
[0300] Optionally, the display module displays the camera application window above the lock screen window based on display position 2. Display position 2 can refer to the display position of a vertex of the camera application window, the display position of a point on an edge of the camera application window, the display position of a point inside the camera application window, or the display position of a point outside the camera application window, rather than on or inside the camera application window. This application does not limit the manner in which the display module displays the camera application window based on display position 2.
[0301] The explanation of how the display module displays the camera application window based on the location can be found in the description of displaying the camera application window based on display location 2 in S521, and will not be repeated below.
[0302] S522, The display module displays the camera preview screen A in a camera application window of size 1.
[0303] After receiving the camera preview image A, the display module can display the camera preview image A in a camera application window of size 1.
[0304] Optionally, S522 can also be executed before or simultaneously with S521.
[0305] Figure 5K shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 when the camera application is opened and the camera application window is displayed after the electronic device 100 enters the lock screen state.
[0306] For example, the camera application window can be the camera application window 5200 shown in Figure 5F.
[0307] After the electronic device 100 enters the lock screen state, if the user swipes the lock screen window in the first direction for a distance exceeding a preset distance, the electronic device 100 creates a camera application window and displays it above the lock screen window. Therefore, the electronic device 100 contains a camera application window, a lock screen window, a desktop application window, and a wallpaper application window.
[0308] As shown in Figure 5K, if the camera application window continues to be displayed above the lock screen window before the user unlocks the electronic device 100 or releases their finger, then the camera application window is located on top of the lock screen window, the lock screen window is located on top of the desktop window, and the desktop window is located on top of the wallpaper window.
[0309] Scenario 3: When the electronic device 100 is in a locked state, after the first application is opened and its application window is displayed, the display position of the application window moves with the position of the user's finger.
[0310] When the electronic device is locked, the electronic device 100 opens the application window of the first application and displays the application window of the first application on top of the lock screen window. The user can long-press and continue to move the application window of the first application in the first direction, and the display position of the application window of the first application moves with the position of the user's finger.
[0311] Optionally, if the user moves their finger in the first direction, not only will the position of the application window of the first application change, but the size of the application window of the first application will also increase accordingly.
[0312] Optionally, the application window of the first application can remain unchanged, only the display position of the application window of the first application can be changed.
[0313] For example, the first application could be a camera application.
[0314] Figure 6A shows a UI diagram of the camera application window moving as the finger moves in the first direction.
[0315] Optionally, Figure 6A may be a method flow for the embodiments shown in Figures 5D-5G.
[0316] As shown in Figure 6A, when the electronic device 100 is in a locked state, the software modules that move the camera application window as the finger moves in the first direction include, but are not limited to, the lock screen module, the window management module, the display module, and the camera application.
[0317] When the electronic device 100 is in a locked state, the method for moving the camera application window as the finger moves in the first direction may include, but is not limited to, the following steps:
[0318] S601, The display module displays the camera application window, and the camera application window displays the camera preview screen A.
[0319] For example, the camera application window can be the camera application window 5200 shown in FIG5D, and the camera preview screen A can be the camera preview screen 5201 displayed by the electronic device 100 in the camera application window 5200 shown in FIG5D. The camera preview screen 5201 can be the image captured by the electronic device 100 through the camera.
[0320] For example, the camera application window can be the camera application window 5200 shown in FIG5E, and the camera preview screen A can be the camera preview screen 5301 displayed by the electronic device 100 in the camera application window 5200 shown in FIG5E. The camera preview screen 5301 can be the image captured by the electronic device 100 through the camera.
[0321] For example, the camera application window can be the camera application window 5200 shown in Figure 5F, and the camera preview screen A can be the camera preview screen 5401 displayed by the electronic device 100 in the camera application window 5200 shown in Figure 5F. The camera preview screen 5401 can be the image captured by the electronic device 100 through the camera.
[0322] For example, the camera application window can be the camera application window 5200 shown in Figure 5G, and the camera preview screen A can be the camera preview screen 5501 displayed by the electronic device 100 in the camera application window 5200 shown in Figure 5G. The camera preview screen 5501 can be the image captured by the electronic device 100 through the camera.
[0323] S602, the lock screen module recognizes the user's first swipe operation in the first direction on the camera application window.
[0324] After the camera application window is displayed on the display module, the user can continue to drag the camera application window in the first direction on the lock screen window, so that the display position of the camera application window also moves in the first direction.
[0325] For example, when the camera application window can be the camera application window 5200 shown in FIG5D, the first sliding operation on the camera application window in the first direction can be the sliding operation on the camera application window 5200 in the positive Y-axis direction shown in FIG5D.
[0326] For example, when the camera application window can be the camera application window 5200 shown in FIG5E, the first sliding operation of the camera application window in the first direction can be the sliding operation of the camera application window 5200 in the positive Y-axis direction shown in FIG5E.
[0327] For example, when the camera application window can be the camera application window 5200 shown in FIG5F, the first sliding operation on the camera application window in the first direction can be the sliding operation on the camera application window 5200 in the positive Y-axis direction shown in FIG5F.
[0328] For example, when the camera application window can be the camera application window 5200 shown in FIG5G, the first sliding operation on the camera application window in the first direction can be the sliding operation on the camera application window 5200 in the positive Y-axis direction shown in FIG5G.
[0329] S603, The lock screen module determines the display position 3 based on the termination position of the first swipe operation.
[0330] For example, when the first sliding operation is a sliding operation in the positive Y-axis direction for the camera application window 5200 as shown in FIG. 5D, the display position 3 can be position E as shown in FIG. 5E.
[0331] For example, when the first sliding operation is a sliding operation in the positive Y-axis direction for the camera application window 5200 as shown in FIG. 5E, the display position 3 can be the position F shown in FIG. 5F.
[0332] For example, when the first sliding operation is a sliding operation in the positive Y-axis direction for the camera application window 5200 as shown in FIG5F, the display position 3 can also be the position G shown in FIG5G.
[0333] S604, The lock screen module determines the size 2 of the camera application window.
[0334] The distance between position 3 and position 1 is greater than the preset distance.
[0335] Optionally, the lock screen module can determine the size 2 of the camera application window based on display position 3 and position 1.
[0336] For example, if the display position 3 is position E as shown in Figure 5E, then the size 2 of the camera application window can be the size of the camera application window 5200 shown in Figure 5E.
[0337] For example, if the display position 3 is position F as shown in Figure 5F, then the size 2 of the camera application window can be the size of the camera application window 5200 shown in Figure 5F.
[0338] For example, if the display position 3 is the position G shown in Figure 5G, then the size 2 of the camera application window can be the size of the camera application window 5200 shown in Figure 5G.
[0339] For example, if the display position 3 is position H as shown in Figure 5H, then the size 2 of the camera application window can be the size of the camera application window 5200 shown in Figure 5H.
[0340] S605, the lock screen module sends the size 2 and display position 3 of the camera application window to the window management module.
[0341] Optionally, the size 2 and display position 3 of the camera application window can also be sent to the window management module separately.
[0342] The size 2 of the camera application window is used to scale the camera application window to obtain a camera application window of size 2. The display position 3 is used to confirm the display position of the camera application window of size 2.
[0343] S606, the window management module changes the size of the camera application window to size 2.
[0344] After receiving the camera application window size 2 sent by the lock screen module, the window management module can change the size of the camera application window to size 2.
[0345] S607, the window management module sends the display position 3 of the camera application window to the display module.
[0346] After obtaining display position 3, the window management module can send display position 3 to the display module. Display position 3 is used by the display module to confirm the display position of the camera application window of size 2.
[0347] Optionally, S607 can also be executed by the window management module.
[0348] S608, The camera application draws a camera preview screen B based on the image frames captured by the camera.
[0349] For example, if the display position 3 is position E as shown in Figure 5E, then the camera preview screen B can be the camera preview screen 5301 shown in Figure 5E.
[0350] For example, if the display position 3 is position F as shown in Figure 5F, then the camera preview screen B can be the camera preview screen 5401 shown in Figure 5F.
[0351] For example, if the display position 3 is the position G shown in Figure 5G, then the camera preview screen B can be the camera preview screen 5501 shown in Figure 5G.
[0352] S609, The camera application sends the camera preview screen B to the display module.
[0353] After the camera application is launched, it can call the image content captured by the camera of the electronic device 100 to draw a camera preview screen, such as camera preview screen B, and send camera preview screen B to the display module.
[0354] S610 The display module obtains the camera application window based on the identifier of the camera application window, and displays the camera application window above the lock screen window based on display position 3.
[0355] The display module can obtain the camera application window based on the identifier of the camera application window, and display the camera application window of size 2 above the lock screen window based on the display position 3.
[0356] S611, The display module displays the camera preview screen B in a camera application window of size 2.
[0357] After receiving the camera preview image B, the display module can display the camera preview image B in a camera application window of size 2.
[0358] Optionally, S611 can also be executed before or simultaneously with S610.
[0359] Figure 6B shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 after the camera application window moves with the user's finger position when the electronic device 100 enters the lock screen state.
[0360] For example, the camera application window can be the camera application window 5200 shown in Figure 5G.
[0361] After the electronic device 100 enters the lock screen state, the display position of the camera application window moves with the position of the user's finger. The electronic device 100 contains the camera application window of the camera application, the lock screen window of the lock screen module, the desktop window of the desktop application, and the wallpaper window of the wallpaper application.
[0362] As shown in Figure 6B, if the camera application window continues to be displayed above the lock screen window before the user unlocks the electronic device 100 or releases their finger, then the camera application window is located above the lock screen window, the lock screen window is located above the desktop window, and the desktop window is located above the wallpaper window.
[0363] Scenario 4: When the electronic device 100 is in a locked state, if the sliding distance in the first direction is less than a preset distance, the electronic device 100 does not display the application window of the first application. If the user continues to slide in the second direction, the electronic device 100 will continue to display the lock screen content.
[0364] Optionally, as the user continues to swipe the camera app icon in the second direction, the display position of the camera app icon will change, and the size of the camera app icon will also decrease.
[0365] Optionally, as the user continues to swipe the camera app icon in the second direction, the display position of the camera app icon will change, while the size of the camera app icon can remain unchanged.
[0366] It should be noted that the second direction can refer to the direction pointing towards the negative Y-axis and forming a certain angle with the negative Y-axis. The certain angle can be greater than or equal to 0 and less than 90 degrees. For example, the first direction can refer to the direction forming a 45-degree angle with the negative Y-axis.
[0367] Figures 7A and 7B show the UI diagrams of the electronic device 100 continuing to display lock screen content when the user slides the camera application icon in a second direction on the lock screen interface.
[0368] For example, as shown in FIG7A, the electronic device 100 displays a lock screen window 5100, and the lock screen window 5100 displays a lock screen image 5103, which includes an icon 5104 for a camera application.
[0369] As shown in Figures 7A and 7B, if the user long-presses the camera application icon 5104 and slides to position I as shown in Figure 7B, position I can be the position of the finger as shown by the solid line in Figure 7B. If the distance between position D and position 1 is less than a preset distance, the electronic device 100 can continue to display the lock screen.
[0370] As shown in Figure 7B, the electronic device 100 displays a lock screen window 5100, which displays a lock screen image 7101, and the lock screen image 7101 displays a camera application icon 7102.
[0371] Optionally, the size of icon 7102 can be smaller than the size of icon 5104, or the size of icon 7102 can be the same as the size of icon 5104.
[0372] Figure 7C illustrates a flowchart of a method for an electronic device 100 to continue displaying lock screen content when a user slides the camera application icon in a second direction on the lock screen.
[0373] As shown in Figure 7C, when the electronic device 100 is in a locked screen state, the software modules that allow the electronic device 100 to continue displaying the lock screen content when the user slides the camera application icon in a second direction on the lock screen interface include, but are not limited to, the lock screen module and the display module.
[0374] When the electronic device 100 is in a locked screen state, and the electronic device 100 receives a user swiping the camera application icon in a second direction on the lock screen interface, the method for the electronic device 100 to continue displaying the lock screen content may include, but is not limited to, the following steps:
[0375] S701, The display module displays a lock screen window, which displays a lock screen image B, including a camera application icon B.
[0376] For example, the lock screen window can be the lock screen window 5100 shown in Figure 7A. The lock screen image B can be the lock screen image 5103 shown in Figure 7A. The camera application icon B can be the camera application icon 5104 shown in Figure 7A.
[0377] S702, the lock screen module recognizes the user's first swipe operation on the camera application icon B in a second direction on the lock screen window.
[0378] For example, the first swipe operation for the camera application icon B in the second direction can be the swipe operation for the camera application icon 5104 in the negative Y-axis direction, as shown in Figure 7A.
[0379] S703, the lock screen module obtains the lock screen content C, which includes the camera application icon C.
[0380] Optionally, the lock screen content C can be the lock screen content in the lock screen image 7101 shown in Figure 7B. The camera application icon C can be the camera application icon 7102 shown in Figure 7B.
[0381] Optionally, the size of the camera app icon C can be determined based on the distance between the end position and the initial position of the first swipe operation on the camera app icon B in the second direction.
[0382] Optionally, the display position of the camera app icon C can be determined based on the termination position of the first swipe operation on the camera app icon B in the second direction.
[0383] Lock screen content C may differ from lock screen content B. For example, the display position and / or size of the camera app icon C may differ from the display position and / or size of the camera app icon 4201 shown in Figure 4B.
[0384] Lock screen content C can be the same as lock screen content B. For example, the display position and size of the camera app icon C can be the same as the display position and size of the camera app icon 4201 shown in Figure 4B.
[0385] S704, The lock screen module draws the lock screen image C based on the lock screen content C.
[0386] After obtaining the lock screen content C, the lock screen module can draw the lock screen image C based on the lock screen content C.
[0387] For example, lock screen C can be lock screen 7101 as shown in Figure 7B.
[0388] S705, the lock screen module sends the lock screen image C to the display module.
[0389] After obtaining the lock screen image C, the lock screen module can send the lock screen image C and the lock screen window identifier to the display module.
[0390] Optionally, the lock screen C and the lock screen window can be sent to the display module simultaneously or in stages.
[0391] Optionally, the lock screen module can also send the lock screen window's identifier to the display module.
[0392] S706 The display module obtains the lock screen window based on the lock screen window's identifier and displays the lock screen image C within the lock screen window.
[0393] After obtaining the identifier of the lock screen window and the lock screen image C, the display module can obtain the lock screen window based on the identifier of the lock screen window and display the lock screen image C in the lock screen window.
[0394] When the electronic device 100 receives a user swiping the camera application icon in a second direction on the lock screen, the electronic device 100 continues to display the lock screen content.
[0395] The electronic device 100 includes a lock screen window for a lock screen module, a desktop window for a desktop application, and a wallpaper window for a wallpaper application. The positional relationship of the display hierarchy of these three application windows can be similar to that shown in Figure 4E, and will not be elaborated further in this application.
[0396] Scenario 5: When the electronic device 100 is in a locked state, if the sliding distance in the first direction is greater than a preset distance, that is, the electronic device 100 has created and displayed the application window of the first application above the lock screen window, if the user continues to slide in the second direction, the electronic device 100 can continue to display the application window or stop displaying the application window.
[0397] When the application window of the first application is displayed above the lock screen window, when the user continues to swipe the application window of the first application in the second direction, the electronic device 100 can determine whether to continue displaying the lock screen content or continue displaying the application content in the application window based on the ending position of the user's swipe operation.
[0398] If the distance between the end position and the initial position of the user's swipe operation is greater than a preset distance, the electronic device 100 can continue to display the application content in the application window.
[0399] If the distance between the end position and the initial position of the user's swipe operation is less than a preset distance, the electronic device 100 will stop displaying the application window of the first application and continue to display the lock screen content.
[0400] For example, the first application can be a camera application, and the initial position can be the display position of the camera application icon 4201 shown in Figure 4B.
[0401] Optionally, if the distance between the end position of the user's swipe operation and the camera application icon 4201 is greater than a preset distance, the display position of the camera application window will change, and the size of the camera application window may remain unchanged or become smaller.
[0402] Figures 8A-8C show UI diagrams of whether the electronic device 100 continues to display the application window or stops displaying the application window when the user slides the camera application window in a second direction on the lock screen.
[0403] For example, as shown in FIG8A, the electronic device 100 displays a camera application window 5200 on the lock screen window 5100, and the camera application window 5200 displays a camera preview screen 5401.
[0404] As shown in Figures 8A and 8B, if the user long-presses the camera application window 5200 and slides to position J as shown in Figure 8B, position J can be the position of the finger indicated by the solid line in Figure 8B. If the distance between position J and position 1 shown in Figure 8B is greater than a preset distance, the electronic device 100 can continue to display the camera application window. For example, the electronic device 100 can continue to display the camera application window 5200 and display the camera application window 5200 on top of the lock screen window, and display the camera preview screen 8101 within the camera application window 5200.
[0405] As shown in Figures 8A and 8C, if the user long-presses the camera application window 5200 and slides to position K as shown in Figure 8C, position K can be the position of the finger shown by the solid line in Figure 8C. If the distance between position K and position 1 shown in Figure 8C is less than a preset distance, the electronic device 100 can stop displaying the camera application window. For example, the electronic device 100 can stop displaying the camera application window 5200 and display the camera preview screen 8102 in the lock screen window 5100. The camera preview screen 8102 includes the camera application icon 8103.
[0406] Figure 8D illustrates a flowchart of a method for the electronic device 100 to continue displaying the application window or stop displaying the application window when the user slides the camera application window in a second direction on the lock screen.
[0407] As shown in Figure 8D, when the electronic device 100 is in a locked screen state, the software modules that the electronic device 100 receives when the user slides the camera application window in the second direction on the lock screen interface include, but are not limited to, the lock screen module, the window management module, the display module, and the camera application.
[0408] When the electronic device 100 is in a locked screen state, the method by which the electronic device 100 receives the application window of the camera application swiping in a second direction on the lock screen interface may include, but is not limited to, the following steps:
[0409] S801, The display module displays the camera application window, and the camera application window displays the camera preview screen A.
[0410] For example, the camera application window can be the camera application window 5200 shown in Figure 8A, and the camera preview screen A can be the camera preview screen 5401 shown in Figure 8A.
[0411] For example, the camera application window can also be the camera application window 5200 shown in Figure 5D, and the camera preview screen A can be the camera preview screen 5201 shown in Figure 5D.
[0412] For example, the camera application window can also be the camera application window 5200 shown in Figure 5E, and the camera preview screen A can be the camera preview screen 5301 shown in Figure 5E.
[0413] For example, the camera application window can also be the camera application window 5200 shown in Figure 5G, and the camera preview screen A can be the camera preview screen 5501 shown in Figure 5G.
[0414] For example, the camera application window can also be the camera application window 5200 shown in Figure 5H, and the camera preview screen A can be the camera preview screen 5601 shown in Figure 5H.
[0415] S802, the lock screen module recognizes the user's first swipe operation on the camera application window in the second direction.
[0416] For example, the first swipe operation of the camera application window in the second direction can be a long press on the camera application window 5200 and a swipe operation in the positive Y-axis direction, as shown in Figure 8A.
[0417] S803, the lock screen module determines the display position 5 based on the termination position of the first swipe operation.
[0418] S804 The lock screen module needs to confirm whether the distance between display position 5 and position 1 is greater than the preset distance.
[0419] If the distance between display position 5 and position 1 is greater than a preset distance, the electronic device 100 can continue to display the camera application window, changing the size and display position of the camera application window. Optionally, the electronic device 100 may not change the size of the camera application window. For example, display position 5 can be the position of the solid line finger shown in Figure 8B, such as position J shown in Figure 8B.
[0420] If the distance between display position 5 and position 1 is less than a preset distance, the electronic device 100 needs to stop displaying the camera application window. For example, display position 5 can be the position of the solid line finger shown in Figure 8C, such as position K shown in Figure 8C.
[0421] S805, The lock screen module obtains the lock screen content D, which includes the camera application icon D.
[0422] S806, The lock screen module draws the lock screen image D based on the lock screen content D.
[0423] For example, the lock screen content D can be the lock screen content shown in Figure 8C. The camera app icon D can be the camera app icon 8103 shown in Figure 8C.
[0424] S807, The lock screen module sends the lock screen image D to the display module.
[0425] After obtaining the lock screen image D, the lock screen module can send the lock screen image D and the identifier of the lock screen window to the display module.
[0426] Optionally, the lock screen image D and the lock screen window can be sent to the display module simultaneously or in stages.
[0427] Optionally, the lock screen module can also send the lock screen window's identifier to the display module.
[0428] S808, the display module obtains the lock screen window based on the lock screen window's identifier and displays the lock screen image D within the lock screen window.
[0429] After obtaining the identifier of the lock screen window and the lock screen image D, the display module can obtain the lock screen window based on the identifier of the lock screen window and display the lock screen image D in the lock screen window.
[0430] S809, The lock screen module determines the size of the camera application window.
[0431] Optionally, the lock screen module can determine the size 3 of the camera application window based on the distance between display position 5 and position 1.
[0432] S810, the lock screen module sends the size 3 and display position 5 of the camera application window to the window management module.
[0433] Optionally, the size 3 and display position 5 of the camera application window can also be sent to the window management module separately.
[0434] The camera application window size 3 is used to scale the camera application window to obtain a camera application window of size 3. The display position 5 is used to confirm the display position of the camera application window of size 2.
[0435] S811, the window management module changes the size of the camera application window to size 3.
[0436] After receiving the camera application window size 3 sent by the lock screen module, the window management module can scale the camera application window based on size 3 to obtain a camera application window of size 3.
[0437] S812, the window management module sends the display position 5 of the camera application window to the display module.
[0438] After obtaining display position 5, the window management module can send display position 5 to the display module. Display position 5 is used by the display module to confirm the display position of the camera application window of size 3.
[0439] Optionally, S812 can also be executed by the window management module.
[0440] S813, The camera application draws a camera preview screen C based on the image frames captured by the camera.
[0441] For example, if the display position 5 is position J as shown in Figure 8B, the camera preview screen C can be the camera preview screen 8101 shown in Figure 8B.
[0442] S814, The camera application sends the camera preview screen C to the display module.
[0443] After obtaining the camera preview image C, the camera application can send the camera preview image C to the display module.
[0444] S815 The display module obtains the camera application window based on the identifier of the camera application window, and displays the camera application window above the lock screen window based on the display position 5.
[0445] The display module can obtain the camera application window based on its identifier and display it above the lock screen window at display position 5.
[0446] S816, The display module displays the camera preview image C in a camera application window of size 3.
[0447] After receiving the camera preview image C, the display module can display the camera preview image C in a camera application window of size 3.
[0448] Optionally, S816 can also be executed before or simultaneously with S815.
[0449] For example, referring to the description in S809-S816, after the electronic device 100 enters the lock screen state, when the electronic device 100 receives the user's operation of sliding the application window of the camera application in the second direction on the lock screen interface and continues to display the application window, the display position of the camera application window moves with the movement of the user's finger. The electronic device 100 contains the camera application window of the camera application, the lock screen window of the lock screen module, the desktop window of the desktop application, and the wallpaper window of the wallpaper application.
[0450] As shown in Figure 8E, if the camera application window continues to be displayed above the lock screen window before the user unlocks the electronic device 100 or releases their finger, then the camera application window is located above the lock screen window, the lock screen window is located above the desktop window, and the desktop window is located above the wallpaper window.
[0451] For example, referring to the description in S805-S808, after the electronic device 100 enters the lock screen state, when the electronic device 100 receives an operation from the user to slide the camera application window in the second direction on the lock screen interface and stops displaying the camera application window, the camera application window is not visible. The electronic device 100 has a lock screen window of the lock screen module, a desktop window of the desktop application, and a wallpaper window of the wallpaper application. Optionally, the electronic device 100 may have a camera application window or may not have a camera application window.
[0452] As shown in Figure 8F, the electronic device 100 can also have a camera application window. Before the user unlocks the electronic device 100 or releases their finger, the lock screen window is displayed above the camera application window, which is located above the desktop window, which in turn is located above the wallpaper window. Optionally, the camera application window can also be located below the wallpaper window.
[0453] As shown in Figure 8G, if the camera application window does not exist in the electronic device 100, the lock screen window is displayed on top of the desktop window before the user unlocks the electronic device 100 or releases their finger, and the desktop window is still located on top of the wallpaper window.
[0454] Scenario 6: The user unlocks electronic device 100, and electronic device 100 displays the application window of the first application in full screen.
[0455] For example, the first application could be a camera application.
[0456] In some embodiments, after the electronic device 100 displays the camera application window, if the user performs an unlock operation, the electronic device 100 can display the camera application window in full screen.
[0457] Optionally, after the electronic device 100 displays the camera application window in full screen, the user performs an unlock operation, and the electronic device 100 can continue to display the camera application window in full screen.
[0458] Optionally, when the user performs an unlock operation on the electronic device 100 when the camera application window is not displayed in full screen, the electronic device 100 can switch to displaying the camera application window in full screen.
[0459] Figure 9A illustrates a flowchart of a method for displaying the application window of the first application in full screen on the electronic device 100 after the user unlocks the electronic device 100, before the camera application window is displayed in full screen on the electronic device 100.
[0460] As shown in Figure 9A, the electronic device 100 includes, but is not limited to, a lock screen module, a window management module, a display module, and a camera application.
[0461] The method shown in Figure 9A may include, but is not limited to, the following steps:
[0462] S901, The display module displays the camera application window, and the camera application window displays the camera preview screen A.
[0463] Optionally, the camera application window in the S901 can be a non-full-screen camera application window.
[0464] For example, the camera application window can also be the camera application window 5200 shown in Figure 5D, and the camera preview screen A can be the camera preview screen 5201 shown in Figure 5D.
[0465] For example, the camera application window can also be the camera application window 5200 shown in Figure 5E, and the camera preview screen A can be the camera preview screen 5301 shown in Figure 5E.
[0466] For example, the camera application window can be the camera application window 5200 shown in Figure 5F, and the camera preview screen A can be the camera preview screen 5401 shown in Figure 5F.
[0467] For example, the camera application window can also be the camera application window 5200 shown in Figure 5G, and the camera preview screen A can be the camera preview screen 5501 shown in Figure 5G.
[0468] For example, the camera application window can also be the camera application window 5200 shown in Figure 5H, and the camera preview screen A can be the camera preview screen 5601 shown in Figure 5H.
[0469] S902: During the first swipe operation of the camera application window, the lock screen module recognizes the user's unlock operation.
[0470] In some embodiments, the lock screen module can recognize the user's unlocking operation before the camera application window is displayed in full screen, i.e. during the first swipe operation on the camera application window.
[0471] Optionally, users can unlock electronic devices using one or more methods such as fingerprint (e.g., side button fingerprint), facial image, voiceprint, or password.
[0472] After the user performs the unlock operation, the lock screen module can recognize the user's unlock operation.
[0473] S903, the lock screen module sends an unlock operation message to the window management module.
[0474] S904, the window management module sends an unlock operation message to the display module.
[0475] S905, The display module stops displaying the lock screen window.
[0476] After recognizing the user's unlock operation, the lock screen module can send an unlock operation message to the window management module, which then sends the unlock operation message to the display module.
[0477] Optionally, the lock screen module can also directly send the unlock operation message to the window management module.
[0478] In response to the unlock operation message, the display module stops displaying the lock screen window.
[0479] Optionally, after recognizing the user's unlock operation, the lock screen module can send an unlock operation message to the window management module. In response to the unlock operation message, the window management module can destroy the lock screen window, so that after unlocking the electronic device 100, there is no lock screen window in the electronic device 100.
[0480] S906, In response to the unlock operation, the lock screen module determines the size 4 of the camera application window, where size 4 is the full-screen size.
[0481] S907, the lock screen module sends the size 4 of the camera application window to the window management module.
[0482] In response to the unlock operation, the lock screen module can determine the size 4 of the camera application window, which is the full-screen size.
[0483] After obtaining the size 4 of the camera application window, the lock screen module sends the size 4 of the camera application window to the window management module.
[0484] Optionally, S903-S905 are not limited to being executed after S902, but can also be executed before, after, or simultaneously with any step before S912.
[0485] S908, the window management module changes the size of the camera application window to size 4.
[0486] After receiving the camera application window size of 4 from the lock screen module, the window management module can change the size of the camera application window to size 4.
[0487] For example, a camera application window of size 4 can be the camera application window 5200 shown in Figure 5I.
[0488] S909, The camera application draws a camera preview screen D based on the image frames captured by the camera.
[0489] For example, the camera preview screen D can be the camera preview screen 5701 shown in Figure 5I.
[0490] S910, the camera application sends the camera preview screen D to the display module.
[0491] When the camera application is launched, it can call the image content captured by the camera of the electronic device 100 to draw a camera preview screen, such as camera preview screen D, and send the camera preview screen D to the display module.
[0492] S911 The display module obtains the camera application window based on the identifier of the camera application window and displays the camera application window in full screen.
[0493] After receiving the identifier of the camera application window sent by the camera application, the display module can obtain the camera application window based on the identifier and display the camera application window in full screen.
[0494] S912, the display module displays the camera preview image D in a camera application window of size 4.
[0495] After receiving the camera preview image D, the display module can display the camera preview image D in a camera application window of size 4, that is, display the camera preview image D in a full-screen camera application window.
[0496] Optionally, S912 can also be executed before or simultaneously with S911.
[0497] After the electronic device 100 displays the camera application window, but before it is displayed in full screen, that is, during the first swipe operation on the camera application window, if the user performs an unlock operation, the electronic device 100 can switch to displaying the camera application window in full screen.
[0498] Optionally, before the electronic device 100 switches to full-screen display of the camera application window, the electronic device 100 can control the size of the camera application window to gradually increase to full screen, so as to achieve a natural transition to full-screen display of the camera application window.
[0499] The image content displayed in one or more transition image frames can be the image content captured by the camera in real time. For example, one or more transition image frames can be the camera preview screen 5401 shown in Figure 5F, the camera preview screen 5501 shown in Figure 5G, and the camera preview screen 5601 shown in Figure 5H.
[0500] Figure 9B shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 after the user unlocks the electronic device 100 and the electronic device 100 displays the application window of the first application in full screen.
[0501] For example, the camera application window can be the camera application window 5200 shown in Figure 5I.
[0502] After the user unlocks the electronic device 100, the electronic device 100 can destroy the lock screen window, which contains a camera application window for the camera application, a desktop window for the lock desktop application, and a wallpaper window for the wallpaper application.
[0503] As shown in Figure 9B, the electronic device 100 displays a camera application window in the foreground. The camera application window is located above the desktop window, which is also located above the wallpaper window.
[0504] Optionally, a lock screen window may also exist in the electronic device 100, which may be located below the wallpaper window.
[0505] Figure 9C illustrates a flowchart of a method for electronic device 100 to display the application window of the first application in full screen after the user unlocks the electronic device 100, following the full-screen display of the camera application window on the electronic device 100.
[0506] As shown in Figure 9C, the electronic device 100 includes, but is not limited to, a lock screen module, a window management module, a display module, and a camera application.
[0507] The method shown in Figure 9C may include, but is not limited to, the following steps:
[0508] The S901C displays the camera application window in full screen, with a camera preview displayed on the window.
[0509] Optionally, the camera application window in the S901C can be a full-screen camera application window.
[0510] For example, the camera application window can also be the camera application window 5200 shown in Figure 5I, and the camera preview screen can be the camera preview screen 5701 shown in Figure 5I.
[0511] The S902C lock screen module recognizes the user's unlocking operation.
[0512] In some embodiments, after the camera application window is displayed in full screen, that is, after the first swipe operation on the camera application window ends, the lock screen module can recognize the user's unlock operation.
[0513] Optionally, users can unlock electronic devices using one or more methods such as fingerprint (e.g., side button fingerprint), facial image, voiceprint, or password.
[0514] After the user performs the unlock operation, the lock screen module can recognize the user's unlock operation.
[0515] The S903C lock screen module sends an unlock operation message to the window management module.
[0516] S904C, the window management module sends an unlock operation message to the display module.
[0517] S905C, the display module stops displaying the lock screen window.
[0518] After recognizing the user's unlock operation, the lock screen module can send an unlock operation message to the window management module, which then sends the unlock operation message to the display module.
[0519] Optionally, the lock screen module can also directly send the unlock operation message to the window management module.
[0520] In response to the unlock operation message, the display module stops displaying the lock screen window.
[0521] Optionally, after recognizing the user's unlock operation, the lock screen module can send an unlock operation message to the window management module. In response to the unlock operation message, the window management module can destroy the lock screen window, so that after unlocking the electronic device 100, there is no lock screen window in the electronic device 100.
[0522] The window management module destroys the lock screen window, which can mean that the lock screen window does not exist in the electronic device 100.
[0523] The S906C display module continues to display the camera application window in full screen, with a camera preview shown on the window.
[0524] After the camera application window is displayed in full screen, if the user performs an unlock operation, the electronic device 100 can destroy the lock screen window and stop displaying it. Since the camera application window and the lock screen window are two independent windows, the camera application window still exists in the electronic device 100 after the lock screen window is destroyed. The electronic device 100 can continue to display the camera application window in full screen and display the camera preview within the camera application window.
[0525] Optionally, the camera preview can change in real time.
[0526] The display hierarchy of the various application windows in the electronic device 100 can be referred to the description in the embodiment shown in Figure 9B.
[0527] Scenario 7: When the electronic device 100 is in the locked screen state, and the camera application window is displayed above the lock screen window, if the first swipe operation ends, the electronic device 100 can display the application window of the first application in full screen.
[0528] For example, the first application could be a camera application.
[0529] When the electronic device 100 is in the locked screen state, and the camera application window is displayed above the lock screen window, if the user ends the first swipe operation, for example, the user releases their finger, the electronic device 100 will display the application window of the first application in full screen.
[0530] Figure 10A shows a flowchart illustrating the method of displaying the application window of the first application in full screen on the electronic device 100 after the user ends the first swipe operation when the electronic device 100 is in a locked state.
[0531] As shown in Figure 10A, the electronic device 100 includes, but is not limited to, a lock screen module, a window management module, a display module, and a camera application.
[0532] The method shown in Figure 10A may include, but is not limited to, the following steps:
[0533] S1001, The display module displays the camera application window, which shows the camera preview screen A.
[0534] Before the camera application window is displayed in full screen, the electronic device 100 can receive the user's first swipe operation on the camera application window, change the display position of the camera application window on the display screen, and also change the size of the camera application window to achieve responsiveness.
[0535] Optionally, the camera application window in the S901 can be a non-full-screen camera application window.
[0536] For example, the camera application window can also be the camera application window 5200 shown in Figure 5D, and the camera preview screen A can be the camera preview screen 5201 shown in Figure 5D.
[0537] For example, the camera application window can also be the camera application window 5200 shown in Figure 5E, and the camera preview screen A can be the camera preview screen 5301 shown in Figure 5E.
[0538] For example, the camera application window can be the camera application window 5200 shown in Figure 5F, and the camera preview screen A can be the camera preview screen 5401 shown in Figure 5F.
[0539] For example, the camera application window can also be the camera application window 5200 shown in Figure 5G, and the camera preview screen A can be the camera preview screen 5501 shown in Figure 5G.
[0540] For example, the camera application window can also be the camera application window 5200 shown in Figure 5H, and the camera preview screen A can be the camera preview screen 5601 shown in Figure 5H.
[0541] S1002, The lock screen module recognizes when the user stops the first swipe operation on the camera application window.
[0542] If the user stops the first swipe action on the camera application window, such as by releasing their finger, the lock screen module can recognize that the user has stopped the first swipe action on the camera application window.
[0543] S1003, In response to stopping the first swipe operation on the camera application window, the lock screen module determines the size 4 of the camera application window, where size 4 is the full-screen size.
[0544] After recognizing that the user has stopped the first swipe operation on the camera application window, the electronic device 100 can confirm that it will switch to full-screen display of the camera application window. The lock screen module can determine the size 4 of the camera application window, which is the full-screen size.
[0545] S1004, The lock screen module sends the size 4 of the camera application window to the window management module.
[0546] In response to stopping the first swipe operation on the camera application window, the lock screen module can determine the size of the camera application window as 4, which is the full-screen size.
[0547] After obtaining the size 4 of the camera application window, the lock screen module sends the size 4 of the camera application window to the window management module.
[0548] S1005, The window management module changes the size of the camera application window to size 4.
[0549] After receiving the camera application window size 4 sent by the lock screen module, the window management module can scale the camera application window based on size 4 to obtain a camera application window of size 4.
[0550] For example, the camera application window can be the camera application window 5200 shown in Figure 5I.
[0551] S1006, The camera application draws a camera preview screen E based on the image frames captured by the camera.
[0552] For example, the camera preview screen E can be the camera preview screen 5701 shown in Figure 5I.
[0553] S1007, The camera application sends the camera preview screen E to the display module.
[0554] When the camera application is launched, it can call the image content captured by the camera of the electronic device 100 to draw a camera preview screen, such as camera preview screen E, and send the camera preview screen E to the display module.
[0555] S1008 The display module obtains the camera application window based on the identifier of the camera application window and displays the camera application window in full screen.
[0556] The display module can obtain the camera application window based on its identifier and display it in full screen.
[0557] S1009, The display module displays the camera preview image E in a camera application window of size 4.
[0558] After receiving the camera preview image E, the display module can display the camera preview image E in a camera application window of size 4.
[0559] Optionally, S1009 can also be executed before or simultaneously with S1008.
[0560] Optionally, before the electronic device 100 switches to full-screen display of the camera application window, the electronic device 100 can control the size of the camera application window to gradually increase to full screen, so as to achieve a natural transition to full-screen display of the camera application window.
[0561] The image content displayed in one or more transition image frames can be the image content captured by the camera in real time. For example, one or more transition image frames can be the camera preview screen 5401 shown in Figure 5F, the camera preview screen 5501 shown in Figure 5G, and the camera preview screen 5601 shown in Figure 5H.
[0562] Figure 10B shows a schematic diagram of the display hierarchy of each application window in the electronic device 100 after the electronic device 100 recognizes that the user has stopped the first swipe operation on the camera application window and displays the application window of the first application in full screen.
[0563] For example, the camera application window can be the camera application window 5200 shown in Figure 5I.
[0564] The electronic device 100 contains a camera application window for a camera application, a lock screen window, a desktop window for a lock desktop application, and a wallpaper window for a wallpaper application.
[0565] As shown in Figure 10B, the camera application window is displayed on top of the lock screen window, the lock screen window is displayed on top of the desktop window, and the desktop window is still located on top of the wallpaper window.
[0566] Scenario 8: When the electronic device 100 is in the locked screen state, after the electronic device 100 displays the application window of the first application in full screen, if the electronic device 100 receives a user operation to exit the first application, the electronic device 100 can display the lock screen window in full screen.
[0567] For example, the first application could be a camera application.
[0568] When the electronic device 100 displays the camera application window in full screen, if the electronic device 100 receives a user operation to exit the camera application, the electronic device 100 can display the lock screen window in full screen.
[0569] Figures 11A and 11B show a UI diagram of a set of electronic devices 100 receiving user operation to exit the camera application and displaying a lock screen window in full screen.
[0570] For example, as shown in Figure 11A, the electronic device 100 displays a camera application window 5200 in full screen, and the camera application window 5200 displays a camera preview screen 5701.
[0571] The camera application window 5200 shown in Figure 11A can be displayed when the electronic device 100 is in a locked state.
[0572] Electronic device 100 can receive user input to stop displaying camera application window 5200.
[0573] For example, as shown in Figures 11A and 11B, electronic device 100 can receive user operations on camera application window 5200, such as swiping up from the bottom of the display screen. In response to the user's operation, electronic device 100 can stop displaying camera application window 5200 and display the lock screen window shown in Figure 11B, which displays lock screen image 4102.
[0574] Optionally, the operation is not limited to sliding up from the bottom of the display screen. Users can also use other operations to stop the electronic device 100 from displaying the camera application window 5200. This application does not limit the specific implementation of the operation to stop displaying the camera application window 5200.
[0575] Figure 11C shows a flowchart illustrating a method in which an electronic device 100 receives a user's operation to exit a camera application and displays a lock screen window in full screen.
[0576] Optionally, Figure 11C can be the process of displaying the camera application window in full screen and then stopping displaying the camera application window after the electronic device 100 is in a locked screen state, according to the method shown in Figure 10A.
[0577] S1101A, the display module displays the camera application window in full screen, and the camera application window displays the camera preview screen E.
[0578] For example, the camera application window can be the camera application window 5200 shown in Figure 11A. The camera preview screen E can be the camera preview screen 5701 shown in Figure 11A.
[0579] S1102A, the lock screen module recognizes and stops the display of the camera application window.
[0580] The electronic device 100 can receive a user operation to stop displaying the camera application window 5200. After receiving the operation to stop displaying the camera application window, the lock screen module can recognize the operation.
[0581] For example, stopping the display of the camera application window 5200 can be done by swiping up from the bottom of the display screen.
[0582] S1103A, In response to the operation of stopping the display of the camera application window, the lock screen module obtains the lock screen content A.
[0583] In response to the operation of stopping the display of the camera application window, the lock screen module can obtain the lock screen content A.
[0584] For example, lock screen content A can be the lock screen image 4102 shown in Figure 11B.
[0585] S1104A: Based on the lock screen content A, the lock screen module draws the lock screen image A.
[0586] After obtaining the lock screen content A, the lock screen module draws the lock screen image A.
[0587] S1105A, the lock screen module sends the lock screen image A to the display module.
[0588] S1106A The display module obtains the lock screen window based on the lock screen window's identifier and displays the lock screen image A within the lock screen window.
[0589] After obtaining the lock screen image A, the lock screen module can send the lock screen image A and the identifier of the lock screen window to the display module.
[0590] After obtaining the lock screen image A, the display module can obtain the lock screen window based on the lock screen window's identifier and display the lock screen image A within the lock screen window.
[0591] Optionally, the lock screen module can also send the lock screen window identifier to the display module.
[0592] Figure 11D shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 when the electronic device 100 is in a locked state, and after the electronic device 100 receives a user operation to exit the camera application and displays the lock screen window in full screen.
[0593] When the electronic device 100 is in a locked state, after the electronic device 100 receives a user operation to exit the camera application and displays the lock screen window in full screen, the electronic device 100 contains a lock screen window, a desktop application window, and a wallpaper application window. As shown in Figure 11D, the lock screen window is located above the desktop window, and the desktop window is located above the wallpaper window.
[0594] Figure 11E shows another schematic diagram of the display hierarchy of various application windows in the electronic device 100 when the electronic device 100 is in a locked state, after the electronic device 100 receives a user operation to exit the camera application and displays the lock screen window in full screen.
[0595] When the electronic device 100 is in a locked state, after the electronic device 100 receives a user operation to exit the camera application and displays the lock screen window in full screen, the electronic device 100 contains a lock screen window, a camera application window, a desktop application window, and a wallpaper application window. As shown in Figure 11E, the lock screen window is located above the camera application window, the camera application window is located above the desktop window, and the desktop window is located above the wallpaper window.
[0596] Optionally, the camera application window can also be located below the wallpaper window.
[0597] Scenario 9: When the electronic device 100 is in an unlocked state, after the electronic device 100 displays the application window of the first application in full screen, if the electronic device 100 receives a user operation to exit the first application, the electronic device 100 can display the desktop.
[0598] Figures 11F-11G show UI diagrams of another set of electronic devices 100 receiving user operation to exit the camera application and displaying a desktop window in full screen.
[0599] For example, as shown in Figure 11F, the electronic device 100 displays a camera application window 5200 in full screen, and the camera application window 5200 displays a camera preview screen 5701.
[0600] The camera application window 5200 shown in Figure 11F can be displayed when the electronic device 100 is in an unlocked state.
[0601] Electronic device 100 can receive user input to stop displaying camera application window 5200.
[0602] For example, as shown in Figures 11F and 11G, electronic device 100 can receive user operations on camera application window 5200, such as a swipe-up operation at the bottom of the display screen. In response to the user's operation, electronic device 100 can stop displaying camera application window 5200 and display desktop window as shown in Figure 11G, which displays the desktop.
[0603] Optionally, the operation is not limited to sliding up from the bottom of the display screen. Users can also use other operations to stop the electronic device 100 from displaying the camera application window 5200. This application does not limit the specific implementation of the operation to stop displaying the camera application window 5200.
[0604] Figure 11H shows a flowchart illustrating another method by which an electronic device 100 receives a user's operation to exit the camera application and displays a desktop window in full screen.
[0605] Optionally, Figure 11H can be the process of displaying the camera application window in full screen after the electronic device 100 is in the unlocked state, and then stopping the display of the camera application window.
[0606] S1101B: The display module displays the camera application window in full screen, and the camera application window displays the camera preview screen E.
[0607] For example, the camera application window can be the camera application window 5200 shown in Figure 11F. The camera preview screen E can be the camera preview screen 5701 shown in Figure 11F.
[0608] S1102B, the lock screen module recognizes and stops the display of the camera application window.
[0609] The electronic device 100 can receive a user operation to stop displaying the camera application window 5200. After receiving the operation to stop displaying the camera application window, the lock screen module can recognize the operation.
[0610] For example, stopping the display of the camera application window 5200 can be done by swiping up from the bottom of the display screen.
[0611] S1103B, in response to the operation of stopping the display of the camera application window, the lock screen module obtains the desktop content.
[0612] In response to the action of stopping the camera application window from being displayed, the lock screen module can access the desktop content.
[0613] For example, the desktop content can be the desktop content shown in Figure 11G.
[0614] S1104B: Based on desktop content, the lock screen module draws the desktop.
[0615] After obtaining the desktop content, the lock screen module draws the desktop.
[0616] S1105B, the lock screen module sends the desktop to the display module.
[0617] Optionally, the lock screen module can also send the identifier of the desktop window to the display module.
[0618] S1106B The display module obtains the desktop window based on the desktop window's identifier and displays the desktop within the desktop window.
[0619] After obtaining the desktop, the lock screen module can send the identifiers of the desktop and desktop windows to the display module.
[0620] After obtaining the identifiers of the desktop and desktop windows, the display module can obtain the desktop window based on the identifier of the desktop window and display the desktop within the desktop window.
[0621] Figure 11I shows a schematic diagram of the display hierarchy of various application windows in the electronic device 100 when the electronic device 100 is in an unlocked state, after the electronic device 100 receives a user operation to exit the camera application and displays the desktop window in full screen.
[0622] When the electronic device 100 is unlocked, after receiving a user's operation to exit the camera application and display the desktop window in full screen, the electronic device 100 contains a desktop window for the desktop application and a wallpaper window for the wallpaper application. As shown in Figure 11I, the desktop window is located on top of the wallpaper window.
[0623] Figure 11J shows another schematic diagram of the display hierarchy of various application windows in the electronic device 100 when the electronic device 100 is in a locked state, after the electronic device 100 receives a user operation to exit the camera application and displays the desktop window in full screen.
[0624] When the electronic device 100 is in a locked state, after the electronic device 100 receives a user operation to exit the camera application and displays the desktop window in full screen, the electronic device 100 contains a camera application window, a desktop application window, and a wallpaper application window. As shown in Figure 11J, the desktop window is located above the wallpaper window, and the wallpaper window is located above the camera application window.
[0625] Figure 12 is a flowchart illustrating an application launch method under lock screen conditions provided in this application.
[0626] S1201. The electronic device displays a first lock screen, which includes the first icon of the first application.
[0627] S1202, The electronic device receives a first sliding operation, and the first sliding operation is applied to the first icon.
[0628] For example, the first application may be a camera application, the first lock screen may be the lock screen 4102 shown in Figure 5A, and the first icon may be the icon 4201 of the camera application shown in Figure 5A.
[0629] For example, the first application may be a camera application, the first lock screen may be the lock screen 5101 shown in Figure 5B, and the first icon may be the icon 5102 of the camera application shown in Figure 5B.
[0630] For example, the first application may be a camera application, the first lock screen may be the lock screen 5103 shown in Figure 5C, and the first icon may be the icon 5104 of the camera application shown in Figure 5C.
[0631] S1203. In response to the first sliding operation, the electronic device displays a first window of the first application, and the first window displays the screen content of the first application.
[0632] For example, the first window is the camera application window 5200 shown in Figures 5D, 5E, 5F, 5G, and 5H.
[0633] In this embodiment of the application, when the first application is a camera application, the camera application window 5200 can also be referred to as the first window.
[0634] It's not limited to camera apps; the first app can be any other app.
[0635] For example, when the first application is a payment application, the user can quickly open the payment application while the screen is locked and display the payment application window. The payment application window can display the payment code. In this way, the user can quickly display the payment code in the payment application without unlocking the screen, and use it for quick payment and other operations, which is convenient for the user.
[0636] For example, when the first application is a scan application, the user can quickly open the scan application while the screen is locked and display the scan application window. The scan application window can display a QR code scanning page. In this way, the user can quickly open the scan application without unlocking the screen and scan QR codes and other images for quick payment and other operations, which is convenient for the user.
[0637] For example, when the first application is the Notes app, the user can quickly open the Notes app while the screen is locked and display the Notes app window, which can display notes. In this way, the user can quickly display the notes in the Notes app without unlocking the screen, making it convenient for the user to operate.
[0638] This method allows the electronic device to create a first window for the first application when the first application is opened while the screen is locked, and to display the content of the first application within the first window, enabling the user to preview the application content of the first application in advance without unlocking the electronic device.
[0639] In one possible implementation, the electronic device displays a first lock screen, specifically including: the electronic device displays the first lock screen within the lock screen window; the electronic device displays a first window of a first application, specifically including: the electronic device displays the first window of the first application above the lock screen window.
[0640] In this way, when the first application is quickly launched from the lock screen, the electronic device can create a separate first window for that application. Thus, the first window of the first application and the lock screen window are independent and do not interfere with each other. Even when the lock screen application is closed, the first window of the first application still exists.
[0641] For example, the lock screen window can be the lock screen window 5100 shown in Figure 5A, or Figure 5B, or Figure 5C.
[0642] In one possible implementation, in response to a first swipe operation, the electronic device displays a first window of a first application, specifically including: the electronic device determining a first swipe distance based on the first swipe operation applied to a first icon; the electronic device determining whether the first swipe distance is greater than a preset distance; if the first swipe distance is greater than the preset distance, the electronic device displays the first window of the first application.
[0643] Optionally, the first sliding distance can be determined based on the vertical distance between the termination position and the initial position of the first sliding operation acting on the first icon. Optionally, the initial position can be the display position of the first icon.
[0644] For example, the display position of the first icon can refer to the position of the center point of the first icon. The display position of the first icon can also be the display position of other points of the first icon, such as the display position of any edge of the first icon, the display position of a point inside the first icon, or the display position of a point outside the first icon.
[0645] Using this method, when the swipe distance for the first icon is greater than a preset distance, the electronic device can create and display the first window of the first application.
[0646] The method also includes: if the first sliding distance is less than a preset distance, the electronic device displays a second lock screen, the second lock screen including a second icon of the first application, the size of the second icon being larger than the size of the first icon, or the size of the second icon being the same as the size of the first icon.
[0647] Using this method, when the swipe distance for the first icon is less than a preset distance, the electronic device can avoid creating and displaying the first window for the first application. Instead, it can accumulate and display the icon of the first application, such as a second icon. The size of the second icon and the size of the first icon can be the same or different, and the display position of the second icon and the display position of the first icon can be the same or different.
[0648] In one possible implementation, the display position of the second icon is different from that of the first icon, and the display position of the second icon is determined based on the first swipe operation.
[0649] Optionally, the display position of the second icon can be determined based on the end position of the first swipe operation on the first icon.
[0650] In one possible implementation, the electronic device displays a first window of a first application, specifically including: the electronic device determining a first display position based on a first swipe operation; and the electronic device displaying the first window of the first application based on the first display position.
[0651] Optionally, the display position of the first window can be determined based on the end position of the first swipe operation on the first icon.
[0652] Optionally, the electronic device displays the first window at a first display position. This first display position can refer to the display position of a vertex of the first window, the display position of a point on an edge of the first window, the display position of a point inside the first window, or the display position of a point outside the first window that is not located on or inside the first window. This application does not limit the method of displaying the first window based on the first display position.
[0653] This ensures that the display position of the first window changes with the display position of the user's finger, thus achieving responsiveness.
[0654] For example, reference can be made to the description in the embodiment shown in FIG5J.
[0655] In one possible implementation, after the electronic device displays the first window of the first application, the method further includes: the electronic device continuing to receive a first swipe operation, the first swipe operation acting on the first window; the electronic device determining a second swipe distance based on the first swipe operation acting on the first window; the electronic device determining whether the second swipe distance is greater than a preset distance; if the second swipe distance is greater than the preset distance, the electronic device displays the first window of the first application, the first window displaying the screen content of the first application.
[0656] After the electronic device creates and displays the first window of the first application, the user can continue with the first swipe operation on the first window.
[0657] Optionally, the first swipe operation on the first window can be in the same direction as the first swipe operation on the first icon, or it can be in the opposite direction.
[0658] Optionally, the second sliding distance can be based on the vertical distance between the end position and the initial position of the first sliding operation for the first window.
[0659] Optionally, the sliding direction of the first sliding operation for the first window and the sliding direction of the first sliding operation for the first icon can be the same or different.
[0660] Using this method, when the second sliding distance of the first sliding operation on the first window is greater than a preset distance, the electronic device can continue to display the first window of the first application. Before and after receiving the first sliding operation on the first window, the size of the first window can be the same or different, and the display position of the first window can be the same or different.
[0661] For example, when the sliding direction of the first sliding operation on the first window and the sliding direction of the first sliding operation on the first icon are the same, such as both being the first direction, the description in the embodiments of Figures 6A-6B can be referred to.
[0662] For example, when the sliding direction of the first sliding operation for the first window and the sliding direction of the first sliding operation for the first icon are different, for example, the sliding direction of the first sliding operation for the first window is a first direction and the sliding direction of the first sliding operation for the first icon is a second direction, and the first direction and the second direction are opposite, please refer to the description in the embodiments of Figures 8D-8G.
[0663] In one possible implementation, if the second sliding distance is greater than the first sliding distance, the size of the first window of the first application increases; if the second sliding distance is less than the first sliding distance, the size of the first window of the first application decreases.
[0664] In this way, the size of the first window can change with the sliding distance to achieve responsiveness.
[0665] In one possible implementation, after the electronic device displays the first window of the first application, the method further includes: the electronic device receiving an unlock operation from the user; in response to the unlock operation, the electronic device displays the first window of the first application in full screen, the first window displaying the screen content of the first application.
[0666] Optionally, the electronic device 100 can be the first window of the first application displayed in full screen, or it can be the first window of the first application displayed in a non-full-screen manner. Afterwards, the electronic device can receive the user's unlock operation. Since the first window of the first application and the lock screen window are independent of each other, the display state of the first window of the first application is not affected by the lock screen window. Therefore, even if the lock screen window is destroyed after unlocking, the electronic device 100 can still continue to display the first window of the first application.
[0667] For example, if the electronic device 100 is the first window of the first application displayed in full screen, the unlocking operation performed can be referred to the description in the embodiment of FIG9C.
[0668] For example, if the unlocking operation is performed before the first window of the first application is displayed in full screen, the description in the embodiments of Figures 9A-9B can be referred to.
[0669] In one possible implementation, the electronic device destroys the lock screen window.
[0670] In this way, after the unlock operation is performed, the electronic device can destroy the lock screen window. That is, the electronic device has closed the lock screen application, and the lock screen window does not exist on the electronic device. When the electronic device enters the lock screen state again, the electronic device will reopen the lock screen application and create and display the lock screen window.
[0671] In one possible implementation, after the electronic device displays the first window of the first application, the method further includes: after detecting the end of the first swipe operation, the electronic device displays the first window of the first application in full screen, and the first window displays the screen content of the first application.
[0672] In this way, once the user stops operating on the first window, that is, stops the first swipe operation on the first window, such as when the user releases their finger, the electronic device can automatically display the first window of the first application in full screen.
[0673] In one possible implementation, the first window of the first application is located on top of the lock screen window.
[0674] In this way, after the user stops operating on the first window, that is, the first swipe operation on the first window stops, such as when the user releases their finger, the lock screen window still exists on the electronic device, and the first window is located on top of the lock screen window.
[0675] For example, reference can be made to the description in the embodiments shown in Figures 10A-10B.
[0676] In one possible implementation, before the first window of the first application is displayed in full screen on the electronic device, the method further includes: the first window of the first application on the electronic device gradually enlarges to the point of being displayed in full screen on the first application.
[0677] In this way, after the user stops operating on the first window, that is, after the first swipe operation on the first window stops, or after the user performs the unlock operation, the first window can gradually enlarge to achieve a natural switch to full-screen display.
[0678] In one possible implementation, after the electronic device displays the first window of the first application in full screen, the method further includes: the electronic device receiving an operation from the user on the first window of the first application; in response to receiving the user's operation on the first window of the first application, the electronic device displays a lock screen window, in which the first lock screen image is displayed.
[0679] In this way, when the electronic device is in a locked state, if the electronic device displays the first window in full screen and then receives a user's operation to stop displaying the first window, the electronic device can continue to display the lock screen window in full screen.
[0680] In one possible implementation, after the electronic device displays the lock screen window, the method further includes: the electronic device destroying the first window of the first application or displaying the first window of the first application below the lock screen window.
[0681] Optionally, the first window can be destroyed or allowed to remain in the electronic device. When the first window remains in the electronic device, the lock screen window is positioned on top of the first window.
[0682] For example, reference can be made to the description in the embodiments of Figures 11A-11E.
[0683] In one possible implementation, when the electronic device is unlocked, if it displays the first window in full-screen mode and can then receive a user interaction to stop displaying the first window, the electronic device can then display the desktop. The desktop window will then be positioned above the first window.
[0684] For example, reference can be made to the description in the embodiments of Figures 11F-11J.
[0685] This application provides an electronic device, which includes one or more processors and one or more memories; the one or more memories are coupled to one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes an application launch method in a locked screen state as shown in FIG12.
[0686] This application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform an application launch method in a locked screen state as shown in FIG12.
[0687] This application provides a computer program product that may contain computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs an application launch method in a locked screen state as shown in FIG12.
[0688] This application provides a chip for use in an electronic device. The chip includes one or more processors, which are used to invoke computer instructions to cause the electronic device to execute an application launch method in a locked screen state as shown in FIG12.
[0689] Some steps in the above embodiments can be replaced by other methods in the art that can achieve the same effect, or, provided that the long screenshot function can be achieved, a certain step in the above embodiments can be omitted.
[0690] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.
[0691] 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. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in this application are 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, the 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) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0692] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0693] In summary, the above description is merely an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the disclosure of this application should be included within the scope of protection of this application.
Claims
A method for launching an application while the screen is locked, characterized in that, The method includes: The electronic device displays a first lock screen image, which includes a first icon of a first application. The electronic device receives a first swipe operation, which is applied to the first icon. In response to the first swipe operation, the electronic device displays a first window of the first application, which displays the screen content of the first application. The method according to claim 1, characterized in that, The electronic device displays the first lock screen image, which includes: The electronic device displays the first lock screen image within the lock screen window; The electronic device displays a first window of the first application, specifically including: The electronic device displays the first window of the first application above the lock screen window. The method according to claim 1 or 2, characterized in that, In response to the first swipe operation, the electronic device displays a first window of the first application, specifically including: The electronic device determines the first sliding distance based on the first sliding operation applied to the first icon; The electronic device determines whether the first sliding distance is greater than a preset distance; If the first sliding distance is greater than the preset distance, the electronic device displays the first window of the first application. The method according to claim 3, characterized in that, The method further includes: If the first sliding distance is less than the preset distance, the electronic device displays a second lock screen. The second lock screen includes a second icon of the first application. The size of the second icon is greater than the size of the first icon, or the size of the second icon is the same as the size of the first icon. The method according to claim 4, characterized in that, The display position of the second icon is different from that of the first icon. The display position of the second icon is determined based on the first swipe operation. The method according to any one of claims 1-5, characterized in that, The electronic device displays a first window of the first application, specifically including: The electronic device determines the first display position based on the first sliding operation; The electronic device displays the first window of the first application based on the first display position. The method according to any one of claims 1-6, characterized in that, After the electronic device displays a first window of the first application, the method further includes: The electronic device continues to receive the first sliding operation, which is applied to the first window; The electronic device determines the second sliding distance based on the first sliding operation applied to the first window; The electronic device determines whether the second sliding distance is greater than the preset distance; If the second sliding distance is greater than the preset distance, the electronic device displays the first window of the first application, and the first window displays the screen content of the first application. The method according to claim 7, characterized in that, If the second sliding distance is greater than the first sliding distance, then the size of the first window of the first application becomes larger; If the second sliding distance is less than the first sliding distance, then the size of the first window of the first application becomes smaller. The method according to any one of claims 1-8, characterized in that, After the electronic device displays a first window of the first application, the method further includes: The electronic device receives the user's unlocking command; In response to the unlocking operation, the electronic device displays the first window of the first application in full screen, and the first window displays the screen content of the first application. The method according to claim 9, characterized in that, The electronic device destroys the lock screen window. The method according to claim 7 or 8, characterized in that, After the electronic device displays the first window of the first application, the method further includes: After the first swipe operation is detected to have ended, the electronic device displays the first window of the first application in full screen, and the first window displays the screen content of the first application. The method according to claim 11, characterized in that, The first window of the first application is located on top of the lock screen window. The method according to any one of claims 9-12, characterized in that, Before the electronic device displays the first window of the first application in full screen, the method further includes: The first window of the first application in the electronic device gradually enlarges until it is displayed in full screen. The method according to claim 11 or 12 is characterized in that, After the electronic device displays the first window of the first application in full screen, the method further includes: The electronic device receives user operations on the first window of the first application; In response to receiving a user's operation on the first window of the first application, the electronic device displays the lock screen window, which displays the first lock screen image. The method according to claim 14, characterized in that, After the electronic device displays the lock screen window, the method further includes: The electronic device either destroys or displays the first window of the first application, or displays the first window of the first application below the lock screen window. An electronic device, characterized in that, The electronic device includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method of any one of claims 1-15. A computer-readable storage medium comprising computer instructions, characterized in that, When the computer instructions are executed on the electronic device, the electronic device causes the electronic device to perform the method of any one of claims 1-15.
Citation Information
Patent Citations
Application starting method in screen locking state, electronic equipment and storage medium
CN121187469A
Method for quickly photographing under screen locking interface
CN103019542A
Method and apparatus for providing quick access to media functions from a locked screen
CN103649892A
Method and device for quickly accessing screen locking application
CN111475792A
Shooting method, shooting device, electronic equipment and readable storage medium
CN113824886A