Service card display method, electronic equipment and storage medium

CN119604840APending Publication Date: 2025-03-11HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280098581.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-07-25
Filing Date
2022-12-09
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

When existing terminal devices respond to users calling up service cards, the service information displayed is usually preset fixed services. If the services required by the user are not included, the user needs to perform additional operations to access the target service, resulting in a degraded user experience.

Method used

By implementing a service card display method on the terminal device, suitable services are recommended based on the current location and time of the device, and the services that the user is most likely to use are directly displayed, simplifying the operation process and improving the user experience.

Benefits of technology

Users do not need to switch services multiple times and can directly access the required services. The operation steps are simplified and the experience is significantly improved to meet the service needs of different scenarios and time periods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119604840A_ABST
    Figure CN119604840A_ABST
Patent Text Reader

Abstract

The invention provides a service card display method, an electronic device and a storage medium, which can recommend appropriate services to a user according to the current scene of the electronic device and the habits of the user, thereby improving the user experience. The method comprises the steps of receiving a first operation of a user in a first state; in response to the first operation, a first service card is displayed, and the first service card comprises a first target service; receiving a second operation of the user in a second state; in response to the second operation, a second service card is displayed, and the second service card comprises a second target service; wherein the first target service is different from the second target service, and in the first state and the second state, one or more items of the following information of the electronic equipment are different: the current position of the electronic equipment and the current time.
Need to check novelty before this filing date? Find Prior Art

Description

Service card display method, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on July 25, 2022, with application number 202210874976.6 and application name “Display method, electronic device and storage medium for service card”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a service card display method, electronic device, and storage medium. Background Art

[0003] With the increasing popularity of terminal devices, people often use the services provided by various applications on terminal devices to carry out various activities, such as using a QR code to take public transportation, using a scan to unlock a bicycle, or using a collection or payment code to conduct transactions.

[0004] At present, when a terminal device responds to a user's operation of calling up a service card, the service information displayed is generally a fixed service pre-installed on the terminal device. If the currently displayed service information does not include the service the user wants to use (target service), the user needs to continue to perform other operations before reaching the target service, which reduces the user's experience of using the service card.

[0005] Therefore, there is an urgent need for a service card that can intelligently recommend services to users to improve the user experience.

[0006] Summary of the Invention

[0007] The present application provides a method for displaying a service card, an electronic device, and a storage medium, which can recommend appropriate services to users based on the current scenario of the electronic device and the user's habits, thereby improving the user experience.

[0008] In a first aspect, a method for displaying a service card is provided, which is applied to an electronic device, and the method includes: receiving a first operation of a user in a first state; displaying a first service card in response to the first operation, wherein the first service card includes a first target service; receiving a second operation of the user in a second state; displaying a second service card in response to the second operation, wherein the second service card includes a second target service; wherein the first target service and the second target service are different, and one or more of the following information of the electronic device are different in the first state and the second state: the current location of the electronic device and the current time.

[0009] Among them, in the first state and the second state, the current location of the electronic device is different, that is, when the service card is called up at different locations, different services are recommended to the user; or in the first state and the second state, the location is the same but the time is different, that is, at the same place, different services are recommended to the user at different time periods. According to an embodiment of the present application, when receiving the user's operation of calling a service card, based on the current location of the electronic device and / or the current time, the service that the user is most likely to use can be recommended, so that when the user uses the service provided by the application, there is no need to go through other operations to call the corresponding service. The steps are simple, the operation is convenient, and the service page can be directly accessed, which improves the user experience.

[0010] In combination with the first aspect, in some implementations of the first aspect, the first target service includes multiple sub-services, and displaying the first service card in response to the first operation includes: displaying the first sub-service on the first service card in response to the first operation.

[0011] The first sub-service is one of the above-mentioned multiple sub-services.

[0012] This application can recommend a sub-service under the target service to the user based on the current location and / or time when the terminal device receives the user's operation of calling a service card when the target service includes multiple sub-services, so as to improve the user experience.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: receiving a third operation of the user in a third state; wherein, in the third state and the first state, one or more of the following information of the electronic device is different: the current location of the electronic device, the current time; in response to the third operation, displaying a third service card, wherein the third service card includes a second sub-service, the second sub-service is one of multiple sub-services, and the second sub-service is different from the first sub-service.

[0014] In the third state and the first state, the current location of the electronic device is different, that is, when the service card is called up at different locations, different services are recommended to the user; or in the first state and the third state, the location is the same but the time is different, that is, at the same place, different services are recommended to the user at different time periods. According to an embodiment of the present application, when a user calls a service card, a sub-service that the user is most likely to use can be recommended based on the current location of the electronic device and / or the current time, thereby improving the accuracy of the recommendation and eliminating the need for the user to re-select the corresponding sub-service under the recommended service, thereby improving the user experience.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: receiving a fourth operation of the user on the first service card; in response to the fourth operation, switching the first sub-service in the first service card to a third sub-service, wherein the third sub-service is one of multiple sub-services and is different from the first sub-service.

[0016] Based on this, the electronic device responds to the fourth operation and switches the service displayed on the current service card, so that when the user needs to use different services provided by the same service, he can quickly switch to other sub-services. The operation steps are simple, which improves the user's experience of using different sub-services.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: after displaying the first service card, receiving a fifth operation of the user on the first service card; in response to the fifth operation, switching the first target service in the first service card to a third target service.

[0018] Based on this, the electronic device responds to the fifth operation and switches the service displayed on the current service card to other services, so that when the user needs to use the services provided by different applications, he can quickly switch to other services without having to exit the current application and call the corresponding service from other applications. The operation steps are simple and can improve the user experience.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the first service card and the second service card include a first area and a second area, wherein the first area includes one or more service options, and the second area is used to display service information corresponding to the selected service option.

[0020] The service options may be service icons shown below, the first area is used to display the service icons, and the second area is used to display services recommended by the electronic device, ie, the above-mentioned service information.

[0021] It should be understood that the service options corresponding to the selected service information may not be included in the first area.

[0022] This application displays other service options on the service card. When the user is not satisfied with the service recommended by the electronic device, the user can quickly switch to the service the user expects to use through the service options displayed on the service card, thereby improving the user experience.

[0023] In combination with the first aspect, in some implementations of the first aspect, the first area includes a first sub-area and a second sub-area, the first sub-area is used to display the first type of service options, and the second sub-area is used to display the second type of service options.

[0024] In combination with the first aspect, in some implementations of the first aspect, the first category of service options are service options preset by the user, and the second category of service options are service options recommended by the electronic device to the user.

[0025] In combination with the first aspect, in some implementations of the first aspect, the service corresponding to the second-category service option is a second-category service, and the second-category service includes: a first target service, a second target service, or a third target service.

[0026] In this application, the service options pre-set by the user can be displayed on the service card each time it is called. It can be understood that the services corresponding to this type of service options are the services most frequently used by the user. Therefore, displaying the first type of service on the service card each time it is called can meet the user's needs to switch commonly used services in any scenario.

[0027] In combination with the first aspect, in certain implementations of the first aspect, the same multiple service options are included in the first service card and the second service card, and the order of the multiple service options in the first area of ​​the first service card is different from the order of the multiple service options in the first area of ​​the second service card.

[0028] In combination with the first aspect, in certain implementations of the first aspect, the service option corresponding to the first target service is at the first position of the first area of ​​the first service card, and the service option corresponding to the second target service is at the second position of the first area of ​​the first service card; the service option corresponding to the second target service is at the third position of the first area of ​​the second service card, and the service option corresponding to the first target service is at the fourth position of the first area of ​​the second service card, wherein the position of the first position in the first area is the same as the position of the third position in the first area; the position of the second position in the first area is the same as or different from the position of the fourth position in the first area.

[0029] When the electronic device recommends a service, it also displays the corresponding service option in a fixed position in the first area of ​​the service card, for example, at the far left of the first area. Therefore, the location of the service option corresponding to the service recommended by the electronic device remains the same in different scenarios. This recommendation method allows users to quickly identify the location of the service option corresponding to the service recommended by the electronic device.

[0030] In combination with the first aspect, in some implementations of the first aspect, at least one service option among the multiple service options included in the first service card and the multiple service options included in the second service card is different.

[0031] In combination with the first aspect, in some implementations of the first aspect, the multiple service options included in the first service card include a first service option, the first service option is different from the multiple service options included in the second service card, and the service corresponding to the first service option is the first target service.

[0032] In combination with the first aspect, in some implementations of the first aspect, the multiple service options included in the second service card include a second service option, the second service option is different from the multiple service options included in the first service card, and the service corresponding to the second service option is the second target service.

[0033] In combination with the first aspect, in some implementations of the first aspect, the service options include one or more of the following services: code scanning service, payment service, payment collection service, check-in service, and travel service.

