Notification management method and electronic device

By constructing a trust ring between terminal devices and synchronously updating the notification message status, the problem of synchronous display of notification messages between multiple devices is solved, and the user experience is improved.

CN116708470BActive Publication Date: 2025-01-17HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211165259.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2025-01-17
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

The difficulty of synchronizing notification messages on multiple terminal devices is difficult to realize real-time synchronization of notification messages after user operations, resulting in poor user experience.

Method used

By constructing a trust ring, the sending device generates and sends notification messages to multiple receiving end devices within the trust ring, and updates the notification message status on the sending end device according to the status changes on the receiving end device, ensuring notification messages between multiple devices synchronous.

Benefits of technology

After the user operates on any device, the notification message display of other devices is always consistent with the sending device, improving the user experience of communication messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116708470B_ABST
    Figure CN116708470B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a notification management method and electronic device. The method is applied to a sending end device, and the method includes: obtaining a first notification message; sending the first notification message to a receiving end device on a trust ring, wherein the receiving end device on the trust ring includes at least a first receiving end device; receiving first state change description information sent by the first receiving end device, wherein the first state change description information is used to describe the state change of the first notification message on the first receiving end device, wherein the state change of the first notification message on the first receiving end device is triggered by the user's operation on the first receiving end device; and updating the state of the first notification message on the sending end device according to the first state change description information. According to the method of the embodiment of the present application, the synchronization of notification messages of multiple devices can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a notification management method and electronic device. Background Art

[0002] In the usage scenario of terminal devices, notification messages refer to messages displayed by the system outside the application interface, which are intended to provide users with reminders, communication information from others, or other real-time information in the application.

[0003] With the development of computer technology, terminal devices are becoming more and more popular in people's daily lives, and a user often has multiple terminal devices. Displaying notification messages on only one terminal device can easily cause users to miss notification messages. Therefore, a method for synchronously displaying notification messages on multiple terminal devices is needed. Summary of the invention

[0004] In order to solve the problem of how to synchronously display notification messages on multiple terminal devices under the existing technology, the present application provides a notification management method and an electronic device, and the present application also provides a computer-readable storage medium.

[0005] The present application embodiment adopts the following technical solutions:

[0006] In a first aspect, the present application provides a notification management method, which is applied to a sending end device, and the method includes:

[0007] Obtaining a first notification message, wherein the first notification message is a notification message generated by an application or a system of the sending end device;

[0008] Sending the first notification message to a receiving end device on a trust ring, where the receiving end devices on the trust ring include at least a first receiving end device;

[0009] receiving first state change description information sent by the first receiving device, where the first state change description information is used to describe a state change of the first notification message on the first receiving device, wherein the state change of the first notification message on the first receiving device is triggered by an operation of a user on the first receiving device;

[0010] The state of the first notification message on the sending device is updated according to the first state change description information.

[0011] According to the method of the first aspect of the present application, notification message synchronization of multiple devices can be achieved, and after the user operates the notification message on the receiving device, the notification message display of the sending device can still be consistent with that of the receiving device, thereby improving the user experience of communication message display.

[0012] In an implementation manner of the first aspect, the state change of the first notification message on the receiving end device includes: deleting the first notification message, or updating the content and / or display mode of the first notification message.

[0013] In an implementation of the first aspect, the method further includes:

[0014] Acquire second state change description information, where the second state change description information is used to describe a state change of the first notification message on the sending end device, wherein the state change of the first notification message on the sending end device is triggered by an operation of a user on the sending end device and / or a behavior of an application or system on the sending end device;

[0015] The second state change description information is sent to a receiving device on the trust ring.

[0016] According to the method of the first aspect of the present application, notification message synchronization of multiple devices can be achieved, and after the user operates on the notification message on the sending device, the user's operation results can be synchronized to the receiving device, so that the notification message display of the receiving device is always consistent with that of the sending device, thereby improving the user experience of communication message display.

[0017] In an implementation of the first aspect, the receiving end device on the trust ring further includes at least a second receiving end device;

[0018] The sending the first notification message to a receiving end device on the trust ring includes: sending the first notification message to the first receiving end device and the second receiving end device;

[0019] In an implementation of the first aspect, the method further includes:

[0020] The first state change description information is sent to the second receiving end device.

[0021] In a second aspect, the present application provides a notification management method, which is applied to a receiving device, and the method includes:

