Method, electronic device, server and communication system for dynamically generating quick application cards

By dynamically generating fast application cards, the problem of fixed card format and content is solved, intelligent display in different scenarios is realized, and user experience and convenience are improved.

CN117827338BActive Publication Date: 2024-11-29NANJING GLORY SOFTWARE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311634750.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-11-29
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

When existing electronic devices display fast application cards, the card form and content are fixed, and only support display on specific interfaces, limiting the intelligence of user experience and functions.

Method used

By dynamically generating fast application cards, obtain corresponding card templates according to the type of fast application, extract and fill in key data, and generate cards related to the current content of fast application, which are supported in different scenarios (such as screen folding or lock screen events) exhibit.

Benefits of technology

The card is intelligent and can dynamically display information related to the recent content of the fast application in different scenarios, allowing users to quickly view operation information and enter the fast application page, improving user experience and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117827338B_ABST
    Figure CN117827338B_ABST
Patent Text Reader

Abstract

The present application provides a method, electronic device, server and communication system for dynamically generating quick application cards, and relates to the field of terminal technology. The present application scheme can dynamically generate cards based on the content currently displayed by the quick application in a preset scenario, wherein a card template corresponding to the quick application type is first obtained, and key data is extracted from the quick application interface according to the preset data extraction interface of the card template, and then the extracted key data is filled into the card template to obtain a card. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and it is convenient for the user to quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent and provides users with more convenient services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a method for dynamically generating quick application cards, an electronic device, a server, and a communication system. Background Art

[0002] In order to provide users with convenient information access, electronic devices use card recommendation functions to present information that users may need to view in the form of cards on the desktop or negative one screen of the electronic device. In this way, users do not need to subconsciously remind themselves that they need to enter certain software applications to view the required information in specific situations. For example, electronic devices present flight information in the form of cards, and users do not need to check text messages or enter related applications for subscribing to air tickets to view flight information, but can directly view it on the desktop or negative one screen.

[0003] However, electronic devices have the following problems in displaying cards. Since the server side has designed a preset card format and content for each quick application, the format and content of the card are fixed, and the card only supports display in interfaces such as the negative one screen, desktop, or quick service center, which makes the card function have certain limitations and affects the user experience. Summary of the invention

[0004] The present application provides a method, electronic device, server, and communication system for dynamically generating quick application cards, which can dynamically generate cards based on the content currently displayed by the quick application in a specific scenario, thereby providing users with more convenient services.

[0005] In a first aspect, the present application provides a method for dynamically generating a quick application card, which is applied to an electronic device, and the method includes:

[0006] The electronic device displays the interface of the first quick application;

[0007] In response to a preset event occurring on the electronic device, the electronic device identifies the type of the first quick application, and the first quick application is of a first type;

[0008] The electronic device acquires a first card template corresponding to the first type, where the first card template is preset with a data extraction interface, and the data extraction interface is used to indicate data element information to be extracted;

[0009] The electronic device calls the data extraction interface to extract key data from the interface of the first quick application;

[0010] The electronic device fills the key data into the first card template to generate the first card;

[0011] The electronic device displays the first card.

[0012] Through the method for dynamically generating quick application cards provided by the embodiment of the present application, a card can be dynamically generated based on the content currently displayed by the quick application in the scenario where a preset event occurs, wherein the card template corresponding to the quick application type is first obtained, and key data is extracted from the quick application interface according to the preset data extraction interface of the card template, and then the extracted key data is filled into the card template to obtain a card. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent and provides users with more convenient services.

[0013] In some embodiments, the preset event may be a screen folding event or a screen lock event. In other embodiments, the preset event may be a screen folding event or a screen lock event when the interface of the quick application is displayed in the foreground.

[0014] In a possible implementation, in response to a preset event occurring on the electronic device, the electronic device identifies the type of the first quick application, including: in response to a preset event occurring on the electronic device, the electronic device determines whether a quick application is running in the foreground; when the electronic device determines that the first quick application is running in the foreground, the electronic device identifies the type of the first quick application. Thus, it is possible to accurately determine whether the current scene meets the preset conditions, and if the preset conditions are met, further perform the step of dynamically generating a quick application card to improve accuracy.

[0015] In a possible implementation, the method further includes: in response to a preset event occurring in the electronic device, the electronic device switches from the first state to the second state.

[0016] For example, the preset event is a screen folding event, in which the electronic device switches from a screen unfolded state to a screen folded state.

[0017] For example, the preset event is a screen lock event, and the electronic device switches from a screen unlock state to a screen lock state.

[0018] In a possible implementation, when the electronic device is in the first state, the electronic device displays an interface of a first quick application. When the electronic device is in the second state, the electronic device displays the first card.

[0019] In a possible implementation, the electronic device is a foldable device, and the electronic device includes a first screen and a second screen; the preset event is a screen folding event. When the electronic device is in an unfolded state, the electronic device displays the interface of the first quick application through the first screen. When the electronic device is in a folded state, the electronic device displays the first card through the second screen.

[0020] In the embodiment of the present application, there are two forms of quick applications: a full-screen quick application applet and a quick application card. The present application can make full use of these two forms of quick applications, dynamically switch between the two forms when the screen switches, and dynamically generate cards for quick applications to display on the small screen, so that users can continue to browse and operate.

[0021] In a possible implementation, the display size of the first screen is larger than the display size of the second screen.

[0022] Through the solution of the present application, when a screen folding event occurs while a quick app is running in the foreground, a card can be dynamically generated based on the content currently displayed by the quick app. The card can present prompt information related to the content recently displayed by the quick app, making it convenient for the user to view the user's recent operation information of the quick app through the card, and convenient for the user to quickly enter the recently displayed page of the quick app through the card. Therefore, the card function provided by the present application is more intelligent.

[0023] In a possible implementation, the preset event is a lock screen event, wherein when the electronic device is in a screen unlocked state, the electronic device displays the interface of the first quick application through the first interface; when the electronic device is in a screen locked state, the electronic device displays the first card through the lock screen interface.

[0024] Through the solution of the present application, when a lock screen event occurs when a quick app is running in the foreground, a card can be dynamically generated based on the content currently displayed by the quick app. The card can present prompt information related to the content recently displayed by the quick app, so that the user can view the user's recent operation information of the quick app through the card, and the user can quickly enter the recent display page of the quick app through the card. Therefore, the card function provided by the present application is more intelligent.

[0025] In a possible implementation, different types of quick apps correspond to different types of card templates. Different types of card templates are preset with different data extraction interfaces. Different data extraction interfaces define different data element information.

[0026] In a possible implementation, the first card template includes a preset function area and a data filling area; the preset function area is provided with a preset function control.

[0027] The electronic device fills the key data into the first card template to generate the first card, including: the electronic device fills the key data into the data filling area of ​​the first card template; the electronic device renders based on the preset function controls in the preset function area and the key data in the data filling area to obtain the first card.

[0028] In a possible implementation, the first card includes the user's most recent usage information of the first quick app.

[0029] After the electronic device displays the first card, the method further includes: in response to a user operation on the user's most recent use information, the electronic device jumps to an interface of the first quick application and displays a detail page of the user's most recent use information.

[0030] In a possible implementation, the first card further includes a shortcut function key.

[0031] After the electronic device displays the first card, the method further includes: in response to a user's operation on the shortcut function key, the electronic device executes a function corresponding to the shortcut function key.

[0032] In a possible implementation, the electronic device obtains the first card template corresponding to the first type, including: the electronic device obtains preset mapping information between quick application types and card templates, the preset mapping relationship includes a first mapping relationship between the first type and the first card template; the electronic device obtains the first card template corresponding to the first type according to the preset mapping information. The first mapping relationship is a mapping relationship between the first type and the first card template.

[0033] In a possible implementation, the method further includes: the electronic device receiving and storing various card templates and the preset mapping information sent by the server. Wherein, the electronic device obtaining the preset mapping information between the quick application type and the card template includes: the electronic device obtaining the preset mapping information from the electronic device locally.

[0034] In a possible implementation, the electronic device calls the data extraction interface to extract key data from the interface of the first quick application, including: the electronic device calls the data extraction interface to extract key data from the interface of the first quick application; or, when calling the data extraction interface fails, the electronic device uses a preset dynamic extraction method to extract the key data from the interface of the first quick application.

