Application card display method, device, terminal equipment and readable storage medium

By displaying the converted application card in the second display area of ​​the terminal device, the problem of single auxiliary screen display function is solved, and the degree of intelligence and user experience is improved.

CN116266088BActive Publication Date: 2025-01-10HUAWEI TECH CO LTD

Patent Information

Application Number
CN202111560486.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-17
Publication Date
2025-01-10
Estimated Expiration
2041-12-17

AI Technical Summary

Technical Problem

The auxiliary screen display function of existing terminal devices is single, with low intelligence, and cannot provide a good user experience.

Method used

By displaying the converted second application card in the second display area of ​​the terminal device, the user can operate the first application in the second form, obtain and generate a second notification card or function card using the preset card conversion specifications. , providing richer features and better user experience.

Benefits of technology

It improves the intelligence level of terminal devices, provides a better user experience, and enhances the functions of auxiliary screens and the usability of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116266088B_ABST
    Figure CN116266088B_ABST
Patent Text Reader

Abstract

The present application is applicable to the terminal field, and provides an application card display method, apparatus, terminal device and readable storage medium. When the terminal device is in the second form, the application card display method includes: displaying a second application card of at least one first application running on the terminal device in the second display area, and the second application card of the first application is converted according to the first application card of the first application. According to the first application card of the first application, the second application card of the terminal device is converted and displayed in the second display area. The user can operate the first application in the second form and use the functions of the first application, so that the card displayed in the second display area can provide richer functions, improve the intelligence of the terminal device, and provide a better user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to an application card display method, device, terminal equipment and readable storage medium. Background Art

[0002] Currently, terminal devices can have a variety of different forms, and application cards can be displayed on different screens in each form. For example, for a foldable terminal device, when the terminal device is unfolded, application cards can be displayed on the main screen. When the terminal device is folded, some customized application cards can be displayed on the auxiliary screen.

[0003] However, the existing cards displayed on the auxiliary screen have single functions and low intelligence, and cannot provide a good user experience. Summary of the invention

[0004] The embodiments of the present application provide an application card display method, device, terminal device and readable storage medium, which can solve the problem that the cards displayed on the auxiliary screen have a single function, a low degree of intelligence, and cannot provide a good user experience.

[0005] In a first aspect, an embodiment of the present application provides an application card display method, which is applied to a terminal device, wherein the terminal device includes a first display area and a second display area, the first display area is used to display a first application card in a first form of the terminal device, and the second display area is used to display a second application card in a second form of the terminal device.

[0006] When the terminal device is in the second state, the application card display method includes: displaying a second application card of at least one first application running on the terminal device in a second display area, wherein the second application card of the first application is converted based on the first application card of the first application.

[0007] In a possible implementation of the first aspect, a second application card of the terminal device is converted according to the first application card of the first application, and the second application card is displayed in the second display area. The user can operate the first application in the second form and use the functions of the first application, so that the card displayed in the second display area can provide richer functions, improve the intelligence of the terminal device, and provide a better user experience.

[0008] In some implementations, the first application card includes a first notification card and / or a first function card. The second application card includes a second notification card and / or a second function card.

[0009] In some implementations, the first application card is a first notification card, and the second application card is a second notification card.

[0010] The method of converting a first notification card of a first application into a second notification card includes: obtaining card content data in the first notification card, obtaining card parameters of the second notification card according to a preset card conversion specification, and generating a second notification card according to the card content data and the card parameters.

[0011] In this embodiment, according to the preset card conversion specification, the first notification card is converted into the second notification card, and when the application is not adapted to the second display area, the second notification card of the application can also be displayed on the second display area. The application scope is wider and a good user experience can be provided in more scenarios.

[0012] In some implementations, the notification sent or updated by the first application is an ongoing OnGoing notification.

[0013] After generating the second notification card, the method further includes: packaging the OnGoing notification into the second notification card and displaying it in the second display area, and / or updating the second notification card according to the OnGoing notification.

[0014] In some implementations, the first application card is a first function card, and the second application card is a second function card.

[0015] The second function card is converted according to the first function card of the first application, including: when the first function card supports floating window, the second function card is generated according to the floating window interface of the first function card.

[0016] In some implementations, the first application card is a first function card, and the second application card is a second function card. When the first function card does not support a floating window, the elements in the first function card and the hierarchical relationship between the elements are obtained. According to the type and / or quantity of the elements, the layout specification of the second function card is obtained in a preset card conversion specification. The second function card is generated according to the elements, the hierarchical relationship between the elements, and the layout specification.

[0017] In some implementations, after displaying the second function card of the first application in the second display area, the method further includes: displaying the operation interface of the first application in response to a user operation. Or, switching the displayed second function card in response to a user operation.

[0018] In the second aspect, an embodiment of the present application provides an application card display device, which is applied to a terminal device, wherein the terminal device includes a first display area and a second display area, the first display area is used to display a first application card in a first form of the terminal device, and the second display area is used to display a second application card in a second form of the terminal device.

[0019] When the terminal device is in the second form, the application card display device includes: a display module, which is used to display a second application card of at least one first application running on the terminal device in a second display area, and the second application card of the first application is converted based on the first application card of the first application.

[0020] In some implementations, the first application card includes a first notification card and / or a first function card. The second application card includes a second notification card and / or a second function card.

[0021] In some implementations, the first application card is a first notification card, and the second application card is a second notification card.

[0022] The application card display device further includes: a conversion module, which is used to obtain card content data in the first notification card, obtain card parameters of the second notification card according to a preset card conversion specification, and generate the second notification card according to the card content data and the card parameters.

[0023] In some implementations, the notification sent or updated by the first application is an ongoing OnGoing notification.

[0024] The display module is further configured to encapsulate the OnGoing notification into the second notification card and display it in the second display area, and / or update the second notification card according to the OnGoing notification.

[0025] In some implementations, the first application card is a first function card, and the second application card is a second function card.

[0026] The conversion module is also used to generate a second function card according to the floating window interface of the first function card when the first function card supports the floating window.

[0027] In some implementations, the first application card is a first function card, and the second application card is a second function card. The conversion module is further used to obtain the elements in the first function card and the hierarchical relationship between the elements when the first function card does not support the floating window. According to the type and / or number of the elements, the layout specification of the second function card is obtained in the preset card conversion specification. The second function card is generated according to the elements, the hierarchical relationship between the elements, and the layout specification.

[0028] In some implementations, the display module is further configured to respond to user operations and display an operation interface of the first application, or respond to user operations and switch the displayed second function card.

[0029] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method provided in the first aspect when executing the computer program.

