Lock screen display method and electronic equipment

By integrating the card service system SDK into the lock screen application, registering the application card interface and displaying it on the lock screen, the problem of cumbersome lock screen interface switching is solved, achieving convenient interface switching and power saving.

CN120832060APending Publication Date: 2025-10-24HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410444918.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-10
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

The process of switching from the lock screen to the user-accessible interface on existing electronic devices is cumbersome when the screen is locked, which leads to faster power consumption and affects the user experience.

Method used

By integrating the card service system SDK into the lock screen application, registering it as a display application, and registering the application's card interface to the card service system, the application's card interface can be directly displayed on the lock screen, and users can easily switch to the target application's card interface by swiping.

Benefits of technology

It simplifies the process from the lock screen to the user-operable interface, reduces the power consumption of electronic devices, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120832060A_ABST
    Figure CN120832060A_ABST
Patent Text Reader

Abstract

The invention provides a lock screen display method and electronic equipment, and the method comprises the steps: responding to an awakening instruction for the electronic equipment, starting a lock screen application, and outputting a lock screen interface on a display interface of the lock screen application; receiving a first sliding operation on the lock screen interface, responding to the first sliding operation, obtaining a preset card interface of the first application from a card service system of the electronic equipment, and switching a display interface of the lock screen application from the lock screen interface to the preset card interface of the first application; the preset card interface of the first application is one of multiple card interfaces of the first application; and receiving a second sliding operation on a preset card interface of the first application, responding to the second sliding operation, obtaining a preset card interface of a second application from the card service system, and switching a display interface of the screen locking application from the preset card interface of the first application to the preset card interface of the second application. According to the method, the lock screen interface can be quickly switched to the card interface of the application, and the power consumption of equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer application, and particularly relates to a lock screen display method and an electronic device. BACKGROUND

[0002] In order to protect the privacy of a user, an electronic device such as a smart phone or a tablet computer provides a lock screen application. In a case where the electronic device does not receive a touch operation for a long time, the lock screen application controls the electronic device to enter a lock screen state. In the lock screen state, if the electronic device receives an unlocking password for a lock screen password, the unlocking password can be verified, and in a case where the verification is passed, the lock screen application can control the electronic device to exit the lock screen state, so that the electronic device can output a user operable interface, such as an application main interface or an operable interface of a certain application.

[0003] For the electronic device with the lock screen password, even if a touch operation on certain information is received in the lock screen interface, the application interface corresponding to the information will not be jumped to, and the application interface corresponding to the information will be jumped to only in a case where the unlocking password verification is passed. For example, in a case where a view operation on notification information of application 1 is received in the lock screen interface, the application interface of application 1 will be jumped to only in a case where the unlocking password verification is passed, so that the user can view the notification information of application 1.

[0004] It can be seen that for the electronic device with the lock screen password, the operation from the lock screen interface to the user operable interface is relatively cumbersome, which will accelerate the power consumption speed of the electronic device to a certain extent. SUMMARY

[0005] The lock screen display method and the electronic device provided in the embodiments of the present application can simplify the operation process of switching from the lock screen interface of the electronic device to the user operable interface, reduce the power consumption of the electronic device, and improve the user experience.

[0006] In a first aspect, an embodiment of the present application provides a lock screen display method, which can be executed by an electronic device or a device matched with the electronic device, such as a processor, a chip or a chip system. The method comprises: in response to a wake-up instruction of the electronic device, starting a lock screen application, and outputting a lock screen interface on a display interface of the lock screen application; receiving a first sliding operation on the lock screen interface, in response to the first sliding operation, obtaining a preset card interface of a first application from a card service system of the electronic device, and switching the display interface of the lock screen application from the lock screen interface to the preset card interface of the first application; the preset card interface of the first application is one of multiple card interfaces of the first application; receiving a second sliding operation on the preset card interface of the first application, in response to the second sliding operation, obtaining a preset card interface of a second application from the card service system, and switching the display interface of the lock screen application from the preset card interface of the first application to the preset card interface of the second application; the preset card interface of the second application is one of multiple card interfaces of the second application; and the sliding direction of the first sliding operation is the same as the sliding direction of the second sliding operation.

[0007] It can be seen that for the electronic device in the lock screen state, by responding to the sliding operation on the lock screen interface, the preset card interface of the application can be displayed on the display interface of the lock screen application, so that the user can quickly and conveniently view the application information of the application, and the user experience is improved. Even if the electronic device is provided with a lock screen password, the user can quickly and conveniently view the application information of the application, without the need to obtain an unlocking password, and the operation of switching from the lock screen interface of the lock screen application to the user operable interface can be simplified, so that the power consumption speed of the electronic device can be reduced to a certain extent, and the power consumption of the electronic device is reduced.

[0008] In a possible implementation, the method further comprises: in response to a start instruction of the electronic device, starting the card service system; and registering the lock screen application as a display application of the card service system, the card service system being configured to provide the lock screen application with a card interface. The display application can display the preset card interfaces of the applications registered to the card service system, and the lock screen application is registered as the display application, so that the lock screen application can output the preset card interfaces of the applications, and the user can be displayed with the application information of the applications without obtaining an unlocking password.

[0009] In a possible implementation, the method further comprises: obtaining registration data of the multiple card interfaces of the first application from an installation package of the first application; the multiple card interfaces of the first application include the preset card interface of the first application; and registering the multiple card interfaces of the first application into the card service system based on the registration data of the card interfaces of the first application.

[0010] It can be seen that the lock screen application can output the card interface of the first application by registering the plurality of card interfaces of the first application in the card service system, so that the application information of the first application can be displayed to the user without unlocking.

[0011] In a possible implementation, the method further includes: receiving a touch operation on the preset card interface of the first application; in response to the touch operation, obtaining the card interface corresponding to the first touch control from the plurality of card interfaces of the first application registered in the card service system, and switching the display interface of the lock screen application from the preset card interface of the first application to the card interface corresponding to the first touch control.

[0012] It can be seen that the plurality of card interfaces of the same application can be displayed on the display interface of the lock screen application, so that the user can view more application information.

[0013] In a possible implementation, the method further includes: receiving a click operation on the setting control corresponding to the lock screen application in the system setting interface of the electronic device; in response to the click operation, obtaining the preset card interface of each application of the M applications registered in the card service system, and outputting the setting interface corresponding to the lock screen application, the setting interface including an application card sorting area, and the application card sorting area sequentially displaying the thumbnail of the preset card interface of each application; M is an integer greater than or equal to 1.

[0014] It can be seen that the application card sorting area in the system setting interface can sequentially display the thumbnail of the preset card interface of each application registered in the card service system, so that the user can view the display order of each preset card interface.

[0015] In a possible implementation, the M applications include the first application and the second application; based on this, the method further includes: receiving a sorting operation on the first application and the second application in the application card sorting area; in response to the sorting operation, setting the display interface in response to the second sliding operation as the preset card interface of the second application.

[0016] It can be seen that the electronic device can receive the sorting operation of the user on the card interface of the application through the setting interface corresponding to the lock screen application, so that the display order of the preset card interface of each application on the display interface of the lock screen application can be set.

[0017] In a possible implementation, the method further includes: receiving a third sliding operation on the preset card interface of the second application; in response to the third sliding operation, switching the display interface of the lock screen application from the preset card interface of the second application to the preset card interface of the first application; wherein the sliding direction of the third sliding operation is opposite to the sliding direction of the second sliding operation.

[0018] It can be seen that, in response to the third sliding operation opposite to the sliding direction of the second sliding operation, the display interface of the lock screen application can be switched from the preset card interface of the second application back to the preset card interface of the first application. That is, the sliding operation can control the switching between the preset card interfaces of different applications.

[0019] In a possible implementation, the method further includes: in response to receiving the update data for the preset card interface of the first application, updating the preset card interface of the first application based on the update data.

[0020] It can be seen that, based on the update data of the preset card interface of the application, the preset card interface is updated, so that the lock screen application can display the latest information when displaying the preset card interface of the application, and thus the user can obtain the latest information.

[0021] In a possible implementation, in response to receiving the update data for the preset card interface of the first application, updating the preset card interface of the first application based on the update data includes: the card service system receives the update data for the preset card interface of the first application, and pushes the update data to the lock screen application; and the lock screen application updates the preset card interface of the first application based on the update data.

[0022] In a second aspect, an embodiment of the present application provides an electronic device, which includes one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is configured to store computer program codes, the computer program codes including computer instructions, and the one or more processors are configured to invoke the computer instructions to enable the electronic device to perform the method in the first aspect or any of the implementation manners of the first aspect.

