A message processing method, apparatus, storage medium, and electronic device

By personalizing the screen-light-up settings based on message type and importance while the screen is locked, the problem of missing important information in lock screen message notifications is solved, achieving a more efficient message push effect.

CN117354416BActive Publication Date: 2026-07-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
Filing Date
2023-10-16
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In the locked screen state, existing technologies use a uniform configuration mode to light up the screen for lock screen message notifications, which cannot effectively match the importance of different messages, and may result in important messages being missed or not being viewed in time.

Method used

When the screen is locked, different screen-on configurations are used for notification processing based on the type and importance of the target message, including screen-on time, brightness, and timing, to ensure that the notification method for each message matches its importance.

Benefits of technology

Personalized screen-on configurations improve the effectiveness of lock screen message push notifications, ensuring users notice important messages promptly and avoiding information omissions caused by a uniform configuration mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117354416B_ABST
    Figure CN117354416B_ABST
Patent Text Reader

Abstract

This specification discloses a message processing method, apparatus, storage medium, and electronic device. The method includes: in a locked screen state, in response to receiving a target message, determining the lock screen message notification type corresponding to the target message, obtaining the screen-on configuration corresponding to the lock screen message notification type, and performing screen-on notification processing with the screen-on configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of computer technology, and in particular to a message processing method, apparatus, storage medium, and electronic device. Background Technology

[0002] With the rapid development of computer technology, mobile devices have become indispensable in people's lives. People use them more frequently and in a wider variety of scenarios. Users can receive messages, such as application messages, SMS messages, and system messages, which are then displayed on the terminal screen. Even when the terminal is locked, messages are still displayed on the screen for the user to view. Summary of the Invention

[0003] This specification provides a message processing method, apparatus, storage medium, and electronic device, the technical solutions of which are as follows:

[0004] Firstly, embodiments of this specification provide a message processing method, the method comprising:

[0005] In the locked screen state, in response to receiving a target message, the lock screen message notification type corresponding to the target message is determined;

[0006] Obtain the screen-on configuration corresponding to the lock screen message notification type, and process the screen-on notification using the screen-on configuration;

[0007] Not all of the screen-on configurations corresponding to the various lock screen message notification types are the same.

[0008] Secondly, embodiments of this specification provide a message processing apparatus, the apparatus comprising:

[0009] The type determination module is used to determine the lock screen message notification type corresponding to the target message in response to receiving the target message when the screen is locked.

[0010] The notification processing module is used to obtain the screen-on configuration corresponding to the lock screen message notification type, and to perform screen-on notification processing based on the screen-on configuration.

[0011] Not all of the screen-on configurations corresponding to the various lock screen message notification types are the same.

[0012] Thirdly, embodiments of this specification provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the above-described method steps.

[0013] Fourthly, embodiments of this specification provide an electronic device that may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the above-described method steps.

[0014] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following:

[0015] In one or more embodiments of this specification, in the locked screen state, the terminal responds to receiving a target message, determines the lock screen message notification type corresponding to the target message, obtains the screen-on configuration corresponding to the lock screen message notification type, and performs screen-on notification processing using the screen-on configuration. Throughout the message processing, different screen-on configurations are used. The terminal drives the screen to light up according to the screen-on configuration corresponding to the target message to display relevant content on the screen. This avoids the aforementioned limitations of related technologies and better matches the importance of the message to the user. Different screen-on configurations can present different screen-on notification effects when notifying different lock screen message notification types. From the perspective of screen-on effect, the terminal user is reminded. The push effect of notification messages is greatly improved by presenting screen-on effects based on different screen-on configurations. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating a message processing method provided in an embodiment of this specification;

[0018] Figure 2 This is a schematic diagram of a lock screen interface message notification provided in an embodiment of this specification;

[0019] Figure 3 This is a flowchart illustrating another message processing method provided in the embodiments of this specification;

[0020] Figure 4 This is a schematic diagram of a system settings interface provided in an embodiment of this specification;

[0021] Figure 5 This is a schematic diagram of a notification area provided in an embodiment of this specification;

[0022] Figure 6 This is a schematic diagram of a notification scenario provided in the embodiments of this specification;

[0023] Figure 7 This is a schematic diagram of a notification scenario provided in the embodiments of this specification;

[0024] Figure 8 This is a schematic diagram of an interface for displaying messages provided in an embodiment of this specification;

[0025] Figure 9 This is a schematic diagram of the structure of a message processing device provided in the embodiments of this specification;

[0026] Figure 10 This is a schematic diagram of the structure of an electronic device provided in the embodiments of this specification;

[0027] Figure 11 This is a schematic diagram of the operating system and user space structure provided in the embodiments of this specification;

[0028] Figure 12 yes Figure 11 Architecture diagram of the Android operating system in China;

[0029] Figure 13 yes Figure 11 Architecture diagram of the iOS operating system. Detailed Implementation

[0030] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0031] In the description of this specification, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this specification, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this specification based on the specific circumstances. Furthermore, in the description of this specification, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0032] In related technologies, lock screen message notifications use a uniform configuration mode to light up the screen when the screen is locked. That is, each message uses the same configuration mode to light up the screen to notify the end user. In actual applications, each message has a different level of importance to the user. Using a uniform configuration mode may not match the actual needs of reminding the user, such as the screen lighting time, brightness, and timing. The user may miss some important messages or not be able to view the latest messages in time due to factors such as short screen lighting time.

[0033] Therefore, it is evident that the unified configuration mode for handling lock screen messages in related technologies has certain limitations in illuminating the screen.

[0034] The present specification will now be described in detail with reference to specific embodiments.