[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method provided in the first aspect is implemented.

[0031] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method provided in the first aspect.

[0032] In a sixth aspect, an embodiment of the present application provides a chip system, the chip system comprising a memory and a processor, the processor executing a computer program stored in the memory to implement the method provided in the first aspect.

[0033] In the seventh aspect, an embodiment of the present application provides a chip system, which includes a processor, the processor is coupled to the computer-readable storage medium provided in the fourth aspect, and the processor executes a computer program stored in the computer-readable storage medium to implement the method provided in the first aspect.

[0034] It can be understood that the beneficial effects of the second to seventh 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

[0035] Figure 1 An application scenario of an application interface display method is shown;

[0036] Figure 2 Another application scenario of the application interface display method is shown;

[0037] Figure 3 A schematic diagram of the structure of a terminal device using a card display method is shown;

[0038] Figure 4 A schematic diagram of the software structure of a terminal device using a card display method is shown;

[0039] Figure 5 A schematic diagram of the software structure of another terminal device using the card display method is shown;

[0040] Figure 6 A schematic flow chart of an application card display method provided by the present application is shown;

[0041] Figure 7A first notification card of a navigation application is shown;

[0042] Figure 8 A second notification card generated based on the first notification card and the template in Table 1 is shown;

[0043] Fig. 9 The first notification card of the online car-hailing application is shown;

[0044] Fig.10 A second notification card generated based on the first notification card and the template in Table 1 is shown;

[0045] Fig.11 A second notification card generated based on the OnGoing notification and the template in Table 1 is shown;

[0046] Fig.12 A first notification card of a recording application is shown;

[0047] Fig.13 It shows a first notification card when recording based on the recording application and a second notification card generated by the template in Table 1;

[0048] Fig.14 The first notification card when the recording application is playing and the second notification card generated by the template in Table 1 are shown;

[0049] Fig.15 A schematic flow chart of another application card display method provided by the present application is shown;

[0050] Fig.16 A schematic diagram of the layout of a first function card is shown;

[0051] Fig.17 A schematic diagram of the layout of a second function card is shown;

[0052] Fig.18 A second function card displayed on a payment application auxiliary screen is shown;

[0053] Fig.19 An operation interface of a payment application displayed on a secondary screen is shown;

[0054] Fig. 20 Another operation interface of a second function card displayed on the auxiliary screen of a payment application is shown;

[0055] Fig.21 An operation interface of a note application displayed on an auxiliary screen is shown;

[0056] Fig. 22 A structural block diagram of an application card display device provided in an embodiment of the present application is shown;

[0057] Fig.23 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0058] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0059] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0060] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0061] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context.

[0062] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0063] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0064] Figure 1 and Figure 2 The application scenarios of an application interface display method are respectively shown.

[0065] exist Figure 1 In the example, the terminal device 11 is a foldable mobile phone. Figure 1 In a, when the foldable mobile phone is unfolded (first form), the main screen 111 (first display area) can display the interface of the application and receive user operations to implement the operation of the application. Figure 1 In b, after being folded (second form), the foldable mobile phone can display the interface of the application through its auxiliary screen 112 (second display area) and receive user operations to implement operations on the application.

[0066] exist Figure 2 In the embodiment, the terminal device 12 is a smart phone, and a mobile phone shell 13 is installed on the outside of the smart phone. The mobile phone shell 13 is provided with a flip cover 131, and the flip cover is provided with a window 132. Figure 2 In a, when the flip cover 131 of the mobile phone shell 13 is opened (first form), the interface of the application can be displayed through its main screen 121 (first display area), and user operations can be received to implement operations on the application. Figure 2 In b, when the flip cover 131 of the mobile phone case 13 is closed (second form), the main screen 121 displays the interface of the application at the window 132 and receives user operations to implement the operation of the application. The main screen 121 within the window 132 can be regarded as the auxiliary screen 122 (second display area) of the terminal device 12.

[0067] It should be noted that the application interface displayed in the first display area and the second display area may be an interface of an application card of the application, and the application card includes a notification card and a function card.

[0068] As an example, notification cards include OnGoing notification cards, static notification cards, etc. Among them, the notification content in the OnGoing notification card (referred to as OnGoing card) is dynamic, and the content displayed in the OnGoing notification card can be changed by refreshing the notification content. For example, the notification card of a navigation application is an OnGoing notification card, and the navigation information displayed in it will be updated according to the user's moving speed and direction.

[0069] The notification content of a static notification card is fixed. For example, a text message notification card is a static notification card, and the text message content displayed in it will not change.

[0070] Function cards are cards that can provide some functions of an application. For example, the function card of a payment application can display the payment code, the payment code, etc. The function card of a music application can provide a play / pause button, a next song button, a previous song button, etc., and implement the corresponding function when receiving a control operation acting on the corresponding button.

[0071] Currently, the auxiliary screen can display some customized OnGoing cards or function cards of third-party applications or system applications. For example, common customized OnGoing cards of third-party applications include music application OnGoing cards, and system application OnGoing cards include phone application OnGoing cards, etc. As an example, refer to Figure 1 and Figure 2 When the terminal device 11 or the terminal device 12 receives a call, the OnGoing card of the phone application can be displayed on the auxiliary screen. The OnGoing card may include the phone number, the location of the number, the contact avatar, answering, hanging up, etc. When the terminal device 11 or the terminal device 12 receives a user operation instructing to answer or hang up, the phone application can perform the corresponding operation to answer or hang up the call. Or, when the terminal device 11 or the terminal device 12 plays music, the OnGoing card of the music application can be displayed on the auxiliary screen ( Figure 1 and Figure 2 The OnGoing card of the music application may include the music name, the corresponding picture, lyrics, control components, etc. Alternatively, when the terminal device 11 or the terminal device 12 is in standby mode, the auxiliary screen may display notification contents such as signal strength, clock, weather information, calendar information, etc. ( Figure 1 and Figure 2 However, for uncustomized third-party applications, their OnGoing cards cannot be displayed on the auxiliary screen.

[0072] It should be noted that the OnGoing card is the ability to display foreground service (ForegroundService) notifications on the auxiliary screen, and its essence is the encapsulation of notifications. The information displayed in the OnGoing card is the notification information of the service with the OnGoing tag. The OnGoing tag is used to indicate that the service is an ongoing service (that is, the service is a foreground service). In order to prevent the service from being cleared by the system management process, it is necessary to make it clear that the service is a foreground service, and the foreground service must update the notification content.

[0073] When an application in the terminal device 11 or the terminal device 12 pushes a notification, the auxiliary screen can often only display the notification message, but cannot use the function of the application corresponding to the notification message. For example, when the terminal device 11 or the terminal device 12 receives a new message notification pushed by an instant messaging application, the sender and content of the new message can be displayed on the auxiliary screen. However, if the user needs to reply to the message, the main screen needs to be enabled to use the function of the instant messaging application.

[0074] In order to solve the problem that the cards displayed on the auxiliary screen in the prior art have a single function and a low degree of intelligence, the present application provides an application card display method, which is applied to a terminal device. The terminal device includes a first display area and a second display area. The first display area is used to display application cards in a first form of the terminal device, and the second display area is used to display application cards in a second form of the terminal device. When the terminal device is in the second form, the application card display method includes: displaying a second application card of at least one first application running on the terminal device in the second display area, the second application card is an application card adapted to the second display area, and the second application card of the first application is converted according to the first application card of the first application.

[0075] In the present application, according to the first application card of the first application, the second application card of the terminal device is converted and displayed in the second display area. The user can operate the first application in the second form and use the functions of the first application, so that the card displayed in the second display area can provide richer functions, improve the intelligence of the terminal device, and provide a better user experience.

[0076] The application interface display method provided in the embodiment of the present application can be applied to a terminal device having at least two display areas. For example, the terminal device can be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device.

[0077] For example, Figure 3 A schematic structural diagram of a terminal device applying a card display method is shown.

[0078] refer to Figure 3 , where the terminal device 200 may be Figure 1 The terminal device 11 in the embodiment may also be Figure 2The terminal device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0079] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 200. In other embodiments of the present application, the terminal device 200 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.

[0080] As an example, when the terminal device 200 is a mobile phone, a tablet computer or a smart TV, it may include all the components shown in the figure, or may only include some of the components shown in the figure, but it is required to include at least one display screen 294.

[0081] The processor 210 may include one or more processing units, for example, the processor 210 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.

[0082] The controller may be the nerve center and command center of the terminal device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0083] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 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 210, and thus improves the efficiency of the system.

[0084] In some embodiments, the processor 210 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.

