Information display control method, related device and medium program

By setting up working states and state machines for the display control combination of smart terminals, the cumbersome problem of users displaying information control in a multi-application environment is solved, and more flexible and accurate information display is achieved, improving user experience.

CN120335902APending Publication Date: 2025-07-18HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410041567.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

Existing smart terminals need to install a large number of applications to track service progress, resulting in cumbersome operations for users and unable to flexibly and accurately control the display method of displaying information.

Method used

The concept of presentation control combination is introduced, and the display of information is controlled by setting working states for presentation control combinations, including creating, updating, removing and ending states, and using a state machine to manage the status of presentation control combinations to achieve flexible control.

Benefits of technology

It realizes the display of display information flexibly and accurately controls between different display portals and elements, improving user experience and operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335902A_ABST
    Figure CN120335902A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, in particular to an information display control method, a related device and a medium program.The information display control method comprises the steps that a first display control combination of first display information is determined, the first display control combination is one of a plurality of display control combinations supported by electronic equipment, and the first display control combination is used for displaying the first display information; the first display control combination comprises a first display entrance and a first display element, and a second display control combination in the plurality of display control combinations comprises a second display entrance and a second display element; determining a first working state of the first display control combination, wherein the first working state comprises a creating state, an updating state, a removing state or an ending state; and controlling the display of the first display information according to the first working state of the first display control combination. According to the scheme, display of the display information can be flexibly and accurately controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and particularly to an information display control method, related devices, and media programs. Background Art

[0002] Currently, the functions of smart terminals (such as smartphones) are becoming more and more powerful. People can use smart terminals to hail a taxi, order takeout or courier, book train tickets, flights, watch movies, etc. To use these services, smart terminals often need to install a large number of application programs (application programs can be abbreviated as applications or APPs). To track the progress of the services, users have to click into the corresponding apps to query. For example, users must enter the taxi-hailing software to check whether the driver has accepted the order and how far the driver is from themselves, and must enter the takeout software to check whether the takeout has been dispatched. Summary of the Invention

[0003] This application provides an information display control method, related devices, and media programs.

[0004] In a first aspect of this application, an information display control method is provided, including:

[0005] Determine a first display control combination for first display information, where the first display control combination is one of multiple display control combinations supported by an electronic device. The first display control combination includes a first display entry and a first display element. The second display control combination among the multiple display control combinations includes a second display entry and a second display element. The first display entry and the second display entry are different display entries, and / or the first display element and the second display element are different display elements. The second display control combination is any display control combination different from the first display control combination among the multiple display control combinations;

[0006] Determine a first working state of the first display control combination, where the first working state includes a creation state, an update state, a removal state, or an end state;

[0007] Control the display of the first display information according to the first working state of the first display control combination.

[0008] The solution of the embodiment of this application introduces the concept of a display control combination, and a working state can be set for the display control combination. The display of the display information is controlled according to the working state of the display control combination, which is beneficial to flexibly and accurately control the display of the display information.

[0009] In some possible implementation manners, the first display entry is any one of the following display entries: AOD entry, lock screen entry, notification center entry, global entry, desktop card set entry, negative one screen card set entry.

[0010] In some possible embodiments, the first display element is any one of the following display elements: card, capsule.

[0011] In some possible embodiments, the creation state includes: creating state and created state; the update state includes: updating state and updated state; the removal state includes: removing state and removed state; the end state includes: ending state and ended state.

[0012] In some possible embodiments, the method further includes: setting a state machine for a first display control combination of first display information, where the state machine is used to indicate the current working state of the first display control combination.

[0013] It can be seen that by separately setting state machines for different display control combinations, the state of a certain display control combination can be learned by querying the state machine, which is convenient for managing the state of the display control combination.

[0014] In some possible embodiments, the method further includes: determining a first removal reason identifier for removing a first display element in the first display control combination according to a detected first removal instruction, adding the first removal reason identifier to the first display element in the first display control combination, and after adding the first removal reason identifier, the first display element in the first display control combination corresponds to at least one removal reason identifier, where the at least one removal reason identifier is used to restore the first display element in the first display control combination.

[0015] In some possible embodiments, before the first removal instruction is detected, the first display element in the first display control combination is in the created state or the updated state. After adding the first removal reason identifier, the first display element in the first display control combination corresponds to one removal reason identifier, and the one removal reason identifier is the first removal reason identifier; the method further includes:

[0016] Removing the first display element in the first display control combination; before the first removal instruction is detected, the first display element in the first display control combination is in the removed state. After adding the first removal reason identifier, the first display element in the first display control combination corresponds to at least two removal reason identifiers, and the at least two removal reason identifiers include the first removal reason identifier.

[0017] In a second aspect, an embodiment of the present application provides an electronic device, which includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories store computer instructions; when the one or more processors execute the computer instructions, the electronic device is caused to execute the method according to any one of the above.

[0018] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions, and when the computer instructions run, the method according to any one of the above is executed.

[0019] In a fourth aspect, an embodiment of the present application provides a chip system, which includes a processor and a communication interface; the processor is configured to call and run a computer program stored in a storage medium from the storage medium, and execute the method according to any one of the above.

[0020] In a fifth aspect, the present application provides an electronic device, including: one or more functional modules. The one or more functional modules are configured to execute the method in any possible implementation manner of any one of the above aspects.

[0021] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein when the computer program product runs on a computer, the computer is caused to execute the method in any possible implementation manner of any one of the above aspects.

[0022] In addition, for the technical effects brought by the technical solutions of the second aspect to the sixth aspect, reference may be made to the descriptions related to the methods in the method part of each design above, and details are not described herein again. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings related to the embodiments will be briefly introduced below. The following drawings only show some embodiments of the present application, and thus should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0024] Figures 1 - 4 Schematic diagrams of some user interfaces provided by embodiments of the present application;

[0025] Figure 5A Hardware architecture diagram of an electronic device provided by embodiments of the present application;

[0026] Figure 5B Software architecture diagram of an electronic device provided by embodiments of the present application;

[0027] Figure 6 Schematic diagram of a user interface for deleting a desktop card provided by embodiments of the present application;

[0028] Figure 7 Schematic diagram of state transition provided by an embodiment of the present application;

[0029] Figure 8 Schematic diagram of the increase or deletion of removal reason flag provided by an embodiment of the present application;

[0030] Figure 9 Schematic diagram of state transition in the scenario of service node update provided by an embodiment of the present application;

[0031] Figure 10 Schematic diagram of state transition in the scenario of manual deletion by the user provided by an embodiment of the present application;

[0032] Figure 11 Schematic diagram of state transition in the scenarios of switch on and switch off provided by an embodiment of the present application;

[0033] Figure 12 Schematic diagram of state transition in the scenario of adding a new conflict provided by an embodiment of the present application;

[0034] Figures 13 - 17 Flowchart of several display control methods provided by an embodiment of the present application;

[0035] Figure 18 Schematic diagram of the architecture of a chip system provided by an embodiment of the present application. Detailed implementation manner

[0036] In this document, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element generally defined by the statement "including one" does not exclude the existence of another identical element in the process, method, article or device including the element.

[0037] In the present application, "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. A and B may be singular or plural. Terms such as "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0038] First, some related concepts involved in the embodiments of the present application will be introduced below.

[0039] Display Entrance: "Display Entrance" can be literally understood as the entrance to enter the corresponding business of the application and view display information such as business information. Based on this, "entrance" can be extended to mean the position where the display information of the application is shown, that is, the display position of the display information. In the embodiments of the present application, electronic devices such as mobile phones and tablets are provided with a desktop entrance, a negative first screen entrance, a screen-off entrance, a notification center entrance, a lock screen entrance, a global entrance, etc. The global entrance refers to all positions that can be used for display. In addition to including the desktop, the negative first screen, the screen-off, the lock screen, and the notification center, it also includes the application interface of the application being displayed, etc. Each entrance can be used to display display information such as the business information of the application. The user can view the display information such as the business information of the application through the entrance corresponding to the page displayed on the user interface of the electronic device. For example, when the user interface displays the home screen page, it is viewed through the desktop entrance; when the user interface displays the negative first screen page, it is viewed through the negative first screen entrance.