[0022] Receiving a first notification message sent by a sending end device, wherein the first notification message is a notification message generated by an application or a system of the sending end device;

[0023] Displaying the first notification message on the receiving device;

[0024] Acquire first state change description information, where the first state change description information is used to describe a state change of the first notification message on the receiving end device, wherein the state change of the first notification message on the receiving end device is triggered by an operation of a user on the receiving end device;

[0025] The first state change description information is sent to the sending end device.

[0026] In an implementation manner of the second aspect, the state change of the first notification message on the receiving end device includes: deleting the first notification message, or updating the content and / or display mode of the first notification message.

[0027] In an implementation of the second aspect, the method further includes:

[0028] receiving second state change description information sent by the sending end device, where the second state change description information is used to describe a state change of the first notification message on the sending end device, wherein the state change of the first notification message on the sending end device is triggered by an operation of a user on the sending end device and / or a behavior of an application or system on the sending end device;

[0029] The status of the first notification message on the receiving end device is updated according to the second status change description information.

[0030] In a third aspect, the present application provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps of the first aspect.

[0031] In a fourth aspect, the present application provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps of the second aspect.

[0032] In a fifth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method of the first aspect or the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The figure is a schematic diagram of an application scenario according to an embodiment of the present application;

[0034] Figure 2 Shown is a schematic diagram of a terminal display interface according to an embodiment of the present application;

[0035] Figure 3 Shown is a schematic diagram of a device architecture according to an embodiment of the present application;

[0036] Figure 4 Shown is a flow chart of a notification management method according to an embodiment of the present application;

[0037] Figure 5 Shown is a flow chart of a notification management method according to an embodiment of the present application;

[0038] Figure 6 Shown is a flow chart of a notification management method according to an embodiment of the present application;

[0039] Figure 7 Shown is a schematic structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

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

[0041] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0042] In order to solve the problem of how to synchronously display notification messages on multiple terminal devices under the existing technology, an embodiment of the present application provides a notification management method.

[0043] Specifically, in one embodiment of the present application, a trust ring is constructed with the device (first device) generating the notification message as the center, and the trust ring includes multiple terminal devices (the trust ring includes at least the second device) that synchronously display the notification message. When the first device generates a first notification message, it not only displays the first notification message on the device, but also sends the first notification message to other terminal devices on the trust ring.

[0044] After receiving the first notification message sent by the first device, other terminal devices on the trust ring save the first notification message and display the first notification message on their own devices.

[0045] Specifically, in one implementation, a whitelist is used to construct a trust ring. For example, a device whitelist is saved on the first device, and the device whitelist includes device identifiers of other terminal devices on the trust ring. The first device confirms other terminal devices on the trust ring according to the device whitelist.

[0046] Figure 1 Shown is a schematic diagram of an application scenario according to an embodiment of the present application.

[0047] like Figure 1 As shown, the trust ring constructed with the mobile phone 101 (first device) as the center includes a laptop 102, a tablet computer 103, and a smart TV 104. The mobile phone 101 is the sending (source) end, and other terminal devices on the trust ring (laptop computer 102, tablet computer 103, smart TV 104, smart watch 105) are receiving (sink) ends.

[0048] Figure 2 Shown is a schematic diagram of a terminal display interface according to an embodiment of the present application.

[0049] When the chat application of mobile phone 101 receives a new chat message from user A, "Mail has been sent, please check" (first notification message), it displays the new chat message in a pop-up window on the device. Figure 2 As shown in the notification message prompt box 201, the notification message displayed in the pop-up window includes: the type of notification message (information), the receiving time of the notification message (just now), and the content of the notification message (user A and "The email has been sent, please check").

[0050] The mobile phone 101 sends the notification message to the laptop computer 102 , the tablet computer 103 , and the smart TV 104 .

[0051] After receiving the notification message sent by the mobile phone 101, the laptop computer 102, the tablet computer 103, the smart TV 104, and the smart watch 105 save the notification message and display the notification message on their own display interfaces. For example, the tablet computer 103 displays the following: Figure 2 The notification message prompt box 202 shown. The notification message displayed in the pop-up window includes: the type of notification message (information), the time when the notification message was received (just now), and the content of the notification message (user A and "email has been sent, please check"). Furthermore, the notification message prompt box 202 also displays the source of the notification message (from the mobile phone 101).