[0034] In combination with the first aspect, in certain implementations of the first aspect, in the first state, the electronic device is running the first application and displays the application interface of the first application; while the electronic device displays the first service card, the electronic device continues to run the first application; the method also includes: receiving a sixth operation of the user for the first target service; in response to the sixth operation, the electronic device completes the first target service, exits the first service card, and displays the application interface of the first application.

[0035] In combination with the first aspect, in some implementations of the first aspect, the first application includes an application that supports playing video or audio content, and while the electronic device displays the first service card, the electronic device keeps the first application playing the video or audio.

[0036] In this application, when the electronic device receives an operation to call out a service card, if there is an application running in the foreground, the first service card is displayed on the currently running application without interrupting the currently running application. Moreover, when exiting the first service card, the electronic device can continue to display the application interface of the application. This method allows users to use the services provided by the service card without having to restart the previous application, thereby improving the user experience.

[0037] In combination with the first aspect, in some implementations of the first aspect, in the first state, the electronic device is in any one of the following states: screen off, screen on and locked, and screen on and unlocked.

[0038] Based on this, when users use the services provided by various applications, they do not need to unlock their electronic devices to call the corresponding services, which improves the user experience.

[0039] In a second aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store code instructions; the processor is used to run the code instructions so that the electronic device executes the method described in the first aspect or any implementation of the first aspect.

[0040] Optionally, the electronic device further includes a memory.

[0041] Optionally, the electronic device further includes a communication interface, and the processor is coupled to the communication interface.

[0042] In a third aspect, the present application provides a processor comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method of any possible implementation of the first aspect.

[0043] In a specific implementation, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, or various logic circuits. The input signal received by the input circuit may be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit may be, for example, but not limited to, output to and transmitted by a transmitter. The input circuit and the output circuit may be the same circuit, which functions as an input circuit and an output circuit at different times. This application does not limit the specific implementation of the processor and various circuits.

[0044] In a fourth aspect, the present application provides a processing device comprising a processor and a memory. The processor is configured to read instructions stored in the memory and to receive signals via a receiver and transmit signals via a transmitter to execute the method of any possible implementation of the first aspect.

[0045] Optionally, there are one or more processors and one or more memories.

[0046] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

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

[0048] The processing device in the fourth aspect mentioned above can be a chip. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.

[0049] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the computer executes the method described in the first aspect or any implementation of the first aspect.

[0050] In a sixth aspect, a computer program product comprises a computer program, which, when executed, enables a computer to execute the method as described in the first aspect or any one of the implementations of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] FIG1 is a schematic diagram of a scenario provided by an embodiment of the present application;

[0052] FIG2 is a schematic diagram of another scenario provided by an embodiment of the present application;

[0053] FIG3 is a schematic diagram of another scenario provided by an embodiment of the present application;

[0054] FIG4 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;

[0055] FIG5 is a schematic diagram of an interface of a service card provided in an embodiment of the present application;

[0056] FIG6 is a schematic diagram of an interface of another service card provided in an embodiment of the present application;

[0057] FIG7A is a schematic diagram of an interface of another service card provided in an embodiment of the present application;

[0058] FIG7B is a schematic diagram of an interface of another service card provided in an embodiment of the present application;

[0059] FIG8 is a schematic diagram of an interface of a switching service card provided in an embodiment of the present application;

[0060] FIG9 is a schematic diagram of an interface of another switching service card provided in an embodiment of the present application;

[0061] FIG10A is a schematic diagram of an interface for a process of customizing and adding a service icon according to an embodiment of the present application;

[0062] FIG10B is a schematic diagram of an interface for a custom adding process of another service icon provided in an embodiment of the present application;

[0063] 11 is a schematic diagram of an interface for calling a service card in a screen-off state of a terminal device according to an embodiment of the present application;

[0064] 12 is a schematic diagram of an interface for calling a service card in a locked screen state of a terminal device according to an embodiment of the present application;

[0065] 13 is a schematic diagram of an interface for calling a service card in a desktop state of a terminal device according to an embodiment of the present application;

[0066] 14 is a schematic diagram of an interface for calling a service card in an application running state of a terminal device according to an embodiment of the present application;

[0067] FIG15 is a schematic flow chart of a method for displaying a service according to an embodiment of the present application;

[0068] FIG16 is a schematic diagram of a calling service card provided in an embodiment of the present application;

[0069] FIG17 is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The technical solution in this application will be described below with reference to the accompanying drawings.

[0071] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first operation and the second operation are merely used to distinguish between operations of different times and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences.

[0072] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0073] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0074] The electronic devices in this application may also be referred to as terminal devices, user equipment (UE), mobile stations (MS), mobile terminals (MT), etc. The terminal devices may be mobile phones with touch screens, smart TVs, wearable devices, tablet computers, computers with wireless transceiver functions, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. The embodiments of this application do not limit the specific technologies and specific device forms adopted by the terminal devices.

[0075] The following uses a mobile phone as an example of an electronic device to explain in detail the process of users calling multiple services in combination with specific scenarios.

[0076] Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application. This scenario is a scenario in which a user uses Alipay's payment and collection function to make a payment. As shown in a in Figure 1, the mobile phone is in the screen-off state. When the mobile phone receives the user's unlocking operation, the mobile phone can sequentially display the interface shown in b in Figure 1 and the interface shown in c in Figure 1. In the interface shown in c in Figure 1, when the mobile phone receives the user's operation of sliding the current interface, the interface shown in d in Figure 1 is displayed. In the interface shown in d in Figure 1, the mobile phone receives the user's operation of clicking the Alipay icon and displays the interface shown in e in Figure 1. In the interface shown in e in Figure 1, the mobile phone receives the user's operation of clicking the payment and collection icon and displays the interface shown in f in Figure 1, which is the page of the Alipay payment service, including Alipay's payment QR code and payment barcode.

[0077] Figure 2 is a schematic diagram of another scenario provided by an embodiment of the present application. This scenario is a scenario in which a user uses the scan service of Alipay. As shown in the interface a in Figure 2, this interface is the interface for video playback. When the mobile phone receives the user's operation to return to the desktop, the interface shown in b in Figure 2 is displayed. In the interface shown in b in Figure 2, the mobile phone receives the user's operation of clicking the Alipay icon and displays the interface shown in c in Figure 2. In the interface shown in c in Figure 2, the mobile phone receives the user's operation of clicking the scan icon and displays the interface shown in d in Figure 2. In the interface shown in d in Figure 2, when the mobile phone receives the user's operation to exit the current service, the interface shown in e in Figure 2 is displayed. It is impossible to directly return to the interface shown in a in Figure 2, and the video playback service is interrupted.

[0078] Figure 3 is a schematic diagram of another scenario provided by an embodiment of the present application. This scenario is a scenario in which the user needs to use the WeChat scan service first, and then use the travel service. As shown in the interface a in Figure 3, this interface is the mobile phone desktop. The mobile phone receives the operation of the user clicking the WeChat icon and displays the interface shown in Figure 3 b. In the interface shown in Figure 3 b, the mobile phone receives the operation of the user clicking the scan service control and displays the interface shown in Figure 3 c, which is the WeChat scan service. In the interface shown in Figure 3 c, the mobile phone receives the operation of the user exiting the current service and displays the interface shown in Figure 3 d. In the interface shown in Figure 3 d, the mobile phone receives the operation of the user exiting the current application and displays the interface shown in Figure 3 e, which is the mobile phone desktop. In the interface shown in Figure 3 e, the mobile phone receives the operation of the user clicking the Alipay icon and displays the interface shown in Figure 3 f. In the interface shown in Figure 3 f, the mobile phone receives the operation of the user clicking the travel service icon and displays the interface shown in Figure 3 g, which is the Alipay travel service.

[0079] In some embodiments, the user can tap the phone or touch the fingerprint key to invoke the service provided by the application anytime and anywhere (for example, when the screen is off, locked, or when using an application).

[0080] However, the services evoked above are generally pre-installed services on the terminal device (for example, tapping the back cover of the mobile phone to call out the health code) or service icons. If the service called out is not the target service, the user needs to further select the target service according to current needs (wherein the target service is the service that the user currently needs to use). Although this method of evoked services can quickly call out services or service icons, there are cases where the service called out is not the target service.

[0081] In view of this, the embodiments of the present application provide a method for displaying a service card, an electronic device, and a storage medium, so that when the terminal device receives an operation to call a service card from the user in a locked state or when the application is running in the foreground, it can recommend the service to be used by the user based on the current location and / or current time of the terminal device, thereby improving the user experience.

[0082] In order to better understand the embodiments of the present application, the structure of the terminal device of the embodiments of the present application is introduced below.

