Message processing method, electronic equipment, communication system and storage medium

By recommending and automatically adding cards in the notification bar message of electronic devices, the problem that users find it difficult to choose among massive cards is solved, and the user experience and information acquisition efficiency is improved.

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

Patent Information

Application Number
CN202410669253.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

When facing a large number of cards, it is difficult for users to determine which cards they need to subscribe to or add, resulting in poor user experience.

Method used

By obtaining event data when the first event occurs in the electronic device, recommending cards using notification bar messages, and highlighting or automatically adding cards on the negative screen, real-time recommendation services are recommended based on user scenario information and behavioral habit data.

Benefits of technology

Improves the user experience, enables users to quickly view details of required services, and simplifies the subscription and addition process of cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276624A_ABST
    Figure CN120276624A_ABST
Patent Text Reader

Abstract

The invention provides a message processing method, electronic equipment, a communication system and a storage medium, and relates to the technical field of terminals. When a first event occurs in the electronic equipment, corresponding first event data are obtained and presented to a user in the form of a notification bar message, and after the notification bar message is clicked, a negative screen can be skipped to, and a card associated with the notification bar message can be recommended to be subscribed or added to the user, for example, the added card corresponding to the notification bar message can be automatically focused, so that the user experience is improved. The user is guided to check the card to obtain more business information, or the user is guided to add the card on the negative screen, or the card is automatically added without user operation. The service recommended in real time based on the first event data (such as the user scene information and / or the user behavior habit data) is displayed to the user through the card, so that the user can quickly check the details of the service required by the user through the card, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of a Chinese patent application submitted to the National Intellectual Property Administration on December 28, 2023, with the application number 202311829500.1 and the application title "Message Processing Method, Electronic Device, Server and Communication System". Technical Field

[0002] This application relates to the field of terminal technologies, and in particular, to a message processing method, an electronic device, a server, and a communication system. Background Art

[0003] In order to facilitate users to access information, an electronic device uses a card recommendation function to present the information that the user may need to view in the form of cards on the negative first screen or the desktop of the electronic device, facilitating the user to view the information.

[0004] The negative first screen can present various cards with various functions for the user to choose. However, for a large number of cards, users usually are not sure which cards they need to add or subscribe to, which has certain limitations in card usage and affects the user experience. Summary of the Invention

[0005] This application provides a message processing method, an electronic device, a server, and a communication system, which can recommend subscription cards or add cards to the user based on the actual usage needs of the user, improving the user experience.

[0006] In a first aspect, this application provides a message processing method, which is applied to a server. The method includes:

[0007] When a first event occurs on the electronic device, obtain first event data corresponding to the first event;

[0008] Display a notification bar message on a first interface, where the notification bar message includes content determined according to the first event data;

[0009] In response to an operation of the user on the notification bar message, jump from the first interface to the negative first screen;

[0010] When a first card has been added to the negative first screen, prominently display the first card on the negative first screen; wherein, the first card includes content associated with the notification bar message;

[0011] When the first card has not been added to the negative first screen and the default is manual card addition, prominently display a preset guided card addition area on the negative first screen, and the preset guided card addition area includes information prompting the user to add the first card;

[0012] When the first card has not been added to the negative first screen and the default is automatic card addition, automatically create the first card on the negative first screen and prominently display the first card.

[0013] Through the message processing method provided by the embodiments of the present application, when a first event occurs in an electronic device, the corresponding first event data is obtained and presented to the user as a notification bar message. After the notification bar message is clicked, it can jump to the negative first screen to recommend subscribing to or adding a card associated with the notification bar message to the user. For example, it can automatically focus on the added card corresponding to the notification bar message to guide the user to view the card to obtain more service information, or guide the user to add a card on the negative first screen, or automatically add a card without user operation. Services recommended in real time based on the first event data (such as user scenario information and / or user behavior habit data) are presented to the user through the card, facilitating the user to quickly view the details of the services required by the user through the card and enhancing the user experience.

[0014] Among them, the first card can be a quick application card, or a widget card, or other possible cards, which are not limited in the present application. The above "highlight" refers to focusing on a specific position. For example, "highlighting the first card on the negative first screen" means focusing on the position where the first card is located on the negative first screen. "Highlighting the preset card addition guidance area on the negative first screen" means focusing on the position where the card addition guidance area is located on the negative first screen.

[0015] In some possible implementation manners, when the first event occurs in the electronic device, obtaining the first event data corresponding to the first event includes: when the first event occurs in the electronic device, determining whether the first event belongs to a preset event; and when the first event belongs to the preset event, obtaining the first event data corresponding to the first event.

[0016] Among them, the first event data includes user scenario information and / or user behavior habit data.

[0017] In some possible implementation manners, the first event is receiving a passthrough message sent by a push cloud server, and the first event data is the passthrough message.

[0018] In some possible implementation manners, the first event is that a first application in the electronic device senses that user behavior data meets a first preset condition, and the first event data is the user behavior data. Among them, the first preset condition refers to that the user behavior data belongs to the behavior data set set by the operation end.

[0019] Through the solution of the present application, subscription cards or addition cards are recommended to the user based on the actual usage needs of the user, enhancing the user experience. Services recommended in real time based on the first event data (such as user scenario information and / or user behavior habit data) are presented to the user through the card, facilitating the user to quickly view the details of the services required by the user through the card and enhancing the user experience.

[0020] In some possible implementation manners, after obtaining the first event data corresponding to the first event and before displaying a notification bar message on the first interface, the method further includes: determining whether the electronic device meets a first preset display condition; and when the electronic device meets the first preset display condition, obtaining the notification bar message according to the first event data.

[0021] Wherein, the first preset display condition may include: the notification permission is enabled, the user agreement consents to display the notification bar, the negative first screen switch is enabled on the desktop, the negative first screen is not in the foreground, and the youth mode is not enabled. It should be noted that this is for illustrative purposes only. In actual implementation, it may also be a combination of various factors, and the first preset display condition may further include other factors.

[0022] Through the solution of the present application, when the electronic device meets the condition for displaying the notification bar message, the first event data is presented to the user in the form of a notification bar message. After the notification bar message is clicked, it can jump to the negative first screen and be focused on the position where the card has been added, or guide the user to add a card on the negative first screen. Thus, subscription cards or adding cards are recommended to the user based on the actual usage needs of the user, improving the user experience.

[0023] In some possible implementation manners, obtaining the notification bar message according to the first event data includes: sending a first request message to a first server, where the first request message is used to request to obtain the notification bar message corresponding to the first event data; and receiving a first response message sent by the first server, where the first response message includes the notification bar message.

[0024] In some possible implementation manners, the first response message further includes a message processing rule, where the message processing rule is used to indicate an action to be performed when jumping to the negative first screen after the notification bar message is triggered.

[0025] In some possible implementation manners, the method further includes: obtaining the current service scenario of the negative first screen; and determining, according to the message processing rule, an action to be performed when jumping to the negative first screen after the notification bar message is triggered in the current service scenario of the negative first screen. Wherein, the service scenario of the negative first screen is that a first card has been added or not added on the negative first screen.

[0026] In some possible implementation manners, the method further includes: when the first card is not added on the negative first screen, obtaining the information of the first card.

[0027] In some possible implementation manners, after obtaining the first card, the method further includes: determining whether the first card meets a second preset display condition according to the information of the first card; and loading the first card in a guided card addition area on the minus one screen when the first card meets the second preset display condition.

[0028] Wherein, the second preset display condition is that the application version corresponding to the first card is a version that supports card display.

[0029] Through the solution of the present application, when the electronic device presents the first event data to the user in the form of a notification bar message, after the notification bar message is clicked, it jumps to the minus one screen. When the first card is not added on the minus one screen, the first card is obtained and it is determined whether the first card meets the card display condition. When the first card meets the card display condition, the user is guided to add the first card on the minus one screen, or the system automatically adds the card. Thus, cards are recommended to be added to the user based on the actual usage requirements of the user, improving the user experience.

[0030] In some possible implementation manners, the electronic device includes a minus one screen application, and the minus one screen application includes an event processor and a notification bar message management unit.

[0031] The event processor is configured to determine whether the first event belongs to a preset event when the first event occurs on the electronic device; obtain first event data corresponding to the first event when the first event belongs to the preset event; and obtain the notification bar message according to the first event data when the electronic device meets a first preset display condition.

[0032] The notification bar message management unit is configured to display a notification bar message on a first interface, and the notification bar message includes content determined according to the first event data.

[0033] In some possible implementation manners, the event processor is further configured to perform a first action when the notification bar message is triggered and then jump to the minus one screen.

[0034] Wherein, the first action includes:

[0035] highlighting the first card on the minus one screen when the first card has been added on the minus one screen;

[0036] highlighting a preset guided card addition area on the minus one screen when the first card has not been added on the minus one screen and the default is manual card addition, and the preset guided card addition area includes information for prompting the user to add the first card;

[0037] In the case where the first card is not added to the negative first screen and card addition is automatically enabled by default, the first card is automatically created on the negative first screen and the first card is highlighted.

[0038] In some possible implementation manners, the preset card addition guidance area includes an identifier of the first card and an addition control. In this case, after highlighting the preset card addition guidance area on the negative first screen, the method further includes: in response to an operation of the user on the addition control, increasing the display of the first card on the negative first screen.

[0039] In some possible implementation manners, the first interface is a desktop, an application interface, a notification center interface, or a lock screen interface.

[0040] Through the solution of the present application, on the first interface, first event data (such as user scenario information and / or user behavior habit data) is presented to the user as a notification bar message, prompting the user to view the message, and then recommending to the user to subscribe to or add a card associated with the notification bar message, thereby improving the user experience.

[0041] In a second aspect, the present application provides a message processing method applied to a server. The method includes: receiving a first request message sent by an electronic device, where the first request message is used to request to obtain a notification bar message corresponding to first event data; and sending a first response message to the electronic device, where the first response message includes the notification bar message, and the notification bar message includes content determined according to the first event data.

[0042] In some possible implementation manners, the first response message further includes a message processing rule, and the message processing rule is used to indicate: a first action to be performed when jumping to the negative first screen after the notification bar message is triggered.

[0043] In some possible implementation manners, the first action includes:

[0044] In the case where the first card has been added to the negative first screen, highlighting the first card on the negative first screen; where the first card includes content associated with the notification bar message;

[0045] In the case where the first card is not added to the negative first screen and card addition is manually enabled by default, highlighting a preset card addition guidance area on the negative first screen, where the preset card addition guidance area includes information for prompting the user to add the first card;

[0046] In the case where the first card is not added to the negative first screen and card addition is automatically enabled by default, automatically creating the first card on the negative first screen and highlighting the first card.

[0047] In some possible implementation manners, the first event data is a pass-through type message.

[0048] In some possible implementation manners, the method further includes: receiving a first passthrough message uploaded by an operation end; and sending the first passthrough message to the electronic device.

[0049] Through this solution, the passthrough messages sent to the electronic device are controlled by the operation end, enabling controllable services, providing more convenient message services and card services for users, and enhancing the user experience.

[0050] In a third aspect, the present application provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory. The processor is configured to execute the computer program to enable the electronic device to implement the method described in the first aspect and any of its implementation manners.

[0051] In a fourth aspect, the present application provides a server, which includes a processor, a memory, and a computer program stored on the memory. The processor is configured to execute the computer program to enable the electronic device to implement the method described in the second aspect and any of its implementation manners.

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

[0053] In a sixth aspect, the present application provides a message processing device, which includes units for executing the method in the first aspect above. This device can correspond to executing the method described in the first aspect above. For the relevant descriptions of the units in this device, please refer to the description in the first aspect above. For the sake of brevity, they will not be repeated here.

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

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

[0056] In an eighth aspect, the present application provides a chip, which includes a processor. The processor is configured to read and execute a computer program stored in a memory to execute the method in the first aspect and any of its possible implementation manners. Optionally, the chip further includes a memory, and the memory is connected to the processor through a circuit or a wire.

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

[0058] In a tenth aspect, the present application provides a computer program product, where the computer program product includes a computer program (which may also be referred to as an instruction or code), and when the computer program is executed by an electronic device, the electronic device is caused to implement the method in the first aspect.

[0059] It can be understood that the beneficial effects of the above second aspect to tenth aspect can be referred to the relevant descriptions in the first aspect, and will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 It is a schematic diagram of different processing flows of an electronic device after receiving a transparent transmission message and a notification message;

[0061] Figure 2A and Figure 2B It is a schematic diagram of an interface for an electronic device to display a notification message;

[0062] Figure 3 It is a schematic diagram of an improved process of the message processing method provided by an embodiment of the present application Figure 1 ;

[0063] Figure 4 It is a second schematic diagram of an improved process of the message processing method provided by an embodiment of the present application;

[0064] Figure 5 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;

[0065] Figure 6 It is a schematic diagram of the software architecture of an electronic device provided by an embodiment of the present application;

[0066] Figure 7 It is a schematic diagram of the process of the message processing method provided by an embodiment of the present application Figure 1 ;

[0067] Figure 8 It is a second schematic diagram of the process of the message processing method provided by an embodiment of the present application;

[0068] Figure 9 It is a schematic diagram of the process of the message processing method provided by an embodiment of the present application Figure 3 ;

[0069] Figure 10 It is a schematic diagram of an interface when the message processing method provided by an embodiment of the present application is applied to an electronic device Figure 1 ;

[0070] Figure 11 Schematic flow of the message processing method provided by the embodiment of the present application Figure 4 ;

[0071] Figure 12 Schematic diagram II of the interface of the message processing method provided by the embodiment of the present application applied to an electronic device;

[0072] Figure 13 Schematic flow of the message processing method provided by the embodiment of the present application Figure 5 ;

[0073] Figure 14 Schematic diagram of the interface of the message processing method provided by the embodiment of the present application applied to an electronic device Figure 3 ;

[0074] Figure 15 Schematic flow of the message processing method provided by the embodiment of the present application Figure 6 ;

[0075] Figure 16 Schematic diagram of the interface of the message processing method provided by the embodiment of the present application applied to an electronic device Figure 4 ;

[0076] Figure 17 Schematic flow of the message processing method provided by the embodiment of the present application Figure 7 ;

[0077] Figure 18 Schematic diagram of the interface of the message processing method provided by the embodiment of the present application applied to an electronic device Figure 5 。 Detailed implementation manners

[0078] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0079] To facilitate users to access information, the electronic device uses a card recommendation function to present the information that the user may need to view in the form of cards on the negative first screen or the desktop of the electronic device, facilitating the user to view the information. The negative first screen can present various cards with various functions for the user to choose. However, for a large number of cards, users usually are not sure which cards they need to add or subscribe to, and there are certain limitations in the use of cards, affecting the user experience.

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

[0081] Message Push (PUSH): Sending specified content to an electronic device through various channels or means. There are two forms of message push: notification messages and pass-through messages.

[0082] Pass-through message: A message that is processed by a client application. As shown in (a) of, after the electronic device receives a pass-through message (such as data or an instruction) sent by the PUSH cloud server, the electronic device does not display the pass-through message but passes the pass-through message to the corresponding application, and the application parses the pass-through message to obtain the message content. This message content can trigger related actions, such as jumping to a web page, an in-app page, etc. In this process, the application process needs to reside in the background of the electronic device. For the user, the pass-through message is a message that the user is unaware of. Figure 1

[0083] Notification message: As shown in (b) of, the PUSH cloud server sends a notification message to the electronic device, and the electronic device displays the notification message in a desktop pop-up window or in the notification center. When the user clicks on the notification message, the electronic device can be triggered to perform corresponding actions, such as opening an application, opening a web page, etc. In this process, the application process does not need to reside in the background of the electronic device. For the user, the notification message is a message that the user can perceive. Figure 1

[0084] Exemplarily, Figure 2A shows a schematic diagram of the interface for displaying a notification message on the electronic device side. As shown in (a) of, the electronic device is in a lit screen state and displays the desktop. As shown in (b) of, when the electronic device receives a notification message, the electronic device can pop up a message box in the top area of the desktop to display the notification message for the user to view. As shown in (c) of, after a preset duration (such as 5 seconds), the electronic device hides the notification message. Figure 2A Figure 2A Figure 2A

[0085] Exemplarily again, when the electronic device receives a notification message, the electronic device can store the received notification message in the notification center. As shown in (a), (b), and (c) of, in response to the user's pull-down operation on the desktop, the electronic device jumps from the desktop to the notification center. As shown in (c) of, the notification center displays multiple notification messages such as a fuel discount message and a courier message to realize the viewing of the notification message. Figure 2B Figure 2B

[0086] ​​​​​​​It can be seen that for the electronic device, only the notification message is displayed, and the passthrough message is not displayed. For the user, only the notification message can be perceived, while the passthrough message cannot be perceived. For the operation side, some passthrough messages contain information that can provide convenient services for users. It is necessary to let users perceive the passthrough messages in order to provide the required services for users. Therefore, there is still room for improvement in how the electronic device provides a message display method to provide more convenient services for users through passthrough messages.