[0052] In the embodiment of the present application, there is no restriction on the specific types of the first device (sending device) and other terminal devices (receiving devices) on the trust ring.

[0053] The following takes the mobile phone 101 and the tablet computer 103 as an example to describe the interaction process between the sending end device (first device) and the receiving end device on the trust ring.

[0054] Figure 3 FIG. 4 is a schematic diagram of a device architecture according to an embodiment of the present application.

[0055] like Figure 3 As shown, the mobile phone 101 includes a local notification management center 310. The local notification management center 310 is used to manage notification messages on the mobile phone 101. When the local notification management center 310 receives a local device notification message (first notification message) newly generated by an application or system, the local notification management center 310 saves the first notification message and sends the first notification message to the notification display center 320, which displays the first notification message to the user.

[0056] In one embodiment, the device notification message refers to a notification message generated by an application or operating system installed on the mobile phone 101 itself.

[0057] For example, the chat application on mobile phone 101 receives new chat content "The email has been sent, please check" sent by the chat partner, and the chat application generates a notification message containing the chat content "The email has been sent, please check" based on the new chat content "The email has been sent, please check".

[0058] The chat application sends a notification message containing the chat content "Mail has been sent, please check" to the local notification management center 310. The local notification management center 310 sends a notification message containing the chat content "Mail has been sent, please check" to the notification display center 320. The notification display center 320 pops up a window to display "Mail has been sent, please check".

[0059] The mobile phone 101 also includes a cross-device notification management center 330. The cross-device notification management center 330 is used to synchronize notification messages between the mobile phone 101 and the receiving end devices on the trust ring.

[0060] Figure 4 Shown is a flow chart of a notification management method according to an embodiment of the present application.

[0061] The mobile phone 101 and the tablet computer 103 execute the following Figure 4 The following steps are shown to achieve notification message synchronization.

[0062] S400, after the application or system of the mobile phone 101 newly generates a first notification message, the cross-device notification management center 330 obtains the first notification message.

[0063] Specifically, in one embodiment, the cross-device notification management center 330 confirms whether the first notification message exists by monitoring the notification message status in the notification display center 320 and / or the local notification management center 310, and obtains the first notification message.

[0064] S401 , after acquiring the first notification message, the cross-device notification management center 330 sends the first notification message to the cross-device notification management center 331 of the tablet computer 103 .

[0065] Specifically, in one implementation, the cross-device notification management center 330 determines the devices on the trust ring (laptop 102, tablet 103, smart TV 104) based on the device whitelist saved by the mobile phone 101, and sends the first notification message to the devices on the trust ring (laptop 102, tablet 103, smart TV 104, smart watch 105).

[0066] In another implementation, the sending device (mobile phone 101) and the receiving device (devices on the trust ring such as laptop computer 102, tablet computer 103, smart TV 104, smart watch 105) participating in notification synchronization interact through device connection 300.

[0067] The cross-device notification management center 330 sends the first notification message to the device connection 300. The device connection 300 identifies that the sender of the first notification message is the sending device (mobile phone 101). The device connection 300 determines the receiving device (devices on the trust ring: laptop computer 102, tablet computer 103, smart TV 104) according to the device whitelist corresponding to the sending device (mobile phone 101). The device connection 300 forwards the first notification message to the receiving device (devices on the trust ring: laptop computer 102, tablet computer 103, smart TV 104, smart watch 105).

[0068] Furthermore, the device connection 300 may be constructed in the mobile phone 101, or in a device on the trust ring, or in other devices other than the devices on the trust ring (eg, a router or a server).

[0069] S410 , after receiving the first notification message, the cross-device notification management center 331 of the tablet computer 103 saves the first notification message to the cross-device notification data management 341 .

[0070] S411, the cross-device notification management center 331 sends the first notification message to the local notification management center 311 of the tablet computer 103, and the local notification management center 311 is used to manage notification messages on the tablet computer 103 (refer to the local notification management center 310).

[0071] S420, after receiving the first notification message, the local notification management center 311 sends the first notification message to the display center 321 (refer to the notification display center 320).

[0072] S430: The display center 321 displays the first notification message to the user.

[0073] According to the method of the embodiment of the present application, the notification messages of the sending device and the receiving device can be displayed synchronously.

[0074] Furthermore, in actual scenarios, after the notification message is displayed, the display state of the notification message will change.