[0085] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple groups of I2C buses. The processor 210 may be coupled to the touch sensor 280K, the charger, the flash, the camera 293, etc. through different I2C bus interfaces. For example: the processor 210 may be coupled to the touch sensor 280K through the I2C interface, so that the processor 210 communicates with the touch sensor 280K through the I2C bus interface, thereby realizing the touch function of the terminal device 200.

[0086] The I2S interface can be used for audio communication. In some embodiments, the processor 210 can include multiple groups of I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to achieve communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the I2S interface.

[0087] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 can be coupled via a PCM bus interface.

[0088] In some embodiments, the audio module 270 may also transmit audio signals to the wireless communication module 260 via a PCM interface. Both the I2S interface and the PCM interface may be used for audio communication.

[0089] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between parallel communication and parallel communication.

[0090] In some embodiments, the UART interface is generally used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0091] The MIPI interface can be used to connect the processor 210 with peripheral devices such as the display screen 294 and the camera 293. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 210 and the camera 293 communicate via the CSI interface to implement the shooting function of the terminal device 200. The processor 210 and the display screen 294 communicate via the DSI interface to implement the display function of the terminal device 200.

[0092] It should be noted that the terminal device 200 includes at least two display areas, each of which may correspond to an independent display screen 294. Alternatively, the two display areas may also be different areas on a display screen 294. For example, referring to Figure 1 , one display area can be the entire display area of ​​the main screen, and the other display area can be the entire display area of ​​the auxiliary screen. Figure 2, one display area can be the entire display area of ​​the display screen 294, and the other display area can be a partial display area on the display screen 294.

[0093] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 with the camera 293, the display screen 294, the wireless communication module 260, the audio module 270, the sensor module 280, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0094] The USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the terminal device 200, and can also be used to transmit data between the terminal device 200 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

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

[0096] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger through the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive wireless charging input through a wireless charging coil of the terminal device 200. While the charging management module 240 is charging the battery 242, it may also power the terminal device through the power management module 241.

[0097] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. The power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle number, and battery health status (leakage, impedance).

[0098] In some other embodiments, the power management module 241 may also be disposed in the processor 210. In some other embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.

[0099] The wireless communication function of the terminal device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor.

[0100] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0101] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.

[0102] In some embodiments, at least some functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 may be disposed in the same device.

[0103] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through a display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be set in the same device as the mobile communication module 250 or other functional modules.

[0104] The wireless communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 200. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 210. The wireless communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0105] In some embodiments, the antenna 1 of the terminal device 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the terminal device 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).

[0106] The terminal device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.

[0107] The display screen 294 is used to display images, videos, etc. For example, the teaching video and the user action screen video in the embodiment of the present application, the display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc. In some embodiments, the terminal device 200 may include 1 or N display screens 294, where N is a positive integer greater than 1.

[0108] The terminal device 200 can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0109] The ISP is used to process the data fed back by the camera 293. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 293.

[0110] Camera 293 is used to capture still images or videos. The object generates an optical image through the lens and is projected onto the photosensitive element. The focal length of the lens can be used to indicate the field of view of the camera. The smaller the focal length of the lens, the larger the field of view of the lens. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.

[0111] In an embodiment of the present application, the terminal device 200 may include cameras 293 with two or more focal lengths.

[0112] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 200 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0113] Video codecs are used to compress or decompress digital videos. The terminal device 200 may support one or more video codecs. Thus, the terminal device 200 may play or record videos in multiple coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0114] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 200 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0115] In an embodiment of the present application, the NPU or other processors may be used to perform operations such as analyzing and processing images in a video stored in the terminal device 200.

[0116] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos are stored in the external memory card.

[0117] The internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 210 executes various functional applications and data processing of the terminal device 200 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area may store data created during the use of the terminal device 200 (such as audio data, a phone book, etc.).

[0118] In addition, the internal memory 221 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0119] The terminal device 200 can implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, and an application processor.

[0120] The audio module 270 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio inputs into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.

[0121] The speaker 270A, also called a "speaker", is used to convert audio electrical signals into sound signals. The terminal device 200 can listen to music or listen to hands-free calls through the speaker 270A. For example, the speaker can play the comparison analysis results provided in the embodiment of the present application.

[0122] The receiver 270B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 200 receives a call or voice message, the voice can be received by placing the receiver 270B close to the ear.

[0123] Microphone 270C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 270C to input the sound signal into the microphone 270C. The terminal device 200 can be provided with at least one microphone 270C. In other embodiments, the terminal device 200 can be provided with two microphones 270C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 200 can also be provided with three, four or more microphones 270C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.

[0124] The earphone interface 270D is used to connect a wired earphone and can be a USB interface 230, or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0125] The pressure sensor 280A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be set on the display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 280A, the capacitance between the electrodes changes. The terminal device 200 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 294, the terminal device 200 detects the intensity of the touch operation based on the pressure sensor 280A. The terminal device 200 can also calculate the position of the touch based on the detection signal of the pressure sensor 280A.

[0126] In some embodiments, touch operations acting on the same touch position but with different touch operation strengths may correspond to different operation instructions. For example, when a touch operation with a touch operation strength less than a first pressure threshold acts on a short message application icon, an instruction to view a short message is executed. When a touch operation with a touch operation strength greater than or equal to the first pressure threshold acts on a short message application icon, an instruction to create a new short message is executed.

[0127] The gyroscope sensor 280B can be used to determine the motion posture of the terminal device 200. In some embodiments, the angular velocity of the terminal device 200 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 280B. The gyroscope sensor 280B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the terminal device 200 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 200 through reverse movement to achieve anti-shake. The gyroscope sensor 280B can also be used for navigation and somatosensory game scenes.

[0128] The air pressure sensor 280C is used to measure air pressure.

[0129] In some embodiments, the terminal device 200 calculates the altitude through the air pressure value measured by the air pressure sensor 280C to assist in positioning and navigation.

[0130] The magnetic sensor 280D includes a Hall sensor. The terminal device 200 can use the magnetic sensor 280D to detect the opening and closing of the flip leather case. In some embodiments, when the terminal device 200 is a flip phone, the terminal device 200 can detect the opening and closing of the flip cover according to the magnetic sensor 280D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.

[0131] The acceleration sensor 280E can detect the magnitude of the acceleration of the terminal device 200 in all directions (generally three axes). When the terminal device 200 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and applied to applications such as horizontal and vertical screen switching and pedometers.

[0132] The distance sensor 280F is used to measure the distance. The terminal device 200 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 200 can use the distance sensor 280F to measure the distance to achieve fast focusing.

[0133] The proximity light sensor 280G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 200 emits infrared light outward through the light emitting diode. The terminal device 200 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 200. When insufficient reflected light is detected, the terminal device 200 can determine that there is no object near the terminal device 200. The terminal device 200 can use the proximity light sensor 280G to detect that the user holds the terminal device 200 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 280G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen.

[0134] The ambient light sensor 280L is used to sense the ambient light brightness. The terminal device 200 can adaptively adjust the brightness of the display screen 294 according to the perceived ambient light brightness. The ambient light sensor 280L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 280L can also cooperate with the proximity light sensor 280G to detect whether the terminal device 200 is in a pocket to prevent accidental touch.

[0135] The fingerprint sensor 280H is used to collect fingerprints. The terminal device 200 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.

[0136] The temperature sensor 280J is used to detect temperature. In some embodiments, the terminal device 200 uses the temperature detected by the temperature sensor 280J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 280J exceeds a threshold, the terminal device 200 reduces the performance of the processor located near the temperature sensor 280J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 200 heats the battery 242 to avoid abnormal shutdown of the terminal device 200 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 200 performs a boost on the output voltage of the battery 242 to avoid abnormal shutdown caused by low temperature.