[0023] In a third aspect, an embodiment of the present application provides a chip system, which includes at least one processor, a memory, and an interface circuit; the memory, the interface circuit, and the at least one processor are interconnected through a circuit; and the at least one memory stores program instructions; when the program instructions are executed by the processor, the chip system performs the method in the first aspect or any of the implementation manners of the first aspect.

[0024] In a fourth aspect, an embodiment of the present application provides a computer program product including instructions, when the computer program product is executed on an electronic device, the electronic device performs the method in the first aspect or any of the implementation manners of the first aspect.

[0025] In a fifth aspect, an embodiment of the present application provides a computer readable storage medium including instructions, when the instructions are executed on an electronic device, the electronic device performs the method in the first aspect or any of the implementation manners of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0026] Figure 1 is a schematic diagram of a lock screen interface provided by an embodiment of the present application;

[0027] Figure 2 is a schematic diagram of another lock screen interface provided by an embodiment of the present application;

[0028] Figure 3 is a schematic diagram of a card service system provided by an embodiment of the present application;

[0029] Figure 4 is a schematic diagram of a scenario of a lock screen display method provided by an embodiment of the present application;

[0030] Figure 5 is a flowchart of a lock screen display method provided by an embodiment of the present application;

[0031] Figure 6 is a schematic diagram of a card interface switching provided by an embodiment of the present application;

[0032] Figure 7 is a schematic diagram of another card interface switching provided by an embodiment of the present application;

[0033] Figure 8 is a schematic diagram of a setting interface provided by an embodiment of the present application;

[0034] Figure 9 is a schematic diagram of another setting interface provided by an embodiment of the present application;

[0035] Figure 10 is a schematic diagram of a display interface of a lock screen application provided by an embodiment of the present application;

[0036] Figure 11 is a schematic diagram of a display interface of a desktop provided by an embodiment of the present application;

[0037] Figure 12 is a flowchart of another lock screen display method provided by an embodiment of the present application;

[0038] Figure 13 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;

[0039] Figure 14 is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0040] The embodiments of the present application will be described below with reference to the accompanying drawings.

[0041] The terms "first", "second", "third", and "fourth" and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Moreover, the terms "include", "have", and the like when used herein are meant to encompass the presence of successors, equivalents, equivalents, or alternatives of followings, but do not mean to limit the quantity or followings to which such terms refer, unless otherwise indicated. For example, a process, a method, a system, a product, or apparatus that comprises a list of steps or units are not limited to the listed steps or units but can optionally include other steps or units not expressly listed or other steps or units that are inherent to such process, method, product, or apparatus.

[0042] It should be understood that, in the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the relationship between the associated objects, which means that there can be three relationships, for example, "A and / or B" can represent three cases: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0043] In this document, reference to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. As will be apparent to those of ordinary skill in the art, embodiments described herein can be combined with other embodiments.

[0044] As used in this description, the terms "component," "module," "system" and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and / or a computer. By way of illustration, both an application running on a computing device and the computing device can be a component. One or more components can reside within a process and / or thread of execution and a component can be localized, co-resident, and / or distributed amongst one computer or distributed across multiple computers. Also, these components can execute from various computer readable media having various data structures stored thereon. The components can communicate by way of local and / or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and / or across a network such as the Internet with other systems via the signal).

[0045] First, some terms in the present application are explained to facilitate understanding by those skilled in the art.

[0046] 1. User interface

[0047] A user interface (UI) can generally refer to an operation interface provided by a display device of an electronic device to a user. The user interface can display display elements such as icons and text. The display device and the user can interact through certain interaction modes. For example, the display device can respond to a click, touch, swipe, or other operation on the display element, and display or transmit information. For example, the display device can transmit an instruction to a player in the electronic device to play music corresponding to the instruction. The electronic device can include a mobile phone, a tablet computer, or the like. The display device can include a mobile phone screen, a tablet computer screen, or the like.

[0048] The user interface can include, but is not limited to, a desktop interface, a settings interface, a search interface, and an application interface of an application (referred to as an application). The application interface of the application can include, but is not limited to, a lock screen interface of a lock screen application, a weather interface of a weather application, or the like. The user interface can also be described as a user operable interface that can receive a touch operation (e.g., a click operation or a swipe operation) input by a user.

[0049] 2. Lock screen application

[0050] The lock screen application is a tool for switching the electronic device between the lock screen state and the unlock state, and is used to prevent unauthorized access to the electronic device and protect the privacy and security of the device data. In the case that the electronic device does not receive a touch operation for a long time, the lock screen application controls the electronic device to enter the lock screen state. In the lock screen state, if the electronic device receives an unlock password for the lock screen password, the unlock password can be verified, and in the case that the verification is passed, the lock screen application can control the electronic device to switch from the lock screen state to the unlock state, so that the electronic device can output a user operable interface, such as a display interface of a desktop or an application interface of an application, etc. The lock screen password can include one or more of a numerical password, an alphabetical password, a graphical password, a gesture password, a fingerprint password and a face recognition password, etc.

[0051] In the lock screen state, if the electronic device receives a wake-up instruction, the lock screen application can be started, and a lock screen interface of the lock screen application can be output. The lock screen interface usually displays wallpaper, status bar information, time information, date information and notification information, so that the user can quickly view the information without unlocking the electronic device. The status bar information can include power, network status and other information; the notification information can include missed call notification, SMS notification and other information.

[0052] Optionally, if the electronic device is not set with a lock screen password, when the electronic device receives a wake-up instruction, the lock screen interface output by the electronic device can be used to display lock screen wallpaper, date information, time information and status bar information, etc. When the lock screen interface receives a touch operation of the user, such as a click operation or a sliding operation, the electronic device can output a display interface of a desktop or an application interface of an application in response to the touch operation.

[0053] Please refer to Figure 1 A schematic diagram of a lock screen interface provided by an embodiment of the present application. Figure 1The illustrated lock screen interface is an example of a lock screen interface of a straight screen phone. When the electronic device receives a wake-up instruction and is thus woken up, the lock screen interface 1-1 can be displayed on the display interface of the lock screen application. The lock screen interface 1-1 generally displays state bar information such as a signal icon, a power icon, a network status icon, and the like. The lock screen interface 1-1 also displays time information and date information. The lock screen interface 1-1 also displays a notification bar 101 for displaying system notifications, application notifications, and the like, such as missed call information, short message reminder information, weather application-pushed weather warning information, and the like. One or more pieces of notification information can be displayed in the notification bar 101, and each piece of notification information is arranged in order of generation time. For example, the generation time of the notification information displayed in the notification bar 101 decreases from top to bottom, that is, the latest received or generated notification information is displayed at the top of the notification bar 101, and the oldest received or generated notification information is displayed at the bottom of the notification bar 101. Optionally, when the number of notification messages of an application is large, the notification messages of the application can be displayed in an overlapped manner. Optionally, when a downward sliding operation of a notification message of the application is received, the notification information of the application is displayed in response to the downward sliding operation. It should be noted that, as Figure 1 The display position of the notification bar in the lock screen interface is used for example and does not limit the embodiments of the present application. For example, the notification bar can also be displayed in the area below the middle line of the lock screen interface.

[0054] In some application scenarios, the electronic device can be a folding screen phone, such as an inside-out folding, up-down folding folding screen phone. The lock screen interface of the folding screen phone can include a lock screen interface of an outer screen and a lock screen interface of an inner screen. For example, the lock screen interface 1-2 displayed by the outer screen of an up-down folding folding screen phone can be as shown in FIG. 1B. Figure 1 The lock screen interface 1-3 displayed by the outer screen of a left-right folding folding screen phone can be as shown in FIG. 1C. As shown in FIG. 1C, the lock screen interface 1-3 displayed by the outer screen of the folding screen phone can include a first area 102 and a second area 103. The first area 102 can be a display area of the outer screen, and the second area 103 can be a display area of the inner screen. Figure 1 The folding screen phone shown in FIG. 1C can display the lock screen interface 1-4 of the inner screen as shown in FIG. 1D after the screen of the phone is unfolded. The lock screen interface 1-2 to the lock screen interface 1-4 can all display icons such as a signal icon, a power icon, a network status icon, a camera, time, and the like as shown in the lock screen interface 1-1, and a notification bar. Figure 1 Figure 1 The notification information displayed by the notification bar can be divided into sensitive notification information and non-sensitive notification information. The sensitive notification information refers to notification information related to user privacy and data security, such as short message content, the number of missed calls, chat information of a social application, and the like. The non-sensitive information does not involve user privacy and data security, for example, the number of missed calls, the number of unread short messages, weather warning information, news content, and the like.