[0035] In one embodiment, such as Figure 1As shown, a message processing method is proposed, which can be implemented using a computer program and can run on a message processing device based on the von Neumann architecture. This computer program can be integrated into an application or run as a standalone utility application. The message processing device can be a terminal device, including but not limited to: personal computers, tablets, handheld devices, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to a wireless modem. In different networks, the terminal device can be called by different names, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment, cellular phone, cordless phone, terminal device in 5G networks or future evolved networks, etc.

[0036] Specifically, the message processing method includes:

[0037] S102: In the locked screen state, in response to receiving a target message, determine the lock screen message notification type corresponding to the target message;

[0038] Target messages include, but are not limited to, messages from SMS applications, call applications, system applications, etc., such as missed calls, unread instant messages, etc.; they may also include terminal status messages such as charging status, battery status, communication signal status, etc., such as status notifications for charging complete, low battery, high battery temperature, etc.; or other types of message notifications.

[0039] In some embodiments, the target message may include external message notifications sent to the terminal, as well as internal message notifications such as system notifications from the terminal.

[0040] Specifically, when the terminal is in lock screen mode, it can receive various push messages. When the terminal receives a target message, it first determines the lock screen message notification type corresponding to the target message.

[0041] In one feasible implementation, the lock screen message notification type is associated with the lock screen message notification type setting information of the target application. The target application is the actual message object associated with the target message on the terminal. A system settings interface for setting the lock screen message notification type can be provided in advance for the target application. In the system settings interface, the terminal user can set the lock screen message notification type of the target application. After the lock screen message notification type setting of the target application is completed, the lock screen message notification type setting information for the target application is automatically generated and saved. In actual application, when the terminal receives the target message of the target application in the lock screen state, the terminal can obtain the lock screen message notification type setting information to determine the lock screen message notification type corresponding to the target message.

[0042] In one feasible implementation, the terminal can obtain the message content of the target message and determine the lock screen message notification type of the target message based on the user interest level (POI) of the terminal user corresponding to the message content. For example, the important message content of the target message can be extracted, and then the user interest level of the important message content can be detected. A first mapping relationship between multiple reference user interest levels and reference lock screen message notification types can be pre-set. In practical applications, the lock screen message notification type corresponding to the current user interest level can be derived from the first mapping relationship.

[0043] S104: Obtain the screen-on configuration corresponding to the lock screen message notification type, and perform screen-on notification processing based on the screen-on configuration;

[0044] Not all of the screen-on configurations corresponding to the various lock screen message notification types are the same.

[0045] In one or more embodiments of this specification, in order to avoid the limitations of using a unified configuration mode to light up the screen in related technologies, this specification pre-configures n lock screen message notification types (n is at least two) on the terminal, and sets a screen-lighting configuration for each lock screen message notification type. It should be noted that the screen-lighting configurations corresponding to all lock screen message notification types are not all the same. For example, the screen-lighting configurations corresponding to the n lock screen message notification types can all be different. For example, the screen-lighting configurations corresponding to the n lock screen message notification types can be partially the same or partially different.

[0046] Furthermore, screen-on configuration can be understood as the screen configuration parameters that drive the screen to light up. Screen-on configuration can include, but is not limited to, one or more of the following: screen-on time, screen-on timing, screen-on terminal posture state, number of screen-on times, screen-on display parameters (such as brightness and color mode), and screen-on area. Lock screen message notification types can also be associated with message display configurations after the screen is turned on. That is, lock screen message notification types can also correspond to message display configurations. Message display configurations include message display area, display area style corresponding to the message display area, and area display parameters of the message display area (such as brightness, color, and background).

[0047] By employing different screen-on configurations, the terminal driver can light up the screen according to the screen-on configuration corresponding to the target message to display relevant content. This can better match the importance of the message to the user. Different screen-on configurations can present different screen-on notification effects when notifying different lock screen message notification types. This can remind the terminal user from the perspective of screen-on effect, and significantly improve the push effect of notification messages by presenting screen-on effects based on different screen-on configurations.

[0048] Furthermore, after the terminal enters the lock screen state, multiple applications may push target messages to the terminal user. When multiple target messages are pushed to the terminal at the same time, that is, the terminal receives multiple target messages at the same time at a certain point in time or within a short period of time, the lock screen message notification types corresponding to the multiple target messages are determined. From the lock screen message notification types, the target lock screen message notification type with the highest priority is determined, and the target screen lighting configuration corresponding to the target lock screen message notification type is used for processing, that is, the screen lighting notification is processed with the target screen lighting configuration.

[0049] In practical applications, screen-on notifications are handled based on the screen-on configuration. When the screen is on, the target message can be displayed in the notification display interface. For example, the notification display interface could be the notification center set on the lock screen or the notification center on the unlocked screen. An illustration of a notification display interface set on the lock screen can be seen below. Figure 2 As shown.

[0050] When the notification display interface is set on the lock screen, the event of the terminal receiving a new target message will trigger a screen-on notification process according to the screen-on configuration (corresponding to the lock screen message notification type). At this time, the notification display interface can be displayed on the lit lock screen. In addition to receiving target messages, the user can also light up the lock screen and display the notification display interface by lifting the terminal, tapping the screen, or pressing the power button. In the notification display interface, the target message is displayed according to the message display configuration corresponding to the lock screen message notification type. The message display configuration includes the message display area, the display area style corresponding to the message display area, and the area display parameters of the message display area (such as brightness, color, background, etc.).

[0051] When the notification display interface is set to the unlock screen, if user interaction with the corresponding display command area is detected, the notification display interface can be triggered. This interaction could include, for example, pulling down the notification center or triggering a designated button to display the notification interface.