[0137] The touch sensor 280K is also called a "touch panel". The touch sensor 280K can be set on the display screen 294, and the touch sensor 280K and the display screen 294 form a touch screen, also called a "touch screen". The touch sensor 280K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 294. In other embodiments, the touch sensor 280K can also be set on the surface of the terminal device 200, which is different from the position of the display screen 294.

[0138] The bone conduction sensor 280M can obtain vibration signals. In some embodiments, the bone conduction sensor 280M can obtain vibration signals of vibrating bones of the human body. The bone conduction sensor 280M can also contact the human body's pulse to receive blood pressure beating signals.

[0139] In some embodiments, the bone conduction sensor 280M can also be set in the earphone to form a bone conduction earphone. The audio module 270 can parse the voice signal based on the vibration signal of the vocal bone obtained by the bone conduction sensor 280M to realize the voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 280M to realize the heart rate detection function.

[0140] The key 290 includes a power key, a volume key, etc. The key 290 may be a mechanical key or a touch key. The terminal device 200 may receive key input and generate key signal input related to user settings and function control of the terminal device 200.

[0141] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 294, motor 291 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0142] Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0143] The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 200 by inserting the SIM card interface 295 or pulling it out from the SIM card interface 295. The terminal device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of multiple cards can be the same or different. The SIM card interface 295 can also be compatible with different types of SIM cards. The SIM card interface 295 can also be compatible with external memory cards. The terminal device 200 interacts with the network through the SIM card to realize functions such as calls and data communications. In some embodiments, the terminal device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 200 and cannot be separated from the terminal device 200.

[0144] Figure 4 A schematic diagram of the software structure of a terminal device applying the card display method is shown.

[0145] As an example, the operating system in the terminal device 200 can be an Android system, a Linux system, a Microsoft Windows system, an Apple mobile operating system (iOS), or a Harmony OS system. The method provided in the embodiment of the present application is particularly applicable to a Linux system or other systems derived from a Linux system. Here, the operating system of the terminal device 200 is taken as the Harmony OS system for example.

[0146] In some embodiments, the Hongmeng system can be divided into four layers, including the kernel layer, the system service layer, the framework layer, and the application layer, and the layers communicate with each other through software interfaces.

[0147] like Figure 4As shown in the figure, the kernel layer includes the kernel abstract layer (KAL) and the driver subsystem. KAL includes multiple kernels, such as the Linux kernel of the Linux system and the LiteOS kernel of the lightweight IoT system. The driver subsystem can include the hardware driver framework (HDF). The hardware driver framework can provide unified peripheral access capabilities and a driver development and management framework. The kernel layer of multiple kernels can select the corresponding kernel for processing according to the needs of the system.

[0148] The system service layer is the core capability set of the Hongmeng system. The system service layer provides services to applications through the framework layer. This layer may include:

[0149] System basic capability subsystem set: provides basic capabilities for the operation, scheduling, migration and other operations of distributed applications on multiple devices of Hongmeng system. It may include subsystems such as distributed soft bus, distributed data management, distributed task scheduling, multi-language runtime, public basic library, multi-mode input, graphics, security, artificial intelligence (AI), user program framework, etc. Among them, the multi-language runtime provides C or C++ or JavaScript (JS) multi-language runtime and basic system class libraries, and can also provide runtime for Java programs statically generated by compiler (that is, the part developed in Java language in the application or framework layer).

[0150] Basic software service subsystem set: Provides public and general software services for Hongmeng system, including event notification, telephone, multimedia, Design For X (DFX), MSDP&DV and other subsystems.

[0151] Enhanced software service subsystem set: Provides differentiated capability-enhanced software services for different devices for the Hongmeng system. It may include smart screen proprietary business, wearable proprietary business, and Internet of Things (IoT) proprietary business subsystems.

[0152] Hardware service subsystem set: Provides hardware services for Hongmeng system. It can include location services, biometric recognition, wearable proprietary hardware services, IoT proprietary hardware services and other subsystems.

[0153] The framework layer provides multi-language user program frameworks and capability frameworks in Java, C, C++, JS, and other languages ​​for Hongmeng system application development, two user interface (UI) frameworks (including the Java UI framework for the Java language and the JS UI framework for the JS language), and a multi-language framework application programming interface (API) for various software and hardware services. Depending on the degree of componentization of the system, the APIs supported by Hongmeng system devices will also vary.

[0154] The application layer includes system applications and third-party non-system applications. System applications may include applications installed by default on terminal devices such as desktop, control bar, settings, and phone. Extended applications can be non-essential applications developed and designed by the manufacturer of the terminal device, such as terminal device manager, device migration, notes, weather and other applications. Third-party non-system applications can be developed by other manufacturers, but can run applications in the Hongmeng system, such as games, navigation, social or shopping applications.

[0155] The applications of the Hongmeng system are composed of one or more meta-programs (Feature Ability, FA) or meta-services (Particle Ability, PA). Among them, FA has a UI interface and provides the ability to interact with users. PA has no UI interface, provides the ability to run tasks in the background and a unified data access abstraction. PA mainly provides support for FA, such as providing computing power as a background service, or providing data access capabilities as a data warehouse. Applications developed based on FA or PA can implement specific business functions, support cross-device scheduling and distribution, and provide users with a consistent and efficient application experience.

[0156] Multiple terminal devices running the Hongmeng system can achieve hardware mutual assistance and resource sharing through distributed soft bus, distributed device virtualization, distributed data management and distributed task scheduling.

[0157] Figure 5 A schematic diagram of the software structure of a terminal device applying the card display method is shown.

[0158] refer to Figure 5 The structure specifically involved in the software structure of the terminal device in this application may include a display driver in the kernel layer hardware driver framework, and the display driver can drive at least one screen and display the interface generated by the application layer on at least one screen.

[0159] It should be noted that when the terminal device in this application includes two screens, the screen corresponding to the first display area can be called the main screen, and the screen corresponding to the second display area can be called the auxiliary screen. When the terminal device in this application includes one screen, the first display area is the entire display range of the screen, and the screen can also be called the main screen. The second display area is a partial display range of the screen, and this partial display range can be called the auxiliary screen.

[0160] Continue to refer Figure 5 , where the software structure of the terminal device in this application also involves the notification management service and the card center service in the framework layer. The notification management service is also called the notification center, which can be used to forward the application's notification to the system user interface (UI) for display or the auxiliary screen home page (Home) for display. The card center service is used to call the system application interface to query, discover and manage applications that support displaying cards on the auxiliary screen.

[0161] In the present application, the applications in the terminal device that can provide the auxiliary screen application interface include at least system applications, customized third-party applications, and uncustomized third-party applications (first applications). Among them, the system applications and customized third-party applications are specially adapted for the auxiliary screen, and function cards and notification cards can be displayed on the auxiliary screen without conversion. For example, system applications may include phone applications, clock applications, etc., and customized third-party applications may include music applications, etc. For the first application, since it is not customized for the auxiliary screen, it may not be possible to display interfaces such as function cards and notification cards on the auxiliary screen.

[0162] In the following embodiments, the terminal device 200 is a folding mobile phone as an example to illustrate the application card display method, but the application card display method provided by the present application is not limited to folding mobile phones. For a folding mobile phone, the first form is that the folding mobile phone is unfolded, and the first display area is the inner screen (main screen) of the folding mobile phone, and the second form is that the folding mobile phone is folded, and the second display area is the outer screen (auxiliary screen) of the folding mobile phone.