[0035] In a possible implementation, the electronic device displays an interface of a first quick application, including: the electronic device displays a second card corresponding to the first quick application in a preset interface, the second card is a card in a preset format issued by a server side, and the preset interface is a negative one screen interface, a desktop interface, or a quick service center interface; in response to a user operation on the second card, the electronic device displays the interface of the first quick application.

[0036] Through the solution of this application, the electronic device not only supports the operation of the preset card (fixed form of the second card) to trigger the launch of the quick application, but also can dynamically generate the first card based on the content currently displayed by the quick application in the preset scenario, and the display content of the first card will change according to the user's usage. The card can present prompt information related to the content recently displayed by the quick application, which is convenient for users to view the user's recent operation information of the quick application through the card, and it is convenient for users to quickly enter the recently displayed page of the quick application through the card, so the card function provided by this application is more intelligent.

[0037] In a possible implementation, the electronic device includes a quick application engine application; the quick application engine application is used to store the card template, obtain the card template, call the data extraction interface, and render the first quick application and the first card.

[0038] In a second aspect, the present application provides a method for dynamically generating quick application cards, which is applied to a server, and the method includes: the server develops various card templates, each card template is preset with a data extraction interface, and the data extraction interface is used to indicate the data element information that needs to be extracted; the server determines the preset mapping information between the quick application type and the card template; wherein different types of card templates correspond to different types of quick applications; the server sends the various card templates and the preset mapping information to the electronic device.

[0039] Through the method for dynamically generating quick application cards provided in the embodiment of the present application, various types of card templates and mapping information between various types of card templates and quick application types can be provided to the electronic device. Accordingly, the electronic device can use various types of card templates and mapping information between various types of card templates and quick application types in preset scenarios to dynamically generate a card based on the content currently displayed by the quick application. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent and provides users with more convenient services.

[0040] In a possible implementation, the method further includes: the server developing different types of quick applications, and sending data packets of the different types of quick applications to the electronic device.

[0041] In a possible implementation, different types of card templates are preset with different data extraction interfaces, and different data extraction interfaces define different data element information.

[0042] In a possible implementation, each card template includes a preset function area and a data filling area;

[0043] Among them, the preset function area is provided with a preset function control, and the data filling area is used to fill in the data extracted from the interface of the quick application based on the data extraction interface.

[0044] In a third aspect, the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory, wherein the processor is used to execute the computer program so that the electronic device implements the method described in the first aspect and any implementation method thereof.

[0045] In a fourth aspect, the present application provides a server, comprising a processor, a memory, and a computer program stored in the memory, wherein the processor is used to execute the computer program so that the electronic device implements the method described in the second aspect and any implementation method thereof.

[0046] In a fifth aspect, the present application provides a communication system, which includes the electronic device described in the third aspect and the server described in the fourth aspect.

[0047] In a sixth aspect, the present application provides a device for dynamically generating a quick application card, the device comprising a unit for executing the method in the first aspect. The device may correspond to executing the method described in the first aspect, and the relevant description of the unit in the device can refer to the description of the first aspect, which will not be repeated here for the sake of brevity.

[0048] The method described in the first aspect above can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a processing module or unit, a display module or unit, etc.

[0049] In a seventh aspect, the present application provides a computer-readable storage medium on which is stored a computer program (also referred to as instructions or codes) for implementing the method in the first aspect. For example, when the computer program is executed by a computer, the computer can execute the method in the first aspect.

[0050] In an eighth aspect, the present application provides a chip, comprising a processor. The processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect and any possible implementation thereof. Optionally, the chip also includes a memory, and the memory is connected to the processor via a circuit or wire.

[0051] In a ninth aspect, the present application provides a chip system, including a processor. The processor is used to read and execute a computer program stored in a memory to perform the method in the first aspect and any possible implementation thereof. Optionally, the chip system also includes a memory, and the memory is connected to the processor via a circuit or wire.

[0052] In a tenth aspect, the present application provides a computer program product, which includes a computer program (also referred to as instructions or codes). When the computer program is executed by an electronic device, the electronic device implements the method in the first aspect.

[0053] It can be understood that the beneficial effects of the second to tenth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of the development and use process of quick apps and cards provided for related technologies;

[0055] Figure 2 A schematic diagram of an interface for an electronic device to display a card on the negative one screen and launch a quick application based on the card;

[0056] Figure 3 A schematic diagram of an interface for providing a card for an electronic device in a quick service center and adding the card to a desktop;

[0057] Figure 4 A schematic diagram of an interface for an electronic device to display cards on a desktop and launch quick applications based on the cards;

[0058] Figure 5 An improved schematic diagram of a method for dynamically generating quick app cards provided in an embodiment of the present application;

[0059] Figure 6 A schematic diagram of the effect of the method for dynamically generating quick application cards provided in an embodiment of the present application;

[0060] Figure 7 A schematic diagram of the effect of the method for dynamically generating quick application cards provided in an embodiment of the present application;

[0061] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0062] Fig. 9 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;

[0063] Fig.10 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 1 ;

[0064] Fig.11 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 2 ;

[0065] Fig.12 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 3 ;

[0066] Fig.13 A schematic diagram of quick app types and card templates in the method for dynamically generating quick app cards provided in an embodiment of the present application;

[0067] Fig.14 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 4 ;

[0068] Fig.15 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 5 ;

[0069] Fig.16 A schematic diagram of an interface for a method for dynamically generating quick app cards provided in an embodiment of the present application;

[0070] Fig.17 A schematic diagram of an interface for a method for dynamically generating quick app cards provided in an embodiment of the present application;

[0071] Fig.18 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 6 ;

[0072] Fig.19 Schematic diagram of the process of dynamically generating a quick application card provided in the embodiment of the present application Figure 7 ;

[0073] Fig. 20 A schematic diagram of an interface for a method for dynamically generating quick app cards provided in an embodiment of the present application;

[0074] Fig.21 A schematic diagram of the function setting interface of the method for dynamically generating quick app cards provided in an embodiment of the present application. DETAILED DESCRIPTION

[0075] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0076] With the development of smart service business, the number of quick application cards on mobile phones and other electronic devices is increasing, which brings a certain amount of development workload to developers. How to improve efficiency and reduce development costs by dynamically generating cards in real time has become a key point.

[0077] To facilitate understanding of the embodiments of the present application, some terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0078] Quick Apps: Quick Apps are a new type of installation-free application developed based on industry standards. They have the capability of "no installation required, click and use". Through a variety of system scene entrances, they provide users with efficient direct services. The advantage of quick apps is that they do not require installation, can be used as soon as they are clicked, and can be added to the desktop.

[0079] Quick App Card: A card is an intermediate form between an icon and a full-screen app. It can be used as a quick operation tool and information window for users to recommend service information. For ease of explanation and understanding, a quick app card can be referred to as a card.

[0080] An integrated development environment (IDE) is an application that provides a program development environment. IDE developer tools are used for quick app development and support the development and debugging of quick apps and cards.

[0081] like Figure 1 As shown, on the server side, developers need to use the IDE developer tool to develop two independent forms of quick applications and cards, which will generate quick application data packets and card data packets respectively. These two data packets are uploaded to the server to complete the quick application and quick application card listing. On the electronic device side, after the electronic device receives the card data and quick application data provided by the server, the electronic device can load the card data and create a display card on the negative one screen or the quick service center. When the card is clicked, the electronic device runs the quick application and displays the interface of the quick application.

[0082] For example, Figure 2As shown, the electronic device can display multiple cards with preset forms and contents recommended by the system in the negative one screen, and each card corresponds to a quick app. In response to the user's operation on a card, the electronic device runs the quick app corresponding to the card and displays the main page 11 of the quick app. In response to the user's operation on an icon in the main page 11, the electronic device can jump to the detail page 12 corresponding to the icon.

[0083] For example, Figure 3 As shown, in response to the user's operation on the control 13 in the negative first screen, the electronic device jumps from the current negative first screen to the page 14 of the quick service center. Various cards and card search boxes are displayed in the page 14 of the quick service center. These cards have preset forms and contents, and each card corresponds to a quick application. In response to the user's operation of adding a card, the electronic device adds the card to the desktop and jumps from the current page 14 to the desktop 15, and the desktop 15 displays the added quick application card.