[0052] In one or more embodiments of this specification, in the locked screen state, the terminal responds to receiving a target message, determines the lock screen message notification type corresponding to the target message, obtains the screen-on configuration corresponding to the lock screen message notification type, and performs screen-on notification processing using the screen-on configuration. Throughout the message processing, different screen-on configurations are used. The terminal drives the screen to light up according to the screen-on configuration corresponding to the target message to display relevant content on the screen. This avoids the aforementioned limitations of related technologies and better matches the importance of the message to the user. Different screen-on configurations can present different screen-on notification effects when notifying different lock screen message notification types. From the perspective of screen-on effect, the terminal user is reminded. The push effect of notification messages is greatly improved by presenting screen-on effects based on different screen-on configurations.

[0053] Please see Figure 3 , Figure 3 This is a flowchart illustrating another embodiment of a message processing method proposed in this specification. Specifically:

[0054] S202: In the locked screen state, in response to receiving a target message, determine the target application corresponding to the target message, obtain lock screen message notification type setting information for the target application, and determine the lock screen message notification type corresponding to the target message based on the lock screen message notification type setting information.

[0055] In one feasible implementation, the lock screen notification type is associated with the lock screen notification type settings of the target application. The target application is the actual message object associated with the target message on the terminal. A system settings interface for setting the lock screen notification type can be provided in advance for the target application, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of a system settings interface. Taking the iQiyi app as an example, in... Figure 4 The system settings interface for the target application, as shown, displays various lock screen notification types, such as "Allow Notification Types," "Always-On Notification Types," and "Important Notification Types," etc. End users can select from these options... Figure 4 In the system settings interface shown, select the lock screen message notification type for the target application. That is, in the system settings interface, the terminal user can set the lock screen message notification type for the target application. After completing the lock screen message notification type setting for the target application, the lock screen message notification type setting information for the target application is automatically generated and saved. In actual application, when the terminal receives the target message from the target application in the lock screen state, the terminal can obtain the lock screen message notification type setting information to determine the lock screen message notification type corresponding to the target message.

[0056] S204: In the locked screen state, in response to receiving a target message, determine the key semantics of the target message and obtain the message metadata of the target message, and determine the lock screen message notification type corresponding to the target message based on the key semantics and the message metadata.

[0057] For example, semantic recognition processing can be performed on the target message to obtain the key semantics of the target message;

[0058] In this embodiment, semantic recognition processing can be understood as taking the message content during the message push process as the processing object. After receiving the target message, the terminal performs semantic recognition on the message content. , Enables the terminal to automatically identify and understand key semantic information in the message content.

[0059] First, extract semantic feature information from the message content of the target message. Then, determine the key semantics of the message based on the semantic feature information. The semantic feature information can be the order of constituent elements, the order of words, the sentiment information of words, mutual information, etc.

[0060] The word order is the sequence of words that make up a sentence (meaning) during a conversation.

[0061] The emotional information of a word refers to the emotional meaning expressed by that word in the sentence. This emotional meaning can be understood as whether the word is uplifting or downcast, positive or negative, joyful or sad, etc.

[0062] Mutual information refers to the statistical independence relationship between a word or character and a category. Mutual information is often used to measure the reciprocity between two objects.

[0063] In this embodiment, the extracted semantic feature information for the entire target message includes, but is not limited to, message keyword information, message word frequency distribution information, syntactic-level message entity information, and semantic-level message topic.

[0064] In one feasible implementation, semantic feature information can be based on semantic template matching. A semantic library is pre-established based on the semantic features of a large number of message sample data, containing a large number of semantic templates. The terminal extracts the semantic feature information from the target message, and then determines the target semantic template that matches the semantic features from the semantic templates contained in the semantic library. Then, according to the key information output rules of the target semantic template, the terminal outputs the key semantic information corresponding to the target message. Here, the semantic template can be understood as the terminal setting different key information output rules for different message notification scenarios. For example, the semantic template for work-related messages focuses on outputting key content related to work (meeting time, location, meeting content, etc.), while the semantic template for daily activity-related messages focuses on outputting key content related to daily activities (activity name, activity precautions, activity participants, etc.).

[0065] In one feasible implementation, a key semantic recognition model can be trained based on a machine learning model. By inputting the target message into the key semantic recognition model, the key semantics of the target message can be determined.

[0066] Message metadata of the target message: Message metadata is data that describes the target message. Message metadata can be message attribute data, message scenario data, message object data, message size data, message personnel relationship data, etc. To a certain extent, message metadata can be generated directly from the context information obtained by the terminal from the target message. Message metadata can help determine the importance of the target message to the end user.

[0067] Furthermore, the terminal determines the lock screen message notification type corresponding to the target message based on the message key semantics and the message metadata;

[0068] Optionally, the terminal can input the message key semantics and the message metadata into the notification priority prediction model, output the target notification priority, and determine the lock screen message notification type corresponding to the target message based on the target notification priority.

[0069] The notification priority prediction model is a model created and trained based on a machine learning model. By collecting a large amount of sample message data, the machine learning model is trained using the sample message data. After the model is trained, a well-trained notification priority prediction model can be obtained.

[0070] In this specification, the machine learning model can be implemented by fitting one or more of the following models: Convolutional Neural Network (CNN), Deep Neural Network (DNN), Recurrent Neural Networks (RNN), Embedding model, Gradient Boosting Decision Tree (GBDT) model, Logistic Regression (LR) model, etc.

[0071] The following explains the model training process for the notification priority prediction model:

[0072] Model creation: Create an initial notification priority prediction model based on a machine learning model;