[0163] Figure 6 A schematic flowchart of an application card display method provided in the present application is shown. As an example but not a limitation, the method can be applied to the above-mentioned terminal device 200.

[0164] In this application, the first application card includes a first notification card and a first function card, and the second application card includes a second notification card and a second function card. Figure 6 In the illustrated embodiment, the first application card is a first notification card, and the second application card is a second notification card.

[0165] refer to Figure 6 , the application card display methods include:

[0166] S310. When the terminal device is in the second state, determine whether the notification sent by the first application is an OnGoing notification. If so, execute S311; if not, execute S314.

[0167] In some implementations, the first application may send or refresh a notification through a notification management service, and the notification management service may determine whether a notification is an OnGoing notification by determining whether the notification has an OnGoing identifier.

[0168] It should be noted that OnGoing notifications are notifications of foreground services, that is, notifications of ongoing services. In actual applications, continuous application OnGoing notifications can be encapsulated as OnGoing cards and displayed. For example, when a foldable phone is unfolded, multiple tool components fixed on the desktop can be displayed in the form of cards on the main screen. Among them, the cards of some tool components are OnGoing cards, that is, the content displayed in the tool component can be updated through OnGoing notifications. For example, applications such as calendar, music, and mailbox.

[0169] OnGoing cards can also provide applications with the ability to display foreground service notifications on the auxiliary screen. OnGoing cards can be displayed in the auxiliary screen as application notification cards. For example, a music application is running on a foldable phone. When the foldable phone is folded, the music application displays its OnGoing notification in the auxiliary screen as an OnGoing card. The OnGoing notification of the music application may include tracks, singers, playback progress, lyrics, etc.

[0170] S311. Determine whether the OnGoing notification is to be displayed in the second display area. If so, execute S313; if not, execute S312.

[0171] In some implementations, since system applications and customized third-party applications are pre-adapted to the auxiliary screen (second display area), when the foldable phone is folded, the OnGoing notifications they send can be packaged into OnGoing cards according to pre-set adaptation parameters and displayed on the auxiliary screen.

[0172] However, since the first application is a third-party application that has not been customized, the first application is not adapted for the auxiliary screen, and the OnGoing notification sent by it can only be displayed on the main screen (first display area) through the first notification card. In order to enable it to be displayed on the auxiliary screen, it can be achieved through the steps provided in the following S312 and S313.

[0173] S312: Obtain a first notification card of the first application, and convert the first notification card into a second notification card according to a preset card conversion specification.

[0174] S313: Encapsulate the OnGoing notification into a second notification card and display it in the second display area.

[0175] In some embodiments, reference Figure 5 The second notification card can be generated in the auxiliary screen display application according to the card content data and card parameters. The card content data can come from the application notification or the first notification card, and the card parameters can come from the template provided by the preset card conversion specification.

[0176] Card content data refers to the content displayed in the card, for example, it can include the icon, title text, content text, etc. Card parameters are the icon position, title text size, font, color, position, content text size, font, color, position and other parameters set in the template.

[0177] In some implementations, as an example, Table 1 shows a possible template.

[0178] Table 1

[0179]

[0180] In Table 1, since the size and position of each parameter are preset, the relevant parameters of the size and position are not shown in Table 1.

[0181] Figure 7 The first notification card of the navigation application is shown. Figure 8 The second notification card generated based on the first notification card and the template in Table 1 is shown.

[0182] refer to Figure 7 The first notification card 41 includes data such as a map, remaining mileage, remaining time, estimated time of arrival, driving direction, current direction driving distance, etc. The first notification card displayed by the navigation application on the main screen is used to indicate the user's moving direction and distance.

[0183] Based on the template provided in Table 1, the auxiliary screen display application can obtain the driving direction as the top icon, obtain the current direction driving distance as the middle content text, and add the bottom system time. Therefore, the card content data includes the top icon indicating the direction, the middle content text indicating the direction and distance, and the bottom system time.

[0184] Since the card content data does not include a title, that is, does not include the "templateTitle" parameter, the "titleColor" parameter has no effect and can be set to any value, such as 0.

[0185] The top icon is the driving direction (straight arrow), so the value of the "templateIcon" parameter is {"mInt1":2131099653, "mInt2":0, "mString1":"com.huawei.notification.testdemo", "mType":2}.

[0186] The text in the middle is 472 meters straight, that is, the value of the "templateContent" parameter is: "472 meters straight". The color is white, that is, the value of the "contentColor" parameter is -1.

[0187] Among them, the part "472" representing the number in the middle content text needs to change color, that is, the value of the "disColorContent" parameter is "472", and the color changes to blue, so the value of the "disColor" parameter is -16776961.

[0188] The system time at the bottom is 17:18 and the color is gray, which is the value of the "secondlyColor" parameter -7829368.

[0189] According to the above parameters, the size and position of each part of the parameters and the value of the parameters, the auxiliary screen display application rendering is obtained Figure 8 The interface of the second notification card is shown, and the interface of the second notification card is displayed on the auxiliary screen through the display driver.

[0190] When the navigation application subsequently sends an OnGoing notification, the auxiliary screen display application can update the second notification card according to the card content data in the OnGoing notification. For example, the OnGoing notification may include card content data such as the current driving distance and the current driving direction. When the auxiliary screen display application receives the updated card content data, it can render and update the second notification card according to the updated card content data. For example, when the auxiliary screen display application receives the updated card content data of "go straight for 450 meters", the value of the "templateContent" parameter can be changed to "go straight for 450 meters", and the value of the "disColorContent" parameter can be changed to "450", and then the interface of the second notification card can be rendered again, and the rendered interface of the second notification card can be displayed on the auxiliary screen through the display driver.

[0191] In some other implementations, as an example, Table 2 shows a possible template.

[0192] Table 2

[0193]

[0194] In Table 2, since the size and position of each parameter are preset, the relevant parameters of the size and position are not shown in Table 2.

[0195] Fig. 9 The first notification card of the online car-hailing application is shown. Fig.10 shows a second notification card generated based on the first notification card and the template in Table 1, Fig.11 The second notification card generated based on the OnGoing notification and the template in Table 1 is shown.

[0196] refer to Fig. 9 The first notification card 41 includes data such as a map, remaining mileage and arrival time of the online car-hailing vehicle, license plate number of the online car-hailing vehicle, brand of the online car-hailing vehicle, color of the online car-hailing vehicle, etc. The first notification card displayed by the navigation application on the main screen is used to remind the user of the driving trajectory and arrival time of the online car-hailing vehicle.

[0197] Based on the template provided in Table 1, the auxiliary screen display application can obtain the icon of the online car-hailing application as the top icon, obtain the license plate number of the online car-hailing application as the middle title text, obtain the remaining mileage and time of the online car-hailing application, the brand of the online car-hailing application and the color of the online car-hailing application as the middle content text, and add the notification update time as the secondary text at the bottom.

[0198] Since the middle content text in the card content data does not need to change color, the "disColorContent" and "disColor" parameters do not exist.

[0199] The top icon is the icon of the online car-hailing application, so the value of the "templateIcon" parameter is {"mInt1":2131099652, "mInt2":0, "mString1":"com.huawei.notification.testdemo", "mType":2}.

[0200] The middle title is the license plate number of the online car-hailing vehicle, that is, the value of the "templateTitle" parameter is "license plate number", and the middle title color is orange, that is, the value of the "titleColor" parameter is -256.

