Lock screen display method and electronic equipment
By displaying application-related content in the lock screen interface of an electronic device, the problem of limited interactive experience in the lock screen state is solved, and rich display scenarios and improved user experience in the lock screen state are achieved.
Patent Information
- Application Number
- CN202510084786.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2044-06-20
AI Technical Summary
The interactive experience of existing electronic devices in the lock screen state is limited, and the application-related content cannot be effectively displayed in the lock screen interface, affecting the user experience.
By introducing a lock screen display method in the electronic device, a window is created in the lock screen interface and displays relevant content of the application, including multimedia content or user interface, using the first service module and lock screen function module.
It realizes providing users with more interactive experience in the lock screen state, allowing users to view the display content provided by running applications in the lock screen interface, enriching the display scene of electronic devices and improving the user experience.
Smart Images

Figure CN120144217A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202410805027.1, and the filing date of the original application is June 20, 2024. The entire content of the original application is incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technologies, and particularly to a lock screen display method and an electronic device. Background Art
[0003] With the development of terminal technologies, electronic devices such as mobile phones and tablet computers have been widely used in users' daily work and life. The functions that electronic devices can provide to users are also more abundant. Users can experience the functions and services provided by various applications installed in the electronic devices. Moreover, the scenarios in which users use electronic devices are no longer limited to scenarios such as the main interface and application interfaces being displayed in the unlocked state. For example, the electronic device can display notification messages on the lock screen interface to timely remind the user to view information related to the user. Therefore, how to provide users with more interactive experiences in various scenarios has become one of the issues of relatively high concern in the terminal field. Summary of the Invention
[0004] This application provides a lock screen display method and an electronic device, aiming to provide a solution for displaying application-related content on the lock screen interface.
[0005] In a first aspect, this application provides a lock screen display method. This method can be executed by an electronic device. The electronic device includes a first service module, a first service interface, and a lock screen function module. The method includes: when the electronic device enters the lock screen state and a first service in a first application of the electronic device is in a running state, the first application in the electronic device sends first information of the first application to the first service module through the first service interface, where the first information includes multimedia content or user interface information related to the first service; the first service module in the electronic device sends the first information to the lock screen function module; after receiving the first information, the lock screen function module in the electronic device creates a first window on the lock screen interface; the lock screen function module in the electronic device displays first content of the first application in the first window according to the first information.
[0006] In the above method, the electronic device can provide a function for an application to display application content on the lock screen interface. The first application in the electronic device can send the first information of the first application to the first service module through the first service interface provided by the electronic device. After the first service module sends the first information to the lock screen function module, the lock screen function module can display the first content of the first application in the first window of the lock screen interface. Thus, after the electronic device enters the lock screen state, the user can still view the display content provided by the running application on the lock screen interface, enriching the display scenario of the electronic device and enhancing the user experience.
[0007] In a possible design, before the first application in the electronic device sends the first information of the first application to the first server module through the first service interface, the method further includes: the first application in the electronic device sends a first request message to the system server, where the first request message is used to apply to the system server for the lock screen display permission of the first service of the first application; the first application in the electronic device receives a response message sent by the system server, where the response message is used to indicate that the system server approves the permission application of the first application. Through this design, when the first application in the electronic device has a lock screen display requirement, it can apply to the system server for the lock screen display permission of the first application. After the system server approves the permission application of the first application, the first content of the first application is then displayed on the lock screen interface, thereby realizing the control of the first application and ensuring the controllability of the display content on the lock screen interface of the electronic device.
[0008] In a possible design, the electronic device further includes a service proxy module, and the method further includes: the first service module in the electronic device receives second information sent by the server through the service proxy module, where the second information includes multimedia content related to the first service; the first service module in the electronic device sends the second information to the lock screen function module; the lock screen function module in the electronic device displays the second content of the first application in the first window according to the second information. Through this design, the electronic device can also provide a service proxy module. The first service module of the electronic device can receive the information of the first application sent by the server through the service proxy module, realizing the method of the server pushing the content of the first application displayed on the lock screen interface to the electronic device, saving the computing power of the electronic device.
[0009] In a possible design, before the first service module in the electronic device sends the first information to the lock screen function module, the method further includes: the first service module in the electronic device performs a risk detection on the first information and determines that the risk detection of the first information passes. Through this design, it is ensured that the electronic device can control the content displayed on the lock screen interface, preventing content such as advertisements displayed on the lock screen interface from affecting the user experience.
[0010] In a possible design, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: in response to a first operation triggered by the user in the first window, the electronic device switches to the unlocked state, runs the first application, and displays the user interface of the first task; wherein, the first operation is a click operation triggered by the user in the first window. Through this design, when the electronic device displays the first content of the first task on the lock screen interface, the user can trigger the electronic device to run the first application and display the user interface of the first application, so that the electronic device can directly continue to display the user interface of the first application in the unlocked state, and the user does not need to manually trigger the start of the first application to continue viewing the content of the first application, improving the user experience.
[0011] In a possible design, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: in response to a second operation triggered by the user in the first window, the electronic device stops displaying the first content of the first application; the lock screen function module of the electronic device displays a card-style live notification corresponding to the first task on the lock screen interface; wherein, the second operation is a click operation triggered by the user at any position in the area other than the first window on the lock screen interface, or the second operation is a swipe operation triggered by the user in the first window.
[0012] In a possible design, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: in response to a third operation triggered by the user in the first window, the electronic device stops displaying the first content of the first application; the lock screen function module of the electronic device displays a capsule-style live notification corresponding to the first task on the lock screen interface; wherein, the third operation is a swipe operation triggered by the user in the first window.
[0013] With the above design, when the electronic device displays the first content of the first application in the first window, the user triggers an operation to switch to display a live notification in the card style or a live notification in the capsule style corresponding to the first task, so that it is possible to switch between various styles of live notifications and immersive live displays supported by the electronic device, meeting the different needs of users in different display scenarios.
[0014] In a possible design, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: in response to a fourth operation triggered by the user in the first window, the lock screen function module of the electronic device displays the third content of the first application in the first window; wherein, the fourth operation is a sliding operation triggered by the user in the first window, and the third content is the first content updated by the first application according to the parameters related to the fourth operation and sent to the lock screen function module. With this design, the user can trigger a sliding operation in the first window to adjust the content displayed in the first window. For example, when the first content is a document, a long interface, or other content, the user can slide in the first window to view more content.
[0015] In a possible design, before the lock screen function module of the electronic device displays the third content of the first application in the first window, the method further includes: the lock screen function module of the electronic device determines that the permission information of the first application includes a first permission, and the first permission is used to indicate that when displaying the content corresponding to the first task on the lock screen interface, it supports responding to the sliding operation.
[0016] In a possible design, the electronic device further includes a screen-off display module. After the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: when the electronic device enters the screen-off display state, the lock screen function module in the electronic device sends the information of the lock screen interface to the screen-off display module, and the information of the lock screen interface includes the information of the first content of the first application displayed in the first window; the screen-off display module of the electronic device displays the first content of the first application in the second window of the screen-off interface according to the information of the lock screen interface. With this design, the lock screen function module in the electronic device can also send the information of the lock screen interface to the screen-off function module, so that the screen-off function module can display the first content of the first application in the screen-off interface, further enriching the display scenario of the application content and improving the user experience.
[0017] In a possible design, the electronic device further includes a screen-off display module. After the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: when the electronic device enters the screen-off display state, the screen-off display module in the electronic device receives the first information sent by the system server through the service proxy module; the screen-off display module in the electronic device displays the first content of the first application in the second window of the screen-off interface according to the first information. Through this design, when the electronic device is in the screen-off display state, the screen-off function module of the electronic device can receive the first information of the first application sent by the server through the service proxy module, and the screen-off function module can display the first content of the first application in the second window of the screen-off interface, so as to provide a display solution for displaying application content in the screen-off display state and meet the user's need to understand application information when the electronic device is in the screen-off display state.
[0018] In a possible design, when the service type of the first service is travel information, sports score, meeting notice, ticket information, or pick-up information, the first content is multimedia content; when the service type of the first service is map navigation, delivery information, sports health, or taxi-hailing, the first content is a user interface.
[0019] In a possible design, when the first content is a user interface, the first content includes at least one of a text control, an icon control, and a multimedia control.
[0020] In a second aspect, the present application provides a lock screen display method, which can be executed by an electronic device. The electronic device includes a first service module, a service proxy module, and a lock screen function module. The method includes: the electronic device enters the lock screen state, and the first service in the first application of the electronic device is in a running state. The first service module in the electronic device receives the second information sent by the server through the service proxy module, and the second information includes multimedia content related to the first service; the first service module in the electronic device sends the second information to the lock screen function module; the lock screen function module in the electronic device displays the second content of the first application in the first window according to the second information.
[0021] In a third aspect, the present application provides an electronic device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the method executed by the electronic device in the first aspect and its various embodiments. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on the specific implementation.
[0022] Fourth aspect, the present application provides an electronic device, including at least one processor and at least one memory. Computer program instructions are stored in the at least one memory. When the electronic device runs, the at least one processor executes the method executed by the electronic device in the first aspect and its various embodiments as described above.
[0023] Fifth aspect, the present application further provides a computer program product containing instructions. When the computer program product runs on a computer, the computer is caused to execute the method executed by the server or the electronic device in any of the above aspects and their various embodiments.
[0024] Sixth aspect, the present application further provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a computer, the computer is caused to execute the method executed by the server or the electronic device in any of the above aspects and their various embodiments.
[0025] Seventh aspect, the present application further provides a chip. The chip is used to read the computer program stored in the memory and execute the method executed by the server or the electronic device in any of the above aspects and their various embodiments.
[0026] Eighth aspect, the present application further provides a chip system. The chip system includes a processor for supporting a computer device to implement the method executed by the server or the electronic device in any of the above aspects and their various embodiments. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system can be composed of chips or can include chips and other discrete devices.
[0027] The technical effects that can be achieved by the technical solutions of any of the second to eighth aspects above can be described with reference to the technical effects that can be achieved by the technical solutions of the first aspect above. Repeated parts will not be elaborated. Description of the Drawings
[0028] Figure 1 It is a schematic diagram of an electronic device provided by an embodiment of the present application for displaying a notification message on a lock screen interface;
[0029] Figure 2 It is a schematic diagram of an application scenario applicable to a lock screen display method provided by an embodiment of the present application;
[0030] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;
[0031] Figure 4 It is a software structure block diagram of an electronic device provided by an embodiment of the present application;
[0032] Figure 5 Schematic diagram of a lock screen display method provided by an embodiment of the present application;
[0033] Figure 6 Schematic diagram of a layer position relationship provided by an embodiment of the present application;
[0034] Figure 7 Schematic diagram of an electronic device displaying an immersive live scene provided by an embodiment of the present application;
[0035] Figure 8 Schematic flow chart of an immersive live scene responding to user operations provided by an embodiment of the present application;
[0036] Figure 9 Schematic diagram of a lock screen interface of an electronic device provided by an embodiment of the present application;
[0037] Figure 10 Schematic diagram of a lock screen interface of an electronic device provided by an embodiment of the present application;
[0038] Figure 11 Schematic diagram of an immersive live scene with the first content being a picture provided by an embodiment of the present application;
[0039] Figure 12 Schematic diagram of a lock screen display method provided by an embodiment of the present application;
[0040] Figure 13 Schematic diagram of an immersive live scene with the first content being a user interface provided by an embodiment of the present application;
[0041] Figure 14 Schematic diagram of a lock screen display method provided by an embodiment of the present application;
[0042] Figure 15 Flow chart of a lock screen display method provided by an embodiment of the present application. Detailed implementation manners
[0043] In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. Among them, in the description of the embodiments of the present application, hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.
[0044] It should be understood that in the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of a single item or plural items. For example, at least one (item) of a, b, or c may represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c may be single or multiple.
[0045] With the development of terminal technology, the display methods and interaction scenarios that electronic devices can provide to users are becoming increasingly rich. For example, electronic devices are no longer limited to displaying content in the unlocked screen-on state. When the electronic device is in the locked screen state and receives a notification message, the electronic device can display the notification message in the locked screen interface or the always-on display (AOD) interface. The electronic device can display the notification message in the locked screen interface, so that when the electronic device is in the locked screen state, the user can also timely learn the notification messages to be viewed, and most of the notification messages are passively received messages. For example, Figure 1 A schematic diagram of an electronic device displaying a notification message in the locked screen interface provided by an embodiment of the present application, refer to Figure 1 , the electronic device can display a reminder message 101 of the "Messages" application, a notification message 102 of a social application, etc. in the locked screen interface.
[0046] It can be seen that the content that the user can view and the operations that can be triggered on the notification message displayed in the locked screen state are limited. On this basis, how to provide the user with a more interactive experience in more scenarios has become one of the issues that the terminal field pays more attention to.
[0047] Based on the above problems, an embodiment of the present application provides a locked screen display method for providing a solution for displaying application-related content in the locked screen interface. For example, Figure 2 A schematic diagram of an application scenario applicable to the locked screen display method provided by an embodiment of the present application, refer to Figure 2 , the application scenario includes an electronic device and a system server. Optionally, the application scenario further includes an application server. In the embodiments of the present application, the electronic device displaying application content in the locked screen interface can be referred to as displaying "immersive live", such as Figure 2As shown, the electronic device includes an immersive service module. The immersive service module can provide an immersive service interface for the applications installed in the electronic device. This interface can also be referred to as an immersive service kit. The immersive service kit can be a software development kit (SDK) installed in the electronic device. The immersive service module can receive the application content sent by the application through calling the immersive service interface, and interact with the lock screen function module in the electronic device, so as to display the application content in the first window on the lock screen interface. Optionally, as Figure 2 the electronic device may further include an immersive cloud service proxy module. The immersive cloud service proxy can also be referred to as a push agent, which is used to receive the application content pushed by the system server. The immersive cloud service proxy can send the received application content to the immersive service module, and the immersive service module interacts with the lock screen function module, so as to display the application content pushed by the system server received by the electronic device in the first window on the lock screen interface.
[0048] Figure 2 The system server in the scenario shown can provide an immersive cloud service function for the electronic device, which is used to provide a cloud service interface for the applications and application servers installed in the electronic device, so that the applications can obtain the permission to display immersive live in the electronic device, and the immersive cloud service can also perform risk detection on the application content in the immersive live. Optionally, in the embodiments of the present application Figure 2 the system server shown can also be a push server for pushing messages to the electronic device.
[0049] Figure 2 The application server in the scenario shown is used to provide cloud services for the applications installed in the electronic device. In the implementation of the present application, the application server can send application content to the electronic device through the system server, so that the electronic device can display the received application content in the first window on the lock screen interface.
[0050] Optionally, in some implementation manners, the functions of the system server can be implemented by a computing device cluster including at least one computing device. Among them, at least one computing device in the computing device cluster can be used to provide the immersive cloud service function. Or, in other implementation manners, the immersive cloud service function can also be implemented by at least one computing device independent of the system server. The embodiments of the present application do not make any limitations in this regard.
[0051] Based on Figure 2In the application scenario shown, the electronic device can apply to the system server for a registration request to display a first application with immersive live broadcast and at least one service type corresponding to the first application. After the system server authorizes and passes, when the electronic device enters the locked screen state, the electronic device determines that a first service in the first application is in the running state, and the service type of the first service is the authorized service type corresponding to the first application. The locked screen function module in the electronic device can create a first window in the locked screen interface and display the first content of the first application in the first window. Optionally, the first content of the first application can be multimedia content provided by the first application or the user interface of the first application. The first content of the first application is determined by the locked screen function module according to the first information of the first application. The first information can be sent by the first application in the electronic device to the immersive service module through the immersive service interface, or the first information of the first application can be sent by the application server to the system server and then the system server sends it to the immersive service module in the electronic device through the immersive cloud service proxy. Through this solution, the electronic device can provide the function of displaying application content in the locked screen interface for the application, so that after the user triggers the locked screen, the display content provided by the running application can still be viewed in the locked screen interface, enriching the display scenario of the electronic device and improving the user experience.
[0052] Optionally, referring to Figure 2 , the electronic device may further include an AOD module. The AOD module can be used to receive the information of the locked screen interface sent by the locked screen function module, so that when the electronic device is in the AOD display state, the content displayed in the locked screen interface can be displayed in the AOD interface. In the embodiment of the present application, after the electronic device enters the AOD display state, the AOD module can receive the information of the locked screen interface sent by the locked screen function module, and the information of the locked screen interface includes the information of immersive live broadcast. Then, after the AOD module receives the information of the locked screen interface sent by the locked screen function module, it can display immersive live broadcast in the AOD interface. In some embodiments, when the electronic device is in the AOD display state, the AOD module can also receive the first information of the first application sent by the immersive cloud service in the system server through the immersive cloud service proxy. The AOD module can create a second window in the AOD interface and display the first content in the second window according to the first information of the first application.
[0053] The following introduces an electronic device and embodiments for using such an electronic device. The electronic device according to the embodiments of the present application can be a tablet computer, a mobile phone, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a wearable device, etc. The embodiments of the present application do not impose any restrictions on the specific type of the electronic device.
[0054] In some embodiments of the present application, the electronic device may also be a portable terminal device that further includes other functions such as a personal digital assistant and / or a music player function. Exemplary embodiments of the portable terminal device include, but are not limited to, portable terminal devices equipped with or other operating systems.
[0055] Figure 3 FIG. is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application. As Figure 3 shown, 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 interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0056] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions. A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0057] The USB interface 130 is an interface that complies with the USB standard specification. Specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. The charging management module 140 is used to receive the charging input from the charger. 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 the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160, etc.
[0058] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc. The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0059] The mobile communication module 150 may provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to 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 may receive electromagnetic waves through the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.
[0060] The wireless communication module 160 may provide solutions for wireless communications such as wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied to the electronic device 100. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it into electromagnetic waves through the antenna 2 for radiation.
[0061] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0062] The display screen 194 is used to display the display interface of an application, such as the display page of an application installed on the electronic device 100. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), 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.
[0063] The camera 193 is used to capture static images or videos. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format such as RGB, YUV, etc. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0064] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store the operating system and software codes of at least one application program, etc. The data storage area can store the data generated during the use of the electronic device 100 (such as the captured images, recorded videos, etc.). In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0065] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as pictures and videos are saved in the external memory card.
[0066] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[0067] Among them, the sensor module 180 can include a pressure sensor 180A, an acceleration sensor 180B, a touch sensor 180C, etc.
[0068] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194.
[0069] The touch sensor 180C, also known as the "touch panel". The touch sensor 180C can be disposed on the display screen 194. The touch sensor 180C and the display screen 194 form a touch screen, also known as the "touch screen". The touch sensor 180C is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180C can also be disposed on the surface of the electronic device 100, at a different position from the display screen 194.
[0070] The keys 190 include a power-on key, volume keys, etc. The keys 190 can be mechanical keys or touch keys. The electronic device 100 can receive key inputs to generate key signal inputs related to the user settings and function controls of the electronic device 100. The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization. The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100.
[0071] It can be understood that Figure 3The components shown do not specifically limit the electronic device 100. The electronic device may also include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. In addition, Figure 3 the combination / connection relationships between the components in
[0072] Figure 4 is a software structure block diagram of an electronic device provided by an embodiment of the present application. As Figure 4 shown, the software structure of the electronic device may be a layered architecture. For example, the software can be divided into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom, namely the application layer, the application framework layer (framework, FWK), the runtime, and the system library, and the kernel layer.
[0073] The application layer may include a series of application packages. As Figure 4 shown, the application layer may include a camera, settings, a skin module, a user interface (UI), third-party applications, etc. Among them, the third-party applications may include a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, music, a video, a short message, etc. In the embodiment of the present application, the application layer may include an immersive service interface, and the applications installed in the electronic device may use the immersive live display function of the electronic device through the immersive service interface.
[0074] The notification messages displayed on the electronic device can be divided into two types: live notifications and non-live notifications. Among them, live notifications are notification messages with high timeliness requirements, such as notification messages related to taxi-hailing tasks, food delivery tasks, etc., and non-live notifications are notification messages with low timeliness requirements, such as social application notification messages, system version update messages, etc.
[0075] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer may include some predefined functions. As Figure 4 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, an immersive service module, an immersive cloud service proxy, and a lock screen function module.
[0076] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and enable this data to be accessible to application programs. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc.
[0077] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build application programs. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures.
[0078] The phone manager is used to provide the communication function of the electronic device. For example, the management of call status (including connection, disconnection, etc.).
[0079] The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, and so on.
[0080] The notification manager enables application programs to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application program, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompt text information in the status bar, emit a prompt sound, the electronic device vibrates, the indicator light flashes, etc.
[0081] The immersive service module is used to provide an immersive live display function for applications installed in the electronic device. The immersive service module can receive application content sent by the application through the immersive service interface, or receive application content sent by the system server through the immersive cloud service proxy, and send the application content to the lock screen function module to display the immersive live corresponding to the application content on the lock screen interface.
[0082] The immersive cloud service proxy is used to receive application content sent by the immersive cloud service in the system server.
[0083] The lock screen function module is used to draw the lock screen interface for the electronic device and manage the content and controls displayed on the lock screen interface. In the implementation of this application, the lock screen function module can receive application content sent by the immersive service and display the application content in the first window on the lock screen interface.
[0084] The runtime includes a core library and a virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0085] The core library consists of two parts: one is the functional functions that the Java language needs to call, and the other is the core library of the operating system. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files in the application layer and the application framework layer as binary files. The virtual machine is used to manage the object life cycle, stack management, thread management, security and exception management, as well as garbage collection and other functions.
[0086] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (e.g., OpenGL ES), 2D graphics engine (e.g., SGL), image processing library, etc.
[0087] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0088] The media library supports the playback and recording of various common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0089] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0090] The 2D graphics engine is a drawing engine for 2D drawing.
[0091] The kernel layer is the layer between the hardware and the software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.
[0092] The hardware layer can include various sensors, such as an acceleration sensor, a gyroscope sensor, a touch sensor, etc.
[0093] It should be noted that Figure 3 and Figure 4 The structure shown is only an example of the electronic device provided in the embodiments of the present application, and cannot limit the electronic device provided in the embodiments of the present application. In specific implementations, the electronic device may have more or fewer devices or modules than Figure 3 or Figure 4 the structure shown.
[0094] The following introduces the lock screen display method provided in the embodiments of the present application.
[0095] In the lock screen display method provided in the embodiments of the present application, an electronic device provides an immersive live display solution. The immersive live refers to the application content displayed by the electronic device in the locked screen state, and the application content can be, for example, the multimedia content or user interface provided by the application. Based on Figure 2 the application scenario shown, Figure 5 FIG. is a schematic diagram of a lock screen display method provided in the embodiments of the present application. Referring to Figure 5 , the method may include the following steps:
[0096] S501: The electronic device sends a first request message to the system server.
[0097] Wherein, the first request message is used to apply to the system server for the lock screen display permission of at least one service type of the first application. Among them, the lock screen display permission includes the immersive live display permission.
[0098] Optionally, in the embodiments of the present application, the user can set whether to turn on the immersive live display function, and the user can set the application permissions of the applications installed in the electronic device to set whether the application can use the immersive live display function. The applications installed in the electronic device can also request the electronic device to use the immersive live display function of the electronic device. The electronic device can apply to the system server for registering the applications that request to display the immersive live and at least one service type corresponding to each application. Among them, when the application supports multiple service types, when the application requests to use the immersive live display function of the electronic device, it can carry at least one service type that requests to use the immersive live display function of the electronic device in the request message. For example, the service types supported by the application can include maps, takeaways, express deliveries, flights, sports, etc.
[0099] In an alternative implementation manner, when the first application in the electronic device is started or the first service in the first application runs, the first application can send a request message to the electronic device. The request message is used to request the electronic device to apply to the system server for the immersive live display permission corresponding to the first application. The electronic device can send a first request message to the system server, and the first request message can include the identifier of the first application and the identifier of the first service. In this way, when there is an immersive display requirement for the application in the electronic device, the immersive live display permission of the first application can be applied to the system server.
[0100] In another alternative embodiment, the electronic device may register with the system server multiple applications in the electronic device that can use the immersive live display function and at least one service type corresponding to each application when the electronic device is powered on. Or, when the applications installed in the electronic device change, such as installing new applications or uninstalling applications, etc., the electronic device may register with the system server multiple applications in the electronic device that can use the immersive live display function and at least one service type corresponding to each application. Or, the electronic device may register with the system server multiple applications in the electronic device that can use the immersive live display function and at least one service type corresponding to each application according to a preset period. By this means, the applications in the electronic device that can perform immersive display can be kept consistent with the applications registered in the system server in a timely manner, ensuring that subsequent applications can normally request to display immersive live and ensuring security.
[0101] S502: After the system server passes the verification of the first application, it sends a response message to the electronic device.
[0102] Among them, the response message sent by the system server to the electronic device is used to indicate that the system server approves the permission application of the first application.
[0103] In some embodiments, after the system server receives the first request message sent by the electronic device and passes the verification of the first application, the system server may return a response message to the electronic device for indicating that the permission application of the first application is approved. The server may store the permission information corresponding to the electronic device, and the permission information includes a target application set and at least one authorized service type corresponding to each target application in the target application set, where the target application set includes the identifiers of at least one target application among the multiple applications installed in the electronic device that have the permission to display immersive live.
[0104] Optionally, the electronic device may locally store the permission information corresponding to the immersive live display function, and the permission information includes a target application set and at least one authorized service type corresponding to each target application in the target application set. In some scenarios, if the electronic device is not connected to the network, the electronic device may authenticate the application that requests to use the immersive live display function and store the permission information corresponding to the application. For example, the permission information corresponding to the application includes the application identifier and at least one service type corresponding to the application. When the electronic device is connected to the network, the electronic device may send the permission information generated by local authentication to the system server.
[0105] S503: After the electronic device enters the locked screen state, the immersive service module in the electronic device obtains the first information of the first application.
[0106] S504: The immersive service module in the electronic device sends the first information of the first application to the locked screen function module.
[0107] In some embodiments, after the electronic device enters the locked screen state, if the first service in the first application in the electronic device is in a running state, the electronic device may determine that the first application belongs to the target application set according to the permission information corresponding to the immersive live display function stored therein, that is, the electronic device determines that the first application has the permission to display the immersive live, and the first service is the authorized service type corresponding to the first application. Then, the electronic device may obtain the first information of the first application, and the first information includes information of multimedia content or user interface related to the first service. For example, the first information may be information of multimedia content such as pictures, videos, and audios sent by the first application or the application server corresponding to the first application to the immersive service module. For another example, the first information is information of the user interface related to the first task of the first application drawn by the first application.
[0108] In an alternative embodiment, when the first information is information of multimedia content provided by the first application, the first information of the first application may be sent by the first application to the immersive service module through the immersive service interface, or the first information of the first application may be sent by the application server to the system server and then sent by the system server to the immersive server module through the immersive cloud service proxy in the electronic device. In the embodiments of the present application, S503 may include the following steps:
[0109] S503a: The first application sends the first information of the first application to the immersive service module through the immersive service interface.
[0110] Or, S503 may include the following steps:
[0111] S503b: The first application sends a request message to the application server.
[0112] Wherein, the request message sent by the first application to the application server is used to request the application server to generate the immersive live corresponding to the first service currently running in the first application.
[0113] S503c: The application server sends the first information of the first application to the system server.
[0114] S503d: The system server sends the first information of the first application to the immersive service module through the immersive cloud service proxy of the electronic device.
[0115] After receiving the information of the first content of the first application in the above manner, the immersive module in the electronic device may send the information of the first content of the first application to the lock screen function module in the electronic device to request the lock screen function module to display the immersive live on the lock screen interface.
[0116] In another alternative embodiment, when the first information is the information of the user interface provided by the first application, the first application may send the first information to the immersive service module in the electronic device to request the creation of a first window for displaying the immersive live broadcast, and the first window may be an extended component in the lock screen interface. The immersive service module may send a request message to the lock screen function module to request the lock screen function module to create a first window in the lock screen interface. After the lock screen function module creates the first window in the lock screen interface, it may send a request message to the first application, and the request message includes parameters of the first window, such as the position information and size information of the first window. The request message is used to request to obtain the first information of the first application. After the first application draws the user interface corresponding to the first service based on the parameters of the first window, it may send the user interface of the first service to the lock screen function module.
[0117] In an alternative embodiment, after the electronic device obtains the first information of the first application, it may perform a risk detection on the first information. For example, the electronic device may determine whether there are sensitive words in the text of the first information, and whether the first information includes illegal content such as advertisements. After passing the risk detection on the first information, it is displayed according to the first information, so as to ensure that the electronic device can control the content displayed on the lock screen interface and prevent the display of content such as advertisements on the lock screen interface from affecting the user experience.
[0118] Optionally, when the above step S503 includes S503b - S503d, the system server may also perform the risk detection step. For example, in S503c, after the system server receives the first information of the first application sent by the application server, it may perform a risk detection on the first information. After passing the risk detection on the first information, the system server then executes S503d to send the first information that has passed the risk detection to the electronic device.
[0119] S505: The lock screen function module of the electronic device displays the first content of the first application in the first window of the lock screen interface according to the first information.
[0120] Optionally, the first window may be a non - full - screen window in the lock screen interface, and the electronic device may display the immersive live broadcast of the first application in the first window, that is, display the first content of the first application in the first window.
[0121] Optionally, in the embodiments of the present application, the first window may be located in the layer where the lock screen interface is located. For example, Figure 6 is a schematic diagram of a layer position relationship provided by the embodiments of the present application. Refer to Figure 6 , the layer where the lock screen interface is located is above the layers where the wallpaper, desktop, and application windows are located, and the first window for displaying the immersive live broadcast is located in the layer where the lock screen interface is located.
[0122] For example, Figure 7 is a schematic diagram of an electronic device displaying immersive live content provided by an embodiment of the present application. Referring to Figure 7 (a) therein, the electronic device displays a flight picture of a transportation application in the first window 701 of the lock screen interface; referring to Figure 7 (b) therein, the electronic device displays a recorded running user interface in a sports application in the first window 702 of the lock screen interface.
[0123] Optionally, when the electronic device displays immersive live content in the lock screen interface, if the electronic device is restarted, the electronic device will no longer display immersive live content after restarting, or use other pictures to cover the immersive live content in the lock screen interface. After the user unlocks the electronic device and the electronic device enters the lock screen state again, the electronic device can continue to display immersive live content, thus ensuring user information security.
[0124] In an embodiment of the present application, when the electronic device displays the first content of the first application in the first window of the lock screen interface, the user can trigger an operation in the first window. The electronic device can transmit the operation triggered by the user to the first application. The first application responds to the operation triggered by the user, draws the second content, and sends the second content to the immersive service module. The immersive service module can call the lock screen function module to display the second content in the first window, thereby realizing the refresh of the content displayed in the first window.
[0125] Optionally, in order to reduce non-standard user interactions in immersive live content, the electronic device can set application permissions for multiple applications. The application permissions include user operations supported when displaying immersive live content. For example, the application permissions when the electronic device displays immersive live content can include: supporting click to jump to the full-screen display application interface, supporting swipe operations, etc.
[0126] For example, assume that the application permissions set by the electronic device are to support click to jump to the full-screen display application interface and to support swipe operations for the user interface in immersive live content, as Figure 8 is a schematic flowchart of an immersive live content responding to a user operation provided by an embodiment of the present application. Referring to Figure 8 , when the user triggers an operation in the immersive live content, the immersive service module, the running management service (abilitymanager service, AMS), the lock screen function module, and the first application in the electronic device can perform the following steps:
[0127] S801: In response to a click operation triggered by the user in the first window, the immersive service module sends a request message to the AMS.
[0128] Among them, the request message sent by the immersive service module to the AMS is used to request to start the first application.
[0129] S802: The AMS sends a start instruction to the first application.
[0130] S803: The first application runs and displays the user interface corresponding to the first task.
[0131] S804: In response to a sliding operation triggered by the user in the first window, the immersive service module determines that the application permissions of the first application include permissions supporting the sliding operation.
[0132] S805: The immersive service module sends the parameters related to the sliding operation to the first application.
[0133] S806: The first application determines the third content of the first application according to the parameters related to the sliding operation.
[0134] Wherein, the third content is the display content obtained by translating the first content according to the distance corresponding to the sliding operation.
[0135] S807: The first application sends the third content to the lock screen function module.
[0136] S808: The lock screen function module displays the third content in the first window.
[0137] In some embodiments of the present application, the electronic device can also display live notifications of applications on the lock screen interface. The live notifications on the lock screen interface can have various display styles, such as capsule style, card style, etc. The services of some applications in the electronic device can be displayed on the lock screen interface in the form of live notifications or in the form of immersive live. For example, Figure 9 is a schematic diagram of the lock screen interface of an electronic device provided by an embodiment of the present application. Figure 9 Taking the taxi-hailing service in a taxi-hailing application as an example for introduction, referring to Figure 9 in (a), the electronic device can display the live notification 901 of the taxi-hailing application in capsule style; referring to Figure 9 in (b), the electronic device can display the live notification 902 of the taxi-hailing application in card style. Optionally, as shown in Figure 9 in (b), when the electronic device displays the live notification 902 of the taxi-hailing application in card style, it can also display notification messages on the lock screen interface. Referring to Figure 9 in (c), the electronic device can display the immersive live 903 of the taxi-hailing application.
[0138] Optionally, the electronic device can determine whether to display live notifications or immersive live on the lock screen interface according to the user's usage habits or usage scenarios. For example, when the electronic device is in the working mode, to reduce the disturbance to the user, the electronic device can Figure 9The capsule style shown in (a) in [description] displays real-time notifications of the ride-hailing application.
[0139] The embodiments of this application also provide a method for real-time notification and immersive real-time switching of the same service of the same application. For example, for the first task running in the first application, when the electronic device displays an immersive real-time scene, in response to the first operation triggered by the user in this immersive real-time scene, the electronic device triggers unlocking. After successful unlocking, the electronic device can display the user interface of the first task in the first application. For example, the first operation can be a click operation triggered by the user in the non-control display area of the first window.
[0140] When the electronic device displays an immersive real-time scene, in response to the second operation triggered by the user in this immersive real-time scene, the electronic device can switch to display the real-time notification in the form of a card corresponding to the first task. For example, the second operation can be a click operation triggered by the user at any position in the area other than the first window on the lock screen, or the second operation can be a side-swipe operation or an upward-swipe operation triggered by the user in the first window, where the side-swipe operation includes a left-swipe operation and a right-swipe operation.
[0141] When the electronic device displays an immersive real-time scene, in response to the third operation triggered by the user in this immersive real-time scene, the electronic device can switch to display the real-time notification in the form of a capsule corresponding to the immersive real-time scene. For example, the third operation can be a downward-swipe operation triggered by the user in the first window.
[0142] When the electronic device displays the real-time notification in the form of a capsule, in response to the fifth operation triggered by the user in this real-time notification, the electronic device can switch to display the real-time notification in the form of a card. For example, the fifth operation can be a click operation triggered by the user in the non-control display area of this real-time notification, or the second operation is an upward-swipe operation triggered by the user on the real-time notification in the form of a capsule.
[0143] When the electronic device displays the real-time notification in the form of a capsule, in response to the sixth operation triggered by the user in this real-time notification, the electronic device can switch to display the immersive real-time scene corresponding to the first task. For example, the sixth operation can be a click operation triggered by the user on the first control, or the sixth operation is a long-press operation triggered by the user in the non-control display area of this real-time notification; where the first control can be the application icon or picture of the first application in the real-time notification in the form of a capsule, etc.
[0144] When the electronic device displays the real-time notification in the form of a card, in response to the seventh operation triggered by the user in this real-time notification, the electronic device can switch to display the immersive real-time scene. For example, the seventh operation can be a click operation or a long-press operation triggered by the user in the non-control display area of this real-time notification, or the seventh operation can be a click operation triggered by the user on the second control; where the second control can be the application icon or picture of the first application in the real-time notification in the form of a card, etc.
[0145] When the electronic device displays a live notification in the form of a card, in response to an eighth operation triggered by the user in the live notification, the electronic device can switch to display a live notification in the form of a capsule. For example, the eighth operation can be a downward sliding operation triggered by the user on the live notification.
[0146] Taking Figure 9 the shown live notification and immersive live as an example. For instance, when the electronic device displays Figure 9 the live notification of the taxi-hailing application in the form of a capsule shown in (a) of Figure 9 , if the user clicks on any position in the area other than the application icon in the live notification or triggers an upward sliding operation in the live notification, the electronic device switches to display Figure 9 the live notification of the taxi-hailing application in the form of a card shown in (b) of
[0147] Also, for example, when the electronic device displays Figure 9 the live notification in the form of a card shown in (b) of Figure 9 , if the user clicks on the application icon in the live notification in the form of a card or clicks on or long-presses any position in the non-control display area of the live notification, the electronic device switches to display Figure 9 the immersive live of the taxi-hailing application shown in (c) of
[0148] Also, for example, when the electronic device displays Figure 9 the immersive live shown in (c) of Figure 9 , if the user clicks on any position in the non-control display area of the immersive live, the electronic device triggers an unlocking operation. After successful unlocking, it displays the user interface of the taxi-hailing application. When the user clicks on any area other than the first window on the lock screen interface, or when the user triggers a left-sliding operation, a right-sliding operation, or an upward sliding operation in the first window, the electronic device switches to display Figure 9 the live notification in the form of a card shown in (b) of
[0149] It should be noted that the above-described ways in which the user triggers the electronic device to switch the display of the live notification style, as well as to switch between the immersive live and the live notification, are only examples rather than limitations. In specific implementations, the electronic device can also support other user operations to switch between various styles of live notifications and immersive lives. The embodiments of the present application do not limit this.
[0150] In some embodiments, when the electronic device displays the lock screen interface, there may be multiple live notifications. When the electronic device displays a live notification in capsule style, the electronic device may display one of the multiple live notifications. Suppose there is a first live notification and a second live notification in the electronic device. When the user triggers a fifth operation on the first live notification in capsule style, the electronic device switches to display the immersive live corresponding to the first live notification, and the electronic device displays the second live notification in capsule style in the area for displaying the live notification in capsule style. Among them, the fifth operation may be, for example, a swiping up operation triggered by the user in the first live notification. It should be noted that when there are multiple live notifications, the live notification in capsule style displayed on the lock screen interface may be the live notification with the highest priority, or the live notification with the latest reception time, or the live notification in capsule style displayed on the lock screen interface may also be determined from multiple live notifications according to other methods. The embodiments of the present application do not limit this.
[0151] For example, Figure 10 is a schematic diagram of the lock screen interface of an electronic device provided by an embodiment of the present application. Refer to Figure 10 (a) in. Currently, there are multiple live notifications in the electronic device. The multiple live notifications include the live notification corresponding to the taxi-hailing task and the live notification corresponding to the food delivery task. Due to limited display area, the electronic device only displays one live notification in capsule style on the lock screen interface. For example, the electronic device displays the live notification 1001 corresponding to the taxi-hailing task. When the user triggers a swiping up operation in the live notification 1001, the electronic device switches to display Figure 10 the lock screen interface shown in (b) in. Refer to Figure 10 (b) in. The electronic device displays the immersive live 1002 corresponding to the taxi-hailing task on the lock screen interface, and the electronic device displays the live notification 1003 in capsule style corresponding to the food delivery task in the display area for displaying the live notification in capsule style.
[0152] When the electronic device displays multiple live notifications in card style on the lock screen interface, suppose the electronic device displays a first live notification in card style and a second live notification in card style on the lock screen interface. The user can trigger a sixth operation in the first live notification in card style, and the electronic device can switch to display the immersive live corresponding to the first live notification and display the second live notification in capsule style. Among them, the sixth operation may be, for example, a long-press operation triggered by the user in the non-control area of the first live notification.
[0153] For example, refer to Figure 10In (c), the lock screen interface of the electronic device includes a live notification 1004 corresponding to a taxi-hailing task and a live notification 1005 corresponding to a food delivery task. When the user triggers a long-press operation in any area of the live notification 1005 except the icon, the electronic device can switch to display Figure 10 the lock screen interface shown in (d) of Figure 10 In (d), the electronic device displays an immersive live view 1006 corresponding to a food delivery task on the lock screen interface, and the electronic device displays a capsule-style live notification 1007 corresponding to a taxi-hailing task in the display area for displaying capsule-style live notifications.
[0154] In some examples of this application, the lock screen state of the electronic device further includes an AOD display scenario. The lock screen display method provided by the embodiments of this application can also be applied to display an immersive live view in the AOD interface. Among them, the AOD display scenario can also be called a screen-off display scenario. In the AOD display scenario, the electronic device can display an AOD interface, and the AOD interface can also be called a screen-off interface. In an optional implementation manner, when the electronic device displays the first content of the first application in the first window of the lock screen interface, if the electronic device enters the AOD display state, the lock screen function module of the electronic device can send the information of the lock screen interface to the AOD module. Among them, the information of the lock screen interface can include the lock screen background, lock screen elements, and information of the immersive live view of the lock screen interface. The AOD module can display the immersive live view in the AOD interface according to the received information of the lock screen interface. The display effect of the AOD interface can refer to the effect of displaying the immersive live view in the lock screen interface in the above embodiments, such as referring to Figure 8 the display effect of displaying the immersive live view in the lock screen interface shown.
[0155] In another optional implementation manner, when the electronic device is in the AOD display state, the AOD module in the electronic device can receive the first information of the first application sent by the system server through the immersive cloud service proxy. The AOD module can create a second window in the AOD interface according to the first information of the first application and display the first content of the first application in the second window, so as to realize displaying the immersive live view in the AOD interface. In this implementation manner, the functions executed by the AOD module can refer to the functions executed by the immersive service module and the lock screen function module in the above embodiments, and the repeated parts will not be described again.
[0156] Optionally, when the electronic device is in the AOD display state, the electronic device only displays the layer where the AOD interface is located on the display screen. When the electronic device displays the immersive live view in the first window of the AOD interface, the first window is also located in the layer where the AOD interface is located.
[0157] The following uses two examples to further introduce the lock screen display method provided by the embodiments of this application.
[0158] Example 1
[0159] In this example, take the first content of the first application displayed in the first window of the lock screen interface of the electronic device as a picture as an example. For example Figure 11 is a schematic diagram of an immersive live broadcast with the first content being a picture provided by an embodiment of the present application. Refer to Figure 11 , when the service type of the first application is a service type with a relatively low update frequency such as travel information, event score, pick-up information, meeting notice, ticket information, etc., the immersive live broadcast displayed by the first application in the first window can be a picture.
[0160] Figure 12 is a schematic diagram of a lock screen display method provided by an embodiment of the present application. Refer to Figure 12 , in this example, take the first content of the first application displayed in the first window of the lock screen interface of the electronic device as a picture as an example. Refer to Figure 12 , in the embodiment of the present application, the desktop of the electronic device can display a lock screen interface in the lock screen state. For example, the lock screen interface includes lock screen elements and a lock screen background. The lock screen elements can be, for example, a clock control, a calendar control, etc. The lock screen interface can also include a first window for displaying the immersive live broadcast of the application; optionally, the lock screen interface can also include a live notification of the application. The live management module of the electronic device can be used to manage the live notifications and immersive live broadcasts displayed in the lock screen interface. In this example, the live management module can be Figure 2 a sub-module in the lock screen function module of the electronic device shown in
[0161] In Figure 12 In the example shown in (a) of
[0162] In Figure 12In the example shown in (b), when the electronic device enters the locked screen state, the first application sends a request message to the application server. The request message is used to request the application server to generate an immersive live broadcast corresponding to the first service currently running on the first application. The push service of the system server receives the information of the service picture of the first application sent by the application server. Among them, the first application belongs to the target application set that can perform immersive live broadcast display, and the service type corresponding to the service picture is the authorized service type corresponding to the first application. The push service can perform risk detection on the service picture. After passing the risk detection on the service picture, the push service can send the information of the service picture of the first application to the immersive service module of the electronic device through the immersive cloud service proxy of the electronic device. The immersive service module sends the information of the service picture of the first application to the immersive live management module, and the immersive live management module can display the service picture of the first application in the first window of the locked screen interface.
[0163] It should be noted that the information of the service picture sent by the push service or the first application to the immersive service module can be to send the service picture or the uniform resource locator (URL) of the service picture on the local of the electronic device. When the system user interface (system UI) obtains the picture URL, it can obtain the picture from the resource library.
[0164] Example 2
[0165] In this example, the first content of the first application displayed in the first window of the locked screen interface of the electronic device is taken as the user interface. For example, Figure 13 is a schematic diagram of an immersive live broadcast with the first content as the user interface provided by an embodiment of the present application. Refer to Figure 13 , when the service type of the first application is a service type with a relatively high update frequency such as map navigation, delivery information, sports health, taxi-hailing, etc., the immersive live broadcast displayed by the first application in the first window can be the user interface.
[0166] Figure 14 is a schematic diagram of a locked screen display method provided by an embodiment of the present application. Refer to Figure 14 , in this example, the first content of the first application displayed in the first window of the locked screen interface of the electronic device is taken as the user interface. Refer to Figure 14 , in the embodiment of the present application, the desktop of the electronic device can display the locked screen interface in the locked screen state. For example, the locked screen interface includes locked screen elements and a locked screen background. The locked screen elements can be, for example, a clock control, a calendar control, etc. The locked screen interface can also include a first window for displaying the immersive live broadcast of the application; optionally, the locked screen interface can also include the live broadcast notification of the application, and the live management module of the electronic device can be used to manage the live broadcast notification and immersive live broadcast displayed in the locked screen interface. InFigure 14 In the illustrated example, the first window in the lock screen interface can be an extension component for displaying an application interface, and the live management module can manage parameters such as the position and size of the extension component. In this example, the live management module can be Figure 2 a sub-module in the lock screen function module of the illustrated electronic device, and the immersive service module can be the ANS module in the operating system.
[0167] Refer to Figure 14 , when the electronic device enters the lock screen state, the first application can request the immersive service module to create a first window for displaying the immersive live, and the first window can be an extension component in the lock screen interface. The immersive service module can send a request message to the live management module to request the live management module to create a first window in the lock screen interface. After the live management module creates the first window in the lock screen interface, it can send a request message to the first application, and the request message includes parameters of the first window, such as the position information and size information of the first window. After the first application draws the user interface corresponding to the first service based on the parameters of the first window, it can send the user interface of the first service to the extension component in the lock screen interface through the system UI, and the extension component in the lock screen interface can display the user interface of the first application, thereby realizing the display of the user interface of the first application in the first window of the lock screen interface.
[0168] Based on the same concept, an embodiment of the present application further provides a lock screen display method, which can be executed by an electronic device, such as Figure 15 is a flowchart of a lock screen display method provided by an embodiment of the present application. Refer to Figure 15 , the method includes the following steps:
[0169] S1501: The electronic device enters the lock screen state, and the first service in the first application of the electronic device is in a running state. The first application in the electronic device sends the first information of the first application to the first service module through the first service interface.
[0170] Among them, the first information includes information on multimedia content or user interface related to the first service. The first service interface can be Figure 2 the immersive service interface in the illustrated electronic device, and the first service module can Figure 2 the immersive service module in the illustrated electronic device.
[0171] S1502: The first service module in the electronic device sends the first information to the lock screen function module.
[0172] S1503: After receiving the first information, the lock screen function module in the electronic device creates a first window in the lock screen interface.
[0173] Among them, the first window created by the lock screen function module in the lock screen interface can be a non-full screen window. For example, the first window can be the first window 701 or the first window 702 in the embodiment shown in Figure 7 Figure 701 or Figure 702.
[0174] S1504: The lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information.
[0175] In the embodiment of the present application, the first content displayed by the lock screen function module in the first window according to the first information can be the immersive live broadcast introduced in the above embodiment. The first content of the first application can be multimedia content or a user interface. For example, in Figure 7 the first content in the first window of the lock screen interface shown in (a) in Figure 7 is a picture; the first content in the first window of the lock screen interface shown in (b) in
[0176] In an optional implementation manner, before the first application in the electronic device sends the first information of the first application to the first server module through the first service interface, the first application in the electronic device sends a first request message to the system server. The first request message is used to apply to the system server for the lock screen display permission of the first service of the first application; the first application in the electronic device receives a response message sent by the system server. The response message is used to indicate that the system server approves the permission application of the first application. Among them, the lock screen display permission includes the immersive live broadcast display permission.
[0177] In an optional implementation manner, the electronic device further includes a service proxy module. The first service module in the electronic device receives second information sent by the server through the service proxy module. The second information includes multimedia content related to the first service; the first service module in the electronic device sends the second information to the lock screen function module; the lock screen function module in the electronic device displays the second content of the first application in the first window according to the second information. Among them, the service proxy module can be Figure 2 the immersive cloud service proxy in the electronic device shown in
[0178] In an optional implementation manner, before the first service module in the electronic device sends the first information to the lock screen function module, the first service module in the electronic device performs a risk detection on the first information. After determining that the risk detection of the first information passes, the first information is sent to the lock screen function module.
[0179] In an alternative embodiment, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, in response to a first operation triggered by the user in the first window, the electronic device switches to the unlocked state, runs the first application, and displays the user interface of the first task; wherein, the first operation is a click operation triggered by the user in the first window. For example, the first operation may be a click operation triggered by the user in the non-control display area of the first window.
[0180] In an alternative embodiment, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: in response to a second operation triggered by the user in the first window, the electronic device stops displaying the first content of the first application; the lock screen function module of the electronic device displays a live notification in the form of a card corresponding to the first task on the lock screen interface; wherein, the second operation is a click operation triggered by the user at any position in the area other than the first window on the lock screen interface, or the second operation is a swipe operation triggered by the user in the first window. For example, the second operation may be a click operation triggered by the user at any position in the area other than the first window on the lock screen interface, or the second operation may be a side swipe operation or an upward swipe operation triggered by the user in the first window, wherein the side swipe operation includes a left swipe operation and a right swipe operation.
[0181] In an alternative embodiment, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, in response to a third operation triggered by the user in the first window, the electronic device stops displaying the first content of the first application; the lock screen function module of the electronic device displays a live notification in the form of a capsule corresponding to the first task on the lock screen interface; wherein, the third operation is a swipe operation triggered by the user in the first window. For example, the third operation may be a downward swipe operation triggered by the user in the first window.
[0182] In an alternative embodiment, after the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, in response to a fourth operation triggered by the user in the first window, the lock screen function module of the electronic device displays the third content of the first application in the first window; wherein, the fourth operation is a swipe operation triggered by the user in the first window, and the third content is sent by the first application to the lock screen function module after updating the first content according to the parameters related to the fourth operation.
[0183] In an alternative embodiment, it is characterized in that, before the lock screen function module of the electronic device displays the third content of the first application in the first window, the lock screen function module of the electronic device determines that the permission information of the first application includes a first permission, and the first permission is used to indicate that a sliding operation is supported when the content corresponding to the first task is displayed on the lock screen interface.
[0184] In an alternative embodiment, the electronic device further includes an always-on display module. After the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, when the electronic device enters the always-on display state, the lock screen function module in the electronic device sends the information of the lock screen interface to the always-on display module, and the information of the lock screen interface includes the information of the first content of the first application displayed in the first window; the always-on display module of the electronic device displays the first content of the first application in the second window of the always-on display interface according to the information of the lock screen interface. Among them, the always-on display module can be Figure 2 the AOD module in the electronic device shown.
[0185] In an alternative embodiment, the electronic device further includes an always-on display module. After the lock screen function module in the electronic device displays the first content of the first application in the first window according to the first information, the method further includes: when the electronic device enters the always-on display state, the always-on display module in the electronic device receives the first information sent by the system server through the service proxy module; the always-on display module in the electronic device displays the first content of the first application in the second window of the always-on display interface according to the first information.
[0186] Exemplarily, when the service type of the first service is travel information, sports score, meeting notice, ticket information, pick-up information, the first content is multimedia content, such as referring to Figure 11 the lock screen interface shown. When the service type of the first application is a service type with a relatively low update frequency, such as travel information, sports score, pick-up information, meeting notice, ticket information, etc., the immersive live broadcast displayed by the first application in the first window can be a picture. When the service type of the first service is map navigation, delivery information, sports health, taxi, the first content is a user interface. Such as referring to Figure 13 the lock screen interface shown. When the service type of the first application is a service type with a relatively high update frequency, such as map navigation, delivery information, sports health, taxi, etc., the immersive live broadcast displayed by the first application in the first window can be a user interface.
[0187] Exemplarily, when the first content is a user interface, the first content includes at least one of a text control, an icon control, and a multimedia control. As shown in Figure 9 (c) below, when the first content is a user interface, the first content includes text controls such as "Picking you up, expected to arrive in 5 minutes" and "License plate number XXXXX white car", and the first content may also include an icon control such as a user avatar, and the first content may also include a map picture control.
[0188] Based on the above embodiments, the present application further provides a server, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the functions performed by the system server or the application server in each method described in the embodiments of the present application. For example, executing Figure 5 S503c executed by the application server in the embodiment shown, or for another example, executing Figure 5 S503d executed by the system server in the embodiment shown. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementations.
[0189] Based on the above embodiments, the present application further provides a server, which includes at least one processor and at least one memory. Computer program instructions are stored in the at least one memory. When the server runs, the at least one processor executes the functions performed by the server in each method described in the embodiments of the present application. For example, executing Figure 5 S503c executed by the application server in the embodiment shown, or for another example, executing Figure 5 S503d executed by the system server in the embodiment shown.
[0190] Based on the above embodiments, the present application further provides an electronic device, which includes a plurality of functional modules; the plurality of functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application. For example, the electronic device may include Figure 5 the immersive service interface, immersive service module, immersive cloud service proxy, and lock screen function module shown. The plurality of functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the plurality of functional modules can be arbitrarily combined or divided based on specific implementations.
[0191] Based on the above embodiments, the present application further provides an electronic device, which includes at least one processor and at least one memory. Computer program instructions are stored in the at least one memory. When the electronic device runs, the at least one processor executes the functions performed by the electronic device in each method described in the embodiments of the present application.
[0192] Based on the above embodiments, the present application further provides a computer program product including instructions. When the computer program product runs on a computer, the computer is caused to execute the various methods described in the embodiments of the present application.
[0193] Based on the above embodiments, the present application further provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a computer, the computer is caused to execute the various methods described in the embodiments of the present application.
[0194] Based on the above embodiments, the present application further provides a chip. The chip is used to read the computer program stored in a memory to implement the various methods described in the embodiments of the present application.
[0195] Based on the above embodiments, the present application provides a chip system. The chip system includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In a possible design, the chip system further includes a memory for storing necessary programs and data of the computer device. The chip system may be composed of chips or may include chips and other discrete devices.
[0196] Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0197] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for realizing the functions specified in Figure 1 one or more flows or multiple flows and / or blocks Figure 1 one or more blocks or multiple blocks.
[0198] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including instruction means that implement the function specified in one or more of the procedures Figure 1 one or more procedures and / or blocks Figure 1 specified in the block or blocks.
[0199] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the function specified in one or more of the procedures Figure 1 one or more procedures and / or blocks Figure 1 specified in the block or blocks.
[0200] It is apparent that those skilled in the art can make various modifications and variations to the present application without departing from the scope of protection of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A lock screen display method, characterized in that: Applied to an electronic device, the electronic device includes a first application and a lock screen function module, when the electronic device enters a lock screen state, a first service in the first application of the electronic device is in a running state; the method includes: The lock screen function module obtains first information of the first application, where the first information includes multimedia content or user interface information related to the first service; The lock screen function module in the electronic device displays a first window in the lock screen interface according to the first information, wherein the first content of the first service is displayed in the first window.
2. The method according to claim 1, characterized in that The method further comprises: The first application in the electronic device sends a first request message to the system server, where the first request message is used to apply to the system server for lock screen display permission for the first service of the first application; The first application in the electronic device receives a response message sent by the system server, where the response message is used to instruct the system server to approve the permission application of the first application.
3. The method according to claim 1 or 2, characterized in that The method further comprises: receiving, in the electronic device, second information sent by the server, where the second information includes multimedia content related to the first service; The lock screen function module in the electronic device obtains the second information; The lock screen function module in the electronic device displays the second content of the first application in the first window according to the second information.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The electronic device performs a risk detection on the first information and determines that the risk detection on the first information passes.
5. The method according to any one of claims 1 to 4, characterized in that: After displaying the first window in the lock screen interface, the method further includes: In response to a first operation triggered by a user in the first window, the electronic device switches to an unlocked state, runs the first application and displays a user interface of the first task; The first operation is a click operation triggered by a user in the first window.
6. The method according to any one of claims 1 to 4, characterized in that: After displaying the first window in the lock screen interface, the method further includes: In response to a second operation triggered by the user in the first window, the electronic device stops displaying the first content of the first application; Displaying a live notification in a card-style corresponding to the first task on the lock screen interface; The second operation is a click operation triggered by the user at any position in the area of the lock screen interface except the first window, or the second operation is a sliding operation triggered by the user in the first window.
7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to a third operation triggered by the user in the first window, the electronic device stops displaying the first content of the first application; The lock screen function module of the electronic device displays a capsule-style live notification corresponding to the first task on the lock screen interface; The third operation is a sliding operation triggered by the user in the first window.
8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to a fourth operation triggered by the user in the first window, the lock screen function module of the electronic device displays the third content of the first application in the first window; Among them, the fourth operation is a sliding operation triggered by the user in the first window, and the third content is sent to the lock screen function module after the first application updates the first content according to parameters related to the fourth operation.
9. The method according to claim 8, characterized in that Before the lock screen function module of the electronic device displays the third content of the first application in the first window, the method further includes: The lock screen function module of the electronic device determines that the permission information of the first application includes a first permission, and the first permission is used to indicate that a response sliding operation is supported when the content corresponding to the first task is displayed in the lock screen interface.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: When the electronic device enters the screen-off display state, the screen-off display module of the electronic device displays the first content of the first application in the second window of the screen-off interface according to the first information or, When the electronic device enters the screen-off display state, the electronic device receives the first information sent by the system server; The electronic device displays the first content of the first application in a second window of the screen-off interface according to the first information.
11. The method according to any one of claims 1 to 10, characterized in that The electronic device comprises a first service module and a first service interface, wherein the first application in the electronic device sends first information of the first application to the first service module through the first service interface, wherein the first information comprises multimedia content or user interface information related to the first service; The first service module in the electronic device sends the first information to the lock screen function module.
12. The method according to any one of claims 1 to 11, characterized in that: When the service type of the first service is travel information, sports scores, meeting notices, ticket information, or pickup information, the first content is multimedia content; The business type of the first business is map navigation, delivery information, sports and health, and taxi hailing, and the first content is a user interface.
13. The method according to any one of claims 1 to 12, characterized in that: When the first content is a user interface, the first content includes at least one of a text control, an icon control, and a multimedia control.
14. An electronic device, characterized in that: The electronic device comprises a memory and a processor; wherein the memory is coupled to the processor, and the memory is used to store a computer program. When the processor executes and calls the computer program, the electronic device executes the method described in any one of claims 1 to 13.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 13.
16. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Screen locking method and mobile terminal
CN101894023A
Screen-locking interface display method, apparatus and electronic device
CN105243326A
Authority control method and apparatus
CN106471513A
Lock screen display method and apparatus
CN107168693A
Method for presenting information on lock screen interface, information processing apparatus, portable electronic device and graphical user interface on portable electronic device
CN107408004A