[0073] Sample data acquisition: Acquire a large amount of sample data, which is sample data based on the key semantics of sample messages and sample message metadata of a large number of historical messages.

[0074] Sample data annotation: An expert service is introduced to manually annotate the sample data with corresponding sample notification priority tags.

[0075] Model training process: Input sample data into the initial notification priority prediction model for at least one round of model training to obtain the predicted notification priority. Based on the predicted notification priority and the sample notification priority label, use the model loss function to determine the model loss value. Based on the model loss value, adjust the model parameters of the initial notification priority prediction model until the model training termination condition is met to obtain the notification priority prediction model.

[0076] Optionally, the model loss function can be set based on the actual situation. For example, the model loss function can be the hinge loss function, the feature distance loss function, the cross-entropy loss function, etc.

[0077] Optionally, the model's training termination conditions may include, for example, the loss function value being less than or equal to a preset loss function threshold, or the number of iterations reaching a preset threshold. Specific training termination conditions can be determined based on actual circumstances and are not specifically limited here.

[0078] S206: If the lock screen message notification type is the system default lock screen notification type, then obtain the default screen-on configuration corresponding to the system default lock screen notification type, and perform screen-on notification processing with the default screen-on configuration;

[0079] S208: If the lock screen message notification type is a target lock screen notification type, then obtain the target screen-on configuration corresponding to the system default lock screen notification type, and perform screen-on notification processing with the target screen-on configuration.

[0080] In one embodiment, the lock screen notification type is taken as the default lock screen notification type or the target lock screen notification type. The lock screen notification type being the default lock screen notification type or the target lock screen notification type is only a preferred embodiment disclosed in this specification. Of course, it should not be used to limit the scope of the claims of this specification. Therefore, equivalent variations of the lock screen notification type made in accordance with the claims of this specification are still within the scope of this specification.

[0081] The default lock screen notification type can be regarded as the default general lock screen notification type that the terminal allows lock screen notifications. Under the default lock screen notification type, there is a general default screen-on configuration.

[0082] The target lock screen notification type can be regarded as a non-system general lock screen notification type that is different from the default lock screen notification type. Under the target lock screen notification type, there is a target screen-on configuration that is different from the default screen-on configuration.

[0083] The target screen-on configuration may be higher or lower than the default screen-on configuration. For example, the number of times the target screen-on configuration is lit may be higher than the number of times the default screen-on configuration is lit; or the screen-on display parameters of the target screen-on configuration may be higher than the screen-on display parameters of the default screen-on configuration, and so on.

[0084] Furthermore, default general lock screen notification types and target lock screen notification types are pre-configured, and screen-on configuration is set for each lock screen notification type;

[0085] Based on this, if the lock screen notification type is the system default lock screen notification type, the terminal can obtain the default screen-on configuration corresponding to the system default lock screen notification type, and then process the screen-on notification with the default screen-on configuration.

[0086] For example, when the notification display interface is set on the lock screen, the event of the terminal receiving a new target message will trigger the screen-on notification processing according to the default screen-on configuration (corresponding to the system default lock screen notification type). That is, the terminal screen is driven to display according to the default screen-on configuration. At this time, the notification display interface can be displayed on the lit lock screen. The notification display interface displays the target message according to the default message display configuration corresponding to the lock screen message notification type. The default message display configuration includes the message display area, the display area style corresponding to the message display area, and the area display parameters of the message display area (such as brightness, color, background, etc.).

[0087] Similarly, if the lock screen notification type is the target lock screen notification type, then the target screen-on configuration corresponding to the system's default lock screen notification type is obtained.

[0088] For example, when the notification display interface is set on the lock screen, the event of the terminal receiving a new target message will trigger the screen-on notification processing according to the target screen-on configuration (corresponding to the target lock screen notification type). That is, the terminal screen is driven to display according to the target screen-on configuration. At this time, the notification display interface can be displayed on the lit lock screen. The notification display interface displays the target message according to the target message display configuration corresponding to the target lock screen message notification type. The target message display configuration includes the message display area, the display area style corresponding to the message display area, and the area display parameters of the message display area (such as brightness, color, background, etc.).

[0089] The default message display configuration and the target message display configuration are usually different;

[0090] Optionally, the terminal may perform screen-on notification processing based on the default screen-on configuration, which could be:

[0091] For example, the default number of times the screen is turned on corresponding to the default screen-on configuration is determined, the screen is turned on based on the default number of times it is turned on, and the target message is displayed in the first way.

[0092] In one feasible implementation, the default number of times the screen is turned on is once, and a single screen turn-on process is performed based on the default number of times the screen is turned on, and the target message is displayed in the default notification area of ​​the lock screen interface.

[0093] Optionally, the screen-on notification processing based on the target screen-on configuration can be:

[0094] For example, a target number of screen-on times corresponding to the default screen-on configuration is determined, screen-on processing is performed based on the target number of screen-on times, and the target message is subjected to a second display processing.

[0095] The target number of times to light up is greater than the default number of times to light up.

[0096] For example, the target number of times the screen is lit is at least two, and the screen is continuously lit based on the target number of times the screen is lit, and the target message is displayed in the target notification area of ​​the lock screen interface;

[0097] The default notification area is different from the target notification area.

[0098] For some office or social applications, such as WeChat and Lark, when users are using multiple devices, such as computers and mobile phones at the same time, the above method can be used to address the issue that important application messages may not reach users immediately because the system lock screen is often time-sensitive (entering lock screen state after a certain period of time). By classifying messages and lighting up the screen in this way, the default message display configuration and the target message display configuration are usually different, and the number of times the target message is lit up is greater than the number of times the default message is lit up, which facilitates users' needs for time-sensitive use of some applications.