[0201] The text in the middle is the remaining mileage and time for the online car-hailing vehicle to arrive, the brand of the online car-hailing vehicle, and the color of the online car-hailing vehicle, that is, the value of the "templateContent" parameter is: "Color Car Brand\r\n0.5 km 2 minutes". The color is white, that is, the value of the "contentColor" parameter is -1. "\r\n" means line break and starts from the first character of the next line.

[0202] The secondary text at the bottom is the notification update time, that is, the value of the "templateSecondly" parameter is "Just now", and the color is gray, that is, the value of the "secondlyColor" parameter is -7829368.

[0203] According to the above parameters, the size and position of each part of the parameters and the value of the parameters, the auxiliary screen display application rendering is obtained Fig.10 The interface of the second notification card is shown, and the interface of the second notification card is displayed on the auxiliary screen through the display driver.

[0204] When the online car-hailing app continues to send the OnGoing notification, the auxiliary screen display app can update the second notification card according to the card content data in the OnGoing notification. After the online car-hailing picks up the user, the content data of the OnGoing notification card may change. For example, the remaining mileage and time for the online car-hailing to arrive in the OnGoing notification are changed to the remaining mileage and estimated driving time to the destination, and the license plate number, car brand and color of the online car-hailing are no longer notified. When the auxiliary screen display application receives the updated card content data of "6.5 kilometers and estimated driving time of 15 minutes", the value of the "templateTitle" parameter can be changed to "Distance to destination". Then, change the value of the "templateContent" parameter to "6.5 kilometers\r\nEstimated driving time of 15 minutes". Then render again to get Fig.11 The interface of the second notification card is shown, and the rendered interface of the second notification card is displayed on the auxiliary screen through the display driver.

[0205] In some other implementations, as an example, Table 3 shows a possible template.

[0206] Table 3

[0207]

[0208]

[0209] In Table 3, since the size and position of each parameter are preset, the relevant parameters of the size and position are not shown in Table 3.

[0210] Fig.12 The a in the figure shows the first notification card when the recording application is recording. Fig.12 b in the figure shows the first notification card when the recording application is playing. Fig.13 The first notification card when recording based on the recording application and the second notification card generated by the template in Table 1 are shown. Fig.14 The first notification card when the recording application is playing and the second notification card generated by the template in Table 1 are shown.

[0211] refer to Fig.12 In a, the first notification card 41 includes data such as the icon of the recording application, the duration of the recording, etc. The first notification card displayed by the recording application on the main screen is used to remind the user of the duration of the recording.

[0212] Based on the template provided in Table 1, the auxiliary screen display application can obtain the icon of the recording application as the top icon, obtain the application name of the recording application as the middle title text, obtain the recorded time as the middle content text, and add the recording status as the bottom content text.

[0213] The top icon is the icon of the recording application, so the value of the "templateIcon" parameter is {"mInt1":2131099683, "m Int2":0, "mString1":"com.huawei.notification.testdemo", "mType":2}.

[0214] The middle title is the application name of the recording application, that is, the value of the "templateTitle" parameter is "Recorder", and the color of the middle title is white, that is, the value of the "titleColor" parameter is 0.

[0215] The middle content text is the duration of the recording, that is, the value of the "midContent" parameter is: "00:05:26". The color is white, that is, the value of the "midContentColor" parameter is 0. In order to make the duration of the recording more prominent, the middle content text can be displayed in a large font, that is, the value of the "midContentBigSize" parameter is "true".

[0216] The bottom content text indicates the recording status, that is, the value of the "bottomContent" parameter is "Recording", and the color is white, that is, the value of the "bottomContentColor" parameter is 0.

[0217] When recording, there is no need to display the outer circle progress bar, so the value of the "progress" parameter is 0. Accordingly, the background color and color of the outer circle progress bar do not need to be set, that is, the values ​​of the "progressBgColor" parameter and the "progressColor" parameter can be set to 0.

[0218] According to the above parameters, the size and position of each part of the parameters and the value of the parameters, the auxiliary screen display application rendering is obtained Fig.13 The interface of the second notification card is shown, and the interface of the second notification card is displayed on the auxiliary screen through the display driver.

[0219] When the recording application is recording, it will continuously send OnGoing notifications, and the auxiliary screen display application can update the second notification card according to the card content data in the OnGoing notification. During recording, the recorded time will continue to increase, and the data of the recorded time in the OnGoing notification card content data will also change accordingly. For example, when the recorded time in the OnGoing notification is 00:05:27, the value of the "midContent" parameter can be changed to: "00:05:27". Render the interface of the second notification card again, and display the rendered interface of the second notification card on the auxiliary screen through the display driver.

[0220] refer to Fig.12 In b, the first notification card 41 includes data such as the icon of the recording application, the name of the recording file, and the progress bar of the recording file. The first notification card displayed by the recording application on the main screen is used to prompt the progress of the recording file.

[0221] Based on the template provided in Table 1, the auxiliary screen display application can obtain the icon of the recording application as the top icon, obtain the application name of the recording application as the middle title text, obtain the name of the recording file as the middle content text, obtain the recording file playback progress as the outer circle progress bar, and add the playback status as the bottom content text.

[0222] The top icon is the icon of the recording application, so the value of the "templateIcon" parameter is {"mInt1":2131099683, "mInt2":0, "mString1":"com.huawei.notification.testdemo", "mType":2}.

[0223] The middle title is the application name of the recording application, that is, the value of the "templateTitle" parameter is "Recorder", and the color of the middle title is white, that is, the value of the "titleColor" parameter is 0.

[0224] The middle content text is the recording file name, that is, the value of the "midContent" parameter is: "recording file name". The color is white, that is, the value of the "midContentColor" parameter is 0. The recording file name does not need to be displayed in a large font, that is, the value of the "midContentBigSize" parameter is "false".

[0225] The bottom content text is in the playing state, that is, the value of the "bottomContent" parameter is "Playing", and the color is white, that is, the value of the "bottomContentColor" parameter is 0.

[0226] During playback, the playback progress of the recording file is displayed through the outer circle progress bar, so the value of the "progress" parameter is 1, the value of the outer circle progress bar background color "progressBgColor" parameter is set to 0, and the value of the outer circle progress bar color "progressColor" parameter is set to 0.

[0227] According to the above parameters, the size and position of each part of the parameters and the value of the parameters, the auxiliary screen display application rendering is obtained Fig.14 The interface of the second notification card is shown, and the interface of the second notification card is displayed on the auxiliary screen through the display driver.

[0228] When the recording application continues to send the OnGoing notification, the auxiliary screen display application can update the second notification card according to the card content data in the OnGoing notification. As the recording file plays, the data of the recording file playback progress in the OnGoing notification card content data will also change accordingly. For example, when the playback progress of the recording file in the OnGoing notification is 50%, the value of the "progress" parameter can be changed to "50". Render the interface of the second notification card again, and display the rendered interface of the second notification card on the auxiliary screen through the display driver.

[0229] S314. Display the notification in the second display area.

[0230] In some implementations, for non-OnGoing notifications, notifications may be pushed to the auxiliary screen via the system's own notification management service.

[0231] It should be noted that for customized third-party applications, the notification_remote_flag value is ongoing_remote, which means that the corresponding second notification card has been customized for the OnGoing notification. The card parameters of the second notification card can be obtained from notification_remote_value. After the customized third-party application sends the OnGoing notification, the auxiliary screen display application obtains the card parameters (RemoteViews) of the second notification card from notification_remote_value, and renders the interface of the second notification card based on the card content data in the OnGoing notification through the display driver and displays it on the auxiliary screen.

[0232] Fig.15 A schematic flowchart of another application card display method provided in the present application is shown. As an example but not a limitation, the method can be applied to the above-mentioned terminal device 200.