[0075] Specifically, in one embodiment, the display status change of the notification message includes the notification message being deleted. For example, the user deletes the notification message after reading it; or, for another example, the status of the application or system changes, and the corresponding notification message is deleted synchronously.

[0076] In one embodiment, the display status change of the notification message also includes a change in the content or display mode of the notification message. For example, after reading the notification message, the user marks the notification message as read (the display mode of the notification message changes from unread to read); for another example, the status of the application or system changes, and the content of the corresponding notification message is refreshed synchronously.

[0077] For example, in one embodiment, the user operates on the interface of the mobile phone 101 to delete the notification message "The email has been sent, please check" displayed in the pop-up window. After the input module of the mobile phone 101 collects the user's operation, it outputs the instruction to the local notification management center 311. The local notification management center 310 deletes the saved notification message "The email has been sent, please check", and notifies the notification display center 320 to stop displaying the notification message "The email has been sent, please check".

[0078] For another example, in another embodiment, the positioning application of the mobile phone 101 displays a notification message "XX meters away from the destination" in a pop-up window on the interface of the mobile phone 101. As the user's location changes, the positioning application sends notification message refresh information to the local notification management center 310, and the local notification management center 310 refreshes the content of the saved notification message according to the notification message refresh information, and sends the refreshed notification message to the notification display center 320, which refreshes the content of the notification message.

[0079] For example, Figure 2 As shown in the pop-up window display 201, the display box of the notification message provides operation buttons for the notification message, namely, "Reply", "Ignore", and "Remind". Taking the "Ignore" button as an example, when the user clicks the "Ignore" button, the mobile phone 101 no longer displays the notification message in a pop-up window (deletes the notification message).

[0080] In response to the above situation, in one embodiment of the present application, after the sending device synchronizes the notification message to the receiving device, when the status of the notification message changes, the sending device will also synchronize the status change of the notification message to the receiving device, so that the notification message display of the sending device and the receiving device is consistent.

[0081] Figure 5 Shown is a flow chart of a notification management method according to an embodiment of the present application.

[0082] Taking the first notification message as an example, after S430, the cross-device notification management center 330 further executes S440.

[0083] S440, after the state of the first notification message changes, the cross-device notification management center 330 obtains state change description information of the first notification message.

[0084] In one embodiment, the status change description information includes: the notification message has been deleted, or the content and / or display method of the notification message.

[0085] Specifically, in one embodiment, the cross-device notification management center 330 confirms whether the status of the first notification message has changed by monitoring the notification message status in the notification display center 320 and / or the local notification management center 310, and obtains the status change description information of the first notification message.

[0086] S441 , after acquiring the state change description information of the first notification message, the cross-device notification management center 330 sends the state change description information of the first notification message to the cross-device notification management center 331 of the tablet computer 103 .

[0087] S442, after receiving the state change description information of the first notification message, the cross-device notification management center 331 of the tablet computer 103 updates the data in the cross-device notification data management 341 according to the state change description information of the first notification message.

[0088] For example, when the state change description information of the first notification message indicates that the message has been deleted, the cross-device notification management center 331 deletes the first notification message stored in the cross-device notification data management 341 .

[0089] For another example, when the state change description information of the first notification message is the latest message content of the first notification message, the cross-device notification management center 331 refreshes the first notification message stored in the cross-device notification data management 341 .

[0090] Furthermore, in the display mode of notification messages, one display mode is to display notification messages in the form of message groups. A message group contains one or more notification messages of the same type. For example, a first notification message pop-up window and a second notification message pop-up window are displayed separately; the first notification message pop-up window is used to display the notification message of the chat application, and the second notification message pop-up window is used to display the system notification message. When a user operates a notification message, the operation can be for a group of notification messages, or for one or more notification messages in a group of notification messages.

[0091] When the receiving device deletes or updates the notification message according to the state change description information of the notification message, since the notification messages are displayed in groups, there is a situation where the deletion or update operation for one notification message is applied to a group of notification messages.

[0092] In one embodiment, in order to avoid the above situation, a number (sbnKey) is assigned to each notification message in the notification message group. The state change description information for the notification message group includes the number of each notification message in the notification message group. If the number of the notification message in the state change description information of the notification message group is inconsistent with the notification message of the saved notification message group, the notification message corresponding to the missing number in the missing state change description information is deleted. If the state change description information for the notification message group does not include the number of the notification message, the entire notification message group is deleted.