[0040] Card: "Card" is a possible form for an electronic device to display the application and display information such as the business information of the application. Displaying the display information in the form of a card at any entrance constitutes a display method of the electronic device. According to whether the card is continuously displayed or ends after the default display duration of the card, the cards can be divided into two categories. Among them, the card that ends after the default display duration is called a banner card. When the area available for displaying the display information of the application in the page displayed on the user interface is not sufficient to layout a card, the entrance corresponding to the displayed page is combined with the banner card to display the information. The banner card is displayed above the information already displayed on the page and ends after the default display duration, which can not only display the display information of the application but also avoid interfering with the user's access to other information. The global entrance is usually combined with the banner card to display the display information of the application. The resident services described in the embodiments of the present application include cards.

[0041] Capsule: "Capsule" is another form for an electronic device to display the application and display information such as the business information of the application. Displaying the display information in the form of a capsule at any entrance constitutes a display method of the electronic device. Different from the card, the capsule generally cannot display the display information of the application in detail and can only display the brief information of the corresponding business. The capsule is generally placed at the top of the user interface of the electronic device in a relatively small size, which has little impact on the user's information acquisition and user experience. Based on this, the global entrance is usually also combined with the capsule to display the display information of the application. The resident services described in the embodiments of the present application also include capsules.

[0042] Global Reach: Global Reach is an application service provided for an electronic device. That is, it transmits and displays the display information such as the business information of the application program opened by the user at various entrances, such as the desktop entrance, the negative first screen entrance, the screen-off entrance, the notification center entrance, the lock screen entrance, and the global entrance, enabling the user to view the display information such as the business information they want to know or pay attention to based on each entrance. The display form of the display information is a card and / or a capsule (the card or the capsule can be referred to as a display element). Regardless of whether the user interface is displayed as the desktop, the negative first screen, the screen-off, the standby, the notification center, or the application interface of the application program, the user can view the corresponding display information of each opened application program through the user interface and know the progress of the business service. For example, when the user interface displays the home screen page, it is viewed through the desktop entrance; when the user interface displays the negative first screen page, it is viewed through the negative first screen entrance. The application service of Global Reach can improve the convenience for the user to view the display information such as the business information of the application program. The user does not need to make the user interface of the electronic device display a specified page to view the display information of the application program, and the application service of Global Reach can improve the user experience.

[0043] Target Application: In the embodiments of the present application, the target application refers to one or more application programs in the electronic device that the user aims to open. For example, when the user opens the phone, the phone is the target application; when the user opens WeChat, WeChat is the target application.

[0044] Target Business: In the embodiments of the present application, the target business refers to the business in the target application that is triggered when the user opens the target application. For example, when the user opens WeChat and triggers a video call in WeChat, the video call is the target business of the target application WeChat; when the user opens a taxi application program and triggers a call for the driver to pick up the order, the call for the driver to pick up the order is the target business of the target application taxi.

[0045] In the embodiments of the present application, when the user triggers the target business through the application interface of the target application displayed on the display screen or the target application pushes a notification to the user based on the service progress of the target business, etc., the target application will be triggered to display the corresponding display information. The display information may be the business information generated by the user triggering the target business of the target application, or the notification information pushed by the target application to the user based on the service progress, important nodes, etc. of the target business, or may also be the information that needs to be displayed when other target applications are triggered. Since the specific content of the display information does not affect the implementation of the display method control method in the embodiments of the present application, therefore, the embodiments of the present application only take the business information as an example of the display information for discussion. The business information mentioned in the subsequent embodiments refers to the display information of the target application that needs to be displayed, and will not be repeated hereinafter.

[0046] Showing business information of an application to a user is a conventional function of electronic devices such as mobile phones and tablets. When the user opens the target application and triggers the target service, and the application interface of the target application is in the foreground, the electronic device displays the business information of the target service to the user through the application interface of the target application. At this time, the electronic device may also display the business information of the target service to the user in the form of a persistent service such as a capsule or a card at the entrance. For example, in the scenario of using the global reach application service, the business information of the target service opened by the user will be displayed as a persistent service such as a capsule or a card at each entrance.

[0047] An embodiment of this application provides an information display control method, including: determining a first display control combination for first display information, where the first display control combination is one of multiple display control combinations supported by an electronic device. The first display control combination includes a first display entrance and a first display element. A second display control combination among the multiple display control combinations includes a second display entrance and a second display element. The first display entrance and the second display entrance are different display entrances, and / or the first display element and the second display element are different display elements. The second display control combination is any display control combination different from the first display control combination among the multiple display control combinations; determining a first working state of the first display control combination, where the first working state includes a creation state, an update state, a removal state, or an end state; and controlling the display of the first display information according to the first working state of the first display control combination. The solution of the embodiment of this application can set a working state for the display control combination and control the display of the display information according to the working state of the display control combination, which is beneficial to flexibly and accurately control the display of the display information.

[0048] Taking a taxi application as an example, as Figure 1 shown, in Figure 1 as shown in (A), the user can start the taxi application by operating on the application icon of the taxi application, such as a click operation. In Figure 1 as shown in (B), the user inputs the departure place and the destination and operates on the confirmation call control. The electronic device responds to the user's operation on the confirmation call control and initiates a call for a network car. Thereafter, in the case of enabling the global reach application service, the service progress information of taking a taxi can reach each display entrance, and the display form can be a card or a capsule. The following will be described with reference to Figure 2 and Figure 3 for illustration. It should be noted that the system interface can be displayed in both the form of a card and a capsule at the same time, or can be displayed only in the form of a card or a capsule according to actual needs. When a representative display form of a card and a capsule is shown in the drawings in the embodiment of this application, it does not constitute a limitation that only a card or only a capsule can be displayed in the user interface shown in the drawings.

[0049] Figure 2 In (A), it corresponds to a user interface that displays the taxi-hailing progress information in the form of a card at the desktop entrance. It can be understood that the taxi-hailing progress information can also be displayed in the form of a capsule. Figure 2 The service progress information displayed in the card shown in (A) includes, but is not limited to: the target application is a taxi-hailing application, the target service is to call a driver to accept the order, the service progress of the target service is in the process of calling, and the other optional service is to contact the driver. Since no driver has accepted the order during the calling process, the service progress bar shown in the card (as shown on the left side of "Contact Driver" in the figure) has no progress yet. The card provides a display of the taxi-hailing progress information, enabling users to more quickly and clearly understand the progress of taxi-hailing. Alternatively, Figure 2 The desktop card in (A) can also be replaced with a capsule display. The capsule can display the application icon of the taxi-hailing application and the service progress as being in the process of calling. Figure 2 In (B), it corresponds to a user interface that is displayed in the form of a capsule at the global entrance. In the capsule, the application icon of the taxi-hailing application and the service progress as being in the process of calling can be displayed. Alternatively, Figure 2 The capsule in (B) can also be replaced with a banner card. Figure 2 In (C), it corresponds to a user interface that is displayed in the form of a banner card at the global entrance. As Figure 2 As shown in (C), the service progress information displayed in the banner card includes, but is not limited to: the service progress is that the driver has accepted the order, the license plate number of the vehicle that has accepted the order and the duration since the order was accepted, the estimated duration from the current moment to the estimated arrival time of the driver, and the other optional service is to contact the driver. Since the driver has accepted the order during the calling process, the service progress bar shown in the card has progress. In Figure 2 In (A), Figure 2 In (B), and Figure 2 In the user interfaces shown in (C), taking the display form as an example, the specific displayed content is not limited. For example, Figure 2 The banner card in the user interface shown in (C) can also display the service progress information of being in the process of calling.

[0050] Figure 2 In (A), Figure 2 In (B), and Figure 2 In (C), the service progress information is displayed in the form of a capsule or a card with a relatively small display size and generally placed at the top of the user interface, which can facilitate users to view without affecting the user experience. Figure 2 Since the banner card in (C) occupies a position and may affect the display of some application icons, optionally, the banner card can end the display after showing a default duration.

[0051] In some embodiments, the service progress information can also be displayed at more display entrances. Next, continue to combine withFigure 3 An example is given below. Figure 3 In (A), it corresponds to a user interface where the negative first screen entry is displayed in the form of a card, and the progress information of the taxi-hailing service can be displayed in the card of the negative first screen entry. Figure 3 In (B), it corresponds to a user interface where the screen-off entry displays the progress information of the taxi-hailing service in the form of a card. Optionally, the card in Figure 3 In (B) can also be replaced with a capsule form for display. Figure 3 In (C), it corresponds to a user interface where the notification center entry is displayed in the form of a card, and the progress information of the taxi-hailing service can be displayed in the card of the notification center. Figure 3 In (D), it corresponds to a user interface where the lock screen entry is displayed in the form of a card, and the progress information of the taxi-hailing service is displayed in the card of the lock screen entry. Optionally, the card in Figure 3 In (D) can also be replaced with a capsule form for display.