[0233] In this application, the first application card includes a first notification card and a first function card, and the second application card includes a second notification card and a second function card. Fig.15 In the illustrated embodiment, the first application card is a first function card, and the second application card is a second function card.

[0234] refer to Fig.15 , the application card display methods include:

[0235] S510: When installing an application, determine whether the installed application supports display in the second display area, and if so, execute S530; otherwise, execute S520.

[0236] In some embodiments, reference Figure 5 When an application is installed on a terminal device, the terminal device will register the cards supported by the installed application into the card center service. During registration, the card center service can identify whether the function card of the application supports auxiliary screen display. If supported, the application is directly registered to the card center service and waits for S530 to be executed. If not supported, S520 must be executed first, and then registration is performed. Among them, support for auxiliary screen display includes function cards customized for the auxiliary screen according to pre-set specifications. Not supporting auxiliary screen display means that auxiliary screen function cards cannot be provided, or auxiliary screen function cards can be provided but are not customized for the auxiliary screen. The card center service center includes a list of applications that support auxiliary screen display, and registering to the card center service means adding the application name to the list of applications that support auxiliary screen display.

[0237] S520: Obtain a first function card of a first application, and convert the first function card into a second function card according to a preset card conversion specification.

[0238] In some implementations, the first function card includes a function card displayed by the first application on the main screen or a function card not adapted for the auxiliary screen. The first function card may be a FA in the Hongmeng system, a widget in the Android system, or a card with similar functions in other systems.

[0239] According to the preset card conversion specification, the first function card can be converted into the second function card by adapting the elements in the interface layout of the first function card according to the preset card conversion specification based on the screen size and shape of the auxiliary screen to obtain the second function card.

[0240] In some implementations, the layout of the second function card is the same as that of the first function card, and the second function card may be the first function card adapted to the size and shape of the auxiliary screen. For example, when the first function card is FA in the Hongmeng system, if FA supports the floating window mode, the interface of the first function card in the floating window mode may be directly scaled according to the size of the auxiliary screen, and cropped or filled according to the shape of the auxiliary screen to generate the second function card.

[0241] Alternatively, the layout of the second function card is different from that of the first function card, and the second function card is generated according to the elements in the first function card after parsing the first function card.

[0242] Fig.16 A schematic diagram of the layout of a first function card is shown.

[0243] refer to Fig.16 , which shows the first function card 61 of the music application. The first function card 61 may be an activity in the Android system. The first function card 61 may include a title area 611, a content area 612, and an operation area 613. The title area 611 and the operation area 613 are optional. The title area 611 is used to display elements for identifying the application, such as the icon or name of the application. The content area 612 is used to display specific business elements of the application, such as text, pictures, application entry and other data. The operation area 613 can be used to place the control elements of the application, such as operation buttons, draggable progress bars, etc.

[0244] In some embodiments, the card center service can parse and obtain the elements in the first function card. The first function card 61 may also include elements such as a background image, a border, and each element includes a corresponding hierarchical relationship. When the elements in the first function card 61 include an application icon, display text, two operation buttons, and a background image, the level of the background image is the lowest level, and the level of the application icon, display text, and operation button is higher than the level of the background image. Among them, the hierarchical relationship can be represented by the order of layers. For example, when rendering and generating the first function card 61, the layer of the background image is the bottom layer, and the layers of the application icon, display text, and operation button are superimposed on the layer of the background image in sequence. By rendering each layer and merging them according to the order of the layers, the interface of the first function card 61 can be output.

[0245] Fig.17 A schematic diagram of the layout of a second function card is shown.

[0246] In some implementations, the second function card may include all elements in the first function card, that is, the elements in the second function card also include the application icon, display text, two operation buttons, and a background image. The layout of the elements in the second function card may be determined according to a preset card conversion specification, and the hierarchical relationship of each element is determined according to the hierarchical relationship of the elements in the first function card. For example, referring to Fig.17 When the auxiliary screen is circular, the card center service crops and scales the background image according to the shape and size of the auxiliary screen so that the shape and size of the background image fit the auxiliary screen. Then, according to the type and number of elements, the applicable layout specifications in the card conversion specification are matched. Finally, according to the obtained layout specifications, each element is arranged and rendered according to the hierarchical relationship to obtain the interface of the second function card and display it on the auxiliary screen.

[0247] S530: When the terminal device changes from the first form to the second form, a second function card of the first application is displayed in the second display area.

[0248] In some embodiments, the first application capable of displaying the second function card in the second display area is recorded in the card center service. The terminal device may receive a user's setting operation, and the user's setting operation is used to indicate which first applications are displayed on the auxiliary screen, as well as parameters such as the method and order of displaying the first applications. For example, the setting operation may indicate that the second function cards of the note application, the music application, and the payment application are displayed on the auxiliary screen, and the second function card of the payment application is displayed by default. These card display parameters can be saved by the auxiliary screen setting application. When the terminal device changes from the first form to the second form, the auxiliary screen setting application obtains the first application displayed in the second display area and displays its second function card according to the saved card display parameters. For example, the second function card of the payment application is displayed by default. Wherein, when the terminal device is a folding mobile phone, the terminal device changes from the first form to the second form including the folding mobile phone changing from unfolding to folding. Alternatively, when the terminal device is a smart phone including a flip phone case, the terminal device changes from the first form to the second form including the flip cover of the phone case changing from opening to closing.

[0249] S540: In response to the user operation, display the operation interface of the first application.

[0250] S550: In response to the user operation, switch the displayed second function card.

[0251] In some implementations, after the second function card is displayed on the auxiliary screen, a user operation may be received. If the user operation is a click operation, the operation interface of the first application may be displayed in response to the user operation.

[0252] Fig.18 shows a second function card displayed on the auxiliary screen of the payment application, Fig.19 shows an operation interface of a payment application displayed on a secondary screen, Fig. 20 Another operation interface of a second function card displayed on the auxiliary screen of a payment application is shown. Fig.21 An operation interface of a note application displayed on a secondary screen is shown.

[0253] refer to Fig.18 The first application is a payment application, and its second function card displays the payment application icon, QR code, and the type of QR code "payment code". When the auxiliary screen receives a click operation from the user, it can display Fig.19 The operation interface of the payment application shown in the figure includes "payment code", "receipt code", "ride code" and "health code". When the auxiliary screen receives the user's click operation again, it can display the corresponding QR code according to the user's click operation. For example, when the auxiliary screen receives a click operation on the area displaying "ride code", it can display Fig. 20 The second function card shown displays the icon of the payment application, the QR code, and the type of the QR code “ride code”.

[0254] In some other implementations, when the auxiliary screen receives a sliding operation from the user, it can switch to a second function card of a different first application according to the direction of the sliding operation. Fig.18 , the second function card of the payment application is currently displayed on the auxiliary screen. When the sliding operation received by the auxiliary screen is a sliding operation to the left, it can be switched to display the second function card of the note application (i.e. Fig.21 When the sliding operation received by the auxiliary screen is a sliding operation to the right, it can be switched to display the second function card of the music application (i.e. Fig.17 interface shown).

[0255] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0256] Corresponding to the application card display method described in the above embodiment, Fig. 22 A structural block diagram of an application card display device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0257] Reference Fig. 22 , an application card display device is applied to a terminal device, the terminal device includes a first display area and a second display area, the first display area is used to display a first application card in a first form of the terminal device, and the second display area is used to display a second application card in a second form of the terminal device.

[0258] When the terminal device is in the second state, the application card display device includes: a display module 61, which is used to display a second application card of at least one first application running on the terminal device in a second display area, and the second application card of the first application is converted based on the first application card of the first application.