[0055] The notification information displayed by the notification bar can be divided into sensitive notification information and non-sensitive notification information. The sensitive notification information refers to notification information related to user privacy and data security, such as short message content, the number of missed calls, chat information of a social application, and the like. The non-sensitive information does not involve user privacy and data security, for example, the number of missed calls, the number of unread short messages, weather warning information, news content, and the like.

[0056] ​Generally, when an electronic device with a lock screen password is in a lock screen state, such as Figure 1 As shown in Figure A, for sensitive notification information, the notification bar 101 of the lock screen interface 1-1 usually only displays information such as the notification type and the number of messages. In addition, due to the size of the display area, non-sensitive notification information usually only displays part of the information, such as only the title of the news. If the user needs to process various notification messages on the lock screen interface, such as viewing the content of text messages and replying to messages, viewing the detailed information of pushed news, etc., it is necessary to enter the unlock password to release the lock screen state of the electronic device. In other words, the electronic device needs to unlock the lock screen interface if the received unlock password is verified. After the lock screen interface is unlocked, the electronic device can display the detailed information of a notification message in the notification bar, or display a user-operable interface such as the desktop, the main interface of the application, or an operable interface of the application to protect the data security and user privacy of the electronic device.

[0057] For example, Figure 2 A schematic diagram of another lock screen interface provided in an embodiment of the present application. Figure 2 The lock screen interface shown is a schematic diagram of the lock screen interface of another straight screen mobile phone. Assume that the lock screen password set by the electronic device includes a fingerprint password, such as Figure 2 As shown in Figure 1-1, the lock screen interface 2-1 may include, in addition to the content shown in the lock screen interface 1-1, such as the notification bar 201, a fingerprint unlocking control 202. The fingerprint unlocking control 202 is used to detect the user's fingerprint information and verify it. When a click operation is received for the sports health notification information in the notification bar 201, in response to the click operation, the electronic device may output a prompt message in the lock screen interface to prompt the user to enter the unlocking password. For example, the electronic device may Figure 2 In the lock screen interface 2-2 shown in Figure B, a prompt box 203 is output to display the prompt message "Please unlock and view". When the electronic device detects a touch operation on the fingerprint unlocking control 202, it can respond to the touch operation, identify the user's fingerprint information based on the touch operation, and verify whether it matches the fingerprint password. If the fingerprint information fails to pass the verification, the electronic device still displays the lock screen interface 2-1, and does not display the sports health application interface. If the fingerprint information passes the verification, the electronic device can jump to the sports health application interface to display the details of the sports health notification information. For example, the sports health application interface can be as follows Figure 2 The application interface 2-3 shown in Figure C is a user-operable interface for sports health. In the application interface 2-3, the details of the sports health notification information in the notification bar and other application information can be displayed. For example, information such as the number of steps today can be displayed.

[0058] It can be seen that for the electronic device with the lock screen password, even if the touch operation on certain information is received in the lock screen interface, the application interface corresponding to the information will not be jumped to, and the application interface corresponding to the information will be jumped to only when the password verification is passed, so that the user can view the related information of the application. Such an operation mode is relatively cumbersome, affects the user experience, and increases the power consumption of the electronic device to some extent.

[0059] In view of this, the embodiments of the present application provide a lock screen display method and an electronic device, which can display the card interface of the application on the display interface of the lock screen application, thereby simplifying the operation of switching from the lock screen interface to the user operable interface, improving the user experience, and reducing the power consumption of the device to some extent.

[0060] The premise of implementing the embodiments of the present application is that the lock screen application is registered as a display application in a card service system (card kit), and the card interface of each application is registered in the card service system. In this way, the lock screen application can obtain the card interface of the registered application from the card service system, and display the card interface of the application on the display interface of the lock screen application.

[0061] The card service system is a system service running in the application program framework layer of the electronic device, which can uniformly manage the card interface of each application registered therein, and provide the registered card interface to the display application. The card service system includes one or more software development kits (SDKs), and the SDK of the card service system can provide the application that has integrated the SDK with the library file, application programming interface (API), or function module of the card service system, and other development kits. Different types of SDKs of the card service system can help the application to realize different functions. For example, one SDK in the card service system can enable the application that has integrated this SDK to be registered as a display application of the card service system. For another example, another SDK in the card service system can enable the application that has integrated this SDK to register multiple card interfaces thereof in the card service system.

[0062] In the embodiments of the present application, the lock screen application integrates one SDK of the card service system, and is registered as a display application of the card service system. In this way, the card service system can provide the lock screen application with the card interface of the application registered therein; correspondingly, the lock screen application can obtain the card interface of the application from the card service system, and display it on the display interface.

[0063] In the embodiments of the present application, each application can integrate another SDK of the card service system, and register the card interface of the application to the card service system, so as to become a registered application of the card service system. The above-mentioned each application can include system applications such as weather, clock, sports health, and map, and third-party applications such as news application, music application, and social application. In this way, the card service system stores the card interface of the registered application, and can also push the card interface of the registered application to the lock screen application. The registration of the card interface of the application to the card service system means that the registration data of the card interface of the application is stored in the card service system. The registration data of the card interface can include layout, display content, privacy permission, and update strategy of the card interface.

[0064] The card interface of the application means that the user operable interface of the application is designed based on the SDK of the card service system, and is used to directly display part or all of the application information of the application on the display interface of the lock screen application. One application can include multiple card interfaces, and the different card interfaces can be switched. The card interface of the application displayed on the display interface of the lock screen application can provide the related information of the application to the user, so as to conveniently view the related information of the application by the user in the case that the electronic device is in the lock screen state, thereby improving the interactivity and use convenience of the electronic device. Optionally, the card interface of the application can also be called application card.

[0065] For example, the interaction among the card service system, the lock screen application, and the registered application can be as shown in Figure 3 For example, the interaction among the card service system, the lock screen application, and the registered application can be as shown in Figure 3 The processes of the lock screen application and the registered application run in the application layer of the electronic device. After the lock screen application integrates one SDK of the card service system, the lock screen application is registered as a display application of the card service system. After the other applications in the electronic device except the lock screen application integrate another SDK of the card service system, the multiple card interfaces of the applications are registered to the card service system, and the applications become registered applications in the card service system. In this way, the card service system can push the card interfaces of the registered applications to the lock screen application, and accordingly, the lock screen application can acquire the multiple card interfaces of the registered applications from the card service system, and display the card interfaces on the display interface.

[0066] For example, when the electronic device installs the application 1 of the SDK of the integrated card service system, the application 1 can register its multiple card interfaces to the card service system, and after the registration is successful, the application 1 can be called as a registered application in the card service system. Wherein, the successful registration of the multiple card interfaces of the application 1 to the card service system means that the application 1 adds the registration data of the multiple card interfaces of the application 1, such as the layout, display content, privacy permission, update strategy and other information of the card interface, to the card service system, so that the card service system can push the card interface of the application 1 to the lock screen application, and correspondingly, the lock screen application can obtain the card interface of the application 1 from the card service system. Optionally, the application 1 can also send the update data of the card interface of the application 1 to the card service system, and the card service system pushes the update data to the lock screen application, so that the lock screen application can update the card interface of the application 1.

[0067] For example, it is assumed that the first application and the second application are two registered applications in the card service system, and the multiple card interfaces of the first application and the multiple card interfaces of the second application have been registered to the card service system. As shown in FIG. 4A, when the electronic device receives a wake-up instruction, the lock screen application can be started, and the lock screen interface 4-1 can be output on the display interface of the lock screen application. As shown in FIG. 4B, on the lock screen interface 4-2, the first sliding operation 410 can be received, and the lock screen application responds to the first sliding operation 410 to obtain the preset card interface of the first application from the card service system, and switches the display interface from the lock screen interface 4-2 to the preset card interface of the first application, for example, as shown in the card interface 4-3 of FIG. 4C. Wherein, the direction of the first sliding operation 410 can be a left sliding operation from the position 411 to the position 412. As shown in FIG. 4C, it is assumed that the first application is a sports health application, and the card interface 4-3 includes the application information of the sports health application. Figure 4 Figure 4 As shown in FIG. 4D, on the preset card interface of the first application, for example, in the card interface 4-4, the second sliding operation 420 can be received, and the direction of the second sliding operation 420 is consistent with the direction of the first sliding operation 410. The lock screen application responds to the second sliding operation 420 to obtain the preset card interface of the second application from the card service system, and switches the display interface from the preset card interface of the first application to the preset card interface of the second application, for example, as shown in FIG. 4D and FIG. 4E, the card interface 4-4 is switched to the card interface 4-5, and the card interface 4-5 can include the application information of the news application, as shown in FIG. 4E. Figure 4 Figure 4