[0052] Figure 2 and Figure 3 It is introduced that the progress information of the taxi-hailing service can be displayed in the form of a card or a capsule at each display entry, and the specific display content is not limited. Figure 2 and Figure 3 The display content in is only an example. For example, Figure 2 and Figure 3 The progress information of the service being called can be displayed at each display entry.

[0053] The progress information of the service displayed in the capsule or card can be updated according to the service progress of the application service. For example, the application service usually divides multiple service nodes according to business requirements, which can also be called multiple scenarios. Taking the taxi-hailing application service as an example, calling a network car is a service node, the driver receiving the order is a service node, the driver arriving is a service node, and the passenger getting on the car is a service node. One service node follows another among multiple service nodes. As the service progress changes, it can transfer to the next service node. When transferring from one service node to the next service node, the progress information of the service in the capsule or card will be updated. Important service nodes (which can also be called high-priority service nodes) can be configured among multiple service nodes. When transferring to an important service node, the entry can be increased to display the service progress information. For example, if the service progress reaches an important service node, the global banner card will display the service progress information. Among them, the important service nodes of each application service can be configured according to the business. For example: in the business of calling a driver to receive an order, the driver arriving can be configured as an important service node. The examples of service nodes and important service nodes in the embodiments of the present application are only for illustration.

[0054] In some implementations, in the case where the above example is that the ride-hailing application is in the background and the user enables the application service of global reach, it is controlled to display the service progress information of the ride-hailing application in the form of cards and capsules at each entry. It should be noted that when the application service of global reach is not enabled, in the case where the target application is in the background, it can be controlled to display the service progress information of the ride-hailing application in the form of cards and capsules at the specified entry.

[0055] The above uses the ride-hailing application as an example, and it can also be the display of the service progress of other applications, such as food delivery, movie reservation, etc.

[0056] In the embodiments of the present application, the user can set which application service progress information can be displayed in the form of global reach. Further optionally, the display entry of global reach can also be set by the user. For Figure 4 example, for example, the user can enter the service management page through settings. On this service management page, the user can operate the switch control 1 to control whether to globally reach the service progress information of the ride-hailing application to each display entry. The user can operate the switch control 2 to control whether to globally reach the service progress information of the food delivery application to each display entry. The user can operate the switch control 3 to control whether to globally reach the service progress information of the movie reservation application to each display entry.

[0057] As an example, each display entry of global reach can be default. For example, when the user enables the application service of global reach, the display entries that the service progress information will reach can include the desktop entry, the negative first screen entry, the screen-off entry, the notification center entry, the lock screen entry, the global entry, and the display form (capsule or card) of each display entry can be default. The display form of each display entry can also be called a display element.

[0058] As another example, the opening or closing of each display entry of global reach can be set by the user. For example, as Figure 4 shown, on the service management page, controls for controlling each display entry can be displayed. For example, the user can operate the switch control 1 to control whether to display the service progress information on the desktop card. The user can operate the switch control 2 to control whether to display the service progress information in the capsule of the global entry. The user can operate the switch control 3 to control whether to display the service progress information on the card of the negative first screen. The user can operate the switch control 4 to control whether to display the service progress information on the card of the notification center entry. The user can operate the switch control 5 to control whether to display the service progress information on the card of the screen-off entry. The user interface for each display entry to display the service progress information can refer to Figure 2 and Figure 3The description thereof will not be elaborated here. In some embodiments, a switch control can also control the opening or closing of multiple display entrances. For example, a switch control can control the display or removal of the capsule of the global entrance and the card of the desktop entrance.

[0059] In some embodiments, the number of display entrances for displaying service progress information can also be updated along with the progress of the application service. For example, for some important service nodes (which can also be referred to as high-priority service nodes), the number of display entrances for displaying service progress information will increase. For example, when using a taxi-hailing application to hail a taxi, the driver's arrival is an important service node. When the service progress reaches the service node of the driver's arrival, a display entrance will be added to display the service progress information "The driver has arrived". For example, a banner card of the global entrance can be added to display the service progress information. Along with the update of the service progress, when reaching the next non-important service node (which can also be referred to as a low-priority service node), the display entrances for displaying service progress information will be reduced. For example, when the service progress reaches the service node after the user has got in the car, the display entrances for displaying service progress information can be reduced. For example, the banner card of the global entrance can be removed.

[0060] In this scenario, it can be understood that the urgency of the driver's arrival at this service node is relatively high, which can be regarded as an important service node with a relatively high priority, and this will trigger an increase in the display entrances for displaying service progress information. As the service progress advances, when the service progress reaches the service node after the user has got in the car, the urgency of this service node is not high, which can be regarded as a non-important service node with a relatively low priority. The service node changes from a high-priority service node to a low-priority service node, which will trigger a reduction in the display entrances for displaying service progress information. For example, the card or capsule created in the added display entrance can be removed. That is, the change in the number of display entrances for displaying service progress information can vary with the change in the priority of the transferred service node. When the priority of the transferred service node becomes higher, the number of display entrances for displaying service progress information increases; when the priority of the transferred service node becomes lower, the number of display entrances for displaying service progress information decreases.

[0061] In the embodiments of the present application, the cards or capsules of each display entry may be removed or restored due to changes in priority, and may also be removed due to reasons such as the user actively deleting the cards or capsules, the user closing the switch control, or a conflict with the foreground application. However, how to flexibly control the display or removal of the cards or capsules of the display entry is an urgent problem to be solved. Among them, the conflict with the foreground application can be understood as that when the application corresponding to the service progress information is running in the foreground, at this time, the cards or capsules displayed at each display entry or the cards or capsules of the display entry belonging to the same user interface as the application page of the foreground application may not need to be displayed. For example, if the service progress information is the service progress information of a taxi-hailing application, when the user opens the taxi-hailing application, that is, the taxi-hailing application is running in the foreground. At this time, the service progress information of the taxi-hailing application may not need to be displayed, and the banner cards or capsules of the global entry can be removed.

[0062] In some possible scenarios, when the card or capsule of a display entry of the electronic device is displaying service progress information and needs to be removed due to at least one removal reason, at least one removal reason identifier is added to the card or capsule of the display entry. The at least one removal reason may include, but is not limited to, at least one of the following: transferred from a high-priority service node to a low-priority service node, user actively deleting, user closing the switch control, conflict with the foreground application, etc. When it is necessary to restore the display of the card or capsule of the display entry, the removal reason corresponding to the restoration of the display is determined, and the removal reason identifier of the card or capsule of the display entry is deleted. If there is no other removal reason identifier for the card or capsule of the display entry, the display can be restored. If there are still other removal reason identifiers, the display cannot be restored. Thus, the removal or restoration of the cards or capsules of each entry can be flexibly and accurately controlled, improving the development efficiency.

[0063] The following introduces the electronic device provided by the embodiments of the present application.

[0064] The electronic device may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The present application does not impose any restrictions on the specific type of the electronic device.

[0065] Figure 5A It is a schematic hardware structure diagram of an electronic device 100 provided by the embodiments of the present application.

[0066] The method provided by the embodiments of this application can be executed by an electronic device. The electronic device can be a terminal device, which can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal, or smart terminal, etc. The terminal device can be a portable mobile device such as a smart phone, laptop computer, tablet computer, smart TV, personal digital assistant, wearable device, augmented reality (AR) / virtual reality (VR) device, media player, etc. The electronic device can also be an in-vehicle device, an Internet of Things device, or other devices capable of performing APP operations. The electronic device can run the HarmonyOS, Android system, IOS system, Windows system, or other operating systems. The embodiments of this application do not specifically limit the type of the electronic device and the operating system run by the electronic device.

[0067] Among them, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, and a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a user identification module card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a fingerprint sensor 180H, a proximity light sensor 180G, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, etc.

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

[0069] Figure 5B It is a schematic software structure diagram of an electronic device 100 provided by the embodiments of this application.

[0070] Among them, the layered architecture divides software into several layers, and each layer has clear roles and divisions of labor. The layers communicate with each other through software interfaces. In some embodiments, the system is divided into four layers, namely, from top to bottom, the application layer, the application framework layer, the runtime and system libraries, and the kernel layer.

[0071] The application layer may include a series of application packages.

[0072] The application packages may include applications such as desktop management, taxi-hailing, food delivery, perception, weather, clock, settings, calendar, application recommendation, SMS, camera, and gallery (applications may also be simply referred to as apps or APPs). The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. As Figure 5B shown, the application framework layer may include a location based services (LBS), a display controller, a window manager, a phone manager, a resource manager, a notification manager, a content provider, and a view system, etc.