[0084] For example, Figure 4 As shown, in response to the user's operation on a card on the desktop, the electronic device runs the quick application corresponding to the card and displays the main page 16 of the quick application. In response to the user's operation on an icon in the main page 16, the electronic device can jump to the detail page 17 corresponding to the icon.

[0085] It can be seen that cards bring certain convenience to user operations. Users can view cards to obtain relevant information, and users can operate on cards to trigger the running of quick applications.

[0086] However, electronic devices have the following problems in displaying cards: since the server side has designed a preset card form and content for each quick app, the form and content of the card are fixed, and the card only supports display on the negative one screen, desktop, or quick service center interface. That is, the relevant technology only supports the display of preset cards on the preset interface and the one-way implementation of triggering quick apps based on preset cards. The card function has certain limitations and is not smart enough.

[0087] In view of this, the embodiment of the present application provides a method and electronic device for dynamically generating a quick application card, which can dynamically generate a card based on the content currently displayed by the quick application in a scene where a preset event occurs, wherein a card template corresponding to the quick application type is first obtained, and key data is extracted from the quick application interface according to the preset data extraction interface of the card template, and then the extracted key data is filled into the card template to obtain a card. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent and provides users with more convenient services.

[0088] In order to better understand the embodiments of the present application, the embodiments of the present application are briefly described below in combination with the comparison with the related art:

[0089] In the related art, quick apps and cards are two independent forms, and cards have fixed forms and contents, and cards can only be displayed on the desktop or negative one screen. Figure 5 As shown in (a), in response to a user's operation on a card, the electronic device can run a quick app and support triggering a quick app based on a card; however, it does not support triggering a card based on a quick app card.

[0090] This application proposes to realize two-way interaction between quick applications and cards from the perspective of facilitating human-computer interaction, so as to enhance the functions of cards. Figure 5 As shown in (b), in addition to triggering the launch of the quick app by operating the preset card, the electronic device can also dynamically generate a card based on the content currently displayed by the quick app in a preset scenario. The card can present prompt information related to the content recently displayed by the quick app, so that the user can view the user's recent operation information of the quick app through the card, and the user can quickly enter the recent display page of the quick app through the card. Therefore, the card function provided by the present application is more intelligent.

[0091] In some embodiments, it is assumed that the electronic device is a foldable electronic device, and the electronic device includes a first screen and a second screen. The electronic device displays the interface of the quick application on the first screen. When the electronic device meets the preset screen folding scenario, the electronic device can dynamically generate a card based on the content currently displayed by the quick application, and display the card on the second screen. For example, the first screen is the large screen before the screen is folded, and the second screen is the small screen after the screen is folded. For example, the first screen is the inner screen before the screen is folded, and the second screen is the outer screen after the screen is folded. For the sake of convenience, the following embodiments are exemplified by displaying the quick application interface through the first screen when the screen is unfolded and displaying the card through the second screen after the screen is folded.

[0092] With the development of folding screen technology, various forms of folding screens have emerged, and the large and small screens can be switched when unfolded / folded. Users are also increasingly demanding the folding screen experience. This application solution can make full use of the large and small screens when folding / unfolding to improve the user experience of quick application cards.

[0093] The following is an illustrative example of an application scenario with reference to the accompanying drawings to illustrate the improvement of the present application scheme over the related art.

[0094] Figure 6 (a) in FIG. 1 shows a schematic diagram of a scene in which a screen folding event occurs when a quick application is running in the foreground in the related art. Figure 6 As shown in (a) in FIG. 1 , the electronic device is a foldable electronic device, and the electronic device includes an inner screen and an outer screen. When the electronic device is in an unfolded state, the inner screen is displaying a page of a quick application, and when the screen is folded, the outer screen does not display content related to the quick application.

[0095] Figure 6 (b) in FIG. 1 shows a schematic diagram of a scenario in which a screen folding event occurs when a quick application is running in the foreground in the present application solution. Figure 6 As shown in (b), when the electronic device is in the unfolded state, the inner screen is displaying a page of a quick app. When the electronic device detects the screen folding operation, the electronic device generates a card based on the page currently displayed by the quick app. When the screen is folded, the outer screen displays the card, and the card presents content related to the quick app.

[0096] In the embodiment of the present application, there are two forms of quick applications: a full-screen quick application applet and a quick application card. The present application can make full use of these two forms of quick applications, dynamically switch between the two forms when the screen switches, and dynamically generate cards for quick applications to display on the small screen, so that users can continue to browse and operate.

[0097] By using the method for dynamically generating quick app cards provided by the present application solution, the quick app interface and the card can be displayed separately on different screens or interfaces. Figure 7 The beneficial effect diagram of the present application scheme is shown in FIG. Figure 7 As shown, before the screen is folded, the electronic device can display the quick app interface through the inner screen, and after the screen is folded, the electronic device can display the card through the outer screen. In this way, the user can not only browse the quick app interface through the inner screen, but also browse the card through the outer screen. Since the card can present prompt information related to the content recently displayed by the quick app, it is convenient for the user to view the user's recent operation information of the quick app through the card, and it is convenient for the user to quickly enter the recently displayed page of the quick app through the card, so the card function is more intelligent.

[0098] In view of the above scenarios, this application proposes a technology for dynamically generating cards for quick apps and displaying them on a small screen. The core point is how to dynamically generate cards for quick apps.

[0099] It should be noted that in the present application, the electronic device dynamically generates a card based on the content currently displayed by the quick application, including: the electronic device displays the interface of the quick application on the first screen or the first interface. When the electronic device meets the preset lock screen scenario, the electronic device identifies the type of the quick application, obtains the card template corresponding to the type of the quick application, and then calls the data extraction interface corresponding to the card template to extract data from the interface of the quick application, and then adds the extracted data to the card template to generate a card. The specific implementation steps will be described in detail below.

[0100] In view of the above problems, the improvement points of this application plan are:

[0101] Effect 1: Dynamically generate a card for each quick app and display the card in the folded state to facilitate user operation and improve user experience.

[0102] Effect 2: Reduce the development cost of quick application developers. They only need to develop quick applications and no longer need to develop cards.

[0103] Effect 3: Make full use of the size of the foldable screen to increase page views for developers.

[0104] The present application solution can not only dynamically generate cards based on the content currently displayed by the quick app when a screen folding event occurs when the quick app is running in the foreground. The present application solution can also dynamically generate cards based on the content currently displayed by the quick app when a lock screen event occurs when the quick app is running in the foreground. For example, the electronic device displays the interface of the quick app on the first interface. When the electronic device meets the preset lock screen scenario, the electronic device can dynamically generate a card based on the content currently displayed by the quick app, and display the card on the second interface. For example, the first interface is the desktop, and the second interface is the lock screen interface.

[0105] Through this application solution, most cards in the smart service business do not need to be developed. Only quick applications and integrated data extraction interfaces need to be developed. The usage scenarios include but are not limited to: Scenario 1: Quick service center card. Scenario 2: Negative one screen card. Scenario 3: Desktop card. Scenario 4: Folding screen small screen card. Scenario 5: Lock screen card.

[0106] Hereinafter, an electronic device to which the method for dynamically generating quick app cards provided in an embodiment of the present application is applied will be described with reference to the accompanying drawings.

[0107] Exemplarily, the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), and other devices with voice communication functions. The embodiments of the present application do not impose any special restrictions on the specific form of the electronic device.

[0108] Figure 8 The following is a schematic diagram showing the structure of an electronic device provided by an embodiment of the present application. Figure 8 The electronic device shown may be a mobile phone. Figure 3 As shown, the mobile phone may include: a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver (i.e., an earpiece) 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, etc.

[0109] Exemplarily, the sensor module may include sensors such as a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and a bone conduction sensor. In an embodiment of the present application, the electronic device may detect whether the user's ear is close to the receiver through sensors such as a proximity light sensor (i.e., a light sensor) and a distance sensor. For example, the electronic device may detect whether there is an obstruction in front of the front panel (or screen) of the mobile phone, and the distance between the obstruction and the screen through a distance sensor to determine whether the current user's ear is close to the receiver.