[0087] In view of this, the embodiments of the present application provide a message processing method and an electronic device. Through the solution of the present application, when a first event occurs in the electronic device, the corresponding first event data is obtained and presented to the user as a notification bar message. After the notification bar message is clicked, it can jump to the negative first screen to recommend subscribing to or adding a card associated with the notification bar message to the user. For example, it can automatically focus on the added card corresponding to the notification bar message, guide the user to view the card to obtain more business information, or guide the user to add a card on the negative first screen, or automatically add a card without user operation. The services recommended in real time based on the first event data (such as user scenario information and / or user behavior habit data) are displayed to the user through the card, which is convenient for the user to quickly view the details of the services required by the user through the card and improve the user experience.

[0088] To better understand the embodiments of the present application, the embodiments of the present application are briefly described below:

[0089] In the embodiments of the present application, when a first event occurs in the electronic device, it is determined whether the first event belongs to a preset event; in the case where the first event belongs to the preset event, the first event data corresponding to the first event is obtained.

[0090] In some possible implementation manners, the preset event is receiving a passthrough message sent by a push cloud server, and the first event data is the passthrough message.

[0091] In some possible implementation manners, the preset event is that a first application in the electronic device senses that the user behavior data meets a first preset condition, and the first event data is the user behavior data.

[0092] The improvement of the present application compared with the prior art: Utilizing the characteristics of the passthrough message and combining the negative first screen scenario, it can be determined whether to display a notification bar message based on the passthrough message according to the service scenario (client state) and the message processing rule, and different actions can be executed according to the message processing rule after the notification bar message is clicked.

[0093] Among them, in response to the user's operation on the notification bar message, the electronic device jumps to the negative first screen and performs the following actions:

[0094] When the first card has been added to the negative first screen, the first card is prominently displayed on the negative first screen; wherein, the first card contains content associated with the notification bar message;

[0095] When the first card has not been added to the negative first screen and default manual card addition is enabled, a preset guided card addition area is prominently displayed on the negative first screen, and the preset guided card addition area includes information prompting the user to add the first card;

[0096] When the first card has not been added to the negative first screen and default automatic card addition is enabled, the first card is automatically created on the negative first screen and the first card is prominently displayed.

[0097] In some embodiments, the pass-through message is used as the event source. The electronic device distributes the pass-through message event to the business module on the negative first screen for processing, and then displays the notification bar message based on the pass-through message. After the user clicks on the displayed notification bar message, the electronic device performs the actions defined by the message processing rules.

[0098] For example, the PUSH cloud server sends a pass-through message to the electronic device. Then the electronic device obtains the service scenario and the message processing rules, and determines whether to display the pass-through message according to the message processing rules and the client state. When it is determined to display the message, the electronic device displays the notification bar message based on the pass-through message. After the user clicks on the displayed notification bar message, the electronic device can jump to the negative first screen and focus on the card corresponding to the pass-through message on the negative first screen.

[0099] Refer to Figure 3 As shown in (a) of [], in the related art, after the electronic device receives the pass-through message sent by the PUSH cloud server, the application parses the pass-through message and performs actions according to the parsing result. In the related art, the pass-through message is not displayed and the user is unaware.

[0100] Refer to Figure 3 As shown in (b) of [], compared with the related art, the improvement of the solution of the present application is that: after the electronic device receives the pass-through message, it can determine whether to display the pass-through message according to the real-time service scenario on the terminal side and the message processing rules. When it is determined to display the message, the pass-through message is displayed in a desktop pop-up window. When the user clicks on the pass-through message, the electronic device can jump from the desktop to the negative first screen and focus on the location of the service card corresponding to the pass-through message on the negative first screen, so as to prompt the user to view the service card or guide the user to add the service card.

[0101] Compared with the related art, in the solution of the present application, the pass-through message can be displayed and the user can perceive it. Moreover, based on the user's operation on the pass-through message, the user can be guided to view the corresponding service card on the negative first screen, which can provide more convenient services for the user.

[0102] It should be noted that after the electronic device jumps to the negative first screen, there may or may not be cards added to the negative first screen. For the convenience of description, the added cards or cards to be added on the negative first screen are collectively referred to as the first cards.

[0103] Another improvement of the embodiments of the present application compared with the related art is that after the user clicks on the pass-through message, the electronic device performs the actions defined by the service. The present application provides the following three possible situations:

[0104] Situation 1: If a first card has been added to the negative first screen, the electronic device jumps from the current display page to the negative first screen and focuses on the location of the first card on the negative first screen;

[0105] Situation 2: If no first card has been added to the negative first screen, the electronic device automatically adds the first card according to the operation strategy of automatic card addition and focuses on the location of the first card.

[0106] Situation 3: If no first card has been added to the negative first screen, the electronic device focuses on the guided card addition area on the negative first screen according to the operation strategy of guided card addition and guides the user to add the first card on the negative first screen.

[0107] The above describes the display of the pass-through message in the notification bar, and in the case where the user clicks on the pass-through message, the electronic device jumps to the negative first screen and focuses on the corresponding card position.

[0108] In some other embodiments, in addition to being able to display the notification bar message based on the pass-through message, the notification bar message can be displayed based on the APP message. The electronic device can distribute the APP message event to the service module on the negative first screen for processing and display the notification bar message based on the APP message. After the user clicks on the notification bar message, the electronic device performs the actions defined by the message processing rule.

[0109] For example, taking the APP message as the weather APP message, when the weather APP monitors that the weather has changed, the weather APP notifies the weather APP message to the negative first screen, and then the electronic device displays the weather APP message in the notification bar message. After the user clicks on the weather APP message, the electronic device can jump to the negative first screen and focus on the location of the weather service card corresponding to the weather APP message on the negative first screen to prompt the user to view the weather service card or guide the user to add the weather service card.

[0110] Refer to Figure 4 As shown in (a) of , in the related art, after the electronic device receives the APP message sent by the APP server, it updates the data of the APP according to the APP message. In the related art, the APP message is not displayed and the user is unaware.

[0111] Refer to Figure 4As shown in (b) below, compared with the related art, the improvement of the solution of this application is that: after receiving an APP message, the electronic device can determine whether to display the APP message according to the real-time service scenario on the terminal side and the message processing rule. When it is determined to display the message, the APP message is displayed in a desktop pop-up window. When the user clicks on the APP message, the electronic device can jump from the desktop to the negative first screen and focus on the card position corresponding to the APP message in the negative first screen, and the card can provide more and more convenient services or services for the user.

[0112] Compared with the related art, in the solution of this application, the APP message can be displayed, the user can perceive it, and based on the user's operation on the APP message, the user can be guided to view the corresponding service card on the negative first screen, which can provide more and more convenient services for the user.

[0113] Hereinafter, the electronic device to which the message processing method provided in the embodiments of this application is applied will be described first with reference to the accompanying drawings.

[0114] Exemplarily, the electronic device in the embodiments of this application may be a mobile phone, a tablet computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch, a smart bracelet), etc., which have voice communication functions. The embodiments of this application do not impose special restrictions on the specific form of the electronic device.

[0115] Figure 5 shows a schematic structural diagram of an electronic device provided in an embodiment of this application. Exemplarily, Figure 5 the electronic device shown may be a mobile phone. As Figure 5 shown, the mobile phone may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, 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 (i.e., a handset) 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

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

[0117] It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than those illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0118] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modulation and demodulation processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0119] Among them, the processor 110 is used for: when a first event occurs in the electronic device, obtaining first event data corresponding to the first event; displaying a notification bar message on the first interface, the notification bar message including content determined according to the first event data; in response to an operation of the user on the notification bar message, jumping from the first interface to the negative first screen; according to the current service scenario of the negative first screen, performing the following actions:

[0120] When the first card has been added to the negative first screen, highlighting the first card on the negative first screen; wherein, the first card includes content associated with the notification bar message;

[0121] When the first card has not been added to the negative first screen and the default is manual card addition, highlighting a preset guided card addition area on the negative first screen, and the preset guided card addition area includes information prompting the user to add the first card;

[0122] In the case where the first card is not added to the negative first screen and the card is automatically added by default, the first card is automatically created on the negative first screen and the first card is highlighted.

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

[0124] A memory can also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

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

[0126] It can be understood that the interface connection relationship between the modules illustrated in this embodiment is only for illustrative purposes and does not constitute a limitation on the structure of the mobile phone. In other embodiments, the mobile phone may also adopt different interface connection methods or a combination of multiple interface connection methods in the above embodiments.

[0127] The wireless communication function of the mobile phone can be implemented through antenna 1, antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0128] The mobile phone can implement the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information. The display screen 194 is used to display images, videos, etc.

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

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

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