[0093] S443 , the cross-device notification management center 331 sends the state change description information of the first notification message to the local notification management center 311 of the tablet computer 103 .

[0094] S444, after the local notification management center 311 receives the state change description information of the first notification message, the local notification management center 311 notifies the display center 321 to stop displaying the first notification message or refresh the display of the first notification message according to the state change description information of the first notification message.

[0095] According to the method of the embodiment of the present application, when the state of the notification message of the sending end device changes, the state of the notification message of the receiving end device can be changed synchronously.

[0096] Furthermore, in the application scenario of the embodiment of the present application, the user can view the notification message of the sending end device based on the receiving end device. In order to simplify the user operation and improve the user experience, in one embodiment of the present application, the user is supported to operate the notification message synchronized from the sending end device on the receiving end device. For example, the user can delete the notification message synchronized from the sending end device or change the display mode of the notification message on the receiving end device.

[0097] Taking the tablet computer 103 as an example, in one embodiment, the local notification management center 311 manages the notification messages saved in the cross-device notification data management 341 as notification messages of the device (refer to the implementation process of the mobile phone 101 for the change of the display status of the notification message). After the user operates the first notification message on the tablet computer 103, the input module of the tablet computer 103 collects the user's operation input and generates corresponding instructions to the local notification management center 311. The local notification management center 311 refreshes the first notification message saved in the cross-device notification data management 341 (for example, updates the notification display mode setting) or deletes the first notification message according to the instruction, and notifies the notification display center 320 to update the display of the first notification message (for example, display the first notification message in a new display mode) or stop displaying the first notification message.

[0098] For example, Figure 2 As shown in the pop-up window display 202, the display box of the notification message provides operation buttons for the notification message "Reply", "Ignore", and "Remind" (consistent with the pop-up window display 201).

[0099] Furthermore, in order to ensure that the notification message display of the receiving device is consistent with that of the sending device, in one embodiment of the present application, after the notification message status changes, the receiving device also synchronizes the status change of the notification message to the sending device.

[0100] Specifically, in one embodiment, Figure 3 As shown, the tablet computer 103 also includes a cross-device notification state controller 351 .

[0101] Figure 6 Shown is a flow chart of a notification management method according to an embodiment of the present application.

[0102] S500: After the state of the first notification message changes, the cross-device notification state controller 351 obtains state change description information of the first notification message.

[0103] Specifically, in one embodiment, the cross-device notification state controller 351 determines whether the state of the first notification message changes by monitoring data changes in the cross-device notification data management 341 .

[0104] Furthermore, in order to distinguish whether the status change of the first notification message is initiated by the mobile phone 101 or the tablet computer 103, in one implementation, the local notification management center 311 sends marking information to the cross-device notification status controller 351 after refreshing the first notification message saved in the cross-device notification data management 341 or deleting the first notification message saved in the cross-device notification data management 341. The marking information is used to indicate that the data change in the cross-device notification data management 341 is initiated by the tablet computer 103.

[0105] After receiving the tag information sent by the local notification management center 311 and monitoring the data changes in the cross-device notification data management 341 , the cross-device notification state controller 351 obtains the state change description information of the first notification message according to the data changes in the cross-device notification data management 341 .

[0106] S510 , after acquiring the state change description information of the first notification message, the cross-device notification state controller 351 sends the state change description information of the first notification message to the cross-device notification management center 330 of the mobile phone 101 .

[0107] Specifically, in one implementation, the cross-device notification state controller 351 determines the sending device (the mobile phone 101 ) according to the list of sending devices stored in the tablet computer 103 .

[0108] In another implementation, the cross-device notification state controller 351 sends the state change description information of the first notification message to the device connection 300. The device connection 300 identifies that the sender of the state change description information of the first notification message is the receiving device (tablet computer 103) on the device whitelist. The device connection 300 determines the corresponding sending device (mobile phone 101) according to the device whitelist, and the device connection 300 forwards the state change description information of the first notification message to the sending device (mobile phone 101).

[0109] S521, after receiving the state change description information of the first notification message, the cross-device notification management center 330 of the mobile phone 101 sends the state change description information of the first notification message to the local notification management center 310.