[0110] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0111] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0112] Among them, the processor 310 is used to: when the display screen 394 displays the interface of the first quick application, in response to a preset event occurring on the electronic device, identify the type of the first quick application, and the first quick application is of the first type; the electronic device obtains a first card template corresponding to the first type, and the first card template is preset with a data extraction interface, and the data extraction interface is used to indicate the data element information to be extracted; call the data extraction interface to extract key data from the interface of the first quick application; fill the key data into the first card template to generate the first card; and instruct the display screen 394 to display the first card.

[0113] The controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0114] The processor 310 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.

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

[0116] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the mobile phone. In other embodiments, the mobile phone may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0117] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.

[0118] The mobile phone can realize the display function through a GPU, a display screen 394, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs, which execute program instructions to generate or change display information. The display screen 394 is used to display images, videos, etc.

[0119] Specifically for the present application, it is assumed that the electronic device is a foldable device and includes two screens (referred to as the first screen and the second screen, respectively). For example, the first screen and the second screen are the inner screen and the outer screen, respectively, or the first screen and the second screen are the large screen and the small screen, respectively. When the screen is unfolded, the first screen is lit and displays the quick application interface. When the screen is folded, the first screen is off, and the second screen is lit and displays a card, which is a card generated based on the quick application interface.

[0120] The external memory interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The internal memory 321 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 310 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 321. For example, in an embodiment of the present application, the processor 310 can execute instructions stored in the internal memory 321, and the internal memory 321 may include a program storage area and a data storage area.

[0121] The above is a specific description of the embodiment of the present application using the electronic device 100 as an example. It should be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. The electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0122] In addition, an operating system is running on the above hardware. The operating system of the operating system layer can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system or Windows operating system, etc. Applications can be installed and run on the operating system.

[0123] The operating system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0124] Fig. 9 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0125] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: application layer (applications), application framework layer (application framework), system library and Android runtime (Android Runtime), and kernel layer (kernel).

[0126] The application layer may include a series of application packages. For example, the application layer may include applications such as desktop, negative one screen, quick service center, etc. (applications may be referred to as applications for short), and the present application embodiment does not impose any restrictions on this. The application layer also includes a quick application engine application, which may be referred to as a quick application engine for rendering quick application cards.

[0127] In the embodiment of the present application, the application layer may also include a context awareness module, a business logic processing module, a business presentation module, etc. The context awareness module, the business logic processing module, and the business presentation module may be independent APPs, or may be integrated in different APPs, or may be integrated in the same APP, which is not limited in the present application.

[0128] Among them, the context awareness module, which runs permanently or in a low-power form, has the ability to perceive external facts or environments. The context awareness module can detect related events and obtain the status of events from other applications in the application layer or the application framework layer or the system layer or the kernel layer through the application programming interface (API), such as detecting Bluetooth connections, network connections, monitoring user text messages, custom timers, etc. In an embodiment of the present application, the main function of the context awareness module is to monitor whether a screen folding event or a lock screen event occurs when the screen displays the quick application interface. The context awareness module can notify the business logic processing module of the monitored events and the type information of the quick application.

[0129] The business logic processing module (such as the computing engine) has business logic processing capabilities, and is used to perform data processing or logic judgment based on the events monitored by the context awareness module, the type information of the quick application, and the preset logic algorithm: judging whether the current scene meets the preset scene based on the monitored events, and the preset scene is a screen folding scene or a lock screen scene when the quick application is running in the foreground; identifying the type of the quick application, and determining the card template corresponding to the type of the quick application, and then calling the data extraction interface corresponding to the card template to extract data from the quick application interface displayed when the screen is folded or locked; and then filling the extracted data into the corresponding position of the card template to obtain a card. The specific judgment process will be described in detail below.

[0130] The business presentation module (such as YOYO Suggestion) is used to display a card on the screen of the electronic device according to the instructions of the business logic processing module. The card can present prompt information related to the content recently displayed by the quick application. Through dynamically generated cards, information display is more intuitive, which improves the user experience.

[0131] The application framework layer provides API and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Fig. 9 As shown, the application framework layer may include a card service management module, a card template management module, a card type identification module, a data extraction module, etc., and the embodiments of the present application do not impose any restrictions on this.

[0132] The card service management module is used to manage the relevant information of quick app cards and provide services related to quick app cards.

[0133] The card template management module is used to store multiple card templates. One card template corresponds to one type of quick application. Each card template is preset with a data extraction interface. Exemplarily, the multiple card templates may include: reading card templates, list card templates, audio card templates, travel card templates, and game card templates.

[0134] The quick app type identification module is used to identify the type of quick app running in the foreground, and determine a card template corresponding to the type of quick app according to the type of the quick app.

[0135] The data extraction module is used to extract data from the display interface of the quick application running in the foreground according to the data extraction interface corresponding to the card template.

[0136] When the quick app is triggered to run, the quick app engine renders the quick app interface and displays it on the first screen.

[0137] Accordingly, in preset scenarios such as screen folding scenarios or lock screen scenarios, the quick application engine application calls various functional modules of the application framework layer, identifies the type of quick application running in the foreground, and determines the card template corresponding to the type of quick application according to the type of quick application; and extracts data from the display interface of the quick application running in the foreground according to the data extraction interface corresponding to the card template; and then generates a card based on the data extracted from the quick application interface and the card template.

[0138] Then, the quick application engine renders the card and displays it on the second screen.

[0139] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0140] The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0141] Specifically for this application, the system library includes a data extraction interface, and different types of card templates correspond to different data extraction interfaces. For example, the data extraction interface includes a reading interface, a list interface, an audio interface, a travel interface, and a game interface.

[0142] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0143] For ease of explanation, the figure also shows a hardware layer that interacts with the above software structure. For example, the hardware layer may include a display screen. Exemplarily, the display screen may be a foldable screen, and before the screen is folded, the electronic device may display the quick application interface through the first screen, and after the screen is folded, the electronic device may display the card through the second screen.

[0144] It should be noted that although the embodiments of the present application are based on The system is used as an example, but the basic principles are also applicable to or Electronic devices with other operating systems.

[0145] The execution subject of the method for dynamically generating quick application cards provided in the embodiment of the present application can be the above-mentioned electronic device, or it can be a functional module and / or functional entity in the electronic device that can implement the method for dynamically generating quick application cards, and the present application scheme can be implemented in hardware and / or software, which can be determined according to actual use requirements, and the embodiment of the present application is not limited. Below, taking an electronic device as an example, the method for dynamically generating quick application cards provided in the embodiment of the present application is exemplarily described in combination with the accompanying drawings.

[0146] The following will be combined with the accompanying drawings to illustrate the embodiments of the present application through the following multiple exemplary embodiments. The methods in the following embodiments can be implemented in an electronic device with the above hardware structure and software architecture. The hardware structure diagram of the electronic device can be as follows: Figure 8 As shown, the software structure diagram of the electronic device can be as follows Figure 8As shown, the embodiments of the present application are not limited to this. The execution subject of the method for dynamically generating quick application cards provided in the embodiments of the present application can be an electronic device, or a hardware and / or software module in the electronic device. For the sake of convenience, the embodiments of the present application are all illustrated by taking the execution subject as an electronic device as an example.

[0147] The following describes a method for dynamically generating quick app cards provided by an embodiment of the present application in conjunction with a specific embodiment.

[0148] Implementation method 1: Scenario where a screen folding event occurs when a quick app is running in the foreground

[0149] Fig.10 A flowchart of a method for dynamically generating quick app cards provided in the first embodiment of the present application.

[0150] S101. The electronic device displays an interface of a first quick application on a first screen.

[0151] S102: When the electronic device detects a screen folding operation, the electronic device identifies a type of the first quick app.

[0152] S103: The electronic device obtains, according to the type of the first quick app, a first card template corresponding to the type of the first quick app.

[0153] In some embodiments, the electronic device may pre-store a variety of card templates, each card template corresponds to a type of quick application, and different card templates preset different data extraction interfaces.

[0154] Exemplarily, the types of quick apps include reading, list, audio, travel, and games.

[0155] Exemplarily, the multiple card templates include reading card templates, list card templates, audio card templates, travel card templates, and game card templates.

[0156] Exemplarily, the data extraction interface includes a reading interface, a list interface, an audio interface, a travel interface, and a game interface.

[0157] Table 1

[0158]

[0159]

[0160] As shown in Table 1 above, one type of quick application corresponds to one card template, and one card template corresponds to one data extraction interface.