[0132] The operating system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. The embodiment of the present application takes the Android system with a layered architecture as an example to exemplarily illustrate the software structure of the electronic device 100.

[0133] Figure 6 It is the software structure block diagram of the electronic device 100 in the embodiment of the present application.

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

[0135] Among them, the application layer may include a series of application packages. For example, the application layer may include applications such as the desktop, the sports health APP, and the negative first screen. The embodiments of the present application do not impose any restrictions on this.

[0136] Specifically in the present application, the desktop application is used to implement desktop display. For example, it can display pass-through messages in the notification bar of the desktop. The negative first screen application is used to implement negative first screen display. For example, it can present a card corresponding to the pass-through message on the negative first screen.

[0137] Among them, the card is an intermediate form between an icon and a full-screen application, and can be used as a user's quick operation tool and information quick glance window to recommend service information to the user.

[0138] Exemplarily, the card can be a quick application card, a native card, or a widget card.

[0139] In the embodiments of the present application, the application layer may further include a context awareness module, a business logic processing module, a business presentation module, etc. The context awareness module, the business logic processing module, and the business presentation module may be independent APPs, or may be integrated into different APPs respectively, or may be integrated into the same APP. The present application does not make a limitation.

[0140] Among them, the context awareness module runs permanently or in a low-power form and has the ability to perceive external facts or environments. The context awareness module can detect relevant events and obtain the status of the events from other applications in the application layer, the application framework layer, the system layer, or the kernel layer through an application programming interface (API), such as detecting Bluetooth connection, network connection, monitoring user text messages, setting timers, etc.

[0141] In the embodiments of the present application, the context awareness module is used to monitor whether a pass-through message reception event occurs. The context awareness module can notify the business logic processing module of the monitored pass-through message reception event and the type of the pass-through message.

[0142] In the embodiment of the present application, the context awareness module is further configured to monitor whether a click event of a pass-through message occurs. The context awareness module can notify the monitored click event of the pass-through message to the service logic processing module.

[0143] The service logic processing module (such as: computing engine) has the service logic processing ability and is used for:

[0144] Perform data processing or logical judgment according to the pass-through message receiving event monitored by the context awareness module, the type of the pass-through message, and the preset logical algorithm: in the case of monitoring the pass-through message receiving event, obtain the service scenario of the negative first screen and the message processing rule, and then judge whether to display the pass-through message in the notification bar of the desktop according to the service scenario of the negative first screen and the message processing rule. In the case of determining to display the pass-through message, send the pass-through message to the service presentation module, instructing to display the pass-through message in the notification bar of the desktop.

[0145] According to the click event of the pass-through message monitored by the context awareness module, it instructs the service presentation module to switch from the desktop to the negative first screen and focus on the position of the service card corresponding to the pass-through message in the negative first screen, so as to prompt the user to view the service card or guide the user to add the service card.

[0146] Among them, the service logic processing module can automatically focus on the added card corresponding to the pass-through message according to the service scenario and message processing rule of the negative first screen, or guide the user to add a card in the negative first screen, or automatically add a card without user operation, and guide the user to view the card to obtain more service information and improve the user experience.

[0147] The service presentation module (such as: YOYO suggestion) is used to display the pass-through message in the notification bar of the desktop according to the instruction of the service logic processing module; and, switch from the desktop to the negative first screen according to the instruction of the service logic processing module and focus on the position of the service card corresponding to the pass-through message in the negative first screen.

[0148] The application framework layer provides APIs and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions. For example, the application framework layer can include a notification management service unit for managing notification messages and pass-through messages.

[0149] In the embodiments of the present application, the application framework layer further includes various functional modules corresponding to the negative first screen application. For example, the various functional modules corresponding to the negative first screen application include a push SDK (software development kit), a push message service unit, a pass-through message management unit, and a notification bar message management unit. In addition, the functional module corresponding to the negative first screen application further includes an event processor, and the event processor includes a card focusing event processor and a guide card adding event processor.

[0150] Among them, the push SDK (PUSH SDK) is used to implement the callback of the push message service module according to the pass-through message.

[0151] Among them, the push message service unit is used to identify the type of the push message. If the push message is a pass-through message, the pass-through message is transmitted to the pass-through message management unit.

[0152] Among them, the pass-through message management unit is used to manage the pass-through message. For example, it determines whether the pass-through message can be displayed in the notification bar. For another example, it obtains the pass-through message processing rule and the notification bar message, and determines which service processor to distribute the event to according to the pass-through message processing rule and the notification bar message. For example, the pass-through message management unit distributes the event to the card focusing event processor, or distributes the event to the guide card adding event processor.

[0153] Among them, the card focusing event processor is used to control: after the notification bar message is clicked, switch from the desktop to the negative first screen, and focus on the position of the card corresponding to the notification bar message in the negative first screen.

[0154] Among them, the guide card adding event processor is used to control: after the notification bar message is clicked, switch from the desktop to the negative first screen, and focus on the guide card adding area in the negative first screen to guide the user to add a card corresponding to the notification bar message in the guide card adding area.

[0155] Among them, the notification bar message management unit can implement the display of the notification bar message in combination with the notification management service unit.

[0156] Android Runtime includes a core library and a virtual machine. Android Runtime is responsible for the scheduling and management of the Android system. The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as the management of object life cycles, stack management, thread management, security and exception management, and garbage collection.

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

[0158] Specifically in the solution of this application, the system library includes a message display interface and a card display interface. The message display interface is used to call the display driver to display notification bar messages on the display screen based on pass-through messages or APP messages, etc. The card display interface is used to call the display driver to implement the display of cards corresponding to pass-through messages or APP messages, etc. on the negative first screen through the display screen.

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

[0160] For the convenience of description, the hardware layer interacting with the above software structure is also shown in the figure. For example, the hardware layer may include a display screen. The display screen can be used to display interfaces such as the negative first screen or the desktop, and can also be used to display cards on interfaces such as the negative first screen or the desktop.

[0161] It should be noted that although the embodiments of this application are described by taking a system as an example, its basic principle also applies to electronic devices based on or

[0162] and other operating systems.

[0163] The execution subject of the message processing method provided by the embodiments of this application can be the above-mentioned electronic device, or a functional module and / or functional entity in the electronic device that can implement the message processing method. And the solution of this application can be implemented in a hardware and / or software manner, which can be specifically determined according to actual usage requirements, and the embodiments of this application do not make any limitations. Taking the electronic device as an example below, the message processing method provided by the embodiments of this application will be described exemplarily with reference to the accompanying drawings. Figure 5 as shown, and the software structure block diagram of the electronic device can be as Figure 6As shown, but the embodiments of the present application are not limited thereto. The execution subject of the message processing method provided by the embodiments of the present application can be an electronic device, or a hardware and / or software module in the electronic device. For ease of description, in the embodiments of the present application, the execution subject is taken as an electronic device as an example for illustrative description.

[0164] The following introduces the message processing method provided by the embodiments of the present application in combination with specific embodiments.

[0165] Figure 7 It is a schematic flowchart of the message processing method provided by the embodiments of the present application, which shows the interaction process between the server side and the electronic device side. As Figure 7 shown, the server side includes a PUSH marketing platform, a PUSH cloud server, a PUSH end interface, and a pass-through message management cloud server. The electronic device side includes: a negative first screen application, a desktop application, and a notification bar message management unit.

[0166] S1 and S2. In response to the input operation of the operation-side personnel on the PUSH marketing platform, the PUSH marketing platform configures a recommended type of pass-through message (referred to as a PUSH pass-through message), and uploads the PUSH pass-through message to the PUSH cloud server.

[0167] S3 and S4. The PUSH cloud server sends the PUSH pass-through message to the electronic device through the PUSH end interface.

[0168] S5. The electronic device receives the PUSH pass-through message and passes the PUSH pass-through message to the pass-through message management unit through the PUSH SDK.

[0169] It should be noted that in the embodiments of the present application, the negative first screen integrates the PUSH SDK. The PUSH SDK receives the PUSH pass-through message sent by the server side, and the PUSH pass-through message wakes up the negative first screen application process.

[0170] S6. After the negative first screen application process is awakened, the negative first screen application parses the PUSH pass-through message through the pass-through message management module. Then, the negative first screen application pulls the corresponding message processing rules from the pass-through message management cloud server, and the pass-through message management module decides whether to display a notification bar message based on the PUSH pass-through message according to the message processing rules and the actual situation of the electronic device side (such as whether the user has added a card to the negative first screen, etc.), and decides whether, after the notification bar message is clicked by the user, the electronic device performs focusing on the position of the added card or focuses on the guide card adding area to prompt the user to add a card.