[0068] As shown in FIG. 4D, on the preset card interface of the first application, for example, in the card interface 4-4, the second sliding operation 420 can be received, and the direction of the second sliding operation 420 is consistent with the direction of the first sliding operation 410. The lock screen application responds to the second sliding operation 420 to obtain the preset card interface of the second application from the card service system, and switches the display interface from the preset card interface of the first application to the preset card interface of the second application, for example, as shown in FIG. 4D and FIG. 4E, the card interface 4-4 is switched to the card interface 4-5, and the card interface 4-5 can include the application information of the news application, as shown in FIG. 4E. Figure 4 Figure 4 Figure 4

[0069] ​​​​​​The preset card interface of the first application is one of multiple card interfaces of the first application, and the preset card interface of the second application is one of multiple card interfaces of the second application.

[0070] Optionally, if a third sliding operation is received in the preset card interface of the second application, the third sliding operation is opposite to the first sliding operation and opposite to the second sliding operation. For example, when the first sliding operation and the second sliding operation are both left sliding operations, the third sliding operation can be a right sliding operation. The lock screen application switches the display interface from the card interface of the second application to the card interface of the first application in response to the third sliding operation, for example, from the card interface 4-3 in FIG. 4 to the card interface 4-1 in FIG. 4. Similarly, in the preset card interface of the first application, when a fourth sliding operation opposite to the first sliding operation is received, the display interface of the lock screen application is switched from the preset card interface of the first application to the lock screen interface in response to the fourth sliding operation, for example, from the card interface 4-3 in FIG. 4 to the lock screen interface 4-1 in FIG. 4. Figure 4 Figure 4

[0071] In the following, a lock screen display method provided by an embodiment of the present application is introduced with reference to Figure 5 FIG. 4.

[0072] As shown in Figure 5 , the lock screen display method can include but is not limited to the following steps:

[0073] S501, the lock screen application receives a lock screen application starting instruction, and outputs a lock screen interface in the display interface of the lock screen application.

[0074] The lock screen application starting instruction is a starting instruction sent by the electronic device to the lock screen application after receiving a wake-up instruction. The lock screen application starts immediately in response to the lock screen application starting instruction, and outputs a lock screen interface in the display interface. The wake-up instruction for the electronic device can include a starting instruction, an instruction to turn on the screen, etc. For example, the electronic device can be configured with a power button, and when receiving a click operation of the power button by the user, the electronic device can recognize it as a wake-up instruction. For another example, the electronic device can recognize a click operation of the screen by the user as a wake-up instruction when receiving it.

[0075] ​​The lock screen application integrates an SDK of the card service system. After integrating the SDK, the lock screen application has the function of obtaining the registered card interface from the card service system and displaying the obtained card interface on the display interface. Further, when the lock screen application is registered as a display application of the card service system, the lock screen application can perform the above function. Optionally, when the electronic device is started for the first time, such as when the electronic device is started for the first time, the lock screen application is registered as the card display application corresponding to the card service system. In this way, the card service system can provide the lock screen application with the card interface registered in the card service system. Correspondingly, the lock screen application can obtain the card interface from the card service system and display it on the display interface.

[0076] For example, the lock screen interface output on the display interface of the lock screen application usually displays the status bar information, such as the signal icon, the power icon, the network status icon, etc. The lock screen interface also displays the time information and the date information. The lock screen interface also displays the notification bar, which is used to display the system notification, the application notification, and other notification information. If the electronic device is set with a lock screen password, the lock screen interface can also display the fingerprint unlocking control for detecting the fingerprint information of the user and performing verification. For example, the lock screen interface can be as shown in the lock screen interface 2-1 of the lock screen application A. Figure 2

[0077] S502, in response to receiving the first sliding operation on the lock screen interface, the lock screen application obtains the preset card interface of the first application from the card service system, and switches the display interface of the lock screen application from the lock screen interface to the preset card interface of the first application.

[0078] The starting position of the first sliding operation can be any point on the lock screen interface, and the ending position of the first sliding operation is any point different from the starting position. Optionally, the direction of the first sliding operation is from the starting position to the left side of the starting position, and the ending position of the first sliding operation is any point on the left side of the starting position. In other words, the first sliding operation is a left sliding operation of the user on the lock screen interface of the lock screen application. For example, the first sliding operation can be as shown in the first sliding operation 410 of the lock screen application B, and the direction is from the position 411 to the position 412. The position 411 and the position 412 can not be on the same horizontal line, and the position 412 needs to satisfy the left side of the position 411. Figure 4

[0079] ​​The first application can be a system application in the electronic device, such as an application of short message, telephone, clock, weather, sports health, browser, application store, and the like; or a third-party application downloaded by the electronic device, such as a shopping application, a social application, a navigation application, and the like. The first application integrates an SDK of the card service system, and based on the SDK, determines a plurality of card interfaces displayed on the display interface of the lock screen application, such as a layout, display content, privacy permission, and the like of the plurality of card interfaces.

[0080] The preset card interface of the first application is one of the plurality of card interfaces of the first application. The preset card interface of the first application is the first card interface displayed by default on the display interface of the lock screen application among the plurality of card interfaces of the first application.

[0081] In a possible implementation, the electronic device can obtain, from an installation package of the first application, registration data of the plurality of card interfaces of the first application. The plurality of card interfaces of the first application include the preset card interface of the first application. Based on the registration data of the card interface of the first application, the plurality of card interfaces of the first application can be registered in the card service system. In this way, the card service system can save the plurality of card interfaces of the first application, and can also push the plurality of card interfaces of the first application to the lock screen application, so that the lock screen application can display the card interface of the first application on the display interface thereof.

[0082] For example, assuming that the first application is sports health, when the electronic device receives a first sliding operation as shown in B of FIG. 4A on the lock screen interface of the lock screen application, the lock screen application can be controlled to obtain, from the card service system, the preset card interface of the first application, and switch the display interface of the lock screen application from the current lock screen interface to the preset card interface of the first application. For example, as shown in C of FIG. 4A, the lock screen interface 4-2 can be switched to the card interface 4-3. The preset card interface of the first application can include a plurality of application information of the first application, and show part or all of the functions that can be implemented by the first application. For example, as shown in D of FIG. 4A, assuming that the first application is sports health, the preset card interface of the first application can be the home page of sports health, and include a plurality of information such as today's step count, activity consumption, outdoor running, and the like. Figure 4 Figure 4 Figure 4

[0083] It should be noted that the card interface of the first application generally does not show application information related to user privacy and important data, so as to protect the privacy and data security of the user.

[0084] ​​​Optionally, the first application can update the content included in the card interface thereof, and generate update data. The first application can send the update data to the card service system, and the card service system can push the update data to the lock screen application. Thus, after receiving the update data of the first application, the lock screen application can update the card interface of the first application. For example, after receiving the update data of the preset card interface of the first application, the card service system can push the update data of the preset card interface of the first application to the lock screen application, and the lock screen application can update the preset card interface of the first application based on the update data. In this way, when the lock screen application displays the preset card interface of the application, the latest information can be displayed, so that the user can obtain the latest information.

[0085] In a possible implementation, the preset card interface of the first application can include a first touch control. When the preset card interface of the first application receives a touch operation on the first touch control, the lock screen application can obtain, in response to the touch operation, a card interface corresponding to the first touch control (which can be referred to as a target card interface of the first application) from the plurality of card interfaces of the first application that have been registered in the card service system, and switch the display interface of the lock screen application from the preset card interface of the first application to the target card interface of the first application. The target card interface of the first application is one of the plurality of card interfaces of the first application and corresponds to the first touch control.

[0086] For example, the preset card interface of the first application is a card interface 6-1 of the application A as shown in FIG. 6A, which is a card interface of sports health. The first touch control can be a "sports" control shown in the card interface 6-1. In response to a touch operation 610 on the "sports" control, the display interface of the lock screen application is switched from the card interface 6-1 to a card interface 6-2 as shown in FIG. 6B. Figure 6 Figure 6 For example, the preset card interface of the first application is a card interface 6-1 of the application A as shown in FIG. 6A, which is a card interface of sports health. The first touch control can be a "sports" control shown in the card interface 6-1. In response to a touch operation 610 on the "sports" control, the display interface of the lock screen application is switched from the card interface 6-1 to a card interface 6-2 as shown in FIG. 6B. Figure 6

[0087] Optionally, in the target card interface of the first application as shown in FIG. 6B, other operations of the user, such as a click operation or a sliding operation, can also be received. In response to the other operations, if the lock screen application can obtain, from the card service system, a card interface corresponding to the other operations, the lock screen application can display the card interface corresponding to the other operations on the display interface thereof, so as to enable the user to browse more application information of the first application. Figure 6