[0083] Figure 4 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, a sensor module 180, a button 190, an indicator 192, a camera 193, and a display 194. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air 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.

[0084] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0085] The processor 110 may include one or more processing units. The different processing units may be independent devices or integrated into one or more processors. The processor 110 may also be provided with a memory for storing instructions and data.

[0086] USB interface 130 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. USB interface 130 can be used to connect a charger to charge the terminal device, transfer data between the terminal device and peripheral devices, connect headphones to play audio, and connect other electronic devices.

[0087] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. The power management module 141 is used to connect the charging management module 140 to the processor 110.

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

[0089] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The antennas in a terminal device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0090] The mobile communication module 150 can provide wireless communication solutions for terminal devices, including second-generation wireless telephone technology (2G), third-generation mobile communication technology (3G), fourth-generation mobile communication technology (4G), and fifth-generation mobile communication technology (5G). The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, and process the received electromagnetic waves, and transmit them to the modem processor for demodulation.

[0091] The wireless communication module 160 can provide wireless communication solutions applied to terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), etc.

[0092] The terminal device implements display functions through a graphics processing unit (GPU), a display screen 194, and an application processor. The GPU connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.

[0093] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 194, where N is an integer greater than 1.

[0094] The terminal device can realize the shooting function through image signal processing (ISP), camera 193, video codec, GPU, display 194 and application processor.

[0095] The camera 193 is used to capture static images or videos. In some embodiments, the terminal device may include 1 or N cameras 193, where N is an integer greater than 1.

[0096] The external memory interface 120 can be used to connect an external memory card to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0097] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area.

[0098] The terminal device can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0099] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The terminal device can listen to music or listen to hands-free calls through the speaker 170A. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. When the terminal device answers a call or voice message, the voice can be heard by placing the receiver 170B close to the human ear. The headphone jack 170D is used to connect a wired headset. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0100] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be set on the display screen 194. The gyroscope sensor 180B can be used to determine the movement posture of the terminal device. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device in various directions (generally three axes). The distance sensor 180F is used to measure distance. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense the brightness of ambient light. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect temperature. The touch sensor 180K, also known as a "touch device". The bone conduction sensor 180M can obtain vibration signals. In the embodiment of the present application, the method of calling the service card can be achieved by using the gyroscope to determine the posture of the terminal device and operations such as double-clicking the back.

[0101] The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, or a “touch screen”.

[0102] Keys 190 include a power button, a volume button, and other buttons. Keys 190 can be mechanical or touch-sensitive. The terminal device can receive key inputs and generate key signal inputs related to user settings and function control of the terminal device. Indicator 192 can be an indicator light that can be used to indicate charging status, battery level changes, messages, missed calls, notifications, and the like.

[0103] The software system of the terminal device can adopt a layered architecture, event-driven architecture, micro-kernel architecture, microservice architecture, or cloud architecture, etc., which will not be described here.

[0104] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. It should be understood that the interfaces provided in the embodiments of the present application are only examples and do not constitute further limitations on the embodiments of the present application.

[0105] For example, when a user first uses a newly purchased terminal device, or a terminal device after a system update (it should be noted that in both scenarios, the user is unfamiliar with some functions of the terminal device), the terminal device receives a trigger operation from the user and displays a beginner's guide. For example, the user double-clicks the back of the phone, long-presses the volume button, or uses other methods to cause the terminal device to display the beginner's guide when displaying a service card. The beginner's guide may include prompt information, which is used to prompt the service card to intelligently learn the user's usage habits as the user uses it and make accurate recommendations; the beginner's guide may also include a usage learning guide to guide the user in learning how to use it, etc.

[0106] It should be understood that the service card in the embodiment of the present application can also be called a service page or other names, and this application does not limit this.

[0107] Illustratively, the service card in the embodiment of the present application can be called in any of the ways shown in Table 1 below.

[0108] Table 1

[0109]

[0110] When a user calls a service card for the first time, the terminal device can display recommended services on the service card based on preset service icons, currently recognized scenarios (such as different locations) and big data.

[0111] Among other things, big data may include services used by most users at the current location and / or the current time.

[0112] Alternatively, the terminal device may have a built-in neural network model, which may be a model trained using labeled big data. The terminal device may input the parameters of the currently recognized scene into the neural network model to obtain a recommendation result.

[0113] In one possible implementation, if the terminal device obtains the recommended service based on big data during the first service recommendation process, and the application corresponding to the recommended service is not installed on the terminal device, the terminal device will display the service corresponding to the first service icon in the front order on the service card according to the order of the preset service icons.

[0114] In different scenarios, users use different services. To further enhance the user experience of using service cards, the embodiments of the present application can record the frequency of users using various services in different scenarios (e.g., different locations) and at different times, and perform intelligent learning, so that the terminal device can recommend services suitable for the current user based on each user's usage habits (service + time + location). In other words, when a user calls a service card at different locations and at different times, the terminal device can display the user's frequently used services on the service card based on the current user's habits, and can also sort the service icons corresponding to the services that the user frequently switches to in that scenario first.

[0115] The following describes in detail how users invoke service cards in different scenarios, using specific scenarios. It should be understood that the various service icons in the embodiments of this application may be referred to as service options, the service content may be referred to as service information, the area on the service card displaying service information (service content) is referred to as the second area, the area displaying the service icon is referred to as the first area, and the service to which the service information in the service card belongs is referred to as the target service.

[0116] Scenario 1: Users are accustomed to using WeChat’s payment service when shopping in a mall.

[0117] When a user first accesses a service card on a terminal device at a shopping mall, the terminal device displays the interface shown in Figure 5a, which includes service cards including: WeChat Scan service 501 (service information), WeChat Scan icon 502, WeChat Payment icon 503, Alipay Payment icon 504, and Alipay Scan icon 505. The current terminal device display interface is not the WeChat payment service the user expects, so the user needs to switch to the WeChat payment service.

[0118] In one possible implementation, in the interface shown in FIG5a, the terminal device displays the interface shown in FIG5b in response to the user's operation of switching services (for example, the user can click on the WeChat payment icon 503), which includes a service card, and the service card includes: WeChat payment QR code 506, WeChat payment barcode 507, WeChat scan icon 502, WeChat payment icon 503, Alipay payment icon 504, and Alipay scan icon 505. That is, in response to the user's operation of switching services, the terminal device switches the service in the service card from WeChat scan service to WeChat payment service (i.e., WeChat payment QR code and WeChat payment barcode).

[0119] After the user has used the WeChat payment service provided by the service card in a shopping mall for a period of time (N days), when the user calls the service card again in the shopping mall, the interface shown in c of Figure 5 is displayed, which includes a service card (which can be the first service card or the second service card), and the service card includes: WeChat's payment QR code 506, WeChat's payment barcode 507 (service information), WeChat's scan icon 502, WeChat's payment icon 503, Alipay's payment icon 504, and Alipay's scan icon 505.

[0120] In another possible implementation, in order to facilitate the use of the services provided by the WeChat payment icon 503 , the user can continue to adjust the position of the WeChat payment icon after switching services.

[0121] For example, in the interface shown in FIG5 b, the terminal device receives a user operation to adjust the service icon (for example, the user can long press the WeChat payment icon 503 and move the icon 503 to the leftmost position in the icon display area), and displays the interface shown in FIG5 d, which includes a service card, which includes: WeChat payment QR code 506, WeChat payment barcode 507, WeChat scan icon 502, WeChat payment icon 503, Alipay payment icon 504, and Alipay scan icon 505. The next time the user is within the same geofence and calls up the service card again, or when the user calls up the service card again after using it for a period of time, the terminal device can directly display the interface shown in FIG5 d.

[0122] In the above example (the example of switching from b to d in FIG5 ), after a user has used the WeChat payment service provided by the service card in a shopping mall for a period of time (N days), when the user calls the service card again in the mall, the interface shown in FIG5 e is displayed. This interface includes the service card, which includes: WeChat payment QR code 506, WeChat payment barcode 507, WeChat payment icon 503, WeChat scan icon 502, Alipay payment icon 504, and Alipay scan icon 505. Compared to the interface shown in FIG5 c, the order of the service icons displayed on the service card has changed, with the WeChat payment service icon arranged on the far left.

[0123] It should be understood that after the user has used the service card for a period of time, the terminal device has learned the user's habit of using WeChat's payment service in shopping malls. Afterwards, when the terminal device receives an operation to call the service card again in this scenario, it can intelligently recommend the user's most frequently used service based on the current location of the terminal device.

[0124] Scenario 2: The user uses the subway code to take the subway at the subway station.