[0073] Among them, the location based services (LBS) is used to obtain the current location of the electronic device. Specifically, for example, it can obtain the current global positioning system (GPS) data, (wireless fidelity, Wi-Fi) positioning data, and the positioning data of the cell base station.

[0074] Among them, the window manager is used to manage window programs. Among them, the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0075] Among them, the content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, dialed and received calls, browsing history and bookmarks, phone book, etc.

[0076] Among them, the view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, the display interface including the SMS notification icon may include a view for displaying text and a view for displaying pictures.

[0077] In an embodiment of the present application, when the processor 110 displays the service progress information on the card or capsule of the display entry and needs to remove the card or capsule of the display entry, the processor 110 may add at least one removal reason identifier to the card or capsule of the display entry. When the processor 110 needs to display the card or capsule of the display entry, the corresponding removal reason identifier may be deleted. If there is no other removal reason identifier for the card or capsule of the display entry, the display may be restored. If there are other removal reason identifiers, the display may not be restored.

[0078] The following describes the reasons for removing the card or capsule (display element) of the display entry involved in the embodiments of the present application. It can be understood that the reasons listed below are only examples, and other removal reasons may also be included. The present application does not make any limitations.

[0079] 1. User manually deletes. When the card or capsule of the display entry is displayed, the user can manually delete the card or capsule of the display entry. Taking Figure 6 the deletion of the card on the desktop entry as an example, as shown in Figure 6 (A), the user can operate on the card of the desktop entry. The operation can be a long press or a swipe, etc., which is not limited in the present application. The electronic device responds to the user's operation and displays a delete control. As shown in Figure 6 (B), the delete control is displayed in the card, and the user can operate on the delete control displayed in the card. The electronic device responds to the user's operation on the delete control and deletes the desktop card. As shown in Figure 6 (C) is the user interface after deleting the card of the desktop entry. In some embodiments, the removal reason for the user's manual deletion may correspond to a first flag. For example, the first flag is int REMOVED_FLAG_USER_DELETED = 0x00000001. This first flag indicates that the reason for removing the card or capsule of the display entry is the user's manual deletion. The first flag can also be called the first identifier.

[0080] In the scenario where the user manually deletes the card or capsule of the display entry, if the subsequent application service updates information, for example, when the service progress reaches the next service node, for example, when the service of calling a network car is updated to the service node of the driver taking the order, the removed card or capsule at the display entry can be restored for display.

[0081] 2. The user manually turns off the switch control. The card or capsule of each display entry can be manually turned off or on by the user. As shown in Figure 4As shown, the user can turn off or on the display of cards or capsules at the corresponding entry through the switch control. For example, when the user turns off the display of the card at the desktop entry through switch control 1, the service progress information will not be displayed in the card at the desktop entry. Further optionally, the user can also turn on the display of the card at the desktop entry through switch control 1. If there is no other reason for removal, the card at the desktop entry can be redisplayed. In some embodiments, the reason for the user to manually turn off the switch control can correspond to a second flag. For example, the second flag is int REMOVED_FLAG_SWITCH_CLOSED = 0x00000002. This second flag indicates that the reason for the removal of the card or capsule at the display entry is that the user manually turned off the switch control. The second flag can also be referred to as the second identifier.

[0082] In the scenario where the user manually turns off the switch control, if the user subsequently manually turns on the switch control, the removed card or capsule at the display entry can be redisplayed.

[0083] 3. The application service switches from a high-priority service node to a low-priority service node. The application service is usually divided into multiple service nodes according to business requirements, which can also be called multiple scenarios. Taking the taxi application service as an example, calling a network car is a service node, the driver receiving the order is a service node, the driver arriving is a service node, and the passenger getting on the car is a service node. One service node follows another among the multiple service nodes, and as the service progress changes, it can transfer to the next service node. The transfer between service nodes can be achieved through status updates.

[0084] For some relatively important service nodes, such as service nodes with a relatively high level of urgency, the priority of this service node is relatively high. In the embodiments of the present application, this type of service node is called a high-priority service node. When switching to a high-priority service node, the number of display entries for displaying service progress information will increase. For example, taking the taxi application service as an example, the driver arriving is a high-priority service node. When the service progress reaches the service node of the driver arriving, a display entry will be added to display the service progress information "The driver has arrived". For example, a banner card at the global entry will be added to display the service progress information.

[0085] As the service progress is updated, when reaching a low-priority service node, the display entries for displaying service progress information will be reduced. For example, remove the cards or capsules in the display entries that were added when switching to a high-priority service node last time. For example, when the service progress reaches the service node after the user has got on the car, the cards or capsules in the display entries that were added when switching to a high-priority service node last time can be removed. For example, remove the banner card at the global entry.

[0086] In some embodiments, the reason for the removal of the card or capsule of the display entry due to the decrease in the priority of the service node can correspond to the third flag.

[0087] For example, the third flag is int REMOVED_FLAG_LOWER_DEGREE_LEVEL = 0x00000004. This third flag indicates that the reason for the removal of the card or capsule of the display entry is the decrease in the priority of the service node. The third flag can also be referred to as the third identifier.

[0088] Among them, in the scenario where the card or capsule of the display entry is removed due to the decrease in the priority of the service node, if the subsequent service progresses to the next service node with a higher priority, the removed card or capsule of the display entry can be redisplayed.

[0089] 4. The display of the card or capsule of the display entry conflicts with the foreground application. The foreground application can refer to the application corresponding to the service progress information displayed by the card or capsule of the display entry. For example, if the card or capsule of the display entry displays the service progress information of a taxi-hailing application, the application corresponding to the service progress information is the taxi-hailing application. In other words, when the user opens the taxi-hailing application and it is running in the foreground, the card or capsule of the display entry on the same user interface as the application page of the taxi-hailing application can not display the service progress information of this application, and the card or capsule of the display entry is removed. For example, the banner card of the global entry is removed.

[0090] In some embodiments, the reason for the removal of the card or capsule of the display entry due to the conflict between the display of the card or capsule of the display entry and the foreground application can correspond to the fourth flag. This fourth flag indicates the conflict between the display of the card or capsule of the display entry and the foreground application.

[0091] For example, the fourth flag is int REMOVED_FLAG_FOREGROUND_CONFLICT = 0x00000008. The fourth flag can also be referred to as the fourth identifier.

[0092] In the scenario where the display of the card or capsule of the display entry conflicts with the foreground application, if the application switches to the background application, the closed card or capsule of the display entry can be redisplayed.

[0093] The above reasons for removal are only examples, and there can be other reasons. For example, the card or capsule of one entry and the card or capsule of another entry are displayed on the same user interface. For example, if the card of the desktop entry displays the service progress information, it may not be necessary to display it again through the capsule of the global entry, or if the capsule of the global entry displays the service progress information, it may not be necessary for the card of the desktop entry to display the service progress information.

[0094] In the embodiments of the present application, the display process of the cards or capsules of each display entry can be achieved through state switching. The following is an example. The display entries in the embodiments of the present application may include at least one of the following: desktop entry, negative first screen entry, screen-off entry, notification center entry, lock screen entry, global entry, and other display entries. The display forms of each display entry may include cards or capsules. In the embodiments of the present application, the cards or capsules are referred to as display elements. The cards or capsules of a display entry can uniquely determine a display position. For example, the global capsule corresponds to the global entry and the display form capsule, as shown in (B) of Figure 2 The banner card corresponds to the global entry and the display form card, as shown in (C) of Figure 2 The notification center card corresponds to the notification center entry and the display form card, as shown in (C) of Figure 3 The desktop card corresponds to the desktop entry and the display form card, as shown in (A) of Figure 2 The negative first screen card corresponds to the negative first screen entry and the display form card, as shown in (A) of Figure 3 The screen-off card corresponds to the screen-off entry and the display form card, as shown in (B) of Figure 3 The lock screen card corresponds to the lock screen entry and the display form card, as shown in (D) of Figure 3

[0095] For ease of description, the combination of a display entry + a display element is simply referred to as a display control combination, that is, a display control combination includes a display entry and a display element. Set a state for the display control combination. The following is combined with Figure 7 to illustrate the schematic diagram of the relationship between the state of each display control combination and the callback function of the display entry.

[0096] As Figure 7 shown, if the state of a display control combination is the creation state (CREATING), the creation function (onCreate function) of the corresponding display entry needs to be called back to create a card or capsule for the display control combination. After the callback ends, the state of the display control combination is set to the created state (CREATED).