[0171] S7. In the case where the pass-through message management module determines to display a notification bar message based on the pass-through message, the negative first screen application notifies the notification bar message management unit: display a notification bar message based on the pass-through message.

[0172] S8. The notification bar message management unit instructs the desktop to display the notification bar message.

[0173] Accordingly, the notification bar message is displayed on the desktop for the user to view. The user can determine whether to click on the notification bar message to view the details according to actual usage requirements.

[0174] S9. The desktop application receives the operation of the user clicking on the notification bar message.

[0175] S10. This operation launches the negative first screen application, causing the electronic device to switch from the desktop to the negative first screen.

[0176] S11. In the case of switching to the negative first screen, focus on the card position or the guided card addition area.

[0177] For ease of explanation, the card associated with the notification bar message is hereinafter referred to as the first card.

[0178] In some embodiments, if the first card has been added to the negative first screen, then in the case of switching to the negative first screen, focus on the position where the first card is located.

[0179] In some embodiments, if the first card has not been added to the negative first screen, then in the case of switching to the negative first screen, focus on the guided card addition area to prompt the user to add the first card.

[0180] In some embodiments, if the first card has not been added to the negative first screen, then in the case of switching to the negative first screen, automatically add the first card to the negative first screen and focus on the first card.

[0181] The following combines Figure 8 , and illustrates the process of the message processing method provided by the embodiments of the present application through the interaction timing diagram between the server side and the electronic device side.

[0182] It should be noted that the present application exemplarily uses multiple modules on the server side and multiple modules on the electronic device side as examples for illustrative purposes. In actual implementation, the server side and the electronic device side can each implement the message processing method provided by the embodiments of the present application through more or fewer functional modules than the following embodiments. The present application does not limit the specific functional modules used by the server side and the electronic device side to implement the message processing method.

[0183] S201. PUSH pass-through message push: On the server side, the PUSH marketing platform passes the PUSH pass-through message to the PUSH end interface.

[0184] S202. PUSH pass-through message reach: The server side sends the PUSH pass-through message to the PUSH SDK on the electronic device side through the PUSH end interface.

[0185] S203, PUSH Pass-through Message Callback: On the electronic device side, the PUSH SDK sends a PUSH pass-through message to the push message service unit.

[0186] S204, PUSH Pass-through Message Type Identification: The push message service unit identifies the type of the PUSH pass-through message.

[0187] Exemplarily, the recognition result is a message of the pass-through type.

[0188] S205, PUSH Pass-through Message Distribution: If the recognition result is a message of the pass-through type, the push message service unit sends the PUSH pass-through message to the pass-through message management unit.

[0189] The pass-through message management unit determines whether a notification bar message can be displayed based on the PUSH pass-through message according to various setting information on the electronic device side. Among them, the various setting information may include whether the negative first screen is in the foreground, whether the user agreement allows the display of notification bar messages, whether the youth mode is enabled, whether the notification permission is enabled, and / or whether the negative first screen switch is enabled on the desktop, etc. It should be noted that the various setting information may include more or fewer setting information, and this is only for exemplary illustration. The following is an exemplary judgment process.

[0190] S206, Determine whether the negative first screen is in the foreground.

[0191] If the negative first screen is not in the foreground, the condition for displaying a notification bar message is met.

[0192] If the negative first screen is in the foreground, it is assumed that the user is viewing cards on the negative first screen, and the condition for displaying a notification bar message is not met.

[0193] S207, Determine whether the user agreement allows the display of notification bar messages.

[0194] Exemplarily, if the user agreement allows the display of notification bar messages, the condition for displaying a notification bar message is met.

[0195] It can be understood that if the user agreement does not allow the display of notification bar messages, the condition for displaying a notification bar message is not met.

[0196] S208, Determine whether the youth mode is enabled.

[0197] If the youth mode is not enabled, the condition for displaying a notification bar message is met.

[0198] If the youth mode is enabled, the condition for displaying a notification bar message is not met.

[0199] S209, Determine whether the notification permission is enabled.

[0200] When the notification permission is enabled, the conditions for displaying the notification bar message are met.

[0201] When the notification permission is disabled, the conditions for displaying the notification bar message are not met.

[0202] S210. Determine whether the negative first screen switch is enabled on the desktop.

[0203] When the negative first screen switch is enabled on the desktop, that is, it supports jumping from the desktop to the negative first screen, the conditions for jumping to the negative first screen after the notification bar message is clicked are met.

[0204] When the negative first screen switch is disabled on the desktop, that is, it does not support jumping from the desktop to the negative first screen, the conditions for jumping to the negative first screen after the notification bar message is clicked are not met.

[0205] It should be noted that this application does not limit the execution order of the above judgment processes.

[0206] In some embodiments, when the negative first screen is not in the foreground, the user agreement agrees to display the notification bar message, the youth mode is not enabled, the notification permission is enabled, and the negative first screen switch is enabled on the desktop, the electronic device determines that the notification bar message can be displayed based on the PUSH pass-through message.

[0207] In some other embodiments, when the user agreement agrees to display the notification bar message, the youth mode is not enabled, and the notification permission is enabled, the electronic device determines that the notification bar message can be displayed based on the PUSH pass-through message.

[0208] In some other embodiments, when the notification permission is enabled, the user agreement agrees to display the notification bar message, and the negative first screen switch is enabled on the desktop, the electronic device determines that the notification bar message can be displayed based on the PUSH pass-through message.

[0209] The above is an exemplary description. In actual implementation, the judgment conditions can be set according to actual usage requirements. Exemplarily, when the negative first screen is not in the foreground, the user agreement agrees to display the notification bar message, the youth mode is not enabled, the notification permission is enabled, and the negative first screen switch is enabled on the desktop, the following steps are continued.

[0210] S211. The pass-through message management unit sends the PUSH pass-through message to the pass-through message management cloud server and obtains the message processing rule and the notification bar message from the pass-through message management cloud server.

[0211] Among them, the notification bar message refers to the content displayed in the notification bar determined according to the PUSH pass-through message.

[0212] Among them, the message processing rule is as follows: after the user clicks on the message in the notification bar, first determine whether a card corresponding to the PUSH pass-through message (referred to as the first card) has been added to the negative first screen, and then perform different actions according to the judgment result.

[0213] Exemplarily, the message processing rules include:

[0214] Rule 1: After the user clicks on the message, if the first card has been added to the negative first screen, jump to the negative first screen and focus on the card position on the negative first screen.

[0215] Rule 2: After the user clicks on the message, if the first card has not been added to the negative first screen, automatically add the first card to the negative first screen, jump to the negative first screen and focus on the card position on the negative first screen.

[0216] Rule 3: After the user clicks on the message, if the first card has not been added to the negative first screen, jump to the negative first screen and focus on the card addition guidance area on the negative first screen to guide the user to add a card.

[0217] The above Rule 1 is for the case where the card has been added to the negative first screen, and the above Rules 2 and 3 are for the case where the card has not been added to the negative first screen.

[0218] S212. Message processing rule parsing: The pass-through message management unit decides which business server distributes the event according to the rule parsing result.

[0219] Among them, the rule parsing result is that the card has been added to the negative first screen, or it is to guide the user to add a card.

[0220] Case 1: When the rule parsing result is that the card has been added to the negative first screen, the pass-through message management unit distributes the event to the card focusing event processor. The following actions are completed through the card focusing event processor: when the notification bar message is clicked, focus on the added card on the negative first screen.

[0221] Case 2: When the rule parsing result is to guide the user to add a card, the pass-through message management unit distributes the event to the card addition guidance event processor. The following actions are completed through the card addition guidance event processor: when the notification bar message is clicked, guide the user to add a card on the negative first screen.

[0222] The electronic device executes according to either Case 1 or Case 2 according to the rule parsing result.

[0223] First, the message processing process when the rule parsing result is that the card has been added to the negative first screen will be described below.

[0224] S213. The pass-through message management unit distributes the card focusing event and the notification bar message to the card focusing event processor.

[0225] Among them, the card fixed-focus event indicates to perform the following actions: when the notification bar message is clicked, fix the focus on the added card on the negative first screen.

[0226] S214. The card fixed-focus event processor initializes the notification bar click event: after the notification bar message is clicked, fix the focus on the first added card on the negative first screen.

[0227] Among them, the notification bar click event refers to the event that the notification bar message is clicked.

[0228] S215. The card fixed-focus event processor sends a notification bar message to the notification bar message management unit to trigger the display of the notification bar message.

[0229] S216. The notification bar message management unit displays the notification bar message.

[0230] Next, the message processing process for the rule parsing result to guide the user to add a card will be described.

[0231] S217. The pass-through message management unit distributes the guide-to-add-card event to the guide-to-add-card event processor.