[0125] When a user first accesses a service card near a subway station, the terminal device displays the interface shown in Figure 6a. This interface includes the service card, which includes: the electronic subway card QR code 601, the WeChat scan icon 602, the WeChat payment icon 603, the Alipay payment icon 604, and the travel service icon 605 corresponding to the electronic subway card. The service currently displayed on the terminal device's display interface is the service the user desires, so the user does not need to switch to the current service again.

[0126] Optionally, to facilitate access to the services provided by travel service icon 605, the user can move travel service icon 605 to the leftmost position in the area displaying service icons. For example, the user can long-press travel service icon 605 and move it to the leftmost position, i.e., the position of WeChat's Scan icon 602. The corresponding other icons will then be moved one icon to the right, i.e., WeChat's Scan icon 602 will be moved to the position of WeChat's Payment icon 603, WeChat's Payment icon 603 will be moved to the position of Alipay's Payment icon 604, and Alipay's Payment icon 604 will be moved to the position of travel service icon 605. The order in which the service icons are displayed after the movement can be seen in the position of the service icons in the interface shown in FIG. 6 b.

[0127] In one possible implementation, a user adjusts the position of a travel service icon (as shown in the interface shown in FIG6 b ). After the user uses the service card near a subway station for a period of time (N days), when the user calls the service card again at the subway station, the interface shown in FIG6 c is displayed. This interface includes a service card (which can be the first service card or the second service card). The service card includes: the QR code 601 of the electronic subway card, the travel service icon 605 corresponding to the electronic subway card, the WeChat scan icon 602, the WeChat payment icon 603, and the Alipay payment icon 604. Compared to the interface shown in FIG6 a , the order of the service icons displayed on the service card has changed.

[0128] In another possible implementation, if the user does not adjust the position of the travel service icon (the interface shown in a in Figure 6 ), then after the user uses the service card near the subway station for a period of time (N days), when the user calls the service card again at the subway station, the interface shown in a in Figure 6 will still be displayed.

[0129] According to scenarios one and two, before obtaining the user's usage habit data, the electronic device can recommend services to the user based on big data. For example, when used for the first time at a subway station, the subway QR code will be displayed to facilitate the user's travel. When used for the first time at a shopping mall, the scanning service interface will be displayed to facilitate the user to scan the code to pay.

[0130] Scenario three: In the morning, the user uses Alipay's scan service to pay for breakfast near home. In the afternoon, the user uses WeChat's scan service to scan the health code near home to display the health status.

[0131] 1. The user calls the service card on the terminal device near home in the morning (e.g., during work hours).

[0132] In response to the user's first invocation of a service card, the terminal device displays the interface shown in FIG7A a, which includes service cards including: WeChat's Scan service 701, WeChat's Scan icon 702, WeChat's Payment and Receipt icon 703, Alipay's Payment and Receipt icon 704, and Alipay's Scan icon 705. The current terminal device display interface is not the Alipay Scan service desired by the user, so the user needs to switch the current service to the Alipay Scan service.

[0133] In one possible implementation, in the interface shown in a in Figure 7A, the terminal device responds to the user's operation of switching services (for example, the user can click on the Alipay scan icon 705) and displays the interface shown in b in Figure 7A, which includes service cards, and the service cards include: Alipay's scan 706, WeChat's scan icon 702, WeChat's payment icon 703, Alipay's payment icon 704, and Alipay's scan icon 705.

[0134] After the user uses the Alipay scan service provided by the service card near home in the morning for a period of time (N days), when the user calls the service card again near home in the morning, the interface shown in c in Figure 7A is displayed, which includes the service card, and the service card includes: Alipay scan 706, WeChat scan icon 702, WeChat payment icon 703, Alipay payment icon 704, and Alipay scan icon 705.

[0135] In another possible implementation, in order to facilitate the use of the service provided by the Alipay scan icon 705 , the user may continue to adjust the position of the Alipay scan icon after switching services.

[0136] Exemplarily, in the interface shown in b in Figure 7A, the terminal device receives the user's operation to adjust the service icon (for example, the user can long press the Alipay Scan icon 705 and move the icon 705 to the leftmost position of the icon display area), and displays the interface shown in d in Figure 7A, which includes service cards, and the service cards include: Alipay Scan 706, Alipay Scan icon 705, WeChat Scan icon 702, WeChat's payment and collection icon 703, and Alipay's payment and collection icon 704.

[0137] In the above example, after a user uses the WeChat payment service provided by the service card near their home in the morning for a period of time (N days), when the user calls the service card again in the morning near their home, the interface shown in Figure 7A (e) is displayed. This interface includes a service card (which can be the first service card or the second service card). The service card includes: Alipay Scan 706, Alipay Scan icon 705, WeChat Payment icon 703, WeChat Scan icon 702, and Alipay Payment icon 704. Compared to the interface shown in Figure 7A (c), the order of the service icons displayed on the service card has changed.

[0138] 2. The user calls the service card on the terminal device near home in the afternoon (e.g., after get off work).

[0139] In response to the user's first call to a service card, the terminal device displays the interface shown in FIG7B a, which includes service cards including: WeChat Scan service 701, WeChat Scan icon 702, WeChat Payment icon 703, Alipay Payment icon 704, and Alipay Scan icon 705. The service currently displayed on the terminal device's display interface is the service desired by the user, so the user does not need to switch to the current service again.

[0140] As shown in the interface of Figure 7B (a), the WeChat Scan icon 702 is located at the leftmost position of the service icon area on the service card. Optionally, the user can move the WeChat Scan icon 702 to another position in the service icon area according to their usage habits, for example, to the rightmost position in the service icon area. The specific method of adjusting the service icon can be referred to the relevant description of adjusting the travel icon in the above scenario 2, and will not be repeated here.

[0141] If the user does not adjust the position of the service icon, after the user uses the WeChat scan service provided by the service card near home in the afternoon for a period of time (N days), when the user calls the service card again near home in the afternoon, the interface shown in b in Figure 7B is displayed, which is the same as the interface shown in a in Figure 7B.

[0142] Optionally, when making smart recommendations, the terminal device can display the service content that the user uses most frequently on the service card based on the current location of the terminal device and the current time, but the service icon on the service card will not be adjusted; or, when displaying the service content that the user uses most frequently on the service card, the service icon on the service card will be adjusted at the same time, that is, according to the frequency of the user using various services in this scenario, the corresponding service icons will be displayed on the service card in order from high to low. For example, if the user is at the subway station and often switches between the health code and the subway boarding code, the travel icon and the health code icon will be sorted first.

[0143] It should be noted that after learning the user's habit of using the service card, the terminal device can continue to learn the user's habit of using the service card, thereby continuously updating the services recommended to the user at the same location and / or at the same time. For example, the user is accustomed to using Alipay's scan service for a period of time near home in the morning. The terminal device learns the user's habit of using it for a period of time. After using it for a period of time, when the user calls the service card again, the service content displayed on the service card is Alipay's scan service; but after a period of time after the terminal device learns the user's habit of using it, the user often switches from Alipay's scan service to WeChat's scan service. At this time, the terminal device will continue to learn the user's habit of using WeChat's scan service, so that after a period of time, when the user calls the service card again near home in the morning, the service content displayed on the service card changes from Alipay's scan service to WeChat's scan service.

[0144] It should be noted that the services included in the service card displayed for the first time, the types of service icons, the number of service icons, and the display order of the service icons from left to right may be preset on the terminal device by the developer.

[0145] Exemplarily, the terminal device can make intelligent recommendations to users by recording geofences and / or times, as well as one or more services frequently used by users within the geofence and / or time (for example, it can record operations for switching services and services displayed for more than 5 seconds), making service cards more personalized and further enhancing the user experience.

[0146] Based on this, the terminal device can intelligently recommend and display the services and service icons that the user needs to use when calling up the service card based on the user's usage habits, the current time and the current location of the terminal device, making the service card more personalized. The user no longer needs to switch to the target service multiple times after calling up the service card, thereby improving the user experience.

[0147] The following describes in detail the method of switching service cards provided by the embodiment of the present application in conjunction with Figure 8. For the convenience of description, the operation of the user calling the service card in the embodiment of the present application is described as the first operation.

[0148] FIG8 is a schematic diagram of an interface for switching service cards provided in an embodiment of the present application. As shown in a of FIG8 , the interface is a service card displayed by the terminal device in response to the user's first operation. The service card may include WeChat's payment barcode 801, WeChat's payment QR code 802, WeChat's payment icon 803, WeChat's scan icon 804, Alipay's payment icon 805, and Alipay's scan icon 806. Among them, WeChat's payment barcode and WeChat's payment QR code belong to WeChat's payment service, that is, WeChat's payment service is a sub-service under WeChat's payment service, and WeChat's payment service also includes multiple other sub-services, such as change 807, QR code payment 808, praise code 809, group payment 810, face-to-face red envelope 811, bank card or mobile phone number transfer 812, and other sub-services. At this time, the service provided by the service card shown in a of FIG8 is WeChat's payment service.