[0259] In some implementations, the first application card includes a first notification card and / or a first function card. The second application card includes a second notification card and / or a second function card.

[0260] In some implementations, the first application card is a first notification card, and the second application card is a second notification card.

[0261] The application card display device further includes: a conversion module 62, which is used to obtain card content data in the first notification card, obtain card parameters of the second notification card according to a preset card conversion specification, and generate a second notification card according to the card content data and the card parameters.

[0262] In some implementations, the notification sent or updated by the first application is an ongoing OnGoing notification.

[0263] The display module 61 is further configured to encapsulate the OnGoing notification into the second notification card and display it in the second display area, and / or update the second notification card according to the OnGoing notification.

[0264] In some implementations, the first application card is a first function card, and the second application card is a second function card.

[0265] The conversion module 62 is further configured to generate a second function card according to the floating window interface of the first function card when the first function card supports the floating window.

[0266] In some implementations, the first application card is a first function card, and the second application card is a second function card. The conversion module 62 is further used to obtain the elements in the first function card and the hierarchical relationship between the elements when the first function card does not support the floating window. According to the type and / or number of the elements, the layout specification of the second function card is obtained in the preset card conversion specification. The second function card is generated according to the elements, the hierarchical relationship between the elements, and the layout specification.

[0267] In some implementations, the display module 61 is further configured to respond to user operations and display the operation interface of the first application, or to respond to user operations and switch the displayed second function card.

[0268] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0269] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0270] Fig.23 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application is shown.

[0271] like Fig.23 As shown, the terminal device 7 of this embodiment includes: at least one processor 701 ( Fig.23 Only one processor is shown in the figure), a memory 702, and a computer program 703 stored in the memory 702 and executable on at least one processor 701. The processor 701 executes the computer program 703 to implement the steps in the above method embodiment.

[0272] The terminal device 7 may be a mobile phone, a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor 701 and a memory 702. Those skilled in the art will appreciate that Fig.23 It is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0273] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0274] In some embodiments, the memory 702 may be an internal storage unit of the terminal device 7, such as a hard disk or memory of the terminal device 7. In other embodiments, the memory 702 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 7. Further, the memory 702 may also include both an internal storage unit and an external storage device of the terminal device 7. The memory 702 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory 702 may also be used to temporarily store data that has been output or is to be output.

[0275] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0276] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0277] An embodiment of the present application provides a chip system, which includes a memory and a processor. The processor executes a computer program stored in the memory to implement the steps in the above-mentioned method embodiments.

[0278] An embodiment of the present application provides a chip system, which includes a processor, the processor is coupled to a computer-readable storage medium, and the processor executes a computer program stored in the computer-readable storage medium to implement the steps in the above-mentioned method embodiments.

[0279] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0280] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

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

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

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

[0284] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application 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. An application card display method, applied to a foldable mobile phone, the foldable mobile phone includes a main screen and an auxiliary screen, the auxiliary screen is smaller than the main screen, characterized in that: The method comprises: When it is determined that the function card of the first application does not support auxiliary screen display, convert the first function card of the first application to obtain a second function card according to a preset card conversion specification and the screen size and shape of the auxiliary screen, and add the application name of the first application to a list of applications that support auxiliary screen display cards; When the foldable mobile phone is in a first state, displaying the first function card of the first application running on the foldable mobile phone on the main screen, and the first state is an expanded state; When the foldable mobile phone changes from the first form to the second form, the second function card of the first application is displayed on the auxiliary screen, wherein the second form is a folded form, and the card content data of the first function card is not exactly the same as the card content data of the second function card.

2. The method according to claim 1, characterized in that The method further comprises: When the foldable mobile phone is in the first form, displaying a first notification card of the first application on the main screen; When the foldable mobile phone is transformed from the first form to the second form, a second notification card of the first application is displayed on the auxiliary screen, and the second notification card is obtained by converting the first notification card according to a preset card conversion specification.

3. The method according to claim 2, characterized in that Before displaying the second notification card of the first application on the auxiliary screen, the method further includes: Obtaining card content data in the first notification card; According to the preset card conversion specification, obtain the card parameters of the second notification card; The second notification card is generated according to the card content data and the card parameters.

4. The method according to claim 3, characterized in that The notification sent or updated by the first application is an ongoing OnGoing notification; After generating the second notification card, the method further includes: Encapsulating the OnGoing notification into the second notification card and displaying it on the auxiliary screen; and / or, The second notification card is updated according to the OnGoing notification.

5. The method according to claim 1, characterized in that The converting the first function card of the first application to obtain the second function card includes: When the first function card supports floating windows, the second function card is generated according to the floating window interface of the first function card.

6. The method according to claim 1, characterized in that The converting the first function card of the first application to obtain the second function card includes: adapting elements in the interface layout of the first function card to obtain the second function card.

7. The method according to claim 1 or 6, characterized in that: The converting the first function card of the first application to obtain the second function card includes: when the first function card does not support floating windows, acquiring elements in the first function card and the hierarchical relationship between the elements; According to the type and / or quantity of the elements, obtaining a layout specification of the second function card in a preset card conversion specification; The second function card is generated according to the elements, the hierarchical relationship between the elements, and the layout specification.

8. The method according to claim 1, characterized in that After displaying the second function card of the first application on the auxiliary screen, the method further includes: In response to a user operation, displaying an operation interface of the first application; or, In response to a user operation, the second function card displayed is switched.

9. The method according to claim 2, characterized in that: The operation of converting the first notification card to obtain the second notification card is performed by the auxiliary screen display application.

10. The method according to claim 1, characterized in that The operation of converting the first function card of the first application to obtain the second function card is performed by the card center service.

11. The method according to claim 2, characterized in that The template of the card conversion specification includes at least one mandatory parameter, and the second notification card includes card content data corresponding to each mandatory parameter, and the at least one mandatory parameter includes one or more of the top icon, top title text, middle content text, and bottom content text.

12. The method according to claim 11, characterized in that The template of the card conversion specification includes optional parameters, and the second notification card also includes card content data corresponding to one or more optional parameters, and the one or more optional parameters include one or more of the middle title text and the bottom secondary text.

13. The method according to claim 1, characterized in that The first function card includes first card content data and second card content data, and the second function card includes the first card content data but does not include the second card content data.

14. The method according to claim 2, characterized in that The first notification card includes first card content data and second card content data, and the second notification card includes the first card content data but does not include the second card content data.

15. An application card display device, applied to a foldable mobile phone, the foldable mobile phone comprises a main screen and an auxiliary screen, the auxiliary screen is smaller than the main screen, characterized in that: The device comprises: a conversion module, configured to, when determining that the function card of the first application does not support auxiliary screen display, convert the first function card of the first application to obtain a second function card according to a preset card conversion specification and the screen size and shape of the auxiliary screen, and add the application name of the first application to a list of applications that support auxiliary screen display cards; Display module for: When the foldable mobile phone is in a first state, a first function card of a first application running on the foldable mobile phone is displayed on the main screen, and the first state is an unfolded state; When the foldable mobile phone changes from the first form to the second form, the second function card of the first application is displayed on the auxiliary screen, wherein the second form is a folded form, and the card content data of the first function card is not exactly the same as the card content data of the second function card.

16. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 14 is implemented.

17. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.

Citation Information

Patent Citations

  • User terminal device and displaying method thereof

    CN105980953A

  • Method for adaptively generating card, terminal equipment and server

    CN113761427A

Cited By

  • Application card display method and apparatus, terminal device, and readable storage medium

    WO2023109636A1