[0099] For example, such as Figure 5 As shown, Figure 5 This is a scene illustration of a notification area, indicating the target lock screen notification type or the system default lock screen notification type, where messages are displayed. Figure 5 The lock screen is divided into two sections to display two different lock screen notification types. The target message of the default lock screen notification type is displayed in the regular default notification area, and the target message of the target lock screen notification type is displayed in the target notification area.

[0100] For any given target message, messages in the default notification area and the target notification area are mutually exclusive. If a message is displayed in the default notification area, it will not be displayed in the target notification area.

[0101] For example, such as Figure 6 As shown, Figure 6 This is a scenario diagram illustrating a notification setup. For an exemplary display mechanism of a target lock screen notification type (also known as an always-on lock screen notification type): After receiving a target message (which can be considered a always-on notification) corresponding to the target lock screen notification type, the always-on notification (the target message corresponding to the target lock screen notification type) is displayed as all applications in the settings interface where the always-on notification option (i.e., the target lock screen notification type option) is enabled. Then, each message belonging to the target lock screen notification type, when received in the lock screen off state, continuously illuminates the screen based on the target number of screen-on cycles and displays the target message corresponding to the target lock screen notification type as configured. Figure 6 The interface shown displays the target message (which can be considered a constantly lit message at this time), such as Figure 6 The "Target Message of DingTalk-WeChat Team" is displayed in the corresponding area according to the target message display configuration. Its area display style is different from the area display style of the default message display configuration. Figure 6 The interface shown indicates that, since the screen-on notification is based on the target number of times the screen is turned on, this process continues until the user's tap-to-open message action for the target message is received.

[0102] For example, such as Figure 7 As shown, Figure 7 This is a schematic diagram of a notification scenario. Figure 7 In this context, displaying target messages (which can be considered always-on messages) using the target message display configuration corresponding to the target lock screen notification type differs from displaying regular messages using the default message display configuration for the default lock screen notification type. For example, the display area and style of always-on messages are different from regular messages, resulting in different notification effects when sending lock screen messages to the user. Different message display configurations can present different screen-on notification effects when notifying users of different lock screen notification types, reminding end users from the perspective of screen-on effects. By presenting different screen-on effects according to different screen-on configurations, the push effect of notification messages can be greatly improved.

[0103] For example, in Figure 6 If multiple target messages are received simultaneously, and there are multiple always-on notifications identified as target lock screen notifications, the terminal's target message display configuration can be as follows: Currently, only the target number (e.g., one) of the always-on notifications is displayed. If the target number is exceeded, multiple always-on notifications belonging to the target lock screen notification type are collapsed and displayed. In response to the terminal user's click operation on a target message, that is, when the terminal user clicks on the currently displayed target message (always-on notification), the terminal loads the next notification display interface, displaying all target messages (always-on notifications) in the next notification display interface. This can be understood as expanding and displaying all always-on messages, such as... Figure 8 As shown, Figure 8 This is a schematic diagram of an interface that expands to display messages. Figure 8 In the interface shown, the terminal responds to the user's click action on the target message by loading the terminal's response, such as... Figure 8 The next notification display interface shown is as follows: Figure 8 The next notification display interface shown displays all target messages (always-on notifications).

[0104] Furthermore, based on the target number of times the screen is lit, the screen is continuously lit, and after the target message is displayed in the target notification area of ​​the lock screen interface, other regular message notifications can be displayed in response to the user's input of an upward swipe operation.

[0105] In one or more embodiments of this specification, in the locked screen state, the terminal responds to receiving a target message, determines the lock screen message notification type corresponding to the target message, obtains the screen-on configuration corresponding to the lock screen message notification type, and performs screen-on notification processing using the screen-on configuration. Throughout the message processing, different screen-on configurations are used. The terminal drives the screen to light up according to the screen-on configuration corresponding to the target message to display relevant content. This avoids the aforementioned limitations of related technologies and better matches the importance of the message to the user. Different screen-on configurations can present different screen-on notification effects when notifying different lock screen message notification types, reminding the terminal user from the perspective of screen-on effect. The push effect of notification messages is greatly improved by presenting screen-on effects based on different screen-on configurations. Furthermore, based on the message's key semantics and message metadata, the lock screen message notification type corresponding to the target message can be determined, achieving accurate lock screen display of the message and improving the lock screen display effect.

[0106] The following will combine Figure 9 This specification provides a detailed description of the message processing apparatus provided in the embodiments. It should be noted that... Figure 9 The message processing device shown is used to execute this specification. Figures 1 to 8 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts related to the embodiments of this specification. For specific technical details not disclosed, please refer to this specification. Figures 1 to 8 The example shown.

[0107] Please see Figure 9 This diagram illustrates the structure of a message processing device according to an embodiment of this specification. The message processing device 1 can be implemented as all or part of a terminal through software, hardware, or a combination of both. According to some embodiments, the message processing device 1 includes a type determination module 11 and a notification processing module 12, specifically used for:

[0108] The type determination module 11 is used to determine the lock screen message notification type corresponding to the target message in response to receiving the target message when the screen is locked.

[0109] Notification processing module 12 is used to obtain the screen-on configuration corresponding to the lock screen message notification type, and to perform screen-on notification processing based on the screen-on configuration.

[0110] Not all of the screen-on configurations corresponding to the various lock screen message notification types are the same.

[0111] Optionally, the notification processing module 12 is used for:

[0112] If the lock screen notification type is the system default lock screen notification type, then obtain the default screen-on configuration corresponding to the system default lock screen notification type, and perform screen-on notification processing with the default screen-on configuration.