[0149] In the interface shown in FIG8 a, the terminal device responds to the user swiping up the service card and displays the interface shown in FIG8 b, which includes other sub-services such as change 807, QR code payment 808, appreciation code 809, group payment 810, face-to-face red envelope 811, and bank card or mobile phone number transfer 812. In the interface shown in FIG8 b, the terminal device responds to the user clicking the QR code payment control and displays the interface shown in FIG8 c, which includes WeChat's payment QR code.

[0150] It should be understood that the sub-services recommended by the terminal device may also change based on the user's usage habits. In other words, the terminal device may recommend a service that the user desires to use based on the current location and / or current time. The service may be any sub-service included in the service corresponding to any service icon.

[0151] In the interface shown in FIG8 c, in response to the user clicking on the Alipay payment icon 805, the terminal device displays the interface shown in FIG8 d, which includes the Alipay payment QR code 813, the Alipay payment barcode 814, the WeChat scan icon 804, the Alipay payment icon 805, and the Alipay scan icon 806. Alternatively, in the interface shown in FIG8 c, in response to the user swiping left on the service, the terminal device displays the interface shown in FIG8 e, which includes the WeChat scan service 815, the WeChat payment icon 803, the WeChat scan icon 804, the Alipay payment icon 805, and the Alipay scan icon 806.

[0152] Optionally, the above-mentioned operation of switching services can also be performed by shaking.

[0153] It should be understood that after swiping left / right on a service, the service displayed on the service card may or may not correspond to the service icon included on the current service card. For example, as shown in the interface e in 8, the service card displays the WeChat Scan service. In this case, the service card includes an icon 804 corresponding to the WeChat Scan service. It should be understood that the service displayed on the service card is the WeChat Scan service, but the icon 804 corresponding to the WeChat Scan service may not be displayed on the service card.

[0154] Optionally, the number of services included on a service card can be one or more. For example, a candy-bar phone displays one service, while a foldable screen or tablet can display multiple services in parallel. This embodiment of the application does not limit the number of service pages displayed on a service card.

[0155] Optionally, the above-mentioned service card may only include various types of services, but not service icons. It should be understood that when the service card does not include a service icon, the terminal device can display other services in response to the user sliding the current service left / right. For example, refer to Figure 9. As shown in a in Figure 9, the interface is a display method of the service card. The service card displays WeChat's scan service, but does not include a service icon. In the interface shown in a in Figure 9, in response to the user's swiping to the left, the interface shown in b in Figure 9 is displayed. This interface is the interface displayed after switching to other services (WeChat payment service).

[0156] It should be noted that when a user exits a service card for the first time, returns to the desktop, or next unlocks the terminal device, a banner notification or other method can be used to remind the user of the newly added service card function. Optionally, the user can be reminded of the newly added service card function two or three times, with specific reminder times such as after the first use, seven days after using the function, or fourteen days after using the function. This approach can prevent the user from forgetting the newly added service card function after exiting the service card and continuing to use the existing method to access the service the next time the service card is accessed.

[0157] It should be noted that the service icons included on the service cards shown in Figures 5 to 9 may all be recommended by the terminal device, or some may be recommended by the terminal device and some may be user-defined. The following describes the process of user-defined service icon addition in detail in conjunction with Figures 10A and 10B.

[0158] Figure 10A is a schematic diagram of an interface for customizing the addition of service icons provided in an embodiment of the present application. The interface shown in a of Figure 10A includes a settings icon 1001 and a service card. The service card includes a WeChat payment QR code, a payment barcode, a WeChat payment icon 1002, a WeChat scan icon 1003, an Alipay payment icon 1004, and an Alipay scan icon 1005. It should be understood that the service icons included in the service card shown in a of Figure 10A are all user-customized service icons.

[0159] In the interface shown in a of FIG10A , the terminal device displays the interface shown in b of FIG10A in response to the user's operation on the setting icon 1001. This interface is the setting interface of the service card, which includes a switch control 1006 for "turning on / off" the service card, a switch control 1007 for "turning on / off" smart recommendation, an "added" area 1008 (this area includes added service icons, and each service icon has a "-" control), and an "unadded" area 1009 (this area includes unadded service icons, and each service icon has a "+" control). The interface also includes an introduction to the relevant functions and how to operate them. For example, for the service card function, "After turning on, tap the back of the phone twice to display the service card" is displayed below the switch corresponding to the function; for the smart recommendation function, "After turning on, smartly recommend services" is displayed below the switch corresponding to the function, and "long press and drag to add or adjust the order" is displayed below the "added" area 1008.

[0160] The user can select one or more services to be added to the "Added" area 1008 in the "Not Added" area 1009; alternatively, the user can remove one or more services from the "Added" area 1008 to the "Not Added" area 1009. The user can also long-press and drag the service icon to be moved to customize the order of the service icons in the "Added" area 1008.

[0161] It should be understood that the interface shown in b of Figure 10A above can also be accessed from the Settings app. This process may include: Settings - Accessibility - Quick Launch and Gestures - Quick Task Cards - Display Service Cards. It should be noted that this process is only an example of an embodiment of the present application. Other methods for accessing the service card settings page defined in the future or in other terminal devices are within the scope of protection of the embodiments of the present application.

[0162] It should also be understood that the above-mentioned service addition operation can be the user clicking the "+" control on the service icon, or the user long pressing and dragging the service icon to the "added" area 1008; the above-mentioned removal operation can be the user clicking the "-" control on the service icon, or the user long pressing and dragging the service icon to the "not added" area 1009.

[0163] For example, in the interface shown in FIG. 10A b, in response to a user clicking the “-” control on the Alipay Scan service icon, the terminal device displays the interface shown in FIG. 10A c, where the Alipay Scan service icon is not included in the “Added” area 1008. In the interface shown in FIG. 10A c, in response to a user clicking the “+” control on the travel service icon 1010, the terminal device displays the interface shown in FIG. 10A d, where the travel service icon 1010 is included in the “Added” area 1008. At this point, in response to the user calling up a service card, the terminal device displays the interface shown in FIG. 10A e, where the service card displayed includes the travel service icon 1010 but does not include the Alipay Scan service icon.

[0164] It should be understood that the user may not add any service icons in the "Added" area 1008. Under this setting, the service icons included in the called service card are all service icons recommended by the terminal device. Alternatively, the user may add 1 to 3 service icons in the "Added" area 1008. If the number of service icons displayed on the pre-set service card on the terminal device is 4, then under this setting, one of the service icons included in the called service card will be a service icon recommended by the terminal device.

[0165] Figure 10B is a schematic diagram of the interface for the custom addition process of another service icon provided in an embodiment of the present application. Among the four service icons included in the interface shown in a of Figure 10B, the WeChat payment and collection icon 1002, the WeChat scan icon 1003, and the Alipay payment and collection icon 1004 are user-defined service icons, and the travel service icon 1010 is a service icon recommended by the terminal device. In the interface shown in a of Figure 10B, the terminal device receives the user's operation of clicking the setting icon 1001 and displays the interface shown in b of Figure 10B. This interface is the setting interface of the service card. The relevant description of this interface can be referred to the relevant description in Figure 10A, which will not be repeated here.

[0166] In the interface shown in b of FIG10B , the "Added" area 1008 includes three user-defined service icons, and the "Not Added" area 1009 includes travel service icons recommended by the terminal device. It should be understood that the services recommended by the terminal device can be based on the terminal device's current location and / or current time.

[0167] It should be noted that the service icons displayed in the "Added" area 1008 are user-defined service icons, and the display order of the service icons displayed in this area 1008 is the display order of the service icons in the corresponding service card under this setting. In other words, when the terminal device receives a user operation to call a service card in any scenario and at any time, the user-defined service icons among the service icons included in the service card generally do not change due to changes in scenario or time.

[0168] Optionally, when the application installed on the terminal device provides a large number of services, the service icons in the "Not Added" area of ​​the settings page of the service card can be classified and deployed according to application type, service type or other methods. This application does not limit this.

[0169] Optionally, the "Not Added" area on the service card's settings page also includes a custom method. It should be understood that the custom method can be used to add a user action or add a result display page. For example, a power button is used to turn the TV on and off. This means that when a user returns home and uses a terminal device to turn on the TV, the terminal device receives the user's action to call the service card and displays the power button, which the user can use to turn on the TV.

[0170] It should be understood that the service icons included in the settings page of the service card of the terminal device can be updated according to the services included in the pre-installed applications on the terminal device. For example, if WeChat or Alipay is uninstalled from the terminal device, the service icons corresponding to the services provided by WeChat and Alipay on the settings page will also be deleted accordingly.