[0110] S522, after the local notification management center 310 receives the state change description information of the first notification message, the local notification management center 310 deletes the saved first notification message or updates the saved first notification message according to the state change description information of the first notification message.

[0111] S523, the local notification management center 310 notifies the display center 321 to stop displaying the first notification message or refresh the display of the first notification message.

[0112] Furthermore, in one embodiment, after S510, the mobile phone 101 further executes S530.

[0113] S530, after receiving the state change description information of the first notification message, the cross-device notification management center 330 of the mobile phone 101 sends the state change description information of the first notification message to the devices on the trust ring.

[0114] Specifically, in one implementation, in S530, the cross-device notification management center 330 identifies the sender of the state change description information of the first notification message (tablet computer 103), and sends the state change description information of the first notification message to other devices other than its sender (laptop computer 102, smart TV 104, smart watch 105).

[0115] S540, after receiving the state change description information of the first notification message, the laptop 102, the smart TV 104, and the smart watch 105 stop displaying the first notification message or refresh the display of the first notification message according to the state change description information of the first notification message. See S442 to S444.

[0116] In one implementation, in S530, the cross-device notification management center 330 sends the state change description information of the first notification message to all devices on the trust ring (laptop 102, tablet computer 103, smart TV 104, smart watch 105).

[0117] After the tablet computer 103 receives the status change description information of the first notification message, it determines whether it is necessary to update the data of the cross-device notification data management 341 and whether it is necessary to refresh the display of the first notification message based on the status change description information of the first notification message and the first notification message saved in the cross-device notification data management 341.

[0118] The method flow of the embodiment of the present application can be realized by constructing various modules for realizing the functions of the method flow. The division of modules is only a division of logical functions. When implementing the embodiment of the present application, the functions of each module can be realized in the same or one or more software and / or hardware.

[0119] Specifically, each functional module can be fully or partially integrated into one physical entity during actual implementation, or can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; or all can be implemented in the form of hardware; or some modules can be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.

[0120] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0121] An embodiment of the present application further provides an electronic device (a transmitting device or a receiving device).

[0122] Figure 7 Shown is a schematic structural diagram of an electronic device according to an embodiment of the present application.

[0123] The electronic device 700 includes a memory 710 for storing computer program instructions and a processor 720 for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps executed by the electronic device as described in the embodiments of the present application.

[0124] Specifically, in one embodiment of the present application, the above-mentioned one or more computer programs are stored in the above-mentioned memory, and the above-mentioned one or more computer programs include instructions. When the above-mentioned instructions are executed by the above-mentioned device, the above-mentioned device executes the method steps described in the embodiment of the present application.

[0125] Specifically, in one embodiment of the present application, the processor of the electronic device may be a SOC device on a chip, which may include a central processing unit (CPU), and may further include other types of processors. Specifically, in one embodiment of the present application, the processor of the electronic device may be a PWM control chip.

[0126] Specifically, in an embodiment of the present application, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units, NPU) and an image signal processor (Image Signal Processing, ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.

[0127] Specifically, in one embodiment of the present application, the memory of the electronic device may be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage devices, or may be any computer-readable medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer.

[0128] Specifically, in an embodiment of the present application, the processor and the memory can be combined into a processing device, more commonly, they are independent components, and the processor is used to execute the program code stored in the memory to implement the method described in the embodiment of the present application. In specific implementation, the memory can also be integrated into the processor, or independent of the processor.

[0129] Furthermore, the devices, apparatuses, and modules described in the embodiments of the present application may be implemented by computer chips or entities, or by products having certain functions.

[0130] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0131] In the several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.

[0132] Specifically, in one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided in the embodiment of the present application.

[0133] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is run on a computer, the computer executes the method provided by the embodiment of the present application.

[0134] The embodiments described in this application are described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0137] It should also be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0138] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0139] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0140] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

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