[0113] If the lock screen notification type is a target lock screen notification type, then obtain the target screen-on configuration corresponding to the system default lock screen notification type, and perform screen-on notification processing based on the target screen-on configuration;

[0114] The target screen-on configuration is higher or lower than the default screen-on configuration.

[0115] Optionally, the notification processing module 12 is used for:

[0116] Determine the default number of times the screen is turned on corresponding to the default screen-on configuration, perform screen-on processing based on the default number of times the screen is turned on, and perform first display processing on the target message;

[0117] The screen-on notification processing based on the target screen-on configuration includes:

[0118] Determine the target number of times the default screen-on configuration is enabled, perform screen-on processing based on the target number of times, and perform a second display processing on the target message;

[0119] The target number of times it is lit is greater than the default number of times it is lit.

[0120] Optionally, the notification processing module 12 is used for:

[0121] The default number of times the screen is turned on is once. Based on the default number of times the screen is turned on, the screen is turned on once, and the target message is displayed in the default notification area of ​​the lock screen interface.

[0122] The screen is turned on based on the target number of times it is turned on, and the target message is displayed in a second way, including:

[0123] The target number of times the screen is lit is at least two. Based on the target number of times the screen is lit, the screen is continuously lit, and the target message is displayed in the target notification area of ​​the lock screen interface.

[0124] The default notification area is different from the target notification area.

[0125] Optionally, the type determination module is used for:

[0126] Identify the target application corresponding to the target message, obtain the lock screen message notification type setting information for the target application, and determine the lock screen message notification type corresponding to the target message based on the lock screen message notification type setting information.

[0127] Optionally, the type determination module is used for:

[0128] Determine the key semantics of the target message and obtain the message metadata of the target message;

[0129] The lock screen notification type corresponding to the target message is determined based on the message's key semantics and the message's metadata.

[0130] Optionally, the type determination module is used for:

[0131] The message key semantics and message metadata are input into the notification priority prediction model, and the target notification priority is output.

[0132] The lock screen message notification type corresponding to the target message is determined based on the target notification priority.

[0133] It should be noted that the message processing device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the message processing method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the message processing device and message processing method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0134] The example numbers in this specification are for descriptive purposes only and do not represent the superiority or inferiority of the examples.

[0135] In one or more embodiments of this specification, in the locked screen state, the terminal responds to receiving a target message, determines the lock screen message notification type corresponding to the target message, obtains the screen-on configuration corresponding to the lock screen message notification type, and performs screen-on notification processing using the screen-on configuration. Throughout the message processing, different screen-on configurations are used. The terminal drives the screen to light up according to the screen-on configuration corresponding to the target message to display relevant content on the screen. This avoids the aforementioned limitations of related technologies and better matches the importance of the message to the user. Different screen-on configurations can present different screen-on notification effects when notifying different lock screen message notification types. From the perspective of screen-on effect, the terminal user is reminded. The push effect of notification messages is greatly improved by presenting screen-on effects based on different screen-on configurations.

[0136] This specification also provides a computer storage medium that can store multiple instructions adapted to be loaded and executed by a processor as described above. Figures 1 to 8The message processing method described in the illustrated embodiment can be found in the following document for a detailed execution process. Figures 1 to 8 The specific details of the illustrated embodiments will not be elaborated here.

[0137] This specification also provides a computer program product that stores at least one instruction, said at least one instruction being loaded and executed by the processor as described above. Figures 1 to 8 The message processing method described in the illustrated embodiment can be found in the following document for a detailed execution process. Figures 1 to 8 The specific details of the illustrated embodiments will not be elaborated here.

[0138] Please refer to Figure 10 This diagram illustrates a structural block diagram of an electronic device provided in an exemplary embodiment of this specification. The electronic device in this specification may include one or more components such as a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected via the bus 150.

[0139] Processor 110 may include one or more processing cores. Processor 110 connects to various parts of the electronic device via various interfaces and lines, and performs various functions and processes data of electronic device 100 by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). Processor 110 may integrate one or more of the following: central processing unit (CPU), graphics processing unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented separately using a communication chip.

[0140] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), instructions for implementing the various method embodiments described below, etc. The operating system may be the Android system, including systems deeply developed based on the Android system, the iOS system developed by Apple Inc., including systems deeply developed based on the iOS system, or other systems. The data storage area may also store data created by the electronic device during use, such as phonebook data, audio and video data, chat log data, etc.

[0141] See Figure 11 As shown, the memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, while native and third-party applications run in the user space. To ensure that different third-party applications can achieve good running performance, the operating system allocates corresponding system resources for each application. However, different application scenarios within the same third-party application have different requirements for system resources. For example, in local resource loading scenarios, third-party applications have high requirements for disk read speed; in animation rendering scenarios, third-party applications have high requirements for GPU performance. Since the operating system and third-party applications are independent of each other, the operating system often cannot promptly perceive the current application scenario of a third-party application, resulting in the operating system's inability to adapt system resources accordingly to the specific application scenario of the third-party application.

[0142] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to establish data communication between the third-party applications and the operating system. This would allow the operating system to obtain the current scenario information of the third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0143] Taking the Android operating system as an example, the programs and data stored in memory 120 are as follows: Figure 12As shown, the memory 120 can store the Linux kernel layer 320, the system runtime library layer 340, the application framework layer 360, and the application layer 380. The Linux kernel layer 320, system runtime library layer 340, and application framework layer 360 belong to the operating system space, while the application layer 380 belongs to the user space. The Linux kernel layer 320 provides low-level drivers for various hardware components of the electronic device, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, and power management. The system runtime library layer 340 provides support for key features of the Android system through several C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D graphics support, and the Webkit library provides browser kernel support. The system runtime library layer 340 also provides the Android runtime library, which mainly provides core libraries that allow developers to write Android applications using the Java language. The Application Framework Layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider, package management, call management, resource management, and location management. At least one application runs in the Application Layer 380. These applications can be native applications that come with the operating system, such as contacts, SMS, clock, and camera apps; or third-party applications developed by third-party developers, such as games, instant messaging, and photo editing apps.