[0171] It should be noted that the service card of the embodiment of the present application can be called when the terminal device is in any of the following states: screen off, always on display (AOD), locked, on the desktop, or when an application is running. The process of calling the service card in each of the above states is described in detail below with reference to Figures 11 to 13.

[0172] Figure 11 is a schematic diagram of the interface for calling a service card in the screen-off state of a terminal device provided by an embodiment of the present application. As shown in a in Figure 11, the terminal device receives a first operation in the screen-off state and displays an interface as shown in b in Figure 11, which is a lock screen interface. A blurred outline of a service card is displayed above the lock screen wallpaper. At this time, the terminal device receives an operation to unlock / enter the desktop and displays an interface as shown in c in Figure 11, which includes a service card. The service card includes WeChat's collection and payment services. In the interface shown in c in Figure 11, the terminal device receives an operation to switch services from the user (for example, click on the scan icon) and displays an interface as shown in d in Figure 11. The service displayed on the service card is WeChat's scan service. After the user has used the service provided by the service card, the terminal device responds to the user's operation to exit the service card and displays an interface as shown in e in Figure 11, which is the desktop homepage of the terminal device.

[0173] Figure 12 is a schematic diagram of the interface for calling a service card in the lock screen state of a terminal device provided by an embodiment of the present application. As shown in a in Figure 12, the terminal device receives a first operation in the lock screen state and displays an interface as shown in b in Figure 12, which is a lock screen interface. A blurred outline of a service card is displayed below the lock screen page. At this time, the terminal device receives an operation to unlock / enter the desktop and displays an interface as shown in c in Figure 12, which includes a service card. The service card includes WeChat's payment and collection services. In the interface shown in c in Figure 12, the terminal device receives an operation to switch services from the user (for example, clicking on the Alipay payment and collection icon) and displays an interface as shown in d in Figure 12. The service displayed on the service card is Alipay's payment and collection service. After the user has used the services provided by the service on the service card, the terminal device receives an operation to exit the service card from the user and displays an interface as shown in d in Figure 12, which is the desktop homepage of the terminal device.

[0174] It should be noted that for some services that do not require unlocking, they can be directly displayed and used even in the lock screen state. If the user switches the service that does not require unlocking to a service that requires unlocking, the terminal device still needs to be unlocked before the service on the service card can be displayed.

[0175] It should be understood that the interface shown in b in FIG11 and the interface shown in a in FIG12 are both lock screen interfaces after the terminal device is locked.

[0176] It should also be understood that in Figures 11 and 12, if the currently used application is not exited before the terminal device locks the screen, in the scenarios shown in Figures 11 and 12, in response to the operation of calling the service card and the unlocking operation, after the terminal device is unlocked, the terminal device displays the service card above the previously running application interface. That is, in the interface shown in Figure 11c and Figure 12c, the terminal device displays the service card above the previously running application interface. After exiting the service card, the terminal device still displays the application interface that was not exited before the lock screen.

[0177] The service card shown in c of FIG11 and the service card shown in c of FIG12 may be the interface displayed when the user first calls the service card. At this time, the service included in the service card may not be the service expected by the user, so the user needs to switch the service page.

[0178] Figure 13 is a schematic diagram of an interface for calling a service card in a desktop state of a terminal device according to an embodiment of the present application. As shown in a of Figure 13 , the terminal device receives a first operation in the desktop state (or may be in an unlocked state with no application running) and displays the interface shown in b of Figure 13 , which is the desktop of the terminal device with the service card displayed above the desktop. After the user has used the service provided by the service card, the terminal device receives the user's operation to exit the service card and displays the interface shown in c of Figure 13 , which is identical to the interface shown in a of Figure 13 .

[0179] Figure 14 is a schematic diagram of the interface for calling a service card in the application running state of a terminal device provided by an embodiment of the present application. As shown in the interface in Figure 14a, the terminal device is playing a video in the foreground. The terminal device receives a first operation and displays the interface shown in Figure 14b, which includes a service card. The service card can be displayed directly above the page playing the video, that is, the video playing page continues to be displayed below the service card. It should be understood that when the service card is displayed in full screen, the interface not covered by the service card can display a blurred video playing page. The video below the service card can be played in the default mode of the system: continue to play, pause, or play silently, etc. After the user has used the service provided by the service card, the terminal device receives the user's exit from the service card and displays the interface shown in Figure 14c, which is the video playing interface shown in Figure 14a, and the user can continue to watch the video.

[0180] It should be understood that the interface shown in a in FIG. 14 above can also be an interface for playing music.

[0181] It should be understood that the services displayed on the service cards shown in Figures 13 and 14 above can be services intelligently recommended by the terminal device based on the current location and / or time. Users can directly use the services provided by the current service card without switching to other services again.

[0182] Based on this, the service card of the embodiment of the present application can be called when the terminal device is in any state and directly access the service. Even if the current service is not the service that the user needs to use, the currently displayed service can be switched to the target service on the current service card. The switching process is simple and fast. After the user has used the service provided by the service card, he can exit the service card and still return to the state before calling the service card. This allows the user to use the service provided by the application without starting the application where the service is located or terminating the currently running application, thereby improving the user experience.

[0183] Based on the contents described in the above embodiments, in order to better understand the embodiments of the present application, the method for displaying the service card is described in detail below.

[0184] FIG15 is a schematic flow chart of a method for displaying a service card according to an embodiment of the present application. It should be understood that the method can be performed by an electronic device. As shown in FIG15 , the method 1500 may include the following steps:

[0185] S1501: Receive a first operation from a user in a first state.

[0186] S1502: In response to a first operation, display a first service card, where the first service card includes a first target service.

[0187] S1503: Receive a second operation from the user in the second state.

[0188] S1504: In response to the second operation, display a second service card, where the second service card includes a second target service.

[0189] The first target service and the second target service are different. In the first state and the second state, one or more of the following information of the electronic device are different: the current location of the electronic device and the current time.

[0190] In the implementation of this application, when an electronic device receives an operation from a user to call a service card, it can recommend the services that the user is most likely to use based on the current location of the electronic device and / or the current time, so that when the user uses the services provided by the application, there is no need to go through other operations to call the corresponding services. The steps are simple, the operation is convenient, and the user can go directly to the service page, which improves the user experience.

[0191] It should be understood that the first operation and the second operation may be any of the methods of calling the service card shown in Table 1 above.

[0192] The first target service is the service that the user desires to use in the first state, and the second service is the service that the user desires to use in the second state. For example, in scenarios one and two of the above embodiments, different services are recommended to the user at different locations, or, as in scenario three of the above embodiment, different services are recommended to the user at different times at the same location.

[0193] It should be understood that the location of the electronic device can be obtained through a global positioning system (GPS), wireless fidelity (Wi-Fi), or a base station.

[0194] Figure 16 is a schematic diagram of a service card invocation provided by an embodiment of the present application. As shown in a of Figure 16, a user grasps a mobile phone with one hand and double-clicks the back of the phone with their index or middle finger. At this time, the electronic device displays an interface as shown in b of Figure 16 on the foreground. The content displayed on this interface can be referred to as the first service card or the second service card. The display interface includes WeChat's payment service (for example, the first target service or the second target service), WeChat's scan service icon, WeChat's payment service icon, Alipay's payment service icon, and Alipay's scan service icon.

[0195] As an optional embodiment, the first target service includes multiple sub-services, and displaying the first service card in response to the first operation includes: displaying the first sub-service on the first service card in response to the first operation.

[0196] For example, WeChat's payment service includes multiple sub-services such as change, QR code payment, appreciation code, group payment, face-to-face red envelopes, bank card or mobile phone number transfer and other sub-services.

[0197] As an optional embodiment, the above method 1500 also includes: receiving a third operation of the user in a third state; wherein, in the third state and the first state, one or more of the following information of the electronic device is different: the current location of the electronic device, the current time; in response to the third operation, displaying a third service card, wherein the third service card includes a second sub-service, the second sub-service is one of the above-mentioned multiple sub-services, and the second sub-service is different from the first sub-service.

[0198] It should be understood that the third operation can be any of the methods shown in Table 1.

[0199] According to the above embodiments of the present application, the electronic device can recommend application-level sub-services to the user based on the user's usage habits, location and time information, that is, it can recommend more detailed service types belonging to the same application service to improve the user experience.

[0200] As an optional embodiment, the above method 1500 also includes: receiving a fourth operation of the user on the first service card; in response to the fourth operation, switching the first sub-service in the first service card to a third sub-service, wherein the third sub-service is one of multiple sub-services, and the third sub-service is different from the first sub-service.

[0201] It should be understood that the process of switching sub-services mentioned above can refer to the relevant description in Figure 8 above, and will not be repeated here.