[0161] For example, reference Fig.13In (a), the reading quick application corresponds to the reading card template. The reading card template may include a continue reading control, the application name, the latest reading chapter, and the most recently read page information summary. Accordingly, the reading card template corresponds to the reading interface, which is used to instruct the extraction of the following data: application name, the latest reading chapter, and the most recently read page information summary.

[0162] For example, reference Fig.13 In (b), the audio class quick application corresponds to the audio class card template. The audio class card template may include the application name, audio information, audio / video playback progress bar, play / pause control, fast forward / rewind control, etc. Correspondingly, the audio class card template corresponds to the audio class interface, which is used to indicate the extraction of the following data: application name, audio information, audio / video playback progress.

[0163] For example, reference Fig.13 In (c), the travel-related quick application corresponds to the travel-related card template. The travel-related card template may include controls such as the application name, travel vehicle information, map display area, and contact driver. Accordingly, the travel-related card template corresponds to the travel-related interface, which is used to instruct the extraction of the following data: application name, travel vehicle information, and real-time map data.

[0164] For example, reference Fig.13 In (d), the list-type quick application corresponds to the list-type card template. The list-type card template may include the application name, the list area, and more controls. Accordingly, the list-type card template corresponds to the list-type interface, which is used to indicate the extraction of the following data: application name, and a preset number of list lists.

[0165] For example, reference Fig.13 In (e), the game-type quick application corresponds to the game-type card template. The game-type card template may include a continue game control, an application name, a game screen, etc. Accordingly, the game-type card template corresponds to a game-type interface, which is used to indicate the extraction of the following data: application name, game screen.

[0166] It should be noted that the above exemplary examples list five types of quick applications, card templates, and data extraction interfaces. It can be understood that in actual implementation, other possible types may also be included, or the types may be divided in other ways. The embodiments of the present application do not limit this.

[0167] S104. The electronic device extracts key data from the interface of the first quick app according to the data extraction interface corresponding to the first card template.

[0168] For example, taking the first card template as a reading card template, the reading card template corresponds to a reading interface. The electronic device can extract the application name, the latest reading chapter, and the most recently read page information summary from the interface of the first quick application according to the data information extracted by the reading interface.

[0169] S105: The electronic device fills the key data into the first card template to generate a first card.

[0170] For example, taking the first card template as a reading card template, the reading card template includes a fixed content area and a data filling area. For example, the fixed content area is used to display a continue reading control. The data filling area is an area for filling content according to the extracted data.

[0171] The electronic device fills the extracted information such as the application name, the latest read chapter and the most recently read page information summary into the data filling area in the reading card template.

[0172] S106: After the screen is folded, the first card is displayed on the second screen.

[0173] Wherein, the electronic device is a foldable electronic device. When the electronic device is in an unfolded state, the first screen is in a lighted state, and the electronic device can display the interface of the first quick application through the first screen; when the electronic device is in a folded state, the first screen is extinguished, the second screen is lighted, and the electronic device can display the first card through the second screen.

[0174] In some embodiments, the first screen may be a large screen and the second screen may be a small screen.

[0175] In other embodiments, the first screen may be an inner screen, and the second screen may be an outer screen.

[0176] The solution of the present application can dynamically generate a card based on the content currently displayed by the quick application in a preset scenario. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recent display page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent.

[0177] Fig.11 A schematic diagram of a process for an electronic device to obtain quick application data and a card template in the present application solution is shown.

[0178] Quick application data transmission process: Fig.11As shown, quick applications can be developed by developers on the developer platform. Among them, quick applications can be a certain type of quick applications, such as reading quick applications. Developers apply for quick applications to the server through the developer platform. Then, the server packages the quick application data into an RPK package and sends it to the electronic device. The electronic device obtains the RPK package sent by the server side through the RPK package management module in the quick application engine. Then, the electronic device uses the JavaScript engine module to load and render the quick application based on the RPK package.

[0179] Card template transmission process: Fig.11 As shown, the card template can be developed by the developer on the developer platform. Among them, the card template includes a variety of card templates, one card template corresponds to a type of quick application, and each card template is preset with a data extraction interface; for example, a reading-type quick application corresponds to a reading-type card template, and the reading-type card template is preset with a reading-type interface. Then, the developer applies for the card template to be put on the server through the developer platform. Then, the server sends the card template to the electronic device. The electronic device obtains the card template sent by the server side through the card template management module in the quick application engine, and stores the card template. Then, in the preset scenario, the electronic device generates a card based on the content currently displayed by the quick application and the card template, and completes the card rendering through the JavaScript engine module.

[0180] Fig.12 The schematic diagram of the timing flow of the electronic device obtaining quick application data and card templates and dynamically generating cards in the present application scheme is shown. Among them, the schematic diagram of the flow involves data interaction between the server side and the electronic device side, the server side includes the developer platform and the cloud server (such as Negative One Screen Cloud), and the electronic device side includes the quick application engine application and the display module.

[0181] First of all, it should be noted that the display module includes a first screen and a second screen. The display module can sense a screen expansion event or a screen folding event. When a screen expansion event occurs, the first screen is lit and used to display content. When a screen folding event occurs, the first screen is turned off, and the second screen is lit and used to display content.

[0182] S201. In response to the developer's operation, the developer platform designs a plurality of card templates, one card template corresponds to one type of quick application, and each card template presets a data extraction interface.

[0183] Different card templates correspond to different data extraction interfaces. The data extraction interface is used to instruct the acquisition of specified data.

[0184] S202. In response to the developer's operation, the developer platform applies to the cloud server for listing the card template.

[0185] S203: The cloud server completes the listing by verifying the card template.

[0186] S204: The cloud server sends the card template to the electronic device.

[0187] S205: The quick application engine application of the electronic device receives the card template and stores the card template.

[0188] The above S201-S205 illustrate the card template transmission process. The following further describes the fast application data transmission process.

[0189] S206: In response to the developer's operation, the developer platform develops a quick application.

[0190] S207. In response to the developer's operation, the developer platform applies to the cloud server for listing the quick app.

[0191] S208. The cloud server verifies the quick application and completes the listing.

[0192] S209: The cloud server sends the quick application RPK package to the electronic device.

[0193] It should be noted that here, the server side is exemplarily described as sending the card template and the quick application data to the electronic device separately. In actual implementation, the server side can package the card template and the quick application data into an RPK package and send them together to the electronic device. In other words, the RPK package includes both the quick application data and different types of card templates and various data extraction interfaces corresponding to different types of card templates.

[0194] S210: The quick application engine application of the electronic device loads the quick application according to the quick application RPK package.

[0195] S211. The quick application engine application notification display module displays the icon of the quick application on the first screen.

[0196] S212: Display the icon of the quick application on the first screen.

[0197] S213: In response to the operation on the quick application icon, display the quick application interface on the first screen.

[0198] In some embodiments, in response to an operation on a quick app icon, the electronic device may obtain quick app data locally from the electronic device, load the quick app data, complete rendering of the quick app interface, and display the quick app interface on the first screen.

[0199] In other embodiments, in response to an operation on a quick app icon, the electronic device may obtain quick app data from a server, load the quick app data, complete rendering of the quick app interface, and display the quick app interface on the first screen.

[0200] S214. The display module notifies the quick application engine application that the first screen is displaying the quick application interface.

[0201] S215: After the display module senses the screen folding operation, it notifies the quick application engine application of the screen folding event.

[0202] S216: In response to the screen folding event, the quick application engine application identifies the type of the quick application.

[0203] In response to the screen folding event, the electronic device determines whether the application running in the foreground is a quick application. If it is determined that the application running in the foreground is a quick application, the electronic device identifies the type of the quick application running in the foreground.

[0204] For example, the type of quick app may be reading, audio, travel, list, or game.

[0205] S217: The quick application engine obtains a card template corresponding to the type of the quick application.

[0206] It should be noted that one type of quick app corresponds to one card template, and one card template has a preset data extraction interface for extracting specified data. Different card templates correspond to different data extraction interfaces.

[0207] S218. The quick application engine application calls the data extraction interface corresponding to the card template to extract data from the quick application interface.

[0208] S219: The quick application engine application generates a card according to the card template and the extracted data.

[0209] S220: The quick application engine application notification display module displays the card on the second screen.

[0210] S221. When the screen is folded, display the card on the second screen.