[0144] Taking the operating system as an example (iOS), the programs and data stored in memory 120 are as follows: Figure 13As shown, the iOS system includes: Core OS layer 420, Core Services layer 440, Media layer 460, and Cocoa Touch layer 480. Core OS layer 420 includes the operating system kernel, drivers, and low-level program frameworks. These low-level program frameworks provide hardware-level functionality for use by the program frameworks located in Core Services layer 440. Core Services layer 440 provides system services and / or program frameworks required by applications, such as Foundation framework, account framework, advertising framework, data storage framework, network connectivity framework, geolocation framework, motion framework, etc. Media layer 460 provides applications with audiovisual interfaces, such as interfaces related to graphics and images, audio technology, video technology, and AirPlay (wireless playback of audio and video transmission technologies). Cocoa Touch layer 480 provides various commonly used interface-related frameworks for application development and is responsible for user touch interaction on electronic devices. Examples include local notification services, remote push services, advertising frameworks, game tool frameworks, message user interface (UI) frameworks, UIKit frameworks, map frameworks, and so on.

[0145] exist Figure 13 The framework shown includes, but is not limited to, the base framework in the core service layer 440 and the UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, offering the most basic system services to all applications, and is independent of the UI. The UIKit framework, on the other hand, provides a basic UI class library for creating touch-based user interfaces. iOS applications can use the UIKit framework to provide their UI, thus providing the application's infrastructure for building user interfaces, drawing, handling user interaction events, responding to gestures, and so on.

[0146] The methods and principles for implementing data communication between third-party applications and the operating system in the iOS system can be found in the Android system, and will not be repeated here.

[0147] The input device 130 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 140 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined into a touch screen, which is used to receive touch operations from the user using a finger, stylus, or any suitable object on or near it, and to display the user interface of various applications. The touch screen is usually located on the front panel of the electronic device. The touch screen can be designed as a full-screen, curved screen, or irregularly shaped screen. The touch screen can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; this specification does not limit this aspect.

[0148] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device may also include radio frequency circuits, input units, sensors, audio circuits, wireless fidelity (WiFi) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.

[0149] In the embodiments of this specification, the executing entity for each step can be the electronic device described above. Optionally, the executing entity for each step can be the operating system of the electronic device. The operating system can be Android, iOS, or other operating systems; this specification does not limit this.

[0150] The electronic device described in this specification can also be equipped with a display device. This display device can be any device capable of displaying information, such as a cathode ray tube display (CR), a light-emitting diode display (LED), an e-ink screen, a liquid crystal display (LCD), or a plasma display panel (PDP). Users can use the display device on electronic device 101 to view displayed text, images, videos, and other information. The electronic device can be a smartphone, tablet computer, gaming device, AR (Augmented Reality) device, automobile, data storage device, audio playback device, video playback device, laptop, desktop computing device, or wearable device such as an electronic watch, electronic glasses, electronic helmet, electronic bracelet, electronic necklace, or electronic clothing.

[0151] exist Figure 10 In the illustrated electronic device, which can be a terminal, the processor 110 can be used to call the application stored in the memory 120 and specifically perform the following operations:

[0152] In the locked screen state, in response to receiving a target message, the lock screen message notification type corresponding to the target message is determined;

[0153] Obtain the screen-on configuration corresponding to the lock screen message notification type, and process the screen-on notification using the screen-on configuration;

[0154] Not all of the screen-on configurations corresponding to the various lock screen message notification types are the same.

[0155] In one embodiment, when the processor 110 executes the step of obtaining the screen-on configuration corresponding to the lock screen message notification type and performing screen-on notification processing with the screen-on configuration, it performs the following operations:

[0156] If the lock screen notification type is the system default lock screen notification type, then obtain the default screen-on configuration corresponding to the system default lock screen notification type, and perform screen-on notification processing with the default screen-on configuration.

[0157] If the lock screen notification type is a target lock screen notification type, then obtain the target screen-on configuration corresponding to the system default lock screen notification type, and perform screen-on notification processing based on the target screen-on configuration;

[0158] The target screen-on configuration is higher or lower than the default screen-on configuration.

[0159] In one embodiment, when the processor 110 performs screen-on notification processing with the default screen-on configuration, it specifically performs the following operations:

[0160] Determine the default number of times the screen is turned on corresponding to the default screen-on configuration, perform screen-on processing based on the default number of times the screen is turned on, and perform first display processing on the target message;

[0161] The screen-on notification processing based on the target screen-on configuration includes:

[0162] Determine the target number of times the default screen-on configuration is enabled, perform screen-on processing based on the target number of times, and perform a second display processing on the target message;

[0163] The target number of times it is lit is greater than the default number of times it is lit.

[0164] In one embodiment, the processor 110, when performing the screen-on processing based on the default number of times it lights up, and performing a first display processing on the target message, includes:

[0165] The default number of times the screen is turned on is once. Based on the default number of times the screen is turned on, the screen is turned on once, and the target message is displayed in the default notification area of ​​the lock screen interface.

[0166] The screen is turned on based on the target number of times it is turned on, and the target message is displayed in a second way, including:

[0167] The target number of times the screen is lit is at least two. Based on the target number of times the screen is lit, the screen is continuously lit, and the target message is displayed in the target notification area of ​​the lock screen interface.