[0232] Among them, the guide-to-add-card event indicates to perform the following actions: when the PUSH pass-through message is clicked, guide the user to add a card on the negative first screen.

[0233] S218. The guide-to-add-card event processor obtains the information of the first card to be added from the pass-through message management cloud server.

[0234] Among them, the information of the first card includes the application version information corresponding to the first card.

[0235] S219. The guide-to-add-card event processor determines whether the first card meets the card display condition according to the information of the first card: whether the application version corresponding to the card is a version that supports card display.

[0236] Among them, if the application version corresponding to the first card supports card display, the first card meets the card display condition. If the application version corresponding to the first card does not support card display, the first card does not meet the card display condition.

[0237] S220. When the first card meets the card display condition, load the first card in the guide-to-add-card area on the negative first screen.

[0238] S221. The guide-to-add-card event processor initializes the notification bar click event: after the notification bar message is clicked, fix the focus on the guide-to-add-card area to guide the user to add a card on the negative first screen.

[0239] S222. The guide-to-add-card event processor triggers the notification bar message management unit to display the notification bar message.

[0240] S223. The notification bar message management unit displays the notification bar message.

[0241] The above has described that after receiving the pass-through message, based on various setting information on the electronic device side, it is determined whether a notification bar message can be displayed based on the pass-through message; when it is determined that a notification bar message can be displayed based on the pass-through message, the notification bar message is displayed. Next, the possible implementation manners of the message processing method of the present application in different service scenarios will be described.

[0242] Among them, different service scenarios include that a card has been added to the negative first screen and no card has been added to the negative first screen; among them, no card added to the negative first screen includes two scenarios: guiding the user to add a card and automatically adding a card. That is to say, when a notification bar message is displayed based on the pass-through message, if a notification bar click event is detected, different processing actions can be performed according to whether a card has been added to the negative first screen.

[0243] Service scenario one: A card has been added to the negative first screen

[0244] Figure 9 Shows a flowchart of the processing actions performed when a notification bar click event is detected and a card has been added to the negative first screen. Combining Figure 8 As Figure 9 shown, after S213 - S216, the method provided by the present application further includes:

[0245] S301. The notification bar message management unit detects a notification bar click event.

[0246] S302. The notification bar message management unit notifies the card focusing event processor of the notification bar click event.

[0247] It can be understood that after receiving the instruction from the card focusing event processor, the notification bar message management unit displays the notification bar message. Correspondingly, after the notification bar message is clicked, the notification bar message management unit returns the notification bar click event to the card focusing event processor.

[0248] S303. The card focusing event processor responds to the notification bar click event, jumps from the current display page to the negative first screen, and focuses on the first card.

[0249] Among them, the first card is a card associated with the pass-through message that has been pre-added to the negative first screen.

[0250] Next, the implementation manner of the processing actions performed when a notification bar click event is detected and a card has been added to the negative first screen will be described in combination with the interface schematic diagram. Figure 10 Shows an interface schematic diagram of the message processing method provided by the present application applied to an electronic device.

[0251] As Figure 10As shown in (a) therein, the electronic device is in the screen-on and unlocked state, and displays the desktop or other possible interfaces such as application interfaces. Here, it is illustrated by taking the current display interface of the electronic device as the desktop as an example.

[0252] The electronic device receives a pass-through message, and determines whether to display a notification bar message based on the pass-through message according to the service scenario and message processing rules of the negative first screen, and determines the processing action when the notification bar message is clicked.

[0253] For example, assume that the user has already completed adding a card in advance, that is, the first card corresponding to the pass-through message has been added on the negative first screen. Correspondingly, the electronic device determines that the processing action when the notification bar message is clicked is: jump to the negative first screen and focus on the card position.

[0254] As Figure 10 shown in (b) therein, the electronic device displays a notification bar on the desktop, and the pass-through message is displayed in the notification bar. For example, the notification bar message: Today's fuel discount, click to view.

[0255] When the electronic device receives the user's click on the notification bar message, as Figure 10 shown in (c) therein, the electronic device jumps from the desktop to the negative first screen and focuses on the card position.

[0256] Among them, focusing on the card position is reflected in highlighting the card in various ways. For example, the card is enlarged and displayed, the card is dynamically displayed, the card is displayed in dark color, and / or the card is displayed in a specific area of the negative first screen (such as centered display).

[0257] It should be noted that the present application does not limit the display content, display form, display size, and display position of the card.

[0258] Among them, the first card can display information related to the notification bar message. For example, the first card displays the nearby gas station xx, location information, and fuel discount situation. After adding the first card on the negative first screen, the user can view the first card on the negative first screen at any time according to actual usage needs and quickly obtain useful information.

[0259] Service scenario two: Guide the user to add a card when no card is added on the negative first screen

[0260] Figure 11 shows a flowchart of performing a guiding card-adding action when no card is added on the negative first screen when a notification bar click event is detected. Combining Figure 8 , as Figure 11 shown, after S214 - S223, the method provided by the present application further includes:

[0261] S401. The notification bar message management unit detects a notification bar click event.

[0262] S402. The notification bar message management unit notifies the guided card addition event processor of the notification bar click event.

[0263] It can be understood that after receiving the instruction from the guided card addition event processor, the notification bar message management unit displays the notification bar message based on the passthrough message. Correspondingly, after the notification bar message is clicked, the notification bar message management unit returns the notification bar click event to the guided card addition event processor.

[0264] S403. In response to the notification bar click event, the guided card addition event processor jumps from the current display page to the minus one screen and focuses on the guided card addition area (or called the card recommendation area) to guide the user to add a card.

[0265] The following describes the implementation method of the processing action when a notification bar click event is detected and there are already added cards on the minus one screen in combination with the interface schematic diagram. Figure 12 The interface schematic diagram shows the message processing method provided by this application applied to an electronic device.

[0266] As Figure 12 shown in (a) of [reference], the electronic device is in the bright screen unlocked state and displays the desktop or other possible interfaces such as application interfaces. Here, it is still described by taking the current display interface of the electronic device as the desktop as an example.

[0267] The electronic device receives the passthrough message and determines whether to display the notification bar message based on the passthrough message according to the service scenario and message processing rules of the minus one screen, and determines the processing action when the notification bar message is clicked.

[0268] For example, assume that the first card is not added on the minus one screen. Correspondingly, the electronic device determines that the processing action when the notification bar message is clicked is: jump to the minus one screen and focus on the guided card addition area to guide the user to add the first card.

[0269] As Figure 12 shown in (b) of [reference], the electronic device displays the notification bar on the desktop, and the passthrough message is displayed in the notification bar. For example, the notification bar message: Today's fuel discount, click to view.

[0270] In the case where the electronic device receives the user's click on the notification bar message, as Figure 12 shown in (c) and (d) of [reference], the electronic device jumps from the desktop to the minus one screen and focuses on the guided card addition area. The guided card addition area includes a schematic diagram of the first card recommended to be added, a "change" control, and an "add" control.

[0271] As Figure 12As shown in (d) and (e) therein, when the electronic device receives a user's click on the add control, the electronic device adds and displays a first card on the negative first screen. The first card can display information related to the notification bar message. For example, the first card displays a nearby gas station xx, location information, and gas station discount information. After adding the first card on the negative first screen, the user can view the first card on the negative first screen at any time according to actual usage needs to quickly obtain useful information.

[0272] Among them, focusing on the guided card adding area is manifested by highlighting the guided card adding area in various ways. For example, the guided card adding area can be enlarged and displayed, dynamically displayed, darkly displayed, and / or displayed in a specific area of the negative first screen (such as centered display).

[0273] It should be noted that the present application does not limit the display content, display form, display size, and display position of the guided card adding area.

[0274] Business scenario three: Automatically adding a card when there is no card added on the negative first screen

[0275] For ease of explanation, the above embodiments are described by way of example with guiding the user to add a card. Of course, in actual implementation, the electronic device can also complete the action of automatically adding a card: when the PUSH pass-through message is clicked, a card is automatically added to the negative first screen and focused on the added card on the negative first screen.

[0276] Figure 13 shows a flowchart of performing an automatic card adding action when there is no card added on the negative first screen when a notification bar click event is detected. Combining Figure 8 , as Figure 13 shown, after S214 - S223, the method provided by the present application further includes:

[0277] S501. The notification bar message management unit detects a notification bar click event.

[0278] S502. The notification bar message management unit notifies the guided card adding event processor of the notification bar click event.

[0279] It can be understood that after receiving the instruction from the guided card adding event processor, the notification bar message management unit displays the notification bar message based on the pass-through message. Correspondingly, after the notification bar message is clicked, the notification bar message management unit returns the notification bar click event to the guided card adding event processor.