[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, apparatuses and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0143] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A notification management method, characterized in that: The method is applied to a sending end device, the sending end device includes a first local notification management center and a first cross-device notification management center; the method includes: The first cross-device notification management center obtains a first notification message, wherein the first notification message is a notification message generated by an application or system of the sending end device; The first cross-device notification management center sends the first notification message to a second cross-device notification management center of a receiving end device on a trust ring, where the receiving end devices on the trust ring include at least a first receiving end device and a second receiving end device; The first cross-device notification management center receives first state change description information sent by the cross-device notification state controller of the first receiving-end device, where the first state change description information is used to describe a state change of the first notification message on the first receiving-end device, wherein the state change of the first notification message on the first receiving-end device is triggered by an operation of a user on the first receiving-end device, and the state change of the first notification message on the first receiving-end device includes deleting the first notification message; The first cross-device notification management center sends the first state change description information to the first local notification management center; The first local notification management center updates the state of the first notification message on the sending end device according to the first state change description information; The first cross-device notification management center sends the first state change description information to the second receiving end device; The first notification message is a notification message in a notification message group, and the first state change description information does not include a number of the first notification message; The first local notification management center updates the state of the first notification message on the sending end device according to the first state change description information, including: When the first state change description information includes at least one notification message number, and the numbers of the notification messages included in the first state change description information are inconsistent with the numbers of the notification messages in the notification message group of the sending end device, then deleting the notification messages not including the numbers in the first state change description information from the notification message group of the sending end device; When the first state change description information does not include the number of the notification message, the notification message group of the sending end device is deleted.

2. The method according to claim 1, characterized in that The method further comprises: The first cross-device notification management center obtains second state change description information, where the second state change description information is used to describe a state change of the first notification message on the sending end device, wherein the state change of the first notification message on the sending end device is triggered by an operation of a user on the sending end device and / or a behavior of an application or system on the sending end device; The first cross-device notification management center sends the second state change description information to a second cross-device notification management center of a receiving device on the trust ring.

3. The method according to any one of claims 1 to 2, characterized in that: The first cross-device notification management center sends the first notification message to a second cross-device notification management center of a receiving device on a trust ring, including: the first cross-device notification management center sends the first notification message to the first receiving device and the second receiving device.

4. A notification management system, characterized in that: The system includes a sending end device, a first receiving end device and a second receiving end device, the sending end device includes a first local notification management center and a first cross-device notification management center; the first receiving end device includes a second cross-device notification management center, a second local notification management center, a display center and a cross-device notification state controller; The first cross-device notification management center is used to obtain a first notification message, wherein the first notification message is a notification message generated by an application or system of the sending end device; The second cross-device notification management center is used to receive a first notification message sent by the first cross-device notification management center of the sending end device, and send the first notification message to the second local notification management center; The second local notification management center is used to send the first notification message to a display center for display; The cross-device notification state controller is used to obtain first state change description information, where the first state change description information is used to describe a state change of the first notification message on the first receiving-end device, wherein the state change of the first notification message on the first receiving-end device is triggered by an operation of a user on the first receiving-end device, and the state change of the first notification message on the first receiving-end device includes deleting the first notification message; The cross-device notification state controller is used to send the first state change description information to the first cross-device notification management center of the sending end device; The first cross-device notification management center is used to receive the first state change description information sent by the cross-device notification state controller of the first receiving end device, and send the first state change description information to the first local notification management center; The first local notification management center is used to update the state of the first notification message on the sending end device according to the first state change description information; The first cross-device notification management center is used to send the first state change description information to the second receiving end device; The first notification message is a notification message in a notification message group, and the first state change description information does not include a number of the first notification message; The first local notification management center updates the state of the first notification message on the sending end device according to the first state change description information, including: When the first state change description information includes at least one notification message number, and the numbers of the notification messages included in the first state change description information are inconsistent with the numbers of the notification messages in the notification message group of the sending end device, then deleting the notification messages not including the numbers in the first state change description information from the notification message group of the sending end device; When the first state change description information does not include the number of the notification message, the notification message group of the sending end device is deleted.

5. The system according to claim 4, characterized in that The second cross-device notification management center is further used to receive second state change description information sent by the first cross-device notification management center of the sending end device, where the second state change description information is used to describe the state change of the first notification message on the sending end device, wherein the state change of the first notification message on the sending end device is triggered by the user's operation on the sending end device and / or the behavior of the application or system on the sending end device; The second cross-device notification management center is further used to send the second state change description information to the second local notification management center; The second local notification management center is used to update the state of the first notification message on the first receiving end device according to the second state change description information.

6. An electronic device, characterized in that: The electronic device comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method steps as claimed in any one of claims 1 to 3.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Message notification method, message notification device, mobile equipment and message notification system

    CN104869560A

  • Message synchronization method, readable medium and electronic equipment

    CN114125786A

  • Apparatus and method for syncing device notifications

    US20140222951A1