[0097] If the state of a display control combination is the update state (UPDATING), the update function (onUpdate) of the corresponding display entry needs to be called back to update the card or capsule in the corresponding display control combination. For example, update the data in the card or capsule. For example, when updating to the next service node, the service progress information in the card or capsule needs to be updated. After the callback ends, the state of the display control combination is set to the updated state (UPDATED).

[0098] ​If the state of a display control combination is the removing state (REMOVING) or the stopping state (STOPPING), the removal function (onRemove) corresponding to the entry needs to be called back to implement the removal of the cards or capsules in the corresponding display control combination. After the callback ends, the state of the display control combination is set to the removed state (REMOVED) or the stopped state (STOPPED).

[0099] As can be seen from the above description, by setting a state for the display control combination, the corresponding function of the display entry is called, so as to realize the creation, update or removal of the cards or capsules of each display control combination, etc.

[0100] The reasons for the removal of the cards or capsules in a display control combination can refer to the removal reasons described in the foregoing embodiments. When a card or capsule of a display control combination is removed, a removal reason flag can be added. The removal reason flag can be at least one of the first flag, the second flag, the third flag or the fourth flag. Exemplarily, as Figure 8 shown in (A) below, when the state of a display control combination transitions from other states (such as the created state or the updated state) to the removing state (REMOVING) or the removed state (REMOVED), a removal reason flag is added to the display control combination, and the removal reason flag can be at least one.

[0101] When the cards or capsules removed from the display control combination need to be restored, determine the removal reason flag associated with the restoration reason, where the removal reason associated with the restoration reason can be understood as that the removal reason has been eliminated due to the restoration reason. For example, the restoration reason associated with the removal reason of the user manually deleting is that the service progress is updated to the next service node. Another example is that the restoration reason associated with the removal reason of the user manually closing the switch control is that the user manually turns on the switch control. Another example is that the restoration reason associated with the removal reason of the reduction of the priority of the service node resulting in the removal of the card or capsule of the display entry is that the priority of the transferred service node is increased. Another example is that the restoration reason associated with the removal reason of the conflict between the display of the card or capsule of the display entry and the foreground application is that the application switches to the background operation.

[0102] As Figure 8 shown in (B) below, when the cards or capsules removed from the display control combination are restored, determine the removal reason flag associated with the restoration reason, and delete the removal reason flag. After deleting the removal reason flag, determine whether there are other removal reason flags. If there are no other removal reason flags, cards or capsules can be re-created in the display control combination. If there are still other removal reason flags, the removed state is continued to be maintained.

[0103] The following uses specific scenarios as examples to illustrate the switching diagrams between the various states of a display control combination. A display control combination is uniquely determined by a display entry and a display element (the display element can be a capsule or a card, for example).

[0104] As Figure 9 shown, it is the state switching involved in the service node update process. In Figure 9 , (A) is when the display control combination is in the updated state or the created state. If the service progress of the application service transfers to the next service node, the electronic device will set the state of the display control combination to the update state, thereby calling back the update function to update the service progress information displayed in the display control combination. After the call ends, the electronic device sets the state of the display control combination to the updated state. For example, in a taxi-hailing application scenario, when the service node for calling a network car changes to the service node where the driver has accepted the order, the service progress information displayed on the card or capsule of the display control combination will be updated once.

[0105] In Figure 9 , (B) is the user manual deletion and restoration scenario. The state of the display control combination is the removed state, and the corresponding removal reason for the display control combination includes the user manual deletion flag, for example, the first identifier. When the electronic device determines that the service progress is updated to the next service node, if the removal reason for the display control combination only has the user manual deletion flag, the electronic device will update the state of the display control combination to the created state, thereby calling back the creation function to create a card or capsule in the display control combination to display the service progress information. If there are other flags in addition to the user manual deletion flag after deleting the manual deletion flag for the display control combination, the removed state will continue to be maintained.

[0106] In Figure 9 , (C) is the scenario of adding an entry for the first time when the priority is increased, that is, the scenario of switching to a high-priority service node for the first time and adding a display entry for the first time. When the electronic device determines that the service progress is updated to a high-priority service node, for example, a service node with a relatively high level of urgency. Taking the taxi-hailing application service as an example, the priority of the driver arriving at this service node is relatively high. The electronic device will add a display entry to display the service progress information. For example, it will add a banner card for the global entry to display the service progress information. The electronic device sets the state of the newly added display control combination to the created state, thereby calling back the creation function to create a card or capsule in the newly added display control combination to display the service progress information. After the call ends, the electronic device sets the state of the display control combination to the created state.

[0107] Optionally, in Figure 9In (C), when the display control combination is in the creation state, if the electronic device determines that the display of the display control combination conflicts with the capsule or card display, for example, the user interface already has a card or capsule displaying the service progress information, the state of the display control combination will be updated to the removed state, and a display conflict flag will be added. The display conflict flag indicates that the removal reason includes display conflict.

[0108] In Figure 9 In (D), it is a scenario of reducing the display entry due to a decrease in priority, that is, the application service switches from a high-priority service node to a low-priority service node. When the electronic device determines that the service progress is updated to a service node with a relatively low priority, for example, a service node with a relatively low urgency. Taking the taxi application service as an example, the service node during the process of the driver driving to the passenger's location after receiving the order has a relatively low priority. The electronic device will reduce the display entry to display the service progress information. For example, it will remove the banner card of the global entry. Exemplarily, as Figure 9 shown in (D), the state of the display control combination of the card or capsule to be removed is the created state or the updated state. The electronic device sets the state of the display control combination to the removed state, thereby calling back the removal function to remove the card or capsule in the display control combination, and adding a removal reason flag for the display control combination as a priority reduction flag, such as a third identifier. After the call ends, the electronic device sets the state of the display control combination to the removed state.

[0109] Optionally, as Figure 9 shown in (D), when the service progress is updated to a low-priority service node, if the electronic device determines that the state of the display control combination of the card or capsule to be removed is the removed state, the priority reduction flag, such as a third identifier, can be superimposed. Thus, there can be multiple removal reason flags for the display control combination.

[0110] In Figure 9In (E), it is the scenario of increasing the display entry for a further elevated priority, that is, the application service switches from a low-priority service node to a high-priority service node. At this time, the state of the display control combination is the removed state. In other words, the reasons for the removed state of the display control combination in this scenario include a decrease in priority. When the electronic device determines that the service progress is updated to a service node with a relatively high priority, for example, a service node with a relatively high urgency level, taking the taxi application service as an example, the driver arrives at this service node with a relatively high priority, and the electronic device will increase the display entry to display the service progress information. For example, it will increase the banner card of the global entry to display the service progress information. The electronic device determines whether the removal reason is only the priority decrease flag. If there is only the priority decrease flag, the electronic device deletes the priority decrease flag, sets the state of the newly added display control combination to the created state, thereby calling back the creation function, and creates a card or capsule in the display control combination to display the service progress information. After the call ends, the electronic device sets the state of the display control combination to the created state. If there are other removal reason flags after the electronic device deletes the priority decrease flag, the display control combination continues to maintain the removed state.

[0111] In the above description, the lower or higher priority can be configured for the application service. For example, it will be pre-configured which service nodes are high-priority service nodes and which service nodes are low-priority nodes. The process of switching from a high-priority service node to a low-priority service node requires reducing the display entry, and the process of switching from a low-priority service node to a high-priority service node requires increasing the display entry.

[0112] As Figure 10 shown, it is a schematic diagram of the state transition in the scenario of manual deletion by the user. The scenario of manual deletion by the user is as Figure 10 shown. When the display control combination is in the created state or the updated state, the electronic device determines that the user deletes the card or capsule of the display control combination, then adds a user deletion flag for the display control combination, and updates the state of the display control combination to the removed state, thereby calling back the removal function to remove the card or capsule in the display control combination. After the call back ends, the electronic device updates the state of the display control combination to the removed state. If Figure 10 the state of the display control combination in

[0113] Figure 11 shown, it is a schematic diagram of the state transition in the scenario of turning the switch control off or on. For example, the user can turn the switch of a display control combination on or off through the Figure 4 switch control shown. As Figure 11As shown in (A), it is a schematic diagram of state transition in the scenario where the switch of the switch control is turned on. When the display control combination is in the removed state, the reasons for removal may include, for example, that the switch of the switch control of the display control combination is turned off. When the electronic device determines that the switch of the switch control associated with the display control combination is turned on, the switch-off flag is removed. If there is only the switch-off flag, the state of the display control combination is updated to the created state, thereby calling the creation function to create a capsule or a card for the display control combination and display the service progress information. When the state of the display control combination is the created state, if there is a conflict with the display of the capsule or the card, the display conflict flag is added and the state is switched to the removed state.