[0211] The solution of the present application can dynamically generate a card based on the content currently displayed by the quick application when a screen folding event occurs while the quick application is running in the foreground. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent.

[0212] The following takes a quick application that is a reading-type quick application as an example to exemplify the method for dynamically generating a quick application card provided in an embodiment of the present application.

[0213] Fig.14The interactive process diagram of the method for dynamically generating quick application cards for reading quick applications provided in the first embodiment of the present application, wherein the interactive process involves the interaction between the developer, the server, the electronic device, and the user.

[0214] Developer side

[0215] On the one hand, when developers upload quick apps, they can classify them into the following types based on user usage habits:

[0216] Reading quick apps: including novel and news quick apps.

[0217] Audio quick apps: quick apps that use the quick app audio playback API.

[0218] Travel-related quick apps: quick apps that use the map component interface.

[0219] List-type quick apps: suitable for quick apps such as shopping and news lists.

[0220] Game quick apps: quick app type.

[0221] On the other hand, developers develop corresponding card templates for each quick app type: reading card template, audio card template, travel card template, list card template, and game card template.

[0222] Taking the quick app of reading as an example, the developer develops the quick app of reading and generates a quick app package of reading.

[0223] In addition, the developer designs a reading interface. For example, the reading interface may include:

[0224] Interface function 1, getCurrentPage(): current page and position;

[0225] Interface function 2: getSummary(): current page information summary;

[0226] Interface function 2: getOptr(): operation buttons and actions.

[0227] Therefore, through the reading interface, the data that can be obtained include: the current page and position, the current page information summary, and the operation buttons and actions.

[0228] Exemplarily, the operation button may be a “Close” button or a “Close small screen card” button.

[0229] Exemplarily, the operation button may be a “continue reading” button, a “adjust to reading page” button, and / or a “scroll reading on small screen” button.

[0230] Developers integrate data extraction interfaces. Developers can specify the content of dynamically generated cards to more accurately display information on the cards and present it to users. Different data extraction interfaces can be defined according to categories, for example:

[0231] (1) Reading interface: This interface can obtain the following data:

[0232] A. Current page and position, for example: novel reading interface, Chapter 11.

[0233] B. Summary of current page information.

[0234] C. Operation buttons and actions.

[0235] For example, operation button 1: Close, closes the small screen card.

[0236] For example, operation button 2: continue reading, adjust to the reading page, and scroll to read on the small screen.

[0237] (2) List interface: This interface can obtain the list of lists and operation buttons and actions.

[0238] (3) Audio class interface: The audio class does not require an integrated interface and automatically identifies whether to call the audio interface to display the audio playback controls.

[0239] (4) Travel interface: The travel class does not require an integrated interface and automatically identifies whether to call the map interface to display the map component.

[0240] (5)Game interface.

[0241] Developers apply through the developer platform to put the reading quick app package on the server side, and upload the reading interface information to the server through the developer platform.

[0242] Server side

[0243] The server calls the negative one screen cloud to complete the quick application package listing, and identifies the type of the quick application package listed, sets the type to the reading category, and generates the RPK package of the reading category quick application. Among them, the RPK package of the reading category quick application can also include a quick application card package, that is, a card with preset form and content for display on the negative one screen. The RPK package includes quick application metadata, such as the name (name), icon (Icon) and storage address (RPK URL) of the quick application.

[0244] The server calls the developer platform to generate a card template based on the reading interface information.

[0245] The server sends the RPK package and card template of the reading quick application to the electronic device side.

[0246] Electronic equipment side

[0247] The electronic device is a foldable electronic device, and the electronic device includes a large screen and a small screen. The electronic device is currently in an unfolded state, the large screen is in a lighted state, and the electronic device displays content through the large screen.

[0248] When the user clicks the icon or preset card of the reading quick application in the negative one screen interface (or desktop or quick service center, etc.), the electronic device obtains the RPK package of the reading quick application from the server side through the quick application engine application. The electronic device can receive and store the RPK package and card template of the reading quick application.

[0249] The electronic device calls the quick application engine application to load and parse the RPK package of the quick application and render the page of the quick application.

[0250] Accordingly, the electronic device jumps from the negative one screen interface to the page of the quick application through Deeplink. That is, the electronic device displays the page of the quick application through the large screen.

[0251] Among them, DeepLink is called a deep link or a call-up link. When a user clicks the link, the electronic device can jump to the specified page of the quick application.

[0252] When the user folds the screen, the electronic device detects that a screen folding event has occurred. In response to the screen folding event, the electronic device identifies the type of the quick app running in the foreground, and the quick app running in the foreground is a reading-type quick app; then the electronic device calls the quick app engine application to obtain a reading-type card template corresponding to the reading-type quick app, and then extracts data from the page of the reading-type quick app according to the reading-type interface corresponding to the reading-type card template, and then adds the extracted data to the reading-type card template, and performs card rendering to generate a card.

[0253] Then, after the screen is folded, the electronic device turns off the large screen and displays the card on the small screen.

[0254] Fig.15 A flowchart of a method for dynamically generating quick app cards for reading-related quick apps provided in the first embodiment of the present application. Fig.15 The automatic generation process of reading cards implemented by the present application scheme is described, and the possible implementation method of data extraction is described using the novel reading category as an example.

[0255] S301: The electronic device displays a first page of a quick application on a first screen.

[0256] S302: When the electronic device detects a screen folding event, the electronic device identifies the first quick application type as a reading application.

[0257] S303: The electronic device obtains a card template corresponding to the reading category.

[0258] refer to Fig.15 As shown, the card template corresponding to the reading quick app may include a continue reading control, the app name, the latest reading chapter, and a summary of the most recently read page information.

[0259] Correspondingly, the reading card template corresponds to the reading interface, which is used to indicate the extraction of the following data: application name, latest reading chapter, and recent reading page information summary.

[0260] S304: The electronic device extracts data from the first page according to the data extraction interface corresponding to the reading card template.

[0261] S305: The electronic device determines whether the calling interface to extract data is successful.

[0262] S306: When the interface is called to extract data successfully, the electronic device adds the extracted data to a corresponding position of the reading card template to obtain a first card.

[0263] S307: When the screen is folded, the electronic device displays the first card on the second screen.

[0264] refer to Fig.15 As shown, after filling the data in the reading card template, the first card obtained includes fine novels (ie, the application name), a continue reading control, the fourth section of the fifth chapter (ie, the latest reading chapter), and xxx (a summary of the most recently read page information).

[0265] S308: When the calling interface to extract data fails, the electronic device extracts data using a dynamic extraction method.

[0266] After S308 , S306 and S307 are continuously executed.

[0267] In an embodiment of the present application, the electronic device may preferentially use the data extraction interface integrated by the developer to extract data, so that the data extraction is more accurate. If the electronic device cannot call the data extraction interface integrated by the developer, then the electronic device may use a dynamic extraction method to extract data. For example, the reading extraction rule is to capture the current page information and generate a summary. For example, extract a preset number of words (e.g., 80 words) at the top of the screen. For another example, add a "Continue Reading" button. If the user clicks the "Continue Reading" button, it can trigger the electronic device to jump to the current page, which makes it easier for the user to continue reading.

[0268] In the above embodiments, the quick application is a reading-type quick application as an example to exemplify the method for dynamically generating quick application cards provided in the embodiments of the present application. It can be understood that in actual implementation, the present application scheme is also applicable to other types of quick applications, such as audio, travel or other possible types, etc., and the embodiments of the present application are not limited to this.

[0269] For example, Fig.16 The following is a schematic diagram showing an interface of the method for dynamically generating quick application cards provided in an embodiment of the present application and applied to an audio scene of a foldable electronic device. Fig.16 As shown, when the electronic device is in an unfolded state, the electronic device displays the interface of the audio news application through the inner screen, and the audio news application is an audio-type quick application. When the electronic device detects a screen folding operation, the electronic device determines whether the application running in the foreground is a quick application. When the electronic device determines that the application running in the foreground is a quick application, the electronic device identifies the type of the quick application running in the foreground, and the quick application running in the foreground is an audio-type quick application; then the electronic device calls the quick application engine application to obtain the audio-type card template corresponding to the audio-type quick application, and then extracts data from the page of the audio-type quick application according to the audio-type interface corresponding to the audio-type card template, and then adds the extracted data to the audio-type card template, and performs card rendering to generate a card. Then, after the screen is folded, the electronic device turns off the large screen and displays the card on the small screen.