[0202] As an optional embodiment, the above method 1500 also includes: after displaying the first service card, receiving a fifth operation of the user on the first service card; in response to the fifth operation, switching the first target service displayed on the first service card to a third target service.

[0203] The fifth operation is to switch between different services. For the specific switching method, please refer to the relevant description in FIG. 8 and will not be repeated here.

[0204] As an optional embodiment, the first service card, the second service card and the third service card include a first area and a second area, wherein the first area includes one or more service options, and the second area is used to display service information corresponding to the selected service option.

[0205] For example, the area where the service icon is located in the drawings of the embodiments of the present application is the first area, and the area where the service content corresponding to the service icon is displayed is the second area.

[0206] As an optional embodiment, the first area includes a first sub-area and a second sub-area, the first sub-area is used to display the first type of service options, and the second sub-area is used to display the second type of service options.

[0207] As an optional embodiment, the first type of service options are service options preset by the user, and the second type of service options are service options recommended by the electronic device to the user.

[0208] For example, the WeChat payment service icon 1002, WeChat scan service icon 1003, and Alipay payment service icon 1004 in the custom area shown in FIG10B a may be the first type of service options. The travel service icon 1010 in the recommended area shown in FIG10B a may be the second type of service option.

[0209] It should be understood that the service options recommended by the electronic device to the user may be recommendations made based on the location and / or time of the electronic device.

[0210] As an optional embodiment, the service corresponding to the second-category service option is a second-category service, and the second-category service includes: a first target service, a second target service, or a third target service.

[0211] Combined with the above example, the second type of service option is the travel service icon. The service corresponding to the travel service icon is the travel service. The travel service can be called the target service. The travel service includes multiple sub-services, such as subway ride service (electronic subway ride code), bus ride service (bus ride code), taxi service, etc.

[0212] As an optional embodiment, the first service card and the second service card include the same multiple service options, and the order of the multiple service options in the first area of ​​the first service card is different from the order of the multiple service options in the first area of ​​the second service card.

[0213] Exemplarily, the service card included in the interface shown in c of Figure 5 in the above scenario one can be called a first service card, and the multiple service options included in the first area of ​​the first service card are in the following order from left to right: WeChat's scan icon 502, WeChat's payment icon 503, Alipay's payment icon 504, and Alipay's scan icon 505; the service card included in the interface shown in c of Figure 6 in the above scenario two can be called a second service card, and the multiple service options included in the first area of ​​the second service card are in the following order from left to right: travel service icon 605, WeChat's scan icon 602, WeChat's payment icon 603, and Alipay's payment icon 604.

[0214] As an optional embodiment, the service option corresponding to the first target service is at the first position of the first area of ​​the first service card, and the service option corresponding to the second target service is at the second position of the first area of ​​the first service card; the service option corresponding to the second target service is at the third position of the first area of ​​the second service card, and the service option corresponding to the first target service is at the fourth position of the first area of ​​the second service card, wherein the position of the first position in the first area is the same as the position of the third position in the first area; the position of the second position in the first area is the same as or different from the position of the fourth position in the first area.

[0215] In combination with the examples shown in the above-mentioned scenarios one and two, in scenario one, the service card included on the interface shown in e in Figure 5 is called the first service card, the payment and collection service corresponding to the WeChat payment code included in the first service card is called the first target service, and the WeChat payment and collection service icon corresponding to the first target service is called the service option corresponding to the first target service (first service option); in scenario two, the service card included on the interface shown in c in Figure 6 is called the second service card, the travel service corresponding to the electronic subway card included in the second service card is called the second target service, and the travel service icon corresponding to the second target service is called the service option corresponding to the second target service (second service option).

[0216] From the interface shown in e in Figure 5, it can be seen that the first service option is located at the leftmost position of the first area of ​​the first service card. From the interface shown in c in Figure 6, it can be seen that the second service option is located at the leftmost position of the first area of ​​the second service card. The positions of the two service options are the same.

[0217] From the interface shown in c in Figure 6, it can be seen that the first service option is located in the third position from left to right in the first area of ​​the second service card. From the interface shown in e in Figure 5, it can be seen that the first service option is not displayed in the first area of ​​the first service card.

[0218] As an optional embodiment, at least one service option among the multiple service options included in the first service card and the multiple service options included in the second service card is different.

[0219] Combining the examples of the first and second service cards above, we can see that both the first and second service cards include WeChat's scan icon, WeChat's payment icon, and Alipay's payment icon. However, the first service card includes the Alipay scan icon, while the second service card includes the travel service icon. These two service icons are different.

[0220] As an optional embodiment, the multiple service options included in the first service card include a first service option, the first service option is different from the multiple service options included in the second service card, and the service corresponding to the first service option is the first target service.

[0221] The above-mentioned first service card can be the interface shown in c in Figure 6, and the first service option included in the interface is a travel service icon; the second service card can be the interface shown in c in Figure 7A, which does not include travel services, that is, the first service option is different from the multiple service options included in the second service card, and the travel service corresponding to the travel service icon is the target service.

[0222] As an optional embodiment, the multiple service options included in the second service card include a second service option, the second service option is different from the multiple service options included in the first service card, and the service corresponding to the second service option is the second target service.

[0223] In combination with the example of the interface shown in c in Figure 7A for the second service card, the interface shown in c in Figure 6 for the first service card, the Alipay scan icon included in the second service card is different from the multiple service icons included in the first service card, and the service corresponding to the Alipay scan icon in the second service card is the second target service.

[0224] As an optional embodiment, the service options include one or more of the following services: code scanning service, payment service, payment collection service, check-in service, and travel service.

[0225] As an optional embodiment, in the first state, the electronic device is running the first application and displays the application interface of the first application; while the electronic device displays the first service card, the electronic device continues to run the first application; the above method 1500 also includes: the electronic device receives the user's sixth operation for the first target service; in response to the sixth operation, the electronic device completes the first target service, exits the first service card, and displays the application interface of the first application.

[0226] It should be understood that the above-mentioned sixth operation can be an operation method preset by the electronic device to return to the previous level application, or other methods of exiting the service card preset by the system (for example, sliding upward from the bottom edge of the first service card, or clicking on a page outside the card area, such as a blank page or a blurred page).

[0227] As an optional embodiment, the first application includes an application that supports playing video or audio content. When the electronic device displays the first service card, the electronic device keeps the first application playing the video or audio.

[0228] Optionally, the first application may continue to be displayed below the first service card in a system default manner, such as continuing to play, terminating play, pausing play, or muting.

[0229] Optionally, while displaying the first service card, the currently running first application can be blurred, so that the first service card is displayed on the blurred layer, or the first service card is directly displayed on the currently running application, and part of the page that cannot be covered by the first service card can be displayed normally.

[0230] Optionally, the first service card can completely cover the display page of the first application. In this case, the first application switches to the background and the first service card runs in the foreground. When the first service card is exited, the first application switches to the foreground and continues to run. It should be understood that the two display modes of the first service card shown above can be switched back and forth. For example, the first service card can switch back and forth between full-screen display and non-full-screen display.

[0231] In an embodiment of the present application, when the electronic device receives the first operation, if there is an application running in the foreground, the first service card is displayed on the currently running application without interrupting the currently running application. Moreover, when exiting the first page, the electronic device can switch the application to the foreground to run, so that the user can use the service provided by the service card without having to restart the previous application, thereby improving the user experience.

[0232] As an optional embodiment, in the first state, the electronic device is in any one of the following states: screen off, screen on and locked, and screen on and unlocked.

[0233] The method provided in the embodiment of the present application is described above in conjunction with Figures 5 to 16. The device for executing the above method provided in the embodiment of the present application is described below.

[0234] 17 is a schematic block diagram of an electronic device 1700 according to an embodiment of the present application. The electronic device 1700 includes a processor 1710 , a communication interface 1720 , and a memory 1730 .

[0235] Among them, the processor 1710, the communication interface 1720 and the memory 1730 communicate with each other through an internal connection path. The memory 1730 is used to store instructions, and the processor 1710 is used to execute the instructions stored in the memory 1730 to control the communication interface 1720 to send signals and / or receive signals.

[0236] It should be understood that the functions of the electronic device in the above-mentioned method embodiment can be integrated into the electronic device 1700, and the electronic device 1700 can be used to execute the various steps and / or processes corresponding to the electronic device in the above-mentioned method embodiment. Optionally, the memory 1730 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type. The processor 1710 can be used to execute the instructions stored in the memory, and when the processor executes the instructions, the processor can execute the various steps and / or processes corresponding to the electronic device in the above-mentioned method embodiment.

[0237] It should be understood that in the embodiment of the present application, the processor 1710 may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0238] The present application also provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to implement the method corresponding to the electronic device in the above method embodiment.