[0280] S503. In response to the notification bar click event, the guided card adding event processor jumps from the current display page to the negative first screen, automatically adds a first card on the negative first screen, and focuses on the first card.

[0281] The following describes the implementation method of the processing action when a notification bar click event is detected and a card has been added to the negative first screen, in combination with the interface schematic diagram. Figure 14 The schematic diagram of the interface shows the application of the message processing method provided by this application to an electronic device.

[0282] As Figure 14 Shown in (a) of [], the electronic device is in the screen-on and unlocked state, and displays the desktop or other possible interfaces such as application interfaces. Here, the current display interface of the electronic device is still taken as the desktop for illustration.

[0283] The electronic device receives the pass-through message, and determines whether to display the notification bar message based on the pass-through message according to the service scenario and message processing rules, and determines the processing action when the notification bar message is clicked.

[0284] For example, assuming that the first card is not added to the negative first screen, correspondingly, the electronic device determines that the processing action when the notification bar message is clicked is: jump to the negative first screen, automatically add the first card to the negative first screen, and focus on the first card.

[0285] As Figure 14 Shown in (b) of [], the electronic device displays the notification bar on the desktop, and the pass-through message is displayed in the notification bar. For example, the notification bar message: Today's fuel discount, click to view.

[0286] When the electronic device receives the user's click on the notification bar message, as Figure 14 Shown in (c) and (d) of [], the electronic device jumps from the desktop to the negative first screen, automatically adds the first card to the negative first screen, and focuses on the first card.

[0287] Among them, "automatically add the first card to the negative first screen and focus on the first card" is reflected in highlighting the automatically added first card in various ways. For example, the first card is first enlarged and then restored to the normal size. The automatically added first card can display information related to the notification bar message. It should be noted that this application does not limit the display content, display form, display size, and display position of the first card.

[0288] After the first card is added to the negative first screen, the user can view the first card on the negative first screen at any time according to actual usage needs to quickly obtain useful information.

[0289] The above embodiments take the PUSH transparent message sent by the PUSH cloud server as an example to exemplarily illustrate the message processing method provided by the present application. In the solution of the present application, in addition to being applicable to the PUSH transparent message sent by the PUSH cloud server, it is also applicable to APP messages or other possible messages. Taking APP messages as an example below, the possible implementation manners of the message processing method provided by the embodiments of the present application are illustrated through the interaction sequence diagram between the server side and the electronic device side.

[0290] It should be noted that the present application exemplarily takes multiple modules on the server side and multiple modules on the electronic device side as examples for exemplary illustration. In actual implementation, the server side and the electronic device side can each implement the message processing method provided by the embodiments of the present application through more or fewer functional modules than the following embodiments. The present application does not limit the specific functional modules used by the server side and the electronic device side to implement the message processing method.

[0291] Figure 15 It is the interaction sequence diagram of another message processing method provided by the present application. Here, the sports health APP is taken as an example for exemplary illustration.

[0292] S601. The sports health APP obtains the user's exercise parameters.

[0293] In some embodiments, the sports health APP can determine whether to send a sports health APP message to the negative first screen according to the user's exercise parameters. For example, when it is detected that the user's exercise parameters meet the preset exercise parameter conditions, it is determined to send a sports health APP message to the negative first screen.

[0294] S602. The sports health APP sends the sports health APP message including the user's exercise parameters to the transparent message management unit.

[0295] S603 - S607. When the transparent message management unit receives the sports health APP message, the transparent message management unit determines whether the sports health APP message can be displayed in the notification bar according to various setting information on the electronic device side. Among them, the various setting information may include whether the negative first screen is in the foreground, whether the user agreement agrees to display the notification bar message, whether the youth mode is turned on, whether the notification permission is turned on, and / or whether the negative first screen switch is turned on on the desktop, etc. The following gives an exemplary judgment process.

[0296] The above steps S603 - S607 are similar to Figure 8 the implementation processes of S206 - S210 therein, which will not be elaborated here.

[0297] S608. The pass-through message management unit sends the sports health APP message to the pass-through message management cloud server and obtains the message processing rule and the notification bar message from the pass-through message management cloud server.

[0298] Among them, the notification bar message includes the content to be displayed in the notification bar determined according to the sports health APP message.

[0299] It should be noted that for the message processing rule, reference can be made to the detailed description of the message processing rule in the above embodiments, which will not be elaborated here.

[0300] S609. Message processing rule parsing: The pass-through message management unit decides to distribute an event to the card focusing event processor according to the sports health card added on the negative first screen.

[0301] S610. The pass-through message management unit distributes the card focusing event and the notification bar message to the card focusing event processor.

[0302] Among them, the card focusing event instructs to perform the following actions: when the notification bar message is clicked, focus on the sports health card on the negative first screen.

[0303] S611. The card focusing event processor initializes the notification bar click event: after the notification bar message is clicked, it will focus on the sports health on the negative first screen.

[0304] S612. The card focusing event processor sends the notification bar message to the notification bar message management unit to trigger the display of the notification bar message.

[0305] S613. The notification bar message management unit displays the notification bar message based on the sports health APP message.

[0306] S614. The notification bar message management unit detects the notification bar click event.

[0307] S615. The notification bar message management unit notifies the card focusing event processor of the notification bar click event.

[0308] S616. In response to the notification bar click event, the card focusing event processor jumps from the current display page to the negative first screen and focuses on the sports health card.

[0309] Next, in combination with the interface schematic diagram, the implementation method of the processing action when the notification bar click event is detected and there is a card added on the negative first screen will be described. Figure 16 The interface schematic diagram shows the application of the message processing method provided by the present application to an electronic device. The electronic device is in the unlocked state with the screen on and displays other possible interfaces such as the desktop or the application interface. Here, the current display interface of the electronic device is taken as an example of the application interface for illustration.

[0310] After the electronic device receives a message from the sports health APP, the electronic device determines whether to display a notification bar message based on the passthrough message according to the service scenario and message processing rules, and determines the processing action when the notification bar message is clicked. For example, it is assumed that a sports health card is added to the negative first screen in advance. Correspondingly, the electronic device determines that the processing action when the notification bar message is clicked is: jump to the negative first screen and focus on the sports health card.

[0311] As Figure 16 shown in (a) of Figure 16 , the electronic device displays a notification bar on the desktop. For example, the notification bar message is that the sports health APP recommends a sports plan to you. Click to view. When the electronic device receives a user's click on this notification bar message, as

[0312] shown in (b) of

[0313] , the electronic device jumps from the desktop to the negative first screen and focuses on the sports health card.

[0314] Figure 17 It is an interaction sequence diagram of another message processing method provided by this application. Here, the sports health APP is still used as an example for illustrative purposes. Figure 16 Differing from Figure 17 is that Figure 16 is the message processing process in the scenario where a card has been added to the negative first screen, Figure 17 is the message processing process for guiding the user to add a card in the scenario where no card has been added to the negative first screen.

[0315] Steps S701 - S708 are similar to Figure 15 the implementation process of S601 - S608 in

[0316] S709, Message processing rule parsing: The passthrough message management unit decides to distribute an event to the card - adding event processor according to the fact that no sports health card has been added to the negative first screen.

[0317] S710. The passthrough message management unit distributes the boot card addition event and the notification bar message to the boot card addition event processor.

[0318] Among them, the boot card addition event instructs to perform the following actions: when the notification bar message is clicked, focus on the boot card addition area to guide the user to add a card on the negative first screen.

[0319] S711. The boot card addition event processor obtains the sports health card information to be added from the passthrough message management cloud server.

[0320] Among them, the sports health card information includes the application version information corresponding to the sports health card.

[0321] S712. The boot card addition event processor determines whether the sports health card meets the card display conditions according to the sports health card information: whether the application version corresponding to the card matches.

[0322] Among them, if the application version corresponding to the card matches, the sports health card meets the card display conditions. If the application version corresponding to the card does not match, the sports health card does not meet the card display conditions.

[0323] S713. When the sports health card meets the card display conditions, load the sports health card in the boot card addition area on the negative first screen.

[0324] S714. The boot card addition event processor initializes the notification bar click event: after the notification bar message is clicked, focus on the boot card addition area to guide the user to add a card on the negative first screen.

[0325] S715. The card focus event processor sends a notification bar message to the notification bar message management unit to trigger the display of the notification bar message.

[0326] S716. The notification bar message management unit displays the sports health APP message in the notification bar.

[0327] S717. The notification bar message management unit detects a notification bar click event.

[0328] S718. The notification bar message management unit notifies the card focus event processor of the notification bar click event.