[0114] Among them, if there are other removal reason flags after the switch-off flag is deleted, the display control combination continues to remain in the removed state.

[0115] As Figure 11 As shown in (B), it is a schematic diagram of state transition in the scenario where the switch of the switch control is turned off. When the display control combination is in the created state or the updated state, and the electronic device determines that the switch of the display control combination is turned off, the electronic device adds a switch-off flag for the display control combination and updates the state of the display control combination to the removed state, thereby calling the removal function to remove the card or the capsule of the display control combination. After the call ends, the electronic device updates the state of the display control combination to the removed state.

[0116] If the state of the display control combination is the removed state, when the electronic device determines that the switch of the switch control of the display control combination is turned off, the electronic device adds a switch-off flag, that is, the removal reason is superimposed.

[0117] Figure 12 As shown, it is a schematic diagram of state transition in the scenario of adding a new conflict and the conflict disappearing. The conflict may include but is not limited to: conflict with the display of other display control combinations (for example, the service progress information of the same user interface is the same as that of other display control combinations), conflict with the foreground application (for example, the user opens the application corresponding to the service progress information).

[0118] In Figure 12 As shown in (A), when the display control combination is in the created state or the updated state, if the electronic device determines to add a conflict, a conflict flag is added for the display control combination, and the state of the display control combination is switched to the removed state, thereby calling the removal function to remove the card or the capsule of the display control combination and updating the state of the display control combination to the removed state.

[0119] If the state of the display control combination is the removed state, if the electronic device determines to add a conflict, a conflict flag will also be added, thereby superimposing the removal reason.

[0120] As shown in (B) of Figure 12 Figure 12 , the display control combination is in the removed state, and the conflict in the removal reason has disappeared. For example, if the application is running in the background, the corresponding conflict flag can be deleted. If the display control combination only has this conflict flag, the state of the display control combination is switched to the creation state, thereby calling the creation function to create a card or capsule for the display control combination to display the service progress information. The state of the display control combination is switched to the created state.

[0121] Among them, if there are still flags of other removal reasons after the display control combination deletes the conflict flag, it continues to remain in the removed state.

[0122] In the above Figures 9 - 12 Figures 9 - 12 , the unregistered entry can be understood as that the display entry is not yet ready, and the state will still be converted to facilitate the subsequent display or removal after the display entry is ready.

[0123] Next, in combination with Figures 13 to 15 Figures 13 to 15 , the flowchart of the display control method provided by the embodiments of the present application is introduced. In Figures 13 to 15 Figures 13 to 15 , it is taken as an example that the display framework includes a service module, a control module, and a data module. In some embodiments, the modules can also be combined or split, or the display framework includes more modules, which is not limited in the present application. Among them, the display entry can be understood as each entry that can be globally reached, such as a global entry, a notification entry, a desktop entry, etc., which is not limited in the present application. The business side can refer to application services, such as intelligent services, and the business side can also refer to each display entry, such as a desktop entry, etc. It can be understood that the following business side, system side, display framework, and display entry are different components in the electronic device. The combination of the display entry and the display element in the following description can be replaced by the display control combination, and the display element can be, for example, a card or a capsule, that is, a display entry and a display element can uniquely determine the display position.

[0124] Next, in combination with Figures 13 to 15 Figures 13 to 15 , the flowchart of the display control method provided by the embodiments of the present application is introduced. In Figures 13 to 15Among them, taking the display framework including a service module, a control module, and a data module as an example, in some embodiments, the modules can also be combined or split, or the display framework includes more modules, which is not limited in this application. Among them, the display entry can be understood as each entry that can be globally accessed, such as a global entry, a notification entry, a desktop entry, etc., which is not limited in this application. The business side can refer to application services, such as intelligent services, and the business side can also refer to each display entry, such as a desktop entry, etc. It can be understood that the following business side, system side, display framework, and display entry are different components within the electronic device. The combination of the display entry and the display element in the following description can be replaced by a display control combination. The display element can be, for example, a card or a capsule, that is, a display entry and a display element can uniquely determine the display position.

[0125] Please refer to Figure 13 , the display control method may include but is not limited to the following steps. In some embodiments, it may also only include some of the following steps:

[0126] S101, the business side sends an operation instruction.

[0127] As an example, the operation instruction can be a deletion instruction for the card or capsule of the display entry (the card or capsule of the display entry can be called the display element of the display entry). The deletion instruction can be called the first information, and the business side can refer to the display entry. For example, when the display element of the display entry displays service progress information, when it is detected that the user performs a deletion operation on the display element of the display entry, the display entry sends a deletion instruction to the display framework, and the deletion instruction instructs to delete the display element of the display entry. The display and operation of the user interface can refer to Figure 6 the description of, and will not be elaborated here.

[0128] As another example, the operation instruction can be a switch change instruction for the switch control. The business side can be an intelligent service. The switch change instruction is used to indicate the closing or opening of the switch control. A switch control can be associated with the display elements of one or more display entries, that is, a switch control can be used to control the removal or restoration of the display elements of one or more display entries.

[0129] Exemplarily, an electronic device displays a service management user interface, which includes one or more switch controls. When it is detected that the user closes the first switch control, in response to the closing operation of the first switch control, the intelligent service can send a first switch change instruction to the display framework. The first switch change instruction can be referred to as the first information, and this first switch change instruction indicates that the first switch control is closed. The first switch control is associated with the display elements of one or more display entrances. When it is detected that the user opens the second switch control, in response to the opening operation of the second switch control, the intelligent service can send a second switch change instruction to the indication framework. The second switch change instruction can be referred to as the second information, and this second switch change instruction indicates that the second switch control is opened. The second switch control is associated with the display elements of one or more display entrances. For the relevant descriptions of the switch controls, please refer to Figure 4 the relevant descriptions and will not be elaborated here.

[0130] S102. The service module obtains the current first state of the display elements of the display entrance.

[0131] When the service module receives an operation instruction, it obtains the current first state of the display elements of the associated display entrance. The first state can be one of the following: created state, updated state, or removed state.

[0132] If the operation instruction is a deletion instruction, the display elements of the associated display entrance can refer to the display elements of the display entrance deleted by the user indicated by the deletion instruction.

[0133] If the operation instruction is a switch change instruction, the display elements of the associated display entrance can be the display elements of one or more display entrances associated with the switch control indicated in the switch change instruction.

[0134] The service module obtains the current first state of the display elements of the associated display entrance from the data module. The data module stores the relevant state data and removal reason identifiers of the display elements of each display entrance.

[0135] S103. The service module sends the operation instruction and the first state.

[0136] The service module sends the received operation instruction and the current first state of the display elements of the associated display entrance to the control module.

[0137] S104. The control module adds or deletes a removal reason identifier for the display elements of the display entrance according to the operation instruction.

[0138] If the operation instruction is a deletion instruction, the control module adds a user manual deletion flag to the display elements of the associated display entrance in the data module.

[0139] If the first state of the display element of the display entry is the removed state, it can be understood that a removal reason identifier is superimposed on the display element of the display entry, and the removal reason identifier of the display element of the display entry includes at least two. And keep the state of the display element of the display entry as the removed state.

[0140] If the first state of the display element of the display entry is the created state or the updated state, steps S105 - S107 can be executed to remove the display element of the display entry.

[0141] If the operation instruction is a switch change instruction, and the switch change instruction instructs to close the first switch control, for example, the first switch change instruction, the control module adds a switch control closed flag to the display element of the display entry associated with the first switch control.

[0142] If the first state of the display element of the display entry is the removed state, it can be understood that a removal reason identifier is superimposed on the display element of the display entry, and the removal reason identifier of the display element of the display entry includes at least two. And keep the state of the display element of the display entry as the removed state.

[0143] If the first state of the display element of the display entry is the created state or the updated state, steps S105 - S107 can be executed to remove the display element of the display entry.

[0144] If the operation instruction is a switch change instruction, and the switch change instruction instructs to turn on the second switch control, for example, the second switch change instruction, the control module deletes the switch control closed flag of the display element of the display entry associated with the second switch control. In this scenario, the first state is the removed state.

[0145] If there are still other removal reason identifiers remaining in the removal reason identifier of the display element of the display entry associated with the second switch control, keep the state of the display element of the display entry as the removed state.