[0239] The present application also provides a computer program product, which includes a computer program (also referred to as code or instructions). When the computer program runs on a computer, the computer can execute the method corresponding to the electronic device shown in the above method embodiment.

[0240] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0241] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0242] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0243] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0244] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0245] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0246] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for displaying a service card, characterized in that: Applied to electronic equipment, the method includes: receiving a first operation from a user in a first state; In response to the first operation, displaying a first service card, wherein the first service card includes a first target service; receiving a second operation from the user in the second state; In response to the second operation, displaying a second service card, wherein the second service card includes a second target service; The first target service and the second target service are different, and one or more of the following information of the electronic device are different between the first state and the second state: the current location of the electronic device and the current time.

2. The method according to claim 1, characterized in that The first target service includes multiple sub-services, and in response to the first operation, displaying a first service card includes: In response to the first operation, a first sub-service is displayed on the first service card.

3. The method according to claim 2, characterized in that The method further comprises: receiving a third operation of the user in a third state; wherein one or more of the following information of the electronic device is different between the third state and the first state: the current location of the electronic device and the current time; In response to the third operation, a third service card is displayed, wherein the third service card includes a second sub-service, the second sub-service is one of the plurality of sub-services, and the second sub-service is different from the first sub-service.

4. The method according to claim 2, characterized in that The method further comprises: receiving a fourth operation of the user on the first service card; In response to the fourth operation, the first sub-service in the first service card is switched to a third sub-service, wherein the third sub-service is one of the multiple sub-services and is different from the first sub-service.

5. The method according to claim 1, wherein The method further comprises: After the first service card is displayed, a fifth operation on the first service card by the user is received; In response to the fifth operation, the first target service in the first service card is switched to a third target service.

6. The method according to claim 5, characterized in that The first service card and the second service card include a first area and a second area, wherein the first area includes one or more service options, and the second area is used to display service information corresponding to the selected service option.

7. The method according to claim 6, characterized in that The first area includes a first sub-area and a second sub-area. The first sub-area is used to display a first type of service options, and the second sub-area is used to display a second type of service options.

8. The method according to claim 7, characterized in that The first type of service options are service options preset by the user, and the second type of service options are service options recommended by the electronic device to the user.

9. The method according to claim 8, characterized in that The service corresponding to the second-category service option is a second-category service, and the second-category service includes: the first target service, the second target service, or the third target service.

10. The method according to claim 6, characterized in that The first service card and the second service card include the same plurality of service options, and an order of the plurality of service options in the first area of ​​the first service card is different from an order of the plurality of service options in the first area of ​​the second service card.

11. The method according to claim 10, characterized in that The service option corresponding to the first target service is at the first position of the first area of ​​the first service card, and the service option corresponding to the second target service is at the second position of the first area of ​​the first service card; The service option corresponding to the second target service is at the third position of the first area of ​​the second service card, and the service option corresponding to the first target service is at the fourth position of the first area of ​​the second service card; wherein the position of the first position in the first area is the same as the position of the third position in the first area; The position of the second position in the first area is the same as or different from the position of the fourth position in the first area.

12. The method according to claim 6, characterized in that At least one service option among the multiple service options included in the first service card and the multiple service options included in the second service card is different.

13. The method according to claim 12, characterized in that The multiple service options included in the first service card include a first service option. The first service option is different from the multiple service options included in the second service card. The service corresponding to the first service option is the first target service.

14. The method according to claim 12, characterized in that The multiple service options included in the second service card include a second service option, the second service option is different from the multiple service options included in the first service card, and the service corresponding to the second service option is the second target service.

15. The method according to claim 6, characterized in that The service options include one or more of the following services: code scanning service, payment service, payment collection service, check-in service, and travel service.

16. The method according to claim 1, wherein In the first state, the electronic device is running a first application and displaying an application interface of the first application; During the process of displaying the first service card, the electronic device continues to run the first application; The method further comprises: receiving a sixth operation of the user with respect to the first target service; In response to the sixth operation, the electronic device completes the first target service, exits the first service card, and displays the application interface of the first application.

17. The method according to claim 16, characterized in that The first application includes an application that supports playing video or audio content. During the process of the electronic device displaying the first service card, the electronic device keeps the first application playing the video or audio.

18. The method according to any one of claims 1 to 15, characterized in that In the first state, the electronic device is in any one of the following states: screen off, screen on and locked, and screen on and unlocked.

19. An electronic device, characterized in that: include: A processor and a memory, wherein the processor is coupled to the memory, and the memory is used to store a computer program. When the processor calls the computer program, the electronic device executes the method according to any one of claims 1 to 18.

20. A computer-readable storage medium, characterized in that Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 18.

21. A method for displaying a service card, characterized in that: Applied to electronic equipment, the method includes: receiving a first operation from a user in a first state; In response to the first operation, displaying a first service card, wherein the first service card includes a first target service; receiving a second operation from the user in the second state; In response to the second operation, displaying a second service card, wherein the second service card includes a second target service; The first target service and the second target service are different, and one or more of the following information of the electronic device are different between the first state and the second state: the current location of the electronic device and the current time; In the first state, the electronic device is running a first application and displaying an application interface of the first application; During the process of displaying the first service card, the electronic device continues to run the first application; The method further comprises: receiving a sixth operation of the user with respect to the first target service; In response to the sixth operation, the electronic device completes the first target service, exits the first service card, and displays the application interface of the first application.

22. The method according to claim 21, characterized in that The first target service includes multiple sub-services, and in response to the first operation, displaying a first service card includes: In response to the first operation, a first sub-service is displayed on the first service card.

23. The method according to claim 22, characterized in that The method further comprises: receiving a third operation of the user in a third state; wherein one or more of the following information of the electronic device is different between the third state and the first state: the current location of the electronic device and the current time; In response to the third operation, a third service card is displayed, wherein the third service card includes a second sub-service, the second sub-service is one of the plurality of sub-services, and the second sub-service is different from the first sub-service.

24. The method according to claim 22, characterized in that The method further comprises: receiving a fourth operation of the user on the first service card; In response to the fourth operation, the first sub-service in the first service card is switched to a third sub-service, wherein the third sub-service is one of the multiple sub-services and is different from the first sub-service.

25. The method according to claim 21, characterized in that The method further comprises: After the first service card is displayed, a fifth operation on the first service card by the user is received; In response to the fifth operation, the first target service in the first service card is switched to a third target service.

26. The method according to claim 25, characterized in that The first service card and the second service card include a first area and a second area, wherein the first area includes one or more service options, and the second area is used to display service information corresponding to the selected service option.

27. The method according to claim 26, characterized in that The first area includes a first sub-area and a second sub-area. The first sub-area is used to display a first type of service options, and the second sub-area is used to display a second type of service options.

28. The method according to claim 27, characterized in that The first type of service options are service options preset by the user, and the second type of service options are service options recommended by the electronic device to the user.

29. The method according to claim 28, characterized in that The service corresponding to the second-category service option is a second-category service, and the second-category service includes: the first target service, the second target service, or the third target service.

30. The method according to claim 26, wherein The first service card and the second service card include the same plurality of service options, and an order of the plurality of service options in the first area of ​​the first service card is different from an order of the plurality of service options in the first area of ​​the second service card.

31. The method according to claim 30, wherein The service option corresponding to the first target service is at the first position of the first area of ​​the first service card, and the service option corresponding to the second target service is at the second position of the first area of ​​the first service card; The service option corresponding to the second target service is at the third position of the first area of ​​the second service card, and the service option corresponding to the first target service is at the fourth position of the first area of ​​the second service card. wherein the position of the first position in the first area is the same as the position of the third position in the first area; The position of the second position in the first area is the same as or different from the position of the fourth position in the first area.

32. The method according to claim 26, wherein At least one service option among the multiple service options included in the first service card and the multiple service options included in the second service card is different.

33. The method according to claim 32, characterized in that The multiple service options included in the first service card include a first service option. The first service option is different from the multiple service options included in the second service card. The service corresponding to the first service option is the first target service.

34. The method according to claim 32, wherein The multiple service options included in the second service card include a second service option, the second service option is different from the multiple service options included in the first service card, and the service corresponding to the second service option is the second target service.

35. The method according to claim 26, wherein The service options include one or more of the following services: code scanning service, payment service, payment collection service, check-in service, and travel service.

36. The method according to claim 21, wherein The first application includes an application that supports playing video or audio content. During the process of the electronic device displaying the first service card, the electronic device keeps the first application playing the video or audio.

37. The method according to any one of claims 21 to 35, characterized in that In the first state, the electronic device is in any one of the following states: screen off, screen on and locked, and screen on and unlocked.