[0088] ​​​It can be seen that the first application can be displayed on the display interface of the lock screen application without inputting the unlocking password, thereby simplifying the operation process of switching from the lock screen interface to the operation interface of the application, improving the convenience of the user in viewing the application information, and reducing the power consumption speed of the electronic device to a certain extent.

[0089] In a possible implementation, the preset card interface of the first application can include a second touch control. The second touch control can be a control related to user privacy information or data security. If the electronic device is provided with a lock screen password such as a digital password, in response to a click operation on the second touch control, an unlocking box can be output in the preset card interface of the first application, for inputting and verifying the unlocking password of the user. Alternatively, when the electronic device is provided with a lock screen password such as a face recognition password or a fingerprint password, in response to a click operation on the second touch control, the electronic device can trigger face recognition or fingerprint recognition, so as to quickly verify the face information of the user or the fingerprint information input by the user. In the case where the input unlocking password is verified, the electronic device can jump to display the application interface of the first application, and the application interface is the interface corresponding to the second touch operation. In this way, after receiving the click operation of the user on the second touch control, the electronic device can be quickly unlocked and jump to the application interface, thereby increasing the content continuity between the card interface and the application interface, and improving the user experience.

[0090] In a possible implementation, if a sliding operation opposite to the first sliding operation direction, such as a fourth sliding operation, is received in the preset card interface of the first application, the lock screen application can switch the display interface from the preset card interface of the first application to the lock screen interface of the lock screen application in response to the fourth sliding operation. For example, if a fourth sliding operation opposite to the first sliding operation direction is received in the card interface 4-3, the display interface of the lock screen application can be switched back to the lock screen interface 4-1 from the card interface 4-3 as shown in Figure 4 .

[0091] It can be seen that the interface displayed on the display interface of the lock screen application can be switched between the lock screen interface and the preset card interface of the first application by responding to the sliding operation in different directions such as left sliding and right sliding of the user.

[0092] In a possible implementation, the display interface of the lock screen application and the card interface of the registered application registered in the card service system are implemented by a view and a view container (ViewGroup). The lock screen application and the registered application integrate the SDK of the card service system, and the view file of the interface is written based on the preset unified standard in the SDK. When the registered application is registered in the card service system, the card service system can add the view file of the card interface of the registered application to the view file of the display interface of the lock screen application, for example, to the ViewGroup in the view file, so that the card interface of the registered application can be displayed on the display interface of the lock screen application.

[0093] S503, in response to receiving the second sliding operation on the preset card interface of the first application, the lock screen application acquires the preset card interface of the second application from the card service system, and switches the display interface of the lock screen application from the preset card interface of the first application to the preset card interface of the second application.

[0094] The second application is an application different from the first application, which can be a system application in the electronic device, such as an application of short message, telephone, clock, weather, sports health, browser, and application store; or a third-party application downloaded by the electronic device, such as a shopping application, a social application, and a navigation application. The second application integrates the SDK of the card service system, and determines, based on the SDK, a plurality of card interfaces displayed on the display interface of the lock screen application, such as the layout, display content, and privacy permission of the plurality of card interfaces.

[0095] The preset card interface of the second application is one of the plurality of card interfaces of the second application. The preset card interface of the second application is the first card interface of the plurality of card interfaces of the second application, which is displayed on the display interface of the lock screen application by default.

[0096] The direction of the second sliding operation is consistent with the direction of the first sliding operation. Optionally, if the direction of the first sliding operation is from right to left, the direction of the second sliding operation is also from right to left. In other words, when the first sliding operation is a left sliding operation, the second sliding operation is also a left sliding operation.

[0097] For example, assuming that the first application is sports health and the second application is a news application, the preset card interface of the first application can be shown as the card interface 6-1 shown in FIG. 6A, or can be shown as the card interface 4-4 shown in FIG. 4D. Figure 6 Figure 4 For example, on the card interface 4-4, the second sliding operation of the user can be received, as shown in FIG. 4E. Figure 4 ​The second sliding operation 420 shown in FIG. 4D. The second sliding operation can be a left sliding operation, which has the same direction as the first sliding operation. In response to the second sliding operation, the display interface of the lock screen application switches from the preset card interface of the first application to the preset card interface of the second application. The preset card interface of the second application can be as shown in Figure 4 The card interface 4-5 shown in FIG. 4E can include multiple pieces of news information.

[0098] In a possible implementation, on the target card interface of the first application, a sliding operation in the same direction as the first sliding operation can be received, and in response to the sliding operation, the lock screen application can switch its display interface from the target card interface of the first application to the preset card interface of the second application. For example, the target card interface of the first application can be as shown in Figure 6 The card interface 6-2 shown in FIG. 6B, that is Figure 7 The card interface 7-1 shown in FIG. 7A. The preset card interface of the second application can be as shown in Figure 7 The card interface 7-2 shown in FIG. 7B. In response to a sliding operation 730 as shown in Figure 7 In response to the sliding operation 710 shown in FIG. 7A, the display interface of the lock screen application can switch from the card interface 7-1 to the card interface 7-2.

[0099] It can be seen that, from any one of multiple card interfaces of an application, in response to a sliding operation of a user, the card interface of the application can be switched to a preset card interface of another application. In other words, the sliding operation can control switching between card interfaces of different applications.

[0100] In a possible implementation, a click operation on a touch control in the preset card interface of the second application is received, and in response to the click operation on the touch control, the display interface of the lock screen application can switch from the preset card interface of the second application to a target card interface of the second application. For example, the touch control can be a “news video” control as shown in Figure 7 In response to a click operation on the touch control, the news video can be played in the target card interface of the second application. For another example, the touch control can be a “local” control as shown in Figure 7 In response to a click operation 720 on the “local” control in the card interface 7-2 shown in FIG. 7B, the display interface of the lock screen application can switch to the target card interface of the second application. The target card interface of the second application can be as shown in Figure 7 The card interface 7-3 shown in FIG. 7C can include local news of a region to which the electronic device belongs.

[0101] The electronic device may obtain registration data for the second application's various card interfaces from the second application's installation package. The various card interfaces of the second application include a preset card interface of the second application. Based on the registration data for the second application's card interface, the various card interfaces of the second application may be registered with the card service system. In this way, the card service system may save the various card interfaces of the second application and may also push the various card interfaces of the second application to the lock screen application, so that the lock screen application may display the card interfaces of the second application on its display interface.

[0102] In one possible implementation, the electronic device may provide a lock screen application settings interface so that the user can set the card interface displayed on the lock screen application display interface. When the lock screen interface receives the unlock password for the lock screen application and the unlock password is verified, the electronic device may switch from the lock screen application display interface to the electronic device desktop.

[0103] Optionally, the display interface of the lock screen application can display preset card interfaces of multiple applications. For the sake of simplicity, the embodiment of the present application is described by taking the display of preset card interfaces of two applications, the first application and the second application, as an example.

[0104] For example, see Figure 8 , Figure 8 This is a schematic diagram of a lock screen application setting interface provided in an embodiment of the present application. Figure 8 As shown in Figure A, the desktop 8-1 of the electronic device may include phone, contacts, text messages, settings, and application icons of application 1 to application 12. When a first operation is received on the application icon of the settings, such as a click operation on the application icon of the settings, the electronic device may switch from the desktop to the system settings interface 8-2 in response to the first operation. The system settings interface 8-2 includes setting controls corresponding to the lock screen application, such as Figure 8 As shown in B, the "lock screen card" represents the setting control 810 corresponding to the lock screen application. When a click operation for the setting control 810 is received in the system setting interface 8-2, in response to the second operation, the electronic device may display the following Figure 8 The setting interface 8-3 shown in Figure C is a setting interface corresponding to the lock screen application, which includes an application card sorting area 820.

[0105] Among them, the application card sorting area 820 is used to display thumbnails of the preset card interfaces of M applications that have been registered in the card service system. Exemplarily, when the first application registers its multiple card interfaces to the card service system, the card service system can push the multiple card interfaces of the first application (including the preset card interface of the first application) to the lock screen application. In this way, the lock screen application can generate a thumbnail of the preset card interface of the first application based on the obtained preset card interface of the first application, which can be simply referred to as the thumbnail of the first application. The thumbnail of the first application can be used to refer to all card interfaces of the first application. When the thumbnail of the first application is saved in the application card sorting area 820, it can indicate that all card interfaces of the first application can be added to the application card sorting area 820. The order of the thumbnails represents the order in which the preset card interfaces of M different applications are displayed on the display interface of the lock screen application. Among them, M is an integer greater than or equal to 1.