[0146] If there are no other removal reason identifiers in the removal reason identifier of the display element of the display entry associated with the second switch control, steps S105 - S107 can be executed to create the display element of the display entry.

[0147] S105, the control module updates the state of the display element of the display entry to the second state according to the operation instruction and the first state.

[0148] S106, the control module calls back the function corresponding to the second state to remove or restore the display element of the display entry.

[0149] S107, the control module updates the status of the display element at the display entry to the third status.

[0150] If the operation instruction is a deletion instruction and the first status is the created status or the updated status, the status of the display element at the display entry can be updated to the removed status (i.e., the second status), and the removal function corresponding to the entry is called to remove the display element at the display entry, and the status of the display element at the display entry is updated to the removed status (i.e., the third status).

[0151] If the operation instruction is a switch change instruction and the switch change instruction indicates turning off the first switch control, such as the first switch change instruction, and the first status is the created status or the updated status, the status of the display element at the display entry can be updated to the removed status (i.e., the second status), and the removal function corresponding to the entry is called to remove the display element at the display entry, and the status of the display element at the display entry is updated to the removed status (i.e., the third status).

[0152] If the operation instruction is a switch change instruction and the switch change instruction indicates turning on the second switch control, such as the second switch change instruction, and the first status is the removed status and there is no other removal reason identifier after deleting the flag of the switch control being turned off in the removal reason identifier, the status such as the second switch change instruction can be updated to the created status (i.e., the second status), and the creation function corresponding to the entry is called to create the display element at the display entry, and the status of the display element at the display entry is updated to the created status (i.e., the third status).

[0153] After the user manually deletes the display element at the display entry, the display element at the display entry can be restored when the application service is updated to the next service node. Exemplarily, when the control module determines that the application service is updated to the next service node, the user manual deletion flag of the display element at the display entry is deleted, and if there is no other removal reason identifier for the display element at the display entry, the display element at the display entry can be restored.

[0154] The embodiments of the present application can achieve flexible removal or creation of the display element at the display entry through user operations.

[0155] Please refer to Figure 14 , the display control method may include but is not limited to the following steps. In some embodiments, it may also only include some of the following steps:

[0156] S201, the business side sends priority change information.

[0157] The business side may refer to an application service, such as a ride-hailing application. The priority may refer to the priority of a service node, and for details, reference may be made to the description of the foregoing embodiments. When switching from a low-priority service node to a high-priority service node, or from a high-priority service node to a low-priority service node, the business side will send priority change information to indicate the change in the priority of the service node.

[0158] As an example, the priority change information may be first priority change information, and the first priority change information may also be referred to as the first information. The first priority change information indicates that the application service switches from a high-priority service node to a low-priority service node.

[0159] As another example, the priority change information may be second priority change information, and the second priority change information may also be referred to as the second information. The second priority change information indicates that the application service changes from a low-priority service node to a high-priority service node.

[0160] S202. The service module obtains the current first state of the display element of the display entry.

[0161] After receiving the priority change information, the service module determines the display elements of one or more display entries associated with the changed priority, and the display elements of one or more display entries associated with the priority before the change. For example, if switching from a low-priority service node to a high-priority service node, the display elements of the display entry need to be increased. If switching from a high-priority service node to a low-priority service node, the display elements of the display entry need to be decreased. That is, the number of display elements of the display entry associated with the high-priority service node is greater than the number of display elements of the display entry associated with the low-priority service node. The display elements that need to be increased or decreased are the display elements of the one or more display entries associated with the high-priority service node except for the display elements of the one or more display entries associated with the low-priority service node.

[0162] For the scenario where the display entry needs to be increased, the service module needs to obtain the current first state of the display elements of the display entry that needs to be increased from the data module. For the display elements of the display entry that are increased for the first time, the service module may set the state of the display elements of the display entry to the creation state, so as to call the creation function to create the display elements of the display entry. For the first state of the display elements of the display entry that are not increased for the first time, it is the removed state, and the priority reduction flag is deleted for it. For details, reference may be made to Step 203 - Step 207.

[0163] For the scenario where the display entry needs to be decreased, the service module needs to obtain the current first state of the display elements of the display entry that needs to be decreased from the data module. The first state may be the created state, the updated state, or the removed state.

[0164] S203. The service module sends priority change information and the first status.

[0165] S204. The control module adds or deletes a removal reason identifier for the display elements of the display entry according to the priority change information.

[0166] If it is a conversion from a low-priority service node to a high-priority service node, delete the priority reduction flag for the display elements of the display entry that need to be added. If there is no other removal reason flag after the priority reduction flag of the display elements of the display entry is deleted, the descriptions in steps 205 to 207 can be executed to create the display elements of the display entry.

[0167] If there are still other removal reason flags after the priority reduction flag of the display elements of the display entry is deleted, keep the display elements of the display entry in the removed state.

[0168] If it is a conversion from a high-priority service node to a low-priority service node, add a priority reduction flag for the display elements of the display entry that need to be reduced. If the first status is the created status or the updated status, the descriptions in steps 205 to 207 are executed to create the display elements of the display entry. If the first status is the removed status, it can be understood that the removal reason identifier is superimposed on the display elements of the display entry.

[0169] S205. The control module updates the status of the display elements of the display entry to the second status according to the priority change information and the first status.

[0170] S206. The control module calls the function corresponding to the second status to remove or restore the display elements of the display entry.

[0171] S207. The control module updates the removed or restored status of the display elements of the display entry to the third status.

[0172] If it is a conversion from a low-priority service node to a high-priority service node, and there is no other removal reason identifier after the priority reduction flag of the display elements of the display entry that need to be added is deleted, the status of the display elements of the display entry that need to be added can be updated to the created status (i.e., the second status), and the creation function of the corresponding entry is called to create the display elements of the display entry, and the status of the display elements of the display entry is updated to the created status (i.e., the third status).

[0173] If it is a conversion from a high-priority service node to a low-priority service node, update the status of the display elements of the display entry to be reduced to the removed status (i.e., the second status), and call the removal function of the corresponding entry to remove the display elements of the display entry and update the status of the display elements of the display entry to the removed status (i.e., the third status).

[0174] The above service nodes can be converted from low priority to high priority, or from high priority to low priority in a continuous loop. Each conversion process can refer to Figure 14 the description of

[0175] Please refer to Figure 15 This display control method may include but is not limited to the following steps. In some embodiments, it may also only include some of the following steps:

[0176] S301, the system side sends foreground application switching information.

[0177] The system side may refer to the system of the electronic device. The system can send foreground application switching information to the display framework. For example, when the application running in the foreground changes, it can send foreground application switching information to the display framework.

[0178] As an example, the foreground application switching information may be the first switching information, and the first switching information may also be referred to as the first information. The first switching information indicates that the foreground application is switched to the first application, and the first application is the application corresponding to the service progress information to be displayed by the display elements of the display entry.

[0179] As another example, the foreground application switching information may be the second switching information, and the second switching information may also be referred to as the second information. The second switching information indicates that the first application is switched to run in the background.

[0180] S302, the service module obtains the current first status of the display elements of the display entry.

[0181] The first status may be the created status, the updated status, or the removed status.

[0182] S303, the service module sends the foreground application switching information and the first status.

[0183] S304, the control module adds or deletes a removal reason identifier for the display elements of the display entry according to the foreground application switching information.

[0184] If the foreground application is switched from another application to the first application, it indicates that the display elements of the display entry do not need to display the service progress information related to the first application. The control module adds a foreground application conflict flag to the display elements of the display entry. If the first state is the created state or the updated state, the descriptions in steps 305 - 307 are executed to remove the display elements of the display entry. If the first state is the removed state, it can be understood that the display elements of the display entry are superimposed with a removal reason identifier.

[0185] If the foreground application is switched from the first application to another application, that is, the first application switches to run in the background, it indicates that the display elements of the display entry need to be restored. The control module deletes the foreground application conflict flag from the display elements of the display entry. If there is no other removal reason flag after the foreground application conflict flag of the display elements of the display entry is deleted, the descriptions in steps 305 - 307 can be executed to create the display elements of the display entry.

[0186] If there are other removal reason flags after the foreground application conflict flag of the display elements of the display entry is deleted, the display elements of the display entry continue to remain in the removed state.

[0187] S305, the control module updates the state of the display elements of the display entry to the second state according to the foreground application switching information and the first state.

[0188] S306, the control module calls the function corresponding to the second state to remove or restore the display elements of the display entry.

[0189] S307, the control module updates the state of the display elements of the display entry to the third state.