[0168] The default notification area is different from the target notification area.

[0169] In one embodiment, when the processor 110 performs the step of determining the lock screen message notification type corresponding to the target message, it performs the following operations:

[0170] Identify the target application corresponding to the target message, obtain the lock screen message notification type setting information for the target application, and determine the lock screen message notification type corresponding to the target message based on the lock screen message notification type setting information.

[0171] In one embodiment, the processor 110, when performing the step of determining the lock screen message notification type corresponding to the target message, includes:

[0172] Determine the key semantics of the target message and obtain the message metadata of the target message;

[0173] The lock screen notification type corresponding to the target message is determined based on the message's key semantics and the message's metadata.

[0174] In one embodiment, the processor 110 performs the following operations to determine the lock screen message notification type corresponding to the target message based on the message key semantics and the message metadata:

[0175] The message key semantics and message metadata are input into the notification priority prediction model, and the target notification priority is output.

[0176] The lock screen message notification type corresponding to the target message is determined based on the target notification priority.

[0177] In one or more embodiments of this specification, in the locked screen state, the terminal responds to receiving a target message, determines the lock screen message notification type corresponding to the target message, obtains the screen-on configuration corresponding to the lock screen message notification type, and performs screen-on notification processing using the screen-on configuration. Throughout the message processing, different screen-on configurations are used. The terminal drives the screen to light up according to the screen-on configuration corresponding to the target message to display relevant content on the screen. This avoids the aforementioned limitations of related technologies and better matches the importance of the message to the user. Different screen-on configurations can present different screen-on notification effects when notifying different lock screen message notification types. From the perspective of screen-on effect, the terminal user is reminded. The push effect of notification messages is greatly improved by presenting screen-on effects based on different screen-on configurations.

[0178] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.

[0179] The above-disclosed embodiments are merely preferred embodiments of this specification and should not be construed as limiting the scope of this specification. Therefore, any equivalent variations made in accordance with the claims of this specification shall still fall within the scope of this specification.

Claims

1. A message processing method, characterized in that, The method includes: In the locked screen state, in response to receiving a target message, the lock screen message notification type corresponding to the target message is determined; Obtain the screen-on configuration corresponding to the lock screen message notification type, and process the screen-on notification using the screen-on configuration; wherein, the screen-on configurations corresponding to all lock screen message notification types are not all the same; The screen-on notification processing based on the screen-on configuration includes: If the lock screen notification type is the system default lock screen notification type, then the screen will be turned on according to the number of times the system default lock screen notification type is turned on, and the target message will be displayed in the default notification area of ​​the lock screen interface. If the lock screen message notification type is a target lock screen notification type, then the screen is turned on based on the number of times the target lock screen notification type is turned on, and the target message is displayed in the target notification area of ​​the lock screen interface; wherein, the default notification area is different from the target notification area.

2. The method according to claim 1, characterized in that, The target screen-on configuration corresponding to the target lock screen notification type is higher or lower than the default screen-on configuration corresponding to the system default lock screen notification type.

3. The method according to claim 1 or 2, characterized in that, The process of turning on the screen based on the number of times the system's default lock screen notification type is activated includes: Determine the default number of times to light up the screen in the default screen-on configuration corresponding to the system's default lock screen notification type, and perform screen-on processing based on the default number of times to light up the screen; The screen-lighting process based on the number of times the target lock screen notification type is activated includes: Determine the target number of times to light up the screen in the target screen-on configuration corresponding to the target lock screen notification type, and perform screen-on processing based on the target number of times to light up the screen; The target number of times it is lit is greater than the default number of times it is lit.

4. The method according to claim 3, characterized in that, The default number of times to light up is once, and the target number of times to light up is at least two.

5. The method according to claim 1, characterized in that, Determining the lock screen notification type corresponding to the target message includes: Identify the target application corresponding to the target message, obtain the lock screen message notification type setting information for the target application, and determine the lock screen message notification type corresponding to the target message based on the lock screen message notification type setting information.

6. The method according to claim 1, characterized in that, Determining the lock screen notification type corresponding to the target message includes: Determine the key semantics of the target message and obtain the message metadata of the target message; The lock screen notification type corresponding to the target message is determined based on the message's key semantics and the message's metadata.

7. The method according to claim 6, characterized in that, Determining the lock screen notification type corresponding to the target message based on the message key semantics and the message metadata includes: The message key semantics and message metadata are input into the notification priority prediction model, and the target notification priority is output. The lock screen message notification type corresponding to the target message is determined based on the target notification priority.

8. A message processing device, characterized in that, The device includes: The type determination module is used to determine the lock screen message notification type corresponding to the target message in response to receiving the target message when the screen is locked. The notification processing module is used to obtain the screen-on configuration corresponding to the lock screen message notification type, and to perform screen-on notification processing based on the screen-on configuration. Among them, the screen-on configurations corresponding to all of the aforementioned lock screen message notification types are not all the same; The screen-on notification processing based on the screen-on configuration includes: If the lock screen notification type is the system default lock screen notification type, then the screen will be turned on according to the number of times the system default lock screen notification type is turned on, and the target message will be displayed in the default notification area of ​​the lock screen interface. If the lock screen message notification type is a target lock screen notification type, then the screen is turned on based on the number of times the target lock screen notification type is turned on, and the target message is displayed in the target notification area of ​​the lock screen interface; wherein, the default notification area is different from the target notification area.

9. A computer storage medium, characterized in that, The computer storage medium stores a plurality of instructions adapted for loading by a processor and executing the steps of the method as described in any one of claims 1 to 7.

10. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as described in any one of claims 1 to 7.