[0106] Optionally, the M applications may include a first application and a second application. Figure 8 As shown in C, abbreviated Figure 1 It is the thumbnail of the preset card interface of the first application. Figure 2 In the application card sorting area 820, a sorting operation for the first application and the second application can be received. In response to the sorting operation, the thumbnail can be Figure 1 The display order is set to the first place (indicated by NO.1), and the abbreviation Figure 2 Setting the display order of the first application to the second position (indicated by NO.2) indicates that the first application is set as the display interface in response to the first sliding operation, and the second application is set as the display interface in response to the second sliding operation. In other words, in the display interface of the lock screen application, in response to the first sliding operation, the lock screen application can switch from the lock screen interface to the preset card interface of the first application; in response to the second sliding operation, the lock screen application can switch from the preset card interface of the first application to the preset card interface of the second application.

[0107] Optionally, if a third sliding operation in the opposite direction of the second sliding operation is received on the preset card interface of the second application, based on the display order shown in the application card sorting area 820, in response to the third sliding operation, the display interface of the lock screen application can be switched from the preset card interface of the second application to the preset card interface of the first application.

[0108] Optionally, if the fourth sliding operation received on the preset card interface of the first application is in the opposite direction of the first sliding operation, based on the display order shown in the application card sorting area 820, the display interface of the lock screen application can be switched from the preset card interface of the first application to the lock screen interface.

[0109] In one possible implementation, seeFigure 9 Another setting interface of the lock screen application is shown in FIG. 9A. The application card sorting area of the lock screen application can be referred to as a candidate list, which is used to store the thumbnails of the card interfaces of the applications that have registered in the card service system. The lock screen application can obtain the preset card interface of each application from the card service system, and generate the thumbnail of the preset card interface of each application. Further, the lock screen application can store the thumbnails of the applications in the candidate list of the lock screen application. For example, the thumbnail of the first application can be used to represent all the card interfaces of the first application. The thumbnail of the first application stored in the candidate list can indicate that all the card interfaces of the first application have been added to the candidate list. Figure 9

[0110] Optionally, as shown in FIG. 9A, the lock screen application can further include a service list, which is used to store the thumbnails of the applications whose card interfaces are displayed on the display interface of the lock screen application. For example, the candidate list and the service list of the lock screen application can be displayed on the setting interface of the lock screen application. Assuming that the thumbnails of the applications 1, 2, 3 and 4 are included in the candidate list. When a touch operation on the thumbnail of the application 2 is received, the thumbnail of the application 2 is added from the candidate list to the service list in response to the touch operation. In this way, when the thumbnail of the application 2 is stored in the service list, it indicates that the multiple card interfaces of the application 2 can be displayed on the display interface of the lock screen application. Figure 9

[0111] For example, as shown in FIG. 9A, the thumbnails of the applications 1-4 can be represented by the labels ①-④, respectively. Since the applications 1-4 have registered their multiple card interfaces in the card service system, the thumbnails of the applications 1-4 are included in the candidate list of the lock screen application. On the setting interface 9-1 of FIG. 9A, a touch operation of a user can be received, such as the long-press drag operation 901 shown in FIG. 9B. The long-press drag operation 901 is an operation from the area of the application 2 in the candidate list to the area of the service list. In response to the long-press drag operation 901, the lock screen application can insert the thumbnail of the application 2 into the service list, as shown in the setting interface 9-2 of FIG. 9B. The thumbnail ② of the application 2 can be displayed in the service list. In this way, the preset card interface of the application 2 can be displayed on the display interface of the lock screen application. Figure 9 Figure 9 Figure 9 Figure 9 Figure 9

[0112] ​​​​​​​For example, assuming Figure 9 The applications 1 to 4 shown represent the first to fourth applications that have registered multiple card interfaces to the card service system. The first application is sports and health, the second application is a news application, the third application is a weather application, and the fourth application is a music application. Figure 9 In the setting interface shown in A, the preset card interface of the first application to the preset card interface of the fourth application are set, along the same sliding direction (such as the direction of the first sliding operation), and the display order is the first to the fourth respectively, as shown in FIG. Figure 10 As shown, the display interface of the lock screen application can switch between the lock screen interface of the lock screen application, the preset card interface of the first application, and the preset card interface of the fourth application in response to the user's left or right swipe operation, so that the user can view application information of multiple applications and use corresponding application functions. For example, if the display interface of the lock screen application currently displays the preset card interface of the third application, in response to a left swipe operation received on the preset card interface of the third application, the display interface of the lock screen application switches from the preset card interface of the third application to the preset card interface of the fourth application; in response to a right swipe operation received on the preset card interface of the fourth application, the display interface of the lock screen application switches from the preset card interface of the fourth application to the preset card interface of the third application.

[0113] It can be seen that the electronic device can provide the user with a candidate list and a service list, so that the user can intuitively and conveniently manage the card interface that needs to be displayed on the display interface of the lock screen application.

[0114] In a possible implementation, in the setting system of the electronic device, the setting of the lock screen application can be implemented through a Content Provider mechanism. The Content Provider is mainly used to encapsulate data in a relatively safe manner, and provides a simple processing mechanism and a unified access interface for calling by other programs. Through the Content Provider, data sharing and exchange can be implemented between different applications. In the embodiment of the present application, the thumbnail of the card interface of the application registered in the card service system can be saved in the database of the display application, that is, the database of the lock screen application. The lock screen application provides a Content Provider to the setting system, in which how to query, insert, update and delete data in the database of the lock screen application is defined, so that the setting system can implement functions such as querying, inserting, updating and deleting data in the lock screen application based on the Content Provider. For example, the setting system can add the thumbnail of the application, delete the thumbnail of the application, insert the thumbnail of the application, sort the thumbnails of multiple applications and the like in the service list of the lock screen application based on the Content Provider. For example, based on the Content Provider, as shown in Figure 9 , the display order of the preset card interface of the first application and the preset card interface of the second application can be set in the setting of the lock screen application.

[0115] Through the lock screen display method provided in the embodiment of the present application, in the case that the electronic device is in the lock screen state, the card interfaces of multiple applications can be displayed, so that the user can view the application information of the multiple applications without going through the unlocking step. In this way, not only the operation process of switching from the lock screen interface to the user operable interface of each application can be simplified, and the power consumption of the electronic device can be saved, but also the content displayed on the display interface of the lock screen application can be enriched, and the user experience is greatly improved.

[0116] In a possible implementation, the lock screen display method provided in the embodiment of the present application can also be applied to the desktop of the electronic device. In this way, when the sliding operation of the user is received on the main interface of the desktop, the electronic device can switch the currently displayed desktop to the preset card interface of the first application. For example, refer to Figure 11 , a schematic diagram of an application scenario provided in the embodiment of the present application. As shown in Figure 11 , the first application to the fourth application are all applications registered in the card service system. Through the response to the left sliding operation or the right sliding operation of the user, the interface displayed by the electronic device can be switched between the desktop, the preset card interface of the first application to the preset card interface of the fourth application.

[0117] The desktop of the electronic device can be a system application, integrate the SDK of the card service system, and be registered as a display application of the card service system. Optionally, the desktop writes a view file of a display interface based on a preset unified standard in the SDK, and adds a view file of a card interface of an application obtained from the card service system to a ViewGroup in the view file of the display interface. In this way, the desktop can obtain card interfaces of various applications that have registered multiple card interfaces to the card service system from the card service system, such as a preset card interface of a first application, and display the card interfaces of the applications on the display interface of the desktop.

[0118] Based on the same inventive concept, the specific implementation manner of displaying the card interfaces of the applications on the desktop can be referred to the method shown in Figure 5 , which will not be described here again.

[0119] Please refer to Figure 12 , which is a flowchart of another lock screen display method provided by the embodiments of the present application. As shown in Figure 12 , taking a first application as an example, the method can include but is not limited to the following steps:

[0120] S1, the lock screen application is registered as a display application of the card service system.

[0121] When the electronic device is started for the first time, such as when the electronic device is started for the first time, the lock screen application can be automatically registered as a card display application corresponding to the card service system.

[0122] The lock screen application can be the lock screen application shown in S501 in Figure 5 . The card service system can be the card service system shown in Figure 3 .

[0123] S2, multiple card interfaces of the first application are registered to the card service system.

[0124] The first application is an application that integrates the SDK of the card service system. The card interfaces of the first application include multiple card interfaces such as a preset card interface of the first application. The first application can be the first application in S502 in Figure 5 .