[0190] If the foreground application is switched from another application to the first application, the state of the display elements of the display entry is updated to the removed state (i.e., the second state), and the removal function of the corresponding entry is called to remove the display elements of the display entry, and the state of the display elements of the display entry is updated to the removed state (i.e., the third state).

[0191] If the foreground application is switched from the first application to another application, and there is no other removal reason identifier after deleting the foreground conflict flag of the display elements of the display entry, the state of the display elements of the display entry can be updated to the created state (i.e., the second state), and the creation function of the corresponding entry is called to create the display elements of the display entry, and the state of the display elements of the display entry is updated to the created state (i.e., the third state).

[0192] The above describes that when the service progress information displayed by the display elements of the display entry conflicts or does not conflict with the foreground application, the creation or removal of the display elements of the display entry can be flexibly controlled.

[0193] Please refer to Figure 16 , the display control method may include but is not limited to the following steps. In some embodiments, it may also only include some of the following steps:

[0194] S401. Determine the first display control combination of the first display information, where the first display control combination is one of the multiple display control combinations supported by the electronic device. The first display control combination includes a first display entry and a first display element. The second display control combination among the multiple display control combinations includes a second display entry and a second display element. The first display entry and the second display entry are different display entries, and / or the first display element and the second display entry are different display elements. The second display control combination is any display control combination different from the first display control combination among the multiple display control combinations.

[0195] Among them, the first display entry may be any one of the following display entries: AOD entry, lock screen entry, notification center entry, global entry, desktop card set entry, negative one screen card set entry.

[0196] Among them, the first display element may be any one of the following display elements: card, capsule.

[0197] S402. Determine the first working state of the first display control combination. The first working state includes a creation state, an update state, a removal state, or an end state.

[0198] In some possible implementation manners, the creation state includes: a being created state and a created state; the update state includes: a being updated state and an updated state; the removal state includes: a being removed state and a removed state; the end state includes: a being ended state and an ended state.

[0199] S403. Control the display of the first display information according to the first working state of the first display control combination.

[0200] In some possible implementation manners, the method further includes: setting a state machine for the first display control combination of the first display information, and the state machine is used to indicate the current working state of the first display control combination.

[0201] Please refer to Figure 17 , the display control method may include but is not limited to the following steps. In some embodiments, it may also only include some of the following steps:

[0202] S501. Detect the first information.

[0203] The first information in the embodiments of the present application is information about a display element that can be used to determine a display entry to be removed.

[0204] Exemplarily, the first information may be a deletion instruction for instructing a user to manually delete a display element of a display entry. The deletion instruction may be triggered when the display entry detects a user deletion operation.

[0205] Exemplarily, the first information may be a switch change instruction for instructing a switch control to be turned off. The switch control is associated with display elements of one or more display entries, that is, the removal or restoration of the display elements of the one or more display entries can be controlled by turning on or off the display switch control.

[0206] Exemplarily, the first information may be priority change information indicating that an application service is switched from a high-priority service node to a low-priority service node. Based on this priority change information, it can be determined which display elements of display entries need to be removed.

[0207] Exemplarily, the first information may be an instruction indicating that a foreground application is switched to the application to which the service progress information to be displayed belongs.

[0208] It can be understood that the first information may further include other information for determining information about display elements of a display entry to be deleted. The above are only examples and do not constitute a limitation to the present application.

[0209] S502. Determine a first removal reason identifier for removing the display element of the display entry according to the first information.

[0210] Furthermore, the first information can also be used to determine the first removal reason identifier. For example, if the first information is a deletion instruction for a user's manual deletion, then the first removal reason identifier is a user manual deletion identifier. The removal reason identifier when the first information is other information can be specifically referred to the description of the foregoing embodiments and will not be elaborated herein.

[0211] S503. Add the first removal reason identifier to the display element of the display entry.

[0212] After determining the display element of the display entry, the determined first removal reason identifier can be added to the display element of the display entry. After adding the first removal reason identifier, the display element of the display entry can correspond to at least one removal reason identifier. That is, the removal reason identifiers can be stacked.

[0213] The embodiments of the present application further provide an electronic device, and the electronic device includes Figure 1The hardware and software shown. In some other embodiments, the electronic device includes at least: one or more processors and one or more memories. The processor includes a central processing unit and a graphics processing unit. The one or more memories are coupled to the one or more processors, and the one or more memories store computer instructions; when the one or more processors execute the computer instructions, the electronic device executes the above method.

[0214] Please refer to Figure 18 , Figure 18 which is a schematic structural diagram of a chip system provided by an embodiment of the present application.

[0215] Figure 18 It shows a schematic composition diagram of a chip system 600. The chip system 600 may include: a processor 601 and a communication interface 602, which are used to support related devices to implement the functions involved in the above embodiments. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the electronic device. The chip system may be composed of chips or may include chips and other discrete devices. It should be noted that, in some implementation manners of the present application, the communication interface 602 may also be referred to as an interface circuit.

[0216] It should be noted that all relevant contents of the steps involved in the above method embodiments can be cited in the function descriptions of the corresponding functional modules, and will not be repeated here.

[0217] The embodiment of the present application also provides a computer program product, when the computer program product runs on a computer, it enables the computer to execute the above related steps to implement the methods in the above method embodiments.

[0218] The embodiment of the present application also provides a computer storage medium, including computer instructions, when the computer instructions run on an electronic device, it enables the electronic device to execute the method as described in the above embodiments.

[0219] Among them, the electronic device, computer storage medium, computer program product or chip system provided by the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0220] Among them, through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0221] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the module or unit is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.

[0222] The unit described as a separated component may or may not be physically separated. The component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0223] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, 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 a software functional unit.

[0224] 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 readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The software product is stored in a storage medium and may include several instructions to enable a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the various embodiments of the present application. The foregoing storage medium may include: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.

[0225] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any change or replacement within the technical scope disclosed in the present application should be covered by the protection scope of the present application.

Claims

1. An information display control method, characterized in that Including: Determine a first display control combination for the first display information, where the first display control combination is one of multiple display control combinations supported by the electronic device. The first display control combination includes a first display entry and a first display element. The second display control combination among the multiple display control combinations includes a second display entry and a second display element. The first display entry and the second display entry are different display entries, and / or the first display element and the second display element are different display elements. The second display control combination is any display control combination different from the first display control combination among the multiple display control combinations; Determine a first working state of the first display control combination, where the first working state includes a creation state, an update state, a removal state, or an end state; Control the display of the first display information according to the first working state of the first display control combination.

2. The method according to claim 1, wherein The first display entry is any one of the following display entries: AOD entry, lock screen entry, notification center entry, global entry, desktop card set entry, negative first screen card set entry.

3. The method according to claim 1 or 2, characterized in that, The first display element is any one of the following display elements: card, capsule.

4. The method according to any one of claims 1 to 3, characterized in that, The creation state includes: a being-created state and a created state; the update state includes: a being-updated state and an updated state; the removal state includes: a being-removed state and a removed state; the end state includes: a being-ended state and an ended state.

5. The method according to any one of claims 1 to 4, wherein The method further includes: setting a state machine for the first display control combination of the first display information, and the state machine is used to indicate the current working state of the first display control combination.

6. The method according to any one of claims 1 to 5, wherein The method further includes: determining a first removal reason identifier for removing the first display element in the first display control combination according to a detected first removal instruction, adding the first removal reason identifier to the first display element in the first display control combination. After adding the first removal reason identifier, the first display element in the first display control combination corresponds to at least one removal reason identifier, and the at least one removal reason identifier is used to restore the first display element in the first display control combination.

7. The method according to claim 6, wherein Before the first removal instruction is detected, the first display element in the first display control combination is in a created state or an updated state. After adding the first removal reason identifier, the first display element in the first display control combination corresponds to one removal reason identifier, and the one removal reason identifier is the first removal reason identifier; the method further includes: Remove the first display element in the first display control combination; before the first removal instruction is detected, the first display element in the first display control combination is in a removed state. After adding the first removal reason identifier, the first display element in the first display control combination corresponds to at least two removal reason identifiers, and the at least two removal reason identifiers include the first removal reason identifier.

8. An electronic device, characterized in that the electronic device includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories store computer instructions; when the one or more processors execute the computer instructions, the electronic device is caused to execute the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when run, are used to execute the method according to any one of claims 1 to 7.

10. A chip system, characterized in that, The chip system includes a processor and a communication interface; the processor is configured to call and run a computer program stored in a storage medium to execute the method according to any one of claims 1 to 7.