[0329] S719. In response to the notification bar click event, the card focus event processor jumps from the current display page to the negative first screen, focuses on the boot card addition area, and guides the user to add a sports health card on the negative first screen.

[0330] Through the solution of this application, after adding the sports and health card on the negative first screen, the user can view the sports and health card on the negative first screen at any time according to actual usage needs, quickly obtain basic sports data, and can also quickly obtain the sports plan provided by the sports and health APP for the user according to the user's sports parameters, improving the user experience.

[0331] The following describes the implementation method of the guiding card-adding action when a notification bar click event is detected and no card is added on the negative first screen in combination with the interface schematic diagram. Figure 18 The figure shows an interface schematic diagram of the message processing method provided by this application applied to an electronic device.

[0332] After the electronic device receives a message from the sports and health APP, the electronic device determines whether to display a notification bar message based on the pass-through message according to the service scenario and message processing rules, and determines the processing action when the notification bar message is clicked. For example, assume that the sports and health card is not added on the negative first screen in advance. Correspondingly, the electronic device determines that the processing action when the notification bar message is clicked is: jump to the negative first screen and focus on the guiding card-adding area to guide the user to add the sports and health card on the negative first screen.

[0333] As Figure 18 shown in (a) of the figure, the electronic device displays a notification bar on the desktop. For example, the notification bar message is that the sports and health APP recommends a sports plan to you. Click to view. When the electronic device receives the user's click on this notification bar message, as Figure 18 shown in (b) of the figure, the electronic device jumps from the desktop to the negative first screen and focuses on the guiding card-adding area to guide the user to add the sports and health card on the negative first screen. Among them, the guiding card-adding area includes a schematic diagram of the recommended sports and health card to be added, a "change" control, and an "add" control. As Figure 18 shown in (c) and (d) of the figure, when the electronic device receives the user's click on the "add" control, the electronic device adds and displays the sports and health card on the negative first screen. It should be noted that this application does not limit the display content, display form, display size, and display position of the sports and health card.

[0334] It can be understood that the sports and health card can display content related to the sports and health APP message. For example, the sports and health card can display the number of steps today, kilometers, calories burned, and a sports plan control. After adding the sports and health card on the negative first screen, the user can view the sports and health card on the negative first screen at any time according to actual usage needs, quickly obtain useful information, and can also quickly obtain the sports plan provided by the sports and health APP for the user according to the user's sports parameters by clicking the sports plan control.

[0335] Through the message processing method provided by the embodiments of the present application, when a first event occurs in an electronic device, corresponding first event data is obtained and presented to the user as a notification bar message. After the notification bar message is clicked, it can jump to the negative first screen to recommend subscribing to or adding a card associated with the notification bar message to the user. For example, it can automatically focus on the added card corresponding to the notification bar message, guide the user to view the card to obtain more service information, or guide the user to add a card on the negative first screen, or automatically add a card without user operation. Services recommended in real time based on the first event data (such as user scenario information and / or user behavior habit data) are presented to the user through the card, which facilitates the user to quickly view the details of the services required by the user through the card and improves the user experience.

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

[0337] Each of the embodiments described herein can be an independent solution or can be combined according to the internal logic, and these solutions all fall within the protection scope of the present application. The above mainly describes the solutions provided by the embodiments of the present application from the perspective of method steps. It can be understood that, in order to implement the above functions, the electronic device implementing the method includes the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should be able to realize that, combining the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the protection scope of the present application.

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

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

[0340] The present application also provides an electronic device. The electronic device includes a chip, and the chip is used to read and execute a computer program or instruction stored in a memory, so that the methods in the various embodiments are executed.

[0341] This embodiment also provides a computer-readable storage medium. Computer instructions are stored in the computer-readable storage medium. When the computer instructions run on the electronic device, the electronic device executes the above-related method steps to implement the message processing method in the above embodiment.

[0342] This embodiment also provides a computer program product. The computer-readable storage medium stores program code. When the computer program product runs on a computer, the computer executes the above-related steps to implement the message processing method in the above embodiment.

[0343] In addition, an embodiment of the present application also provides a device. Specifically, the device may be a chip, a component or a module. The device may include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip executes the message processing method in the above method embodiments.

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

[0345] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units 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 to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

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

[0347] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims described above.

Claims

1. A message processing method, characterized in that, Applied to an electronic device, the method includes: Receiving a first type of message when the negative first screen application is in an unstarted state; Responding to receiving the first type of message, starting the process of the negative first screen application; When the process of the negative first screen application is started, triggering the display of the first type of message in the notification bar through the process of the negative first screen application; Receiving a second type of message when the negative first screen application is in an unstarted state; Responding to receiving the second type of message, triggering the display of the second type of message in the notification bar while keeping the process of the negative first screen application in an unstarted state.

2. The method according to claim 1, wherein After triggering the display of the first type of message in the notification bar through the process of the negative first screen application, the method further includes: Responding to a user's operation on the first type of message, jumping the display interface to the negative first screen and displaying first card information related to the first type of message on the negative first screen.

3. The method according to claim 2, wherein The displaying of the first card information related to the first type of message on the negative first screen includes: When a first card has been added to the negative first screen, highlighting the first card on the negative first screen; wherein, the first card contains content associated with the first type of message; When the first card has not been added to the negative first screen and manual card addition is the default, highlighting a preset guided card addition area on the negative first screen, and the preset guided card addition area includes information prompting the user to add the first card; When the first card has not been added to the negative first screen and automatic card addition is the default, automatically creating the first card on the negative first screen and highlighting the first card.

4. The method according to any one of claims 1 to 3, wherein The first type of message is a passthrough message pushed by the cloud server that is not displayed on the interface by default; The second type of message is a notification message pushed by the cloud server that is displayed on the interface by default.

5. The method according to any one of claims 1 to 3, characterized in that, Before triggering the display of the first type of message in the notification bar through the process of the negative first screen application, the method further includes: Parsing the first type of message through the process of the negative first screen application and determining whether to display the first type of message in the notification bar.

6. The method according to claim 5, wherein The determining whether to display the first type of message in the notification bar includes: When the electronic device meets the first preset display condition, determining to display the first type of message in the notification bar; wherein, the first preset display condition includes: the notification permission is enabled, the user agreement agrees to display the notification bar, the negative first screen switch is enabled on the desktop, and the negative first screen is not in the foreground.

7. The method according to claim 2 or 3, characterized in that, The method further includes: Obtaining the message processing rule of the first type of message, and the message processing rule is used to indicate the action to be performed when jumping to the negative first screen after the first type of message is clicked and triggered.

8. The method according to claim 7, wherein The method further includes: Obtaining the current business scenario of the negative first screen; wherein, the business scenario of the negative first screen is that the first card has been added to the negative first screen or the first card has not been added to the negative first screen; According to the message processing rule, determining the action to be performed when jumping to the negative first screen after the first type of message is clicked and triggered in the current business scenario of the negative first screen.

9. The method according to claim 2 or 3, characterized in that, The method further includes: When the first card is not added to the negative first screen, obtaining information of the first card.

10. The method according to claim 9, wherein After obtaining the first card, the method further includes: When the information of the first card meets a second preset display condition, loading the first card in a guided card addition area of the negative first screen; wherein, the second preset display condition is that the application version corresponding to the first card is a version that supports card display.

11. The method according to claim 3 or 10, characterized in that The preset guided card addition area includes an identifier of the first card and an addition control. After highlighting the preset guided card addition area on the negative first screen, the method further includes: In response to an operation of the user on the addition control, adding and displaying the first card on the negative first screen or the desktop.

12. The method according to any one of claims 1 to 11, characterized in that, The electronic device includes a negative first screen application, and the negative first screen application includes an event processor and a notification bar message management unit; The event processor is configured to receive a first type of message when the negative first screen application is in an unstarted state; in response to receiving the first type of message, starting a process of the negative first screen application; When the process of the negative first screen application is started, triggering the display of the first type of message in the notification bar through the process of the negative first screen application; The notification bar message management unit is configured to display the first type of message in the notification bar.

13. The method according to claim 12, wherein The event processor is further configured to jump to the negative first screen and execute a first action after the first type of message is clicked and triggered.

14. An electronic device, characterized in that, Comprising a processor, a memory, and a computer program stored on the memory, the processor is configured to execute the computer program so that the electronic device implements the method according to any one of claims 1 to 13.

15. A communication system, characterized in that, Comprising the electronic device according to claim 14 and a push cloud server, the push cloud server is configured to send a first type of message and a second type of message to the electronic device, the first type of message being a transparent transmission message that is not displayed on the interface by default, and the second type of message being a notification message that is displayed on the interface by default.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 13.