[0125] During the process of downloading and installing the first application by the electronic device, the first application is registered to the card service system, so that the card service system can identify and manage the multiple card interfaces of the first application. For example, after the first application registers the multiple card interfaces to the card service system, the multiple card interfaces of the first application can be saved in the card service system, and the multiple card interfaces of the first application can also be pushed to the lock screen application, so that the lock screen application can display the card interfaces of the first application on the display interface thereof.

[0126] S3, the electronic device initiates a lock screen application starting instruction to the lock screen application. Accordingly, the lock screen application receives the lock screen application starting instruction and outputs a lock screen interface on the display interface of the lock screen application.

[0127] The electronic device can generate the lock screen application starting instruction to start the lock screen application after receiving the wake-up instruction. The wake-up instruction can include a power-on instruction, an instruction to turn on the screen, etc. For example, the lock screen interface output on the display interface of the lock screen application can be as shown in the lock screen interface 2-1 of FIG. 2A, or as shown in the lock screen interface 4-1 of FIG. 4A. Figure 2 Figure 4

[0128] S4, the lock screen application receives a first sliding operation on the display interface of the lock screen application.

[0129] The first sliding operation can be the first sliding operation 410 as shown in FIG. 4B. Figure 4

[0130] S5, the lock screen application obtains a preset card interface of a first application from a card service system.

[0131] Specifically, reference can be made to the related description in S502 as shown in FIG. 5B. Figure 5

[0132] S6, the display interface of the lock screen application switches from the lock screen interface to the preset card interface of the first application.

[0133] For example, assuming that the first application is a sports health application, when the electronic device receives the first sliding operation 410 as shown in FIG. 4B on the lock screen interface of the lock screen application, the lock screen application can obtain the preset card interface of the first application from the card service system, and switch the display interface of the lock screen application from the current lock screen interface to the preset card interface of the first application, for example, as shown in FIGS. 4B and 4C, from the lock screen interface 4-2 to the card interface 4-3. Figure 4 Figure 4

[0134] S7, the lock screen application receives a first touch operation on a first touch control in the preset card interface of the first application.

[0135] The first touch control is a control on the preset card interface of the first application. For example, the first touch control can be the “local” control as shown in FIG. 4B, and the first touch operation can be a touch operation on the “local” control. Figure 7

[0136] S8, the lock screen application obtains a target card interface of the first application from the card service system.

[0137] ​​​​​​​In response to the first touch operation on the first touch control, the lock screen application can acquire the target card interface of the first application from the card service system. The target card interface of the first application is a card interface corresponding to the first touch control in the plurality of card interfaces of the first application. For example, in the card interface 6-1 shown in FIG. 6A, in response to the first touch operation on the "sports" control, the lock screen application acquires the card interface 6-2 corresponding to the "sports" control from the card service system. Figure 6 In response to the first touch operation on the first touch control, the lock screen application can acquire the target card interface of the first application from the card service system. The target card interface of the first application is a card interface corresponding to the first touch control in the plurality of card interfaces of the first application. For example, in the card interface 6-1 shown in FIG. 6A, in response to the first touch operation on the "sports" control, the lock screen application acquires the card interface 6-2 corresponding to the "sports" control from the card service system.

[0138] S9, the display interface of the lock screen application switches from the preset card interface of the first application to the target card interface of the first application.

[0139] For example, the target card interface of the first application can be as shown in the card interface 6-2 of FIG. 6B. Figure 6

[0140] S10, the lock screen application receives a second touch operation on the second touch control in the target card interface of the first application.

[0141] The second touch control can be a control related to personal privacy or data security of the user in the target card interface of the first application. For example, the second touch control can be the "my" control as shown in FIG. 6B. The second touch operation can be a click operation on the "my" control. Figure 6

[0142] S11, the lock screen application receives and verifies the unlock password.

[0143] In response to the second touch operation on the second touch control, the electronic device can trigger an unlocking process. The unlock password can be a digital password, a gesture password, face information, or fingerprint information, etc. If the electronic device is set with a digital password or a gesture password, an input box for the unlock password can be output on the target card interface of the first application, for receiving the digital password or the gesture password input by the user. If the electronic device is set with a face recognition password, the lock screen application can call the camera to collect the face information of the user. If the electronic device is set with a fingerprint password, the lock screen application can output the fingerprint unlocking control 202 as shown in FIG. 6A on the target card interface of the first application, for receiving the fingerprint information of the user. Figure 2

[0144] S12, in response to the unlock password passing the verification, the lock screen application is exited.

[0145] ​​​In response to the unlocking password being verified, the lock screen application can control the electronic device to exit the lock screen state, i.e., the electronic device can exit the lock screen application.

[0146] S13, the first application outputs an application interface of the first application corresponding to the second touch operation on the screen of the electronic device.

[0147] In response to the unlocking password being verified, after exiting the lock screen application, the electronic device can control the first application to immediately output the application interface of the first application corresponding to the second touch operation on the screen of the electronic device, i.e., display the application interface on the screen of the electronic device.

[0148] It can be seen that, by the lock screen display method provided in the embodiments of the present application, when the electronic device is in the lock screen state, the card interface of the application can be displayed without obtaining the unlocking password, the operation process of switching from the lock screen interface to the user operable interface of each application is simplified, the power consumption of the electronic device is saved, and the content displayed on the display interface of the lock screen application can be enriched, greatly improving the user experience. Moreover, in the case that the unlocking password input by the user is verified, the electronic device can directly jump to display the application interface of the first application, and the application interface is the interface corresponding to the second touch operation. In this way, the electronic device can be quickly unlocked and jumped to the application interface, increasing the content continuity of the card interface and the application interface and improving the convenience of user use.

[0149] Next, the hardware structure of the electronic device 100 will be introduced.

[0150] Please refer to Figure 13 , Figure 13 is a structural schematic diagram of the electronic device 100 provided in the embodiments of the present application. It should be understood that the electronic device 100 can have more or fewer components than those shown in Figure 13 , can combine two or more components, or can have a different component configuration. Figure 13 The various components shown in may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0151] The electronic device 100 can 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 headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0152] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than those shown, or combine certain components, or split certain components, or different component arrangements. Figure 13 The components shown can be implemented in hardware, software, or a combination of software and hardware. Figure 13 The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0153] The processor 110 can include one or more processing units, for example: the processor 110 can 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. Different processing units can be independent devices, or can be integrated into one or more processors.

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

[0155] The processor 110 can also have internal memory for storing instructions and data. In some embodiments, the internal memory of the processor 110 is a cache memory. This memory can hold instructions or data which the processor 110 has recently accessed, or which are likely to be accessed. By holding this data in the internal memory, the processor 110 can access it more quickly than if it were stored in the external memory. This reduces the processor's 110 latency and improves the efficiency of the system.

[0156] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, among others.

[0157] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative, and does not constitute a structural limitation of the electronic device 100. In some other embodiments of the present application, the electronic device 100 can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.

[0158] The charging management module 140 is configured to receive a charging input from a charger. The charger can be a wireless charger or a wired charger.

[0159] The power management module 141 is configured to connect the battery 142 and the charging management module 140 to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160, among others.

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

[0161] The electronic device 100 implements a display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.

[0162] The display screen 194 is used to display images, videos, etc. 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 flex 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 can include 1 or N display screens 194, N being a positive integer greater than 1.

[0163] The electronic device 100 can implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.

[0164] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.

[0165] The camera 193 is used to capture still images or videos. Objects generate optical images through lenses and project them onto photosensitive elements. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.

[0166] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0167] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0168] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 100 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.

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

[0170] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various function applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application required by a function (such as a face recognition function, a fingerprint recognition function, a mobile payment function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as face information template data, fingerprint information template, etc.). In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0171] The electronic device 100 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.

[0172] The pressure sensor 180A is used to sense a pressure signal, which can be converted into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194.

[0173] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B.

[0174] The barometric sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates altitude, assists positioning and navigation by the air pressure value measured by the barometric sensor 180C.

[0175] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of a flip cover with the magnetic sensor 180D. The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of the terminal device, applied to landscape / portrait switching, pedometer, etc.

[0176] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance by infrared or laser. In some embodiments, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing when shooting a scene.

[0177] The proximity light sensor 180G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode can be an infrared light emitting diode. The electronic device 100 emits infrared light outwardly through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using the photodiode in order to automatically turn off the screen for power saving purposes. The proximity light sensor 180G can also be used for automatic unlocking and locking of the screen in a cover mode or a pocket mode.

[0178] The ambient light sensor 180L is used to sense ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust white balance when shooting. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touch.

[0179] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locking, fingerprint shooting, fingerprint answering a call, etc.