[0270] For example, Fig.17 The following is a schematic diagram showing an interface of a method for dynamically generating quick application cards provided in an embodiment of the present application and applied to a travel scenario of a foldable electronic device. Fig.17 As shown, when the electronic device is in the unfolded state, the electronic device displays the interface of the XX travel application through the inner screen, and the XX travel application is a travel-type quick application. When the electronic device detects the screen folding operation, the electronic device determines whether the application running in the foreground is a quick application. When the electronic device determines that the application running in the foreground is a quick application, the electronic device identifies the type of the quick application running in the foreground, and the quick application running in the foreground is a travel-type quick application; then the electronic device calls the quick application engine application to obtain the travel-type card template corresponding to the travel-type quick application, and then extracts data from the page of the travel-type quick application according to the travel-type interface corresponding to the travel-type card template, and then adds the extracted data to the travel-type card template, and performs card rendering to generate a card. Then, after the screen is folded, the electronic device turns off the large screen and displays the card on the small screen.

[0271] The solution of the present application can dynamically generate a card based on the content currently displayed by the quick application when a screen folding event occurs while the quick application is running in the foreground. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent.

[0272] Implementation method 2: Scenario where a lock screen event occurs when a quick app is running in the foreground

[0273] Fig.18 A flowchart of a method for dynamically generating quick app cards provided in the second embodiment of the present application.

[0274] S401. The electronic device displays an interface of a first quick application through a first interface.

[0275] Exemplarily, the first interface may be a desktop interface, or may be other interfaces.

[0276] S402: When the electronic device detects a screen lock operation, the electronic device identifies a type of the first quick application.

[0277] In response to the lock screen operation, the electronic device determines whether the application running in the foreground is a quick application. If it is determined that the application running in the foreground is a quick application, the electronic device identifies the type of the quick application running in the foreground.

[0278] S403: The electronic device obtains, according to the type of the first quick app, a first card template corresponding to the type of the first quick app.

[0279] S404: The electronic device extracts key data from the interface of the first quick app according to the data extraction interface corresponding to the first card template.

[0280] S405: The electronic device fills the key data into the first card template to generate a first card.

[0281] S406: After the screen is locked, display the first card through the lock screen interface.

[0282] The solution of the present application can dynamically generate a card based on the content currently displayed by the quick application in a preset scenario. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recent display page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent.

[0283] Fig.19The schematic diagram of the timing flow of dynamically generating cards in the second embodiment of the present application is shown. Among them, the schematic diagram of the flow involves data interaction between the server side and the electronic device side. The server side includes a developer platform and a cloud server (such as a negative one screen cloud), and the electronic device side includes a quick application engine application and a display module. The display module includes a desktop application and a lock screen application.

[0284] For the description of S501 to S510 , reference may be made to the detailed description of S201 to S210 in the above first embodiment, which will not be repeated here.

[0285] S511. The quick application engine application notification display module displays the icon of the quick application on the desktop.

[0286] S512. Display the icon of the quick application on the desktop.

[0287] S513: In response to the operation on the quick application icon, display the quick application interface on the desktop.

[0288] In some embodiments, in response to an operation on a quick app icon, the electronic device may obtain quick app data locally from the electronic device, load the quick app data, complete rendering of the quick app interface, and display the quick app interface on the desktop.

[0289] In other embodiments, in response to an operation on a quick app icon, the electronic device may obtain quick app data from a server, load the quick app data, complete rendering of the quick app interface, and display the quick app interface on the desktop.

[0290] S514: The display module notifies the quick application engine application that the desktop is displaying the quick application interface.

[0291] S515: After the display module senses the screen folding operation, it notifies the quick application engine application of the screen folding event.

[0292] S516: In response to the screen folding event, the quick application engine application identifies the type of the quick application.

[0293] In response to the screen folding event, the electronic device determines whether the application running in the foreground is a quick application. If it is determined that the application running in the foreground is a quick application, the electronic device identifies the type of the quick application running in the foreground.

[0294] For example, the type of quick app may be reading, audio, travel, list, or game.

[0295] S517: The quick application engine obtains a card template corresponding to the type of the quick application.

[0296] Among them, one type of quick application corresponds to one card template, and one card template is preset with a type of data extraction interface for extracting specified data. Different card templates correspond to different data extraction interfaces.

[0297] S518. The quick application engine application calls the data extraction interface corresponding to the card template to extract data from the quick application interface.

[0298] S519: The quick application engine application generates a card according to the card template and the extracted data.

[0299] S520: The quick application engine application notification display module displays a card on the lock screen interface.

[0300] S521. When the screen is locked, display the card on the lock screen interface.

[0301] The solution of the present application can dynamically generate a card based on the content currently displayed by the quick application when a lock screen event occurs while the quick application is running in the foreground. The card can present prompt information related to the content recently displayed by the quick application, so that the user can view the user's recent operation information of the quick application through the card, and the user can quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent.

[0302] Fig. 20 (a) and (b) in the figure show a schematic diagram of a scenario in which a lock screen event occurs when a quick app is running in the foreground in the related art. When the electronic device is in a screen unlocked state, the electronic device is displaying a page of a quick app through a first interface (such as a desktop), and when the electronic device is in a screen locked state, the lock screen interface does not display content related to the quick app.

[0303] Fig. 20 (c) and (d) in the figure show a schematic diagram of a scenario in which a lock screen event occurs when a quick app is running in the foreground in the solution of the present application. When the electronic device is in a screen unlocked state, the electronic device is displaying a page of a quick app through a first interface (such as a desktop), and when the electronic device detects a lock screen operation, the electronic device generates a card based on the page currently displayed by the quick app. When the screen is locked, the electronic device displays a card on the lock screen interface, and presents content related to the quick app through the card.

[0304] In some embodiments, the electronic device enables the smart card function by default. When the smart card function is enabled, the electronic device can automatically detect whether a preset event occurs. For example, the preset event may be a screen folding event or a screen lock event when the quick application page is displayed in the foreground. When the electronic device detects that a preset event occurs, the electronic device can dynamically generate a card based on the quick application page displayed in the foreground.

[0305] In some embodiments, the electronic device can enable or disable the smart card function in response to user operation.

[0306] In some embodiments, the electronic device can enable or disable specific functions of the smart card function in response to user operations.

[0307] For example, in response to user operations, the electronic device can turn on or off the "function of displaying cards on the small screen after the screen is folded."

[0308] For example, in response to a user operation, the electronic device may turn on or off the "function of displaying cards on the lock screen interface."

[0309] Fig.21 A schematic diagram of a function setting interface of a method for dynamically generating quick app cards provided in an embodiment of the present application is shown.

[0310] like Fig.21 As shown in (a) and (b) in the figure, in response to the user's operation on the setting icon 62 in the desktop 61, the electronic device switches from displaying the desktop 61 to displaying the setting interface 63.

[0311] like Fig.21 As shown in (b) and (c), in response to the user's operation on the smart assistant option 64 in the setting interface 63, the electronic device switches from displaying the setting interface 63 to displaying the smart assistant interface 65.

[0312] like Fig.21 As shown in (c) and (d) of FIG. 1 , in response to the user's operation on the smart card option 66 in the smart assistant interface 65, the electronic device switches from displaying the smart assistant interface 65 to displaying the smart card interface 67. Through the smart card function, a card can be generated and displayed based on the page of the currently displayed quick application in a specific scenario, thereby achieving the purpose of dynamically generating a card.

[0313] Among them, in response to the user's operation on the control 68, the electronic device can turn on or off the "function of displaying cards on the small screen after the screen is folded."

[0314] Among them, in response to the user's operation on control 69, the electronic device can turn on or off the "lock screen interface display card function".

[0315] Through the scheme of the present application, a card can be dynamically generated based on the content currently displayed by the quick application in the scenario where a preset event occurs, wherein the card template corresponding to the quick application type is first obtained, and key data is extracted from the quick application interface according to the preset data extraction interface of the card template, and then the extracted key data is filled into the card template to obtain a card. The card can present prompt information related to the content recently displayed by the quick application, making it convenient for users to view the user's recent operation information of the quick application through the card, and convenient for users to quickly enter the recently displayed page of the quick application through the card. Therefore, the card function provided by the present application is more intelligent and provides users with more convenient services.