[0180] The temperature sensor 180J is configured to detect a temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy based on the temperature detected by the temperature sensor 180J.

[0181] The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 together form a touch screen, also referred to as a "touch screen". The touch sensor 180K is configured to detect a touch operation applied thereto or in the vicinity thereof. The touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0182] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a human vocal part vibration bone block.

[0183] The keys 190 include a power-on key, a volume key, and the like. The keys 190 can be mechanical keys. Alternatively, the keys 190 can be touch keys. The electronic device 100 can receive a key input and generate a key signal input related to user settings and function control of the electronic device 100.

[0184] In addition, an operating system runs on the above-mentioned components. For example, an iOS operating system, an Android open source operating system, a Windows operating system, and the like.

[0185] The operating system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. Embodiments of the present application take the Android system as an example to illustrate the software structure of the electronic device 100. It should be noted that although the embodiments of the present application take the Android system as an example for illustration, the basic principles are also applicable to electronic devices based on the iOS or Windows operating system.

[0186] Figure 14 is a software structure block diagram of the electronic device 100. The software structure adopts a layered architecture, which divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. Taking the Android system as an example, the Android system runs on the AP. In some embodiments, the Android system is divided into five layers, from top to bottom, an application layer, an application framework layer (framework), a system runtime library layer, a hardware abstraction layer (HAL), and a kernel layer (kernel).

[0187] The application layer can include a series of application packages. The application packages can include applications such as camera, calendar, news, music, message, gallery, phone, motion health, Bluetooth, video, lock screen application, and the like. The application layer can also include a system user interface (system UI) for displaying an interface of the electronic device 100, such as displaying a signal icon corresponding to a SIM card, a call interface, a lock screen interface, an application interface of an application, and the like.

[0188] The application packages can also include a lock screen application. The lock screen application is a system application of the electronic device 100 and can be displayed on a screen of the electronic device 100 when the electronic device 100 is in a lock screen state. The lock screen application can be used to display device information of the electronic device 100, such as a network status, a signal strength, a power level, and can also display basic information such as a time, a date, a system notification, or an application notification. In the present application, the lock screen application can also be used to interact with other applications, for example, to display a card interface of another application or another system application, such as a preset card interface of a first application.

[0189] The application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer. The application framework layer includes some pre-defined functions. For example, the application framework layer can include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, a card service system, and the like. The telephony manager is used to provide a call function of the electronic device 100, such as management of a call state (including call connection, call hang-up, and the like).

[0190] In the present application, the card service system can uniformly manage card interfaces of various applications registered therein, and control the display of the card interfaces on a display interface of the lock screen application. For example, the card service system can control the display interface of the lock screen application to display a card interface of a certain application.

[0191] The system runtime library layer is divided into two parts, namely a C / C++ library and an Android runtime library. The Android runtime includes a runtime environment and is mainly responsible for scheduling and management of the Android system. The C / C++ library mainly includes a media framework, a surface manager, a three-dimensional graphics processing library (for example, OpenGL ES), a two-dimensional (2D) graphics engine (for example, SGL), and the like.

[0192] The surface manager is configured to manage the display subsystem and provide 2D and 3D layer fusion for multiple applications. The 3D graphics processing library is configured to implement 3D graphics drawing, image rendering, composition and layer processing. The 2D image engine is a drawing engine for 2D drawing. In the embodiments of the present application, the 3D graphics engine and the 2D image engine can be used to render the interfaces of various applications, including the lock screen interface of the lock screen application, the preset card interface of the application, and the like.

[0193] The hardware abstraction layer is configured to isolate the application framework layer from the kernel layer, avoid over-reliance of the Android system on the kernel layer, and thus enable the development of the application framework layer to be performed without considering the driver. The hardware abstraction layer can include multiple functional modules. For example, a display HAL, a camera HAL, an audio HAL, a sensor HAL, and the like.

[0194] The kernel layer is a layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, a sensor driver, and a shared memory driver.

[0195] In addition, some embodiments of the present application provide an electronic device, which includes one or more processors and a memory. The memory is configured to store computer program code including computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the image processing method described above.

[0196] Some embodiments of the present application provide a chip system applied to an electronic device. The chip system includes at least one processor and an interface. The interface is configured to receive instructions and transmit the instructions to the at least one processor. The at least one processor executes the instructions to enable the electronic device to perform the image processing method described above. The chip system can be a modem processor or a system on chip (SOC) including a modem processor. The image processing method described above can be implemented by a modem processor.

[0197] In the above embodiments, the description of each embodiment focuses on different aspects. The parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0198] It should be noted that, for the above-mentioned method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the present application is not limited to the order of the actions described, because according to the present application, some steps can be performed in other order or at the same time. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0199] In several embodiments provided in the present application, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the division of the apparatus embodiments described above is merely illustrative, and the division of the units can be changed according to actual needs. For example, the units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0200] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0201] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0202] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc., and specifically can be a processor in the computer device) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium can include: U disk, mobile hard disk, magnetic disk, optical disk, read-only memory (ROM) or random access memory (RAM), and various program codes that can be stored in the medium.

[0203] The above embodiments are merely used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A lock screen display method, characterized in that: The method comprises: in response to a wake-up instruction of the electronic device, starting a lock screen application, and outputting a lock screen interface on a display interface of the lock screen application; receiving a first sliding operation on the lock screen interface, in response to the first sliding operation, obtaining a preset card interface of a first application from a card service system of the electronic device, and switching the display interface of the lock screen application from the lock screen interface to the preset card interface of the first application; the preset card interface of the first application is one of multiple card interfaces of the first application; receiving a second sliding operation on the preset card interface of the first application, in response to the second sliding operation, obtaining a preset card interface of a second application from the card service system, and switching the display interface of the lock screen application from the preset card interface of the first application to the preset card interface of the second application; the preset card interface of the second application is one of multiple card interfaces of the second application; wherein the sliding direction of the first sliding operation is the same as the sliding direction of the second sliding operation.

2. The method of claim 1, wherein, The method further comprises: in response to a start instruction of the electronic device, starting the card service system; registering the lock screen application as a display application of the card service system, and the card service system is configured to provide a card interface to the lock screen application.

3. The method of claim 1, wherein, The method further comprises: obtaining registration data of multiple card interfaces of the first application from an installation package of the first application; the multiple card interfaces of the first application include the preset card interface of the first application; based on the registration data of the card interface of the first application, registering the multiple card interfaces of the first application into the card service system.

4. The method of claim 3, wherein, The method further comprises: receiving a touch operation on a first touch control on the preset card interface of the first application, in response to the touch operation, obtaining a card interface corresponding to the first touch control from the multiple card interfaces of the first application registered in the card service system, and switching the display interface of the lock screen application from the preset card interface of the first application to the card interface corresponding to the first touch control.

5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: receiving a click operation on a setting control corresponding to the lock screen application on a system setting interface of the electronic device, in response to the click operation, obtaining preset card interfaces of each application of M applications registered in the card service system, and outputting a setting interface corresponding to the lock screen application, the setting interface includes an application card sorting area, and the application card sorting area displays thumbnails of the preset card interfaces of the each application in sequence; M is an integer greater than or equal to 1.

6. The method of claim 5, wherein, The M applications include the first application and the second application; The method further comprises: receiving a sorting operation on the first application and the second application on the application card sorting area, in response to the sorting operation, setting the display interface in response to the second sliding operation as the preset card interface of the second application.

7. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: The second application receives a third sliding operation on the preset card interface, and in response to the third sliding operation, the display interface of the lock screen application is switched from the preset card interface of the second application to the preset card interface of the first application, wherein the sliding direction of the third sliding operation is opposite to the sliding direction of the second sliding operation.

8. The method according to any one of claims 1 to 4, characterized in that, The method further includes: In response to receiving the update data for the preset card interface of the first application, updating the preset card interface of the first application based on the update data.

9. The method of claim 8, wherein, The response to receiving the update data for the preset card interface of the first application, updating the preset card interface of the first application based on the update data, includes: The card service system receives the update data for the preset card interface of the first application, and pushes the update data to the lock screen application; The lock screen application updates the preset card interface of the first application based on the update data.

10. An electronic device, comprising a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein, The one or more programs are stored in the memory; and the one or more processors, when executing the one or more programs, cause the electronic device to implement the method in any one of claims 1-9.

11. A chip system, characterized by The chip system includes at least one processor, a memory and an interface circuit, the memory, the interface circuit and the at least one processor are interconnected through a line, and the at least one memory stores program instructions; the program instructions are executed by the processor, so that the chip system executes the method in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the method in any one of claims 1-9.