[0316] It should be noted that, in the embodiments of the present application, "greater than" can be replaced by "greater than or equal to", "less than or equal to" can be replaced by "less than", or "greater than or equal to" can be replaced by "greater than", and "less than" can be replaced by "less than or equal to".

[0317] The various embodiments described herein may be independent schemes or may be combined according to internal logic, and these schemes all fall within the scope of protection of the present application. The above mainly describes the scheme provided by the embodiment of the present application from the perspective of method steps. It is understandable that, in order to realize the above functions, the electronic device implementing the method includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of protection of the present application.

[0318] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other feasible division methods in actual implementation.

[0319] The present application also provides a chip, which is coupled to a memory and is used to read and execute computer programs or instructions stored in the memory to execute the methods in the above embodiments.

[0320] The present application also provides an electronic device, which includes a chip, and the chip is used to read and execute a computer program or instruction stored in a memory, so that the method in each embodiment is executed.

[0321] This embodiment also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method of dynamically generating quick application cards in the above-mentioned embodiment.

[0322] This embodiment also provides a computer program product, in which a computer-readable storage medium stores program code. When the computer program product is run on a computer, the computer executes the above-mentioned related steps to implement the method for dynamically generating quick application cards in the above-mentioned embodiment.

[0323] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory so that the chip executes the method of dynamically generating quick application cards in the above-mentioned method embodiments.

[0324] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.

[0325] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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.

[0326] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of objects. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two, for example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.

[0327] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for dynamically generating a quick application card, characterized in that: Applied to electronic equipment, the method comprises: The electronic device displays an interface of a first quick application; In response to a preset event occurring on the electronic device, the electronic device identifies the type of the first quick application, where the first quick application is of a first type; the preset event is a screen folding event or a screen lock event; The electronic device acquires a first card template corresponding to the first type, where the first card template is preset with a data extraction interface, and the data extraction interface is used to indicate data element information to be extracted; The electronic device calls the data extraction interface to extract key data from the interface of the first quick application; The electronic device fills the key data into the first card template to generate a first card; The electronic device displays the first card through a folded screen or through a lock screen interface, where the first card includes the user's most recent usage information of the first quick application.

2. The method according to claim 1, characterized in that: In response to a preset event occurring on the electronic device, the electronic device identifying the type of the first quick application includes: In response to a preset event occurring in the electronic device, the electronic device determines whether a quick application is running in the foreground; When the electronic device determines that the first quick app is running in the foreground, the electronic device identifies the type of the first quick app.

3. The method according to claim 1, characterized in that The method further comprises: In response to the occurrence of the preset event in the electronic device, the electronic device switches from the first state to the second state.

4. The method according to claim 3, characterized in that The electronic device displays the interface of the first quick application, comprising: when the electronic device is in the first state, the electronic device displays the interface of the first quick application; The electronic device displays the first card, including: when the electronic device is in the second state, the electronic device displays the first card.

5. The method according to any one of claims 1 to 4, characterized in that The electronic device is a foldable device, and the electronic device comprises a first screen and a second screen; the preset event is a screen folding event; The electronic device displays the interface of the first quick application, comprising: when the electronic device is in an unfolded state, the electronic device displays the interface of the first quick application through the first screen; The electronic device displays the first card, including: when the electronic device is in a folded state, the electronic device displays the first card through the second screen.

6. The method according to claim 5, characterized in that The display size of the first screen is larger than the display size of the second screen.

7. The method according to any one of claims 1 to 4, characterized in that The preset event is a screen lock event; The electronic device displays the interface of the first quick application, including: when the screen of the electronic device is unlocked, the electronic device displays the interface of the first quick application through the first interface; The electronic device displays the first card, including: when the electronic device is in a screen locked state, the electronic device displays the first card through the lock screen interface.

8. The method according to any one of claims 1 to 4, characterized in that Different types of quick apps correspond to different types of card templates. Different types of card templates have different preset data extraction interfaces. Different data extraction interfaces define different data element information.

9. The method according to any one of claims 1 to 4, characterized in that The first card template includes a preset function area and a data filling area; the preset function area is provided with a preset function control; The electronic device fills the key data into the first card template to generate a first card, including: The electronic device fills the key data into the data filling area of ​​the first card template; The electronic device performs rendering based on the preset function controls in the preset function area and the key data in the data filling area to obtain the first card.

10. The method according to any one of claims 1 to 4, characterized in that After the electronic device displays the first card, the method further includes: In response to the user's operation on the user's most recent use information, the electronic device jumps to the interface of the first quick application and displays a detail page of the user's most recent use information.

11. The method according to claim 10, characterized in that The first card also includes a shortcut function key; After the electronic device displays the first card, the method further includes: In response to a user's operation on the shortcut function key, the electronic device executes a function corresponding to the shortcut function key.

12. The method according to any one of claims 1 to 4, characterized in that The electronic device obtains a first card template corresponding to the first type, including: The electronic device obtains preset mapping information between the quick application type and the card template, where the preset mapping information includes a first mapping relationship between the first type and the first card template; The electronic device obtains a first card template corresponding to the first type according to the preset mapping information.

13. The method according to claim 12, characterized in that The method further comprises: The electronic device receives and stores various card templates and the preset mapping information sent by the server; The electronic device obtains preset mapping information between the quick application type and the card template, including: The electronic device obtains the preset mapping information locally from the electronic device.

14. The method according to any one of claims 1 to 4, characterized in that The electronic device calls the data extraction interface to extract key data from the interface of the first quick application, including: The electronic device calls the data extraction interface to extract key data from the interface of the first quick application; or, In the event that calling the data extraction interface fails, the electronic device extracts the key data from the interface of the first quick application using a preset dynamic extraction method.

15. The method according to any one of claims 1 to 4, characterized in that The electronic device displays an interface of a first quick application, including: The electronic device displays a second card corresponding to the first quick application in a preset interface, where the second card is a card in a preset format issued by a server side, and the preset interface is a negative one screen interface, a desktop interface, or a quick service center interface; In response to the user's operation on the second card, the electronic device displays the interface of the first quick app.

16. The method according to any one of claims 1 to 4, characterized in that The electronic device includes a quick application engine application; the quick application engine application is used to store the card template, obtain the card template, call the data extraction interface, and render the first quick application and the first card.

17. A method for dynamically generating a quick application card, characterized in that: Applied to a server, the method comprises: The server develops various card templates, each of which is preset with a data extraction interface, and the data extraction interface is used to indicate the data element information to be extracted; The server determines preset mapping information between quick application types and card templates; wherein different types of card templates correspond to different types of quick applications; The server sends the various card templates and the preset mapping information to the electronic device, so that if a screen folding event or a screen lock event occurs in the electronic device when the electronic device displays the interface of the first quick application, the electronic device determines a first card template corresponding to the type of the first quick application based on the preset mapping information and the various card templates, and calls a data extraction interface corresponding to the first card template to extract key data from the interface of the first quick application; fills the key data into the first card template to generate a first card; and displays the first card through the folded screen or through the lock screen interface, and the first card includes the user's recent use information of the first quick application.

18. The method according to claim 17, characterized in that The method further comprises: The server develops different types of quick applications and sends data packets of the different types of quick applications to the electronic device.

19. The method according to claim 17 or 18, characterized in that Different types of card templates have different preset data extraction interfaces, and different data extraction interfaces define different data element information.

20. The method according to claim 17 or 18, characterized in that Each card template includes a preset function area and a data filling area; Among them, the preset function area is provided with a preset function control, and the data filling area is used to fill in the data extracted from the interface of the quick application based on the data extraction interface.

21. An electronic device, characterized in that: The electronic device comprises a processor, a memory, and a computer program stored in the memory, wherein the processor is configured to execute the computer program so that the electronic device implements the method according to any one of claims 1 to 16.

22. A server, characterized in that: The server comprises a processor, a memory and a computer program stored in the memory, wherein the processor is configured to execute the computer program so that the server implements the method according to any one of claims 17 to 20.

23. A communication system, characterized in that: Includes the electronic device as claimed in claim 21 and the server as claimed in claim 22.

24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 16, or the method according to any one of claims 17 to 20.

Citation Information

Patent Citations

  • Notification message display method and electronic equipment

    CN113824842A