Methods, apparatus, terminal equipment and media for cross-device message packet synchronization

CN114816780BActive Publication Date: 2026-08-14HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-22
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

但是,如果手机上和平板电脑上的分组规则不同,则在手机上显示平板电脑接收到的通知消息,或者在平板电脑上显示手机接收到的通知消息时,只能按照原设备的分组规则显示这些通知消息

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816780B_ABST
    Figure CN114816780B_ABST
Patent Text Reader

Abstract

This application, applicable to the field of terminal technology, provides a method, apparatus, terminal device, and medium for cross-device message packet synchronization. The method includes: a first terminal configuring a first message packet rule; the first terminal sending the first message packet rule to a second terminal, the second terminal synchronizing a second message packet rule according to the first message packet rule; the first terminal receiving the synchronized second message packet rule returned by the second terminal; and the first terminal displaying notification messages received by the second terminal according to the packets corresponding to the synchronized second message packet rule. Using this method, message packet consistency among multiple terminal devices can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a method, apparatus, terminal device, and medium for cross-device message packet synchronization. Background Technology

[0002] Typically, many different applications (APPs) are installed on a terminal device. Each application may generate a lot of notification messages. The terminal device can display these notification messages in the message bar for the user's convenience.

[0003] Currently, multiple terminal devices can maintain an interconnected state based on various communication methods. Notification messages received by each interconnected terminal device can be viewed and processed on any of the connected devices. For example, a mobile phone can connect to a tablet, a large-screen smart TV, or other mobile phones. In this way, notification messages generated by various applications installed on the tablet, large-screen smart TV, and other mobile phones can be displayed on the user's currently used mobile phone. Correspondingly, notification messages generated by various applications on that mobile phone can also be displayed on the tablet and large-screen smart TV. Users can view and process these notification messages on any device, greatly facilitating user operation.

[0004] Because the message bar on terminal devices has limited size, some terminal devices, when receiving a large number of push notifications from applications, will group and merge these notifications according to the application type to better display them. However, due to differences in terminal devices, or the systems or versions they use, the grouping rules for notification messages also differ. This means that on interconnected terminal devices, notification messages can only be displayed according to the original device's grouping rules. For example, after connecting a mobile phone and a tablet, notification messages received on both devices can be merged and displayed according to their respective grouping rules, and users can view notification messages from other connected devices on either the mobile phone or the tablet. However, if the grouping rules on the mobile phone and the tablet are different, then when displaying notification messages received by the tablet on the mobile phone, or vice versa, these notification messages can only be displayed according to the original device's grouping rules. Thus, when a user views notification messages received by other terminal devices on a particular terminal device, the message groupings they see will differ from the message groupings on the current terminal device. Summary of the Invention

[0005] This application provides a method, apparatus, terminal device, and medium for synchronizing message packets across devices, which is used to achieve consistency of message packets among multiple terminal devices.

[0006] To achieve the above objectives, this application adopts the following technical solution:

[0007] In a first aspect, a cross-device message packet synchronization method is provided, applied to a first terminal, the method comprising:

[0008] The first terminal configures the first message grouping rules;

[0009] The first terminal sends the first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the first message grouping rule;

[0010] The first terminal receives the synchronized second message grouping rules returned by the second terminal;

[0011] The first terminal displays the notification messages received by the second terminal according to the corresponding grouping rules of the synchronized second message grouping.

[0012] Implementing the embodiments of this application has the following beneficial effects: For a first terminal and a second terminal that maintain an interconnected state, the first terminal can synchronize the first message grouping rule configured on its terminal to the second terminal. In this way, on both the first and second terminals, applications installed on each terminal can be grouped according to the same message grouping rule, realizing the inheritance and sharing of message grouping rules across multiple terminals. This ensures that notification messages received on each terminal can be grouped together according to the same rules. Implementing the embodiments of this application not only makes it convenient for users to view notification messages received from multiple terminals on a single terminal, but also ensures a consistent user experience when viewing notification messages on different terminals, since the grouping on each terminal is the same.

[0013] In one possible implementation of the first aspect, before the first terminal sends the first message packet rule to the second terminal, the method further includes: the first terminal establishing a communication connection with the second terminal. The communication connection may be a wired connection or a wireless connection, and a wireless connection may involve the first terminal and the second terminal accessing the same system using the same system account.

[0014] In one possible implementation of the first aspect, the first terminal sends the first message grouping rule to the second terminal when it receives a synchronization instruction from the user regarding the second message grouping rule for the second terminal. The first terminal then sends the first message grouping rule to the second terminal according to the synchronization instruction. Each user operation triggers a synchronization instruction, which in turn triggers the first terminal to perform an action of sending the first message grouping rule to the second terminal for synchronization.

[0015] In one possible implementation of the first aspect, the first terminal sending the first message grouping rule to the second terminal can be achieved by automatically triggering the first terminal to send the changed first message grouping rule to the second terminal for synchronization when the first terminal and the second terminal are in a synchronized state, based on a change in the monitored first message grouping rule. Specifically, the first terminal is configured with a first listener to monitor whether the first message grouping rule has changed; when the first terminal receives information from the first listener that the first message grouping rule has changed, the first terminal obtains the changed first message grouping rule; the first terminal sends the changed first message grouping rule to the second terminal, and the second terminal synchronizes the second message grouping rule according to the changed first message grouping rule.

[0016] In one possible implementation of the first aspect, when the first terminal displays the notification message received by the second terminal according to the grouping corresponding to the synchronized second message grouping rule, the first terminal generates at least one grouping according to the synchronized second message grouping rule; the first terminal determines the multiple applications installed on the second terminal and the group to which each application belongs; the first terminal summarizes the notification messages received by each application into the group to which the application belongs. In this way, the grouping of the applications on the second terminal by the first terminal is the same as the grouping on the second terminal.

[0017] In one possible implementation of the first aspect, after the first terminal determines the multiple applications installed on the second terminal and the group to which each application belongs, the first terminal deletes the group that does not contain any application.

[0018] Secondly, a cross-device message packet synchronization method is provided, applied to a second terminal, the method comprising:

[0019] The second terminal receives the first message packet rule sent by the first terminal;

[0020] The second terminal synchronizes the second message grouping rule according to the first message grouping rule;

[0021] The second terminal feeds back the synchronized second message grouping rules to the first terminal, and the first terminal displays the notification messages received by the second terminal according to the groups corresponding to the synchronized second message grouping rules.

[0022] In one possible implementation of the second aspect, before the second terminal receives the first message packet rule sent by the first terminal, the method further includes: the second terminal establishing a communication connection with the first terminal. The communication connection may be a wired connection or a wireless connection, and a wireless connection may involve the second terminal and the first terminal accessing the same system using the same system account.

[0023] In one possible implementation of the second aspect, when the second terminal synchronizes the second message grouping rule according to the first message grouping rule, the second terminal determines multiple first applications corresponding to the first message grouping rule and the first group to which each first application belongs; the second terminal generates a second group identical to the first group; the second terminal determines the second groups to which multiple second applications installed on the second terminal belong, based on the multiple first applications and the first groups to which each first application belongs; the second terminal obtains the synchronized second message grouping rule based on the multiple second applications and their respective second groups. In this way, the second terminal can generate corresponding groups on the second terminal based on the groups already existing on the first terminal, and assign applications on the second terminal to corresponding groups according to the same grouping rules as the first terminal, maintaining the consistency of groups across all terminals.

[0024] In one possible implementation of the second aspect, when the second terminal determines the second group to which the multiple second applications installed on the second terminal belong, based on the multiple first applications and the first group to which each first application belongs, the second terminal determines the first target application that is the same as the second target application from the multiple first applications, and the second target application is any one of the multiple second applications; the second terminal determines the second group that is the same as the first group to which the first target application belongs as the second group to which the second target application belongs.

[0025] In one possible implementation of the second aspect, if none of the multiple first applications contains the same first target application as the second target application, the second terminal determines the second group to which the second target application belongs according to the second message grouping rules before synchronization. Thus, when the second terminal performs synchronization grouping according to the first message grouping rules, it can group applications installed on the second terminal but not installed on the first terminal according to the original grouping method.

[0026] Thirdly, a cross-device message grouping rule synchronization device is provided, applied to a first terminal, the device comprising:

[0027] The configuration module is used to configure the first message grouping rules;

[0028] The sending module is used to send the first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the first message grouping rule;

[0029] The receiving module is used to receive the synchronized second message grouping rules returned by the second terminal;

[0030] The display module is used to display the notification messages received by the second terminal according to the corresponding groups of the synchronized second message grouping rules.

[0031] In one possible implementation of the third aspect, the device further includes modules that can include the following:

[0032] The communication connection establishment module is used to establish a communication connection with the second terminal.

[0033] In this embodiment of the application, the communication connection includes a wired connection or a wireless connection. The wireless connection includes a first terminal and a second terminal accessing the same system using the same system account.

[0034] In one possible implementation of the third aspect, the sending module may specifically include the following sub-modules:

[0035] The first sending submodule is used to send the first message grouping rule to the second terminal according to the synchronization instruction when the first terminal receives the synchronization instruction from the user for the second message grouping rule of the second terminal.

[0036] In one possible implementation of the third aspect, the sending module may further include the following sub-modules:

[0037] The first listener configuration submodule is used to configure the first listener on the client side. The first listener is used to monitor whether the first message grouping rules have changed.

[0038] The first message grouping rule acquisition submodule is used to acquire the changed first message grouping rule when the first terminal receives information from the first listener that the first message grouping rule has changed.

[0039] The second sending submodule is used to send the changed first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the changed first message grouping rule.

[0040] In one possible implementation of the third aspect, the display module may specifically include the following sub-modules:

[0041] The group generation submodule is used to generate at least one group according to the grouping rules of the synchronized second message.

[0042] The group determination submodule is used to determine the multiple applications installed on the second terminal and the group to which each application belongs;

[0043] The notification message processing submodule is used to categorize the notification messages received by each application into the respective application's group.

[0044] In one possible implementation of the third aspect, the display module may further include the following sub-modules:

[0045] The group deletion submodule is used to delete groups that do not contain any applications.

[0046] Fourthly, a cross-device message grouping rule synchronization device is provided, applied to a second terminal, the device comprising:

[0047] The receiving module is used to receive the first message packet rules sent by the first terminal;

[0048] The synchronization module is used to synchronize the second message grouping rule according to the first message grouping rule;

[0049] The feedback module is used to feed back the synchronized second message grouping rules to the first terminal, and the first terminal is used to display the notification messages received by the second terminal according to the groups corresponding to the synchronized second message grouping rules.

[0050] In one possible implementation of the fourth aspect, the device may further include the following modules:

[0051] The communication connection establishment module is used to establish a communication connection with the first terminal.

[0052] In one possible implementation of the fourth aspect, the communication connection includes a wired connection or a wireless connection, wherein the wireless connection includes the second terminal and the first terminal accessing the same system by using the same system account.

[0053] In one possible implementation of the fourth aspect, the synchronization module may specifically include the following sub-modules:

[0054] The first group determination submodule is used to determine the multiple first applications corresponding to the first message grouping rule and the first group to which each first application belongs;

[0055] The second group generation submodule is used to generate a second group that is the same as the first group.

[0056] The second group determination submodule is used to determine the second group to which the multiple second applications installed on the second terminal belong, based on the multiple first applications and the first group to which each first application belongs;

[0057] The second message grouping rule synchronization submodule is used to obtain the synchronized second message grouping rules based on multiple second applications and their respective second groups.

[0058] In one possible implementation of the fourth aspect, the second grouping determination submodule may specifically include the following units:

[0059] The application determination unit is used to determine, from a plurality of first applications, a first target application that is the same as the second target application, wherein the second target application is any one of the plurality of second applications;

[0060] The second grouping determination unit is used to determine the second group, which is the same as the first group to which the first target application belongs, as the second group to which the second target application belongs.

[0061] In one possible implementation of the fourth aspect, the second grouping determination unit is further configured to determine the second group to which the second target application belongs according to the second message grouping rules before synchronization if there is no first target application identical to the second target application among the multiple first applications.

[0062] Fifthly, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the cross-device message packet synchronization method of any of the first aspects described above.

[0063] In a sixth aspect, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the cross-device message packet synchronization method of any of the second aspects described above.

[0064] In a seventh aspect, a computer storage medium is provided, which stores computer instructions that, when executed on a terminal, cause the terminal to perform the aforementioned related method steps to implement the cross-device message packet synchronization method of any one of the first aspects.

[0065] Eighthly, a computer storage medium is provided, which stores computer instructions that, when executed on a terminal, cause the terminal to perform the aforementioned related method steps to implement the cross-device message packet synchronization method of any one of the second aspects.

[0066] Ninth aspect, a computer program product is provided that, when the computer program product is run on a computer, causes the computer to perform the aforementioned related steps to implement the cross-device message packet synchronization method of any of the first aspects.

[0067] In a tenth aspect, a computer program product is provided that, when the computer program product is run on a computer, causes the computer to perform the aforementioned related steps to implement the cross-device message packet synchronization method of any of the second aspects.

[0068] Eleventhly, a chip is provided, the chip including a memory and a processor, the processor executing a computer program stored in the memory to implement the cross-device message packet synchronization method of any of the first aspects above.

[0069] In a twelfth aspect, a chip is provided, the chip including a memory and a processor, the processor executing a computer program stored in the memory to implement the cross-device message packet synchronization method of any of the second aspects described above.

[0070] It is understood that the beneficial effects of aspects two through twelfth above can be found in the relevant descriptions in aspect one above, and will not be repeated here. Attached Figure Description

[0071] Figure 1 This is a schematic diagram of a scenario provided in an embodiment of this application;

[0072] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0073] Figure 3 This is a software structure block diagram of an electronic device provided in an embodiment of this application;

[0074] Figure 4 This is a schematic diagram illustrating the steps of a cross-device message packet synchronization method provided in an embodiment of this application;

[0075] Figure 5 This is a schematic diagram of the message grouping interface after grouping applications, provided in an embodiment of this application;

[0076] Figure 6 This is a schematic diagram of the message grouping interface after receiving a notification message, provided in an embodiment of this application.

[0077] Figure 7 This is a schematic diagram illustrating an operation process for grouping newly installed applications, as provided in an embodiment of this application.

[0078] Figure 8 This is a schematic diagram of a cross-device notification message processing procedure provided in an embodiment of this application;

[0079] Figure 9 This is a schematic diagram of a cross-device message grouping rule processing procedure provided in an embodiment of this application;

[0080] Figure 10 This is a schematic diagram of a cross-device message grouping rule synchronization process provided in an embodiment of this application;

[0081] Figure 11 This is a schematic diagram of an interface illustrating a cross-device message grouping rule synchronization process provided in an embodiment of this application;

[0082] Figure 12 This is a schematic diagram illustrating the steps of another cross-device message grouping rule synchronization method provided in an embodiment of this application;

[0083] Figure 13 This is a schematic diagram illustrating the steps of another cross-device message grouping rule synchronization method provided in this application embodiment;

[0084] Figure 14 This is a structural block diagram of a cross-device message grouping rule synchronization device provided in an embodiment of this application;

[0085] Figure 15 This is a structural block diagram of another cross-device message grouping rule synchronization device provided in the embodiments of this application. Detailed Implementation

[0086] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, "first message grouping rule," "second message grouping rule," etc., are only used to distinguish message grouping rules on different terminals and do not limit their number or execution order.

[0087] It should be noted that in the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0088] The business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0089] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to 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, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or 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, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0090] The steps involved in the cross-device message group synchronization method provided in this application are merely examples. Not all steps are mandatory, nor are all information or message contents mandatory. They can be added or removed as needed during use.

[0091] In this application, the same step or a step or message with the same function can be referenced and learned from each other in different embodiments.

[0092] Typically, a user may use multiple terminal devices. For example, a user may use a first terminal, a second terminal, etc., to handle various tasks in their work and life. Multiple applications may be installed on both the first and second terminals. Some applications installed on the first terminal may be the same as those installed on the second terminal, and other applications installed on the first terminal may be different from those installed on the second terminal. For the same application, the user account used to log in to that application on the first terminal may be the same or a different user account. Each terminal's application can display messages that require the user's view or processing in the message bar of that terminal's display interface via push notifications. To facilitate unified processing of messages from multiple terminals, multiple terminals can be interconnected via communication technology. Messages from connected terminals can be displayed in the message bar of each terminal, allowing the user to centrally process messages received from all terminals from any single terminal.

[0093] Currently, terminals can support grouping messages pushed by different applications. For example, on a first terminal, the first terminal can group applications one, two, and three into a first group, and applications four and five into a second group, according to the system's default grouping rules. On a second terminal, the second terminal can group applications one and three into a third group, and applications two, four, and five into a fourth group, according to user-defined grouping rules. Messages pushed by each application in each group can be displayed in the terminal's message bar according to the corresponding group. However, for interconnected first and second terminals, messages displayed on the first terminal can only be displayed according to the application groups within the first terminal, and messages received from the second terminal can only be displayed according to the second terminal's grouping. Thus, because the grouping on the first and second terminals is different, when a user views messages from other terminals on the same terminal (e.g., the first terminal), they cannot group these notification messages according to a unified grouping rule.

[0094] To address the aforementioned problems, embodiments of this application provide a cross-device message packet synchronization method. According to this method, a first terminal can synchronize message packets from other interconnected terminals (e.g., a second terminal). Thus, messages displayed on both the first and second terminals can be displayed according to the same packetization method or rules.

[0095] In the embodiments of this application, the communication connection between the first terminal and the second terminal can be established through short-range communication technology, wired or wireless network technology; or, the communication connection between the first terminal and the second terminal can also be established by logging the first terminal and the second terminal into the same system account. The embodiments of this application do not limit how the first terminal and the second terminal establish a connection.

[0096] It should be noted that, in addition to the first and second terminals, the terminal devices that establish communication connections may also include other terminal devices, such as the third terminal, the fourth terminal, etc. The number of interconnected terminals is not limited in the embodiments of this application.

[0097] In this application embodiment, the aforementioned first terminal or second terminal may be an electronic device such as a mobile phone, tablet computer, wearable device, in-vehicle device, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), etc. This application embodiment does not limit the specific type of the first terminal or second terminal.

[0098] In the embodiments of this application, the first terminal and the second terminal can be the same type of electronic device, for example, both the first terminal and the second terminal are mobile phones; or, both the first terminal and the second terminal are tablet computers. Alternatively, the first terminal and the second terminal in the embodiments of this application can be different types of electronic devices, for example, the first terminal is a mobile phone and the second terminal is a tablet computer; or, the first terminal is a tablet computer and the second terminal is a mobile phone.

[0099] For example, such as Figure 1 The diagram shown is a scenario illustration provided in an embodiment of this application. The scenario illustration includes a first terminal 11 and a second terminal 12 connected to the first terminal 11. Figure 1 The first terminal 11 shown is a mobile phone, and the second terminal 12 is a tablet computer. After the first terminal 11 and the second terminal 12 establish a communication connection, the first terminal 11 and the second terminal 12 can realize the function of synchronizing message packets.

[0100] For example, Figure 2 A schematic diagram of the structure of an electronic device 200 is shown. The structures of the first terminal 11 and the second terminal 12 described above can be referenced from the structure of the electronic device 200.

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

[0102] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 200. In some embodiments of this application, the electronic device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0103] Processor 210 may include one or more processing units. For example, processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.

[0104] The controller can generate operation control signals based on the instruction opcode and timing signals to control the fetching and execution of instructions.

[0105] The processor 210 may also include a memory for storing instructions and data. In some embodiments of this application, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

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

[0107] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments of this application, the processor 210 may include multiple I2C buses. The processor 210 can couple to the touch sensor 280K, charger, flash, camera 293, etc., through different I2C bus interfaces. For example, the processor 210 can couple to the touch sensor 280K through the I2C interface, enabling the processor 210 and the touch sensor 280K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 200.

[0108] The I2S interface can be used for audio communication. In some embodiments of this application, the processor 210 may include multiple I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to realize communication between the processor 210 and the audio module 270. In some embodiments of this application, the audio module 270 can transmit audio signals to the wireless communication module 260 via the I2S interface to realize the function of answering phone calls through a Bluetooth headset.

[0109] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments of this application, the audio module 270 and the wireless communication module 260 can be coupled via the PCM bus interface. In some embodiments of this application, the audio module 270 can also transmit audio signals to the wireless communication module 260 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset.

[0110] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments of this application, the UART interface is typically used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 via the UART interface to implement Bluetooth functionality. In some embodiments of this application, the audio module 270 can transmit audio signals to the wireless communication module 260 via the UART interface to enable music playback via Bluetooth headphones.

[0111] The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display 294 and the camera 293. The MIPI interface includes the camera serial interface (CSI) and the display serial interface (DSI).

[0112] In some embodiments of this application, the processor 210 and the camera 293 communicate via a CSI interface to enable the electronic device 200 to capture images. The processor 210 and the display screen 294 communicate via a DSI interface to enable the electronic device 200 to display images.

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

[0114] USB port 230 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 230 can be used to connect a charger to charge electronic device 200, and can also be used for data transfer between electronic device 200 and peripheral devices. USB port 230 can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0115] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 200. In other embodiments of this application, the electronic device 200 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0116] The charging management module 240 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 receives charging input from the wired charger via a USB interface 230. In some wireless charging embodiments, the charging management module 240 receives wireless charging input via the wireless charging coil of the electronic device 200. While charging the battery 242, the charging management module 240 can also supply power to the electronic device via the power management module 241.

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

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

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

[0120] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0121] The mobile communication module 250 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the electronic device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1.

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

[0123] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 270A, receiver 270B, etc.) or displays images or videos through the display screen 294.

[0124] In some embodiments of this application, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 250 or other functional modules.

[0125] The wireless communication module 260 can provide solutions for wireless communication applications on the electronic device 200, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0126] In some embodiments of this application, antenna 1 of electronic device 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, enabling electronic device 200 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

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

[0128] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments of this application, the electronic device 200 may include one or N display screens 294, where N is a positive integer greater than 1.

[0129] Electronic device 200 can perform shooting functions through ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0130] The ISP is used to process data fed back from the camera 293. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, converting it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments of this application, the ISP can be set in the camera 293.

[0131] Camera 293 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments of this application, the electronic device 200 may include one or N cameras 293, where N is a positive integer greater than 1.

[0132] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 200 selects a frequency, the DSP is used to perform Fourier transforms on the frequency energy.

[0133] Video codecs are used to compress or decompress digital video. Electronic device 200 may support one or more video codecs. Thus, electronic device 200 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0134] An NPU (Neural Processing Unit) is a neural network (NN) computing processor that, by borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, rapidly processes input information and can continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0135] The external storage interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0136] Internal memory 221 can be used to store computer executable program code, which includes instructions. Internal memory 221 may include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc. The data storage area may store data created during the use of electronic device 200 (such as audio data, phone book, etc.).

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

[0138] The processor 210 executes various functional applications and data processing of the electronic device 200 by running instructions stored in the internal memory 221 and / or in the memory set in the processor.

[0139] Electronic device 200 can implement audio functions such as music playback and recording through audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, and application processor.

[0140] The audio module 270 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 270 can also be used for encoding and decoding audio signals. In some embodiments of this application, the audio module 270 may be located in the processor 210, or some functional modules of the audio module 270 may be located in the processor 210.

[0141] The speaker 270A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 200 can listen to music or make hands-free calls through the speaker 270A.

[0142] The receiver 270B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 200 answers a telephone call or voice message, the receiver 270B can be brought close to the ear to listen to the voice.

[0143] Microphone 270C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 270C, inputting the sound signal into microphone 270C. Electronic device 200 may have at least one microphone 270C. In some embodiments, electronic device 200 may have two microphones 270C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 200 may also have three, four, or more microphones 270C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.

[0144] The headphone jack 270D is used to connect wired headphones. The headphone jack 270D can be a USB 230 interface, or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.

[0145] Pressure sensor 280A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 280A may be disposed on display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to pressure sensor 280A, the capacitance between the electrodes changes. Electronic device 200 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 294, electronic device 200 detects the intensity of the touch operation based on pressure sensor 280A. Electronic device 200 may also calculate the touch position based on the detection signal from pressure sensor 280A.

[0146] In some embodiments of this application, touch operations applied to the same touch location but with different touch intensity can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS message is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS message is executed.

[0147] The gyroscope sensor 280B can be used to determine the motion attitude of the electronic device 200. In some embodiments of this application, the gyroscope sensor 280B can determine the angular velocity of the electronic device 200 around three axes (i.e., the x, y, and z axes). The gyroscope sensor 280B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the shake of the electronic device 200, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 200 through reverse movement, thus achieving image stabilization. The gyroscope sensor 280B can also be used in navigation and motion-sensing game scenarios.

[0148] The barometric pressure sensor 280C is used to measure air pressure. In some embodiments of this application, the electronic device 200 calculates altitude, assists in positioning, and navigates using the air pressure value measured by the barometric pressure sensor 280C.

[0149] The magnetic sensor 280D includes a Hall sensor. The electronic device 200 can use the magnetic sensor 280D to detect the opening and closing of the flip cover. In some embodiments of this application, when the electronic device 200 is a flip phone, the electronic device 200 can detect the opening and closing of the flip cover using the magnetic sensor 280D, and then set features such as automatic flip unlocking based on the detected opening and closing state of the cover or the flip cover.

[0150] The accelerometer 280E can detect the magnitude of acceleration of electronic device 200 in various directions (typically three axes). When electronic device 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device, and can be applied to applications such as screen orientation switching and pedometers.

[0151] A distance sensor 280F is used to measure distance. Electronic device 200 can measure distance via infrared or laser. In some embodiments of this application, such as in a shooting scenario, electronic device 200 can utilize the distance sensor 280F for distance measurement to achieve fast focusing.

[0152] The proximity sensor 280G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 200 emits infrared light outward through the LED. The electronic device 200 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that an object is near the electronic device 200. When insufficient reflected light is detected, the electronic device 200 can determine that no object is near the electronic device 200. The electronic device 200 may use the proximity sensor 280G to detect when a user holds the electronic device 200 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 280G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.

[0153] The ambient light sensor 280L is used to sense the brightness of ambient light. The electronic device 200 can adaptively adjust the brightness of its display screen 294 based on the sensed ambient light level. The ambient light sensor 280L can also be used to automatically adjust the white balance when taking photos. The ambient light sensor 280L can also work in conjunction with the proximity sensor 280G to detect whether the electronic device 200 is in a pocket, preventing accidental touches.

[0154] The fingerprint sensor 280H is used to collect fingerprints. The electronic device 200 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, and answering calls with fingerprints.

[0155] Temperature sensor 280J is used to detect temperature. In some embodiments of this application, electronic device 200 uses the temperature detected by temperature sensor 280J to execute a temperature processing strategy. For example, when the temperature reported by temperature sensor 280J exceeds a threshold, electronic device 200 reduces the performance of a processor located near temperature sensor 280J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, electronic device 200 heats battery 242 to prevent abnormal shutdown of electronic device 200 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 200 boosts the output voltage of battery 242 to prevent abnormal shutdown due to low temperature.

[0156] Touch sensor 280K, also known as a "touch device," can be located on display screen 294. The touch sensor 280K and display screen 294 together form a touchscreen, also known as a "touchscreen." Touch sensor 280K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 294. In other embodiments, touch sensor 280K may also be located on the surface of electronic device 200, in a different position than display screen 294.

[0157] The bone conduction sensor 280M can acquire vibration signals. In some embodiments of this application, the bone conduction sensor 280M can acquire vibration signals from vibrating bone fragments in the human vocal cords. The bone conduction sensor 280M can also contact the human pulse and receive blood pressure signals.

[0158] In some embodiments of this application, the bone conduction sensor 280M can also be incorporated into headphones to form bone conduction headphones. The audio module 270 can analyze the vibration signal of the sound-vibrating bone block acquired by the bone conduction sensor 280M to extract the voice signal and realize the voice function. The application processor can analyze the heart rate information based on the blood pressure fluctuation signal acquired by the bone conduction sensor 280M to realize the heart rate detection function.

[0159] Buttons 290 include a power button, volume buttons, etc. Buttons 290 can be mechanical buttons or touch-sensitive buttons. Electronic device 200 can receive button input and generate key signal inputs related to user settings and function control of electronic device 200.

[0160] Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations applied to different applications (such as taking photos, playing audio, etc.). Motor 291 can also correspond to different vibration feedback effects for touch operations applied to different areas of the display screen 294. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

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

[0162] The SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to make contact with and separate from the electronic device 200. The electronic device 200 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 295 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 295 is also compatible with different types of SIM cards. The SIM card interface 295 is also compatible with external memory cards. The electronic device 200 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments of this application, the electronic device 200 uses an eSIM (i.e., an embedded SIM card). The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.

[0163] The software system of electronic device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered architecture. Taking the system as an example, the software structure of electronic device 200 is illustrated.

[0164] Figure 3 This is a software structure block diagram of an electronic device 200 according to an embodiment of this application.

[0165] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments of this application, The system is divided into four layers, from top to bottom: application layer, application framework layer, ... runtime ( runtime and system libraries, as well as the kernel layer.

[0166] The application layer can include a series of application packages.

[0167] like Figure 3 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0168] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0169] like Figure 3As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0170] The window manager is used to manage windowed applications. It can retrieve screen size, determine if a status bar is present, lock the screen, and capture screenshots, among other things.

[0171] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0172] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0173] The phone manager is used to provide communication functions for electronic devices 200. For example, it manages call status (including connection, hang-up, etc.).

[0174] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and so on.

[0175] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0176] Runtime includes core libraries and a virtual machine. runtime is responsible for System scheduling and management.

[0177] The core library consists of two parts: one part contains the functionalities that the Java language needs to call, and the other part is... The core library.

[0178] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0179] System libraries can include multiple functional modules. For example, a surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0180] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0181] The media library supports playback and recording of various commonly used audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0182] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0183] A 2D graphics engine is a graphics engine for 2D drawing.

[0184] The kernel layer is the layer between hardware and software. The kernel layer includes at least display drivers, camera drivers, audio drivers, and sensor drivers.

[0185] The following example illustrates the workflow of the software and hardware of electronic device 200, using a scenario where a user views a notification message.

[0186] When the touch sensor 280K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, etc.). The raw input event is stored in the kernel layer. The application framework layer retrieves the raw input event from the kernel layer and identifies the control corresponding to the input event. Taking a touch click as an example, where the click corresponds to a social application icon, the social application calls the application framework layer's interface to launch the social application, and then calls the kernel layer to launch the display driver, displaying the notification message on the terminal's display interface.

[0187] The following embodiments use a terminal with the above-described hardware / software structure as an example to illustrate the cross-device message group synchronization method provided in this application.

[0188] Reference Figure 4 The diagram illustrates the steps of a cross-device message packet synchronization method provided in an embodiment of this application. The method may specifically include the following steps:

[0189] S401a, First terminal configures first message grouping rules.

[0190] In this embodiment, the first message grouping rule can refer to the grouping rules configured for each application installed on the first terminal based on user operations. Based on the first message grouping rule, each application on the first terminal can be divided into different groups. Thus, notification messages received by applications belonging to the same group can be grouped together and displayed according to the corresponding group. These groups can be divided according to the default grouping rules on the first terminal or according to a user-defined method.

[0191] For example, the first terminal is installed with Applications such as these. The first terminal can respond to user actions and group these applications. During grouping, for example... Figure 5 As shown in (a), the first terminal can group according to the system's default grouping rules. Applications are grouped into a 504 group. Applications are divided into a group of 505 errors. The applications are divided into a group of 506, and Applications are grouped into a 507 group; or, as Figure 5 As shown in (b), the first terminal can also group users according to user-defined grouping rules based on user operations. The applications are divided into a group of 508s, and Applications are divided into a group of 509s, Applications are grouped into a set of 510.

[0192] After grouping the applications, the first terminal can name each group. For example, after grouping the applications according to the system's default grouping rules, the first terminal can name each group based on the characteristics of each application. This group of applications, named "Social," will contain... This group of applications, named "Online Shopping," will contain... This group of applications, named "Music," will contain... The application group is named the "Payment" group. Alternatively, the first terminal can receive user input and use that information to name the various groups. For example, after the first terminal groups the data according to user-defined grouping rules, the user can input names for each group, and the first terminal can then name the groups accordingly. For instance, the first terminal can group data containing... This group of applications is named " The "system" group will include This group of applications is named " The "system" group will include This group of applications is named the "Online Shopping" group.

[0193] After configuring the first message grouping rule as described above, notification messages received by various applications within the same group will be grouped together. For example, according to... Figure 5 After grouping according to the grouping rule shown in (a), the notification messages received by the applications in each group can be as follows: Figure 6 As shown in (a) in the figure. Figure 6 (a) shows that The application received a total of 55 notification messages. The application received a total of 19 notification messages. The application received a total of 13 notification messages. The application received a total of 7 notification messages. Or, as shown below... Figure 6 As shown in (b) above, in accordance with Figure 5 After grouping according to the grouping rule shown in (b), the notification messages received by the applications in each group are as follows: A total of 54 notification messages were received. A total of 25 notification messages were received. A total of 15 notification messages were received. Users can then click on each group to view all notification messages received by each application within that group.

[0194] In one possible implementation of this application embodiment, after the first terminal completes the configuration of the first message grouping rule, the first terminal can also provide multiple operation controls in the interface displaying each group, allowing the user to perform corresponding operations by clicking different operation controls. For example, such as Figure 5 As shown in (a) and (b), the grouping interface of the first terminal provides multiple operation controls, such as an "Edit" control 501, a "Reset" control 502, and a "Rule Synchronization" control 503. After the user clicks each operation control, the first terminal can perform an operation according to the function corresponding to that control. For example, after the user clicks the "Edit" control 501, the first terminal can control the grouping interface to enter an editable state. In this way, the user can adjust the grouping of the application. For example, the user can group... Figure 5 (a) in the middle This application was moved from the "Payments" group to the "Online Shopping" group, resulting in... Figure 5The new grouping is shown in (c) in the diagram.

[0195] In this embodiment of the application, in editable mode, the user can continue to adjust the grouping of other applications in the manner described above. For example, ... Figure 5 (c) shown in This application has been moved from the "Payments" group to the "Online Shopping" group. This removes all applications from the original "Payments" group. In this case, the first terminal can either keep or delete the group. Figure 5 As shown in (d) in the figure, it is a kind of... Figure 5 (c) shown in This is an illustration of the grouping page after the application was moved from the "Payments" group to the "Online Shopping" group, and the "Payments" group, which no longer contains any applications, was deleted.

[0196] In one example, if Figure 5 (a) shows the groups after the first terminal has grouped the data according to the system's default grouping rules. Figure 5 Figures (b), (c), and (d) show several grouping interfaces obtained after the first terminal groups the applications according to user-defined methods. When the user clicks... Figure 5 After using the "Reset" operation control 502 shown in (b), (c), and (d) in the diagram, the first terminal can perform operations as follows: Figure 5 The groupings shown in (b), (c), and (d) are restored to the state as follows: Figure 5 The group shown in (a) is an example. That is, the "Reset" operation control 502 can trigger the first terminal to reset the user-defined group to the system default group.

[0197] Figure 5 The "Rule Synchronization" operation control 503 shown in (a), (b), (c), and (d) can be used to synchronize the grouping rules between the first terminal and other terminals after the first terminal establishes a communication connection with them. For example, when a user clicks the "Rule Synchronization" operation control 503, the first terminal can synchronize the message grouping rules on the first terminal to other terminals, or the first terminal can also synchronize the message grouping rules on other terminals to the first terminal.

[0198] The above describes the process of grouping the various applications already installed on the first terminal. The following describes how to group an application when it is installed on the first terminal.

[0199] like Figure 7The diagram illustrates a process for grouping newly installed applications according to an embodiment of this application. In this embodiment, after a first terminal downloads an application through an app store or other channel, it can place the application on its desktop. For example, when the first terminal downloads... After this application is applied, the first terminal can place it on the desktop for user use. Then, if the first terminal's current group is as follows... Figure 5 The first terminal can be configured as shown in (b) of the diagram. Figure 7 As shown in (a), a pop-up dialog box asks the user whether to allow the first terminal to group according to the system's default grouping rules. This application is grouped into the "Online Shopping" group. If the user clicks... Figure 7 If the "Yes" control 702 shown in (b) confirms that this grouping method is allowed, the first terminal will then... This application was grouped into the "Online Shopping" group 704, and the following results were obtained: Figure 7 The group shown in (c) is where the user clicks. Figure 7 The "No" control 703 shown in (d) refuses to group according to the system's default grouping rules. If this application is grouped, the first terminal can display, for example... Figure 7 In the interface shown in (e), dialog box 708 pops up, requesting the user to select a group from the existing groups or create a new group for use with the data. This application groups users. If the user clicks... Figure 7 (f) in If the system is group 705, then the first terminal will... This application is categorized as " Group 705 of the "System" obtained the following: Figure 7 The group shown in (g) is as follows. If the user clicks on the group shown in (g), Figure 7 The "New Group" control 707 shown in (h) will then pop up a window on the first terminal, as shown in the image. Figure 7 Dialog box 709, shown in (i), prompts the user to enter a name for the new group. The user then enters... Figure 7 In the dialog box (j), enter the name of the new group as "Frequently Used Groups" and click as shown. Figure 7 After clicking the "OK" button 711 in the dialog box (k) in the middle, the first terminal can download the new file. This application was assigned to a group named "Frequently Used" (group number 712), resulting in the following: Figure 7 The grouping shown in (l) is as follows.

[0200] S402, the first terminal and the second terminal establish a communication connection.

[0201] In this embodiment, the communication connection established between the first terminal and the second terminal can be a wired connection or a wireless connection; this embodiment does not limit the type of connection. The following description uses a wireless connection as an example to illustrate how the first terminal and the second terminal establish a communication connection in this embodiment.

[0202] For example, consider establishing a Bluetooth connection between a first terminal and a second terminal. The user enables the Bluetooth function on both the first and second terminals. For instance, the user can turn on the Bluetooth control on the first terminal by clicking it; similarly, the user can turn on the Bluetooth control on the second terminal by clicking it. Once the first terminal's Bluetooth is enabled, it can search for other discoverable devices nearby, such as the second terminal with its Bluetooth enabled. After the first terminal finds the second terminal, it can act as the master device, and the second terminal as the slave device, initiating a pairing request. Once the second terminal confirms the pairing request, the first and second terminals complete the pairing, and a Bluetooth connection is established between them.

[0203] It should be noted that due to the many limitations of the Bluetooth protocol, such as slow data transmission, small data volume per communication, and unstable connection, the first and second terminals can also form a network through Wi-Fi to achieve interconnection of multiple devices, which has a much higher data transmission efficiency and a more stable connection.

[0204] For example, consider establishing a communication connection between a first terminal and a second terminal via a Wi-Fi network. When both terminals are connected to the same Wi-Fi network, the first terminal can find the second terminal by searching for other devices connected to the same network and obtain its basic information (such as device name). In one example, after the first terminal detects the second terminal's basic information, the user can click on it. In response to the user's click, the first terminal sends a connection request to the second terminal to establish a connection. After confirming the connection, the second terminal sends its own media access control (MAC) address and other information. The first terminal obtains the second terminal's MAC address, assigns a new IP address to the second terminal, and establishes a Wi-Fi network. Once the network is established, the first and second terminals are connected to the same local area network and know each other's IP addresses and port numbers, thus enabling communication.

[0205] In this embodiment, the first terminal and the second terminal can also establish a communication connection by logging into the same user account. For example, this user account can be a system account on both the first and second terminals. For instance, if the first and second terminals have the same type of operating system installed, the user can use the same system account to log in on both terminals. After the first terminal logs into the system account, it can establish a communication connection with the cloud server; similarly, after the second terminal logs into the system account, it can also establish a communication connection with the cloud server. Thus, the first terminal and the second terminal can establish a communication connection through the cloud server. It should be noted that having the same type of operating system installed on both terminals can mean that both terminals have the same type of operating system installed, and the system versions of the operating systems are also the same; or, the operating system types are the same, but the system versions are different.

[0206] In this embodiment, the second terminal may be a terminal device configured with a second message grouping rule, or it may be a terminal device without a second message grouping rule. The second message grouping rule may refer to the grouping rules configured for various applications installed on the second terminal based on user operations.

[0207] Therefore, in one possible implementation of the embodiments of this application, the following steps may also be included:

[0208] S401b, the second terminal configures the second message grouping rules.

[0209] Since the process of configuring the second message grouping rule by the second terminal is basically similar to the process of configuring the first message grouping rule by the first terminal, the embodiments of this application will not elaborate on how the second terminal configures the second message grouping rule. The relevant process can be found in the description in S401a.

[0210] It should be noted that there is no specific order of execution between steps S401a and S401b. For example, S401a configuring the first message grouping rule for the first terminal can be executed before S401b configuring the second message grouping rule for the second terminal; S401a configuring the first message grouping rule for the first terminal can also be executed after S401b configuring the second message grouping rule for the second terminal; or, based on different user operations, S401a configuring the first message grouping rule for the first terminal can also be executed at the same time as S401b configuring the second message grouping rule for the second terminal. This application embodiment does not limit this.

[0211] In another possible implementation of this application embodiment, the second terminal may not configure a second message grouping rule. When the second terminal does not configure a second message grouping rule, it can display the notification messages received by each application one by one, in the order in which each notification message was received. For example, the second terminal can display all notification messages one by one in order of receipt time from earliest to latest, or one by one in order of receipt time from latest to earliest.

[0212] Alternatively, the second terminal can summarize all notification messages received by each individual application, determine the sorting time for each application, and then display all notification messages received by each application in either order of earliest to latest sorting time or order of latest sorting time. The sorting time for each application can be determined by the earliest or latest notification message received from all notification messages for that application.

[0213] It should be noted that there is no specific order in which S401a, S401b, and S402 are executed. For example, S401a and / or S401b can be executed first to configure the first message grouping rule on the first terminal and / or the second message grouping rule on the second terminal, and then S402 can be executed to establish a communication connection between the first and second terminals; alternatively, S402 can be executed first to establish a communication connection between the first and second terminals, and then S401a and / or S401b can be executed to configure the first message grouping rule on the first terminal and / or the second message grouping rule on the second terminal; or, S401a can be executed first to configure the first message grouping rule on the first terminal, then S402 can be executed to establish a communication connection between the first and second terminals; after the communication connection between the first and second terminals is established, S401b can be executed to configure the second message grouping rule on the second terminal. This application embodiment does not limit this approach.

[0214] S403: The first terminal queries the notification message received on the second terminal.

[0215] In this embodiment of the application, after the first terminal and the second terminal establish a communication connection, the first terminal and the second terminal can query the notification messages received by the other terminal on their respective terminals based on the established communication connection.

[0216] It should be noted that the terms "this terminal" and "peer terminal" are based on the relative relationship between the first terminal and the second terminal. If the query is initiated by the first terminal, then this terminal is the first terminal and the peer terminal is the second terminal; if the query is initiated by the second terminal, then this terminal is the second terminal and the peer terminal is the first terminal.

[0217] The notification messages received by the peer terminal can be queried by this terminal. This can include all notification messages received by each application in the peer terminal; or, all notification messages received by some applications in the peer terminal; or, a portion of the notification messages received by some applications in the peer terminal, determined based on the receiving time or other attributes. This application embodiment does not limit this.

[0218] S404. The first terminal displays the notification message received by the second terminal.

[0219] In this embodiment of the application, when the first terminal displays the notification message received by the second terminal, it can display it according to the display method or rules on the second terminal.

[0220] Since the second terminal can be a terminal device configured with the second message grouping rule or a terminal device not configured with the second message grouping rule, after the first terminal queries the notification message received by the second terminal, it can display the notification message received by the second terminal according to the actual situation of whether the second terminal is configured with the second message grouping rule.

[0221] In one possible implementation of this application embodiment, if the second terminal is not configured with a second message grouping rule, the first terminal can first determine how the second terminal should display the received notification messages. For example, the second terminal can display all notification messages one by one in order of receiving time from earliest to latest, or in order of receiving time from latest to earliest, based on the time each notification message was received. Alternatively, the second terminal can, for each application, summarize all notification messages received by a single application, and then use the time of the earliest or latest notification message among all the summarized notification messages as the receiving time of the notification message for that application, and then display all notification messages received by each application in order of receiving time from earliest to latest, or in order of receiving time from latest to earliest. Then, the first terminal can display these notification messages according to the display method on the second terminal.

[0222] like Figure 8 The diagram shown is a schematic representation of a cross-device notification message processing procedure provided in an embodiment of this application. According to... Figure 8As shown in the process, the first terminal can respond to the user's operation, obtain the notification messages received on the second terminal based on the cross-device service between the first terminal and the second terminal, and display these notification messages on the first terminal.

[0223] In this embodiment, cross-device service is a communication mechanism between a first terminal and a second terminal. Cross-device service can be implemented in various ways. In one possible implementation, cross-device service can be implemented via cloud-based push notifications. For example, the first terminal and the second terminal log into the same system account, and cross-device service can be implemented between the first terminal and the second terminal based on this system account. In this way, messages from the first terminal can be pushed to the second terminal, and messages from the second terminal can also be pushed to the first terminal. In another possible implementation, the first terminal and the second terminal can each install software modules capable of implementing cross-device service. In this way, message processing between the first terminal and the second terminal can be implemented through service-to-service.

[0224] Reference Figure 8 The first terminal is configured with a cross-device service 810, and the second terminal is configured with a cross-device service 820. When a user operates on the first terminal, instructing it to retrieve notification messages from multiple devices, such as notification messages received on the second terminal, the cross-device service 810 on the first terminal side can first execute S801 to query the notification messages received on its own terminal. Then, the cross-device service 810 on the first terminal side can execute S802 to query the notification messages received on the second terminal. After executing S803 and retrieving the notification messages received on the second terminal, the cross-device service 820 on the second terminal side can execute S804 to return the notification messages received on the second terminal to the first terminal. After the cross-device service 810 on the first terminal side receives the notification messages returned by the cross-device service 820 on the second terminal side, the first terminal can execute S805 to display both the notification messages received by the first terminal and the notification messages received by the second terminal on the first terminal's notification interface for the user to view.

[0225] In this embodiment of the application, the processing of notification messages received on the second terminal by the user on the first terminal will also be fed back to the second terminal. For example... Figure 8As shown, after a user views a notification message received on a second terminal on a first terminal, they can choose to remove that notification message. In this case, the first terminal executes S806 to remove the notification message from the second terminal on its own terminal. The cross-device service 810 on the first terminal side can then execute S807 to transmit the information about removing the notification message to the cross-device service 820 on the second terminal side. Upon receiving the information from the user regarding the removal of the notification message on the first terminal, the cross-device service 820 on the second terminal side can correspondingly execute S808 to remove the notification message on the second terminal as well. That is, the user's processing of a notification message on the first terminal is synchronized to the second terminal. The removal of the notification message mentioned in the above example can refer to removing the notification message from the notification interface or deleting the notification message from both the first and second terminals; this embodiment does not limit this.

[0226] In another possible implementation of this application embodiment, if the second terminal is configured with a second message grouping rule, the first terminal can first determine the specific form of the group corresponding to the second message grouping rule, then obtain the notification messages received by the second terminal, and summarize each notification message into the group where the corresponding application is located.

[0227] like Figure 9 The diagram shown is a schematic representation of a cross-device message grouping rule processing procedure provided in an embodiment of this application. According to... Figure 9 The processing procedure is illustrated. The first terminal can respond to the user's operation, retrieve notification messages received on the second terminal based on the cross-device service between the first and second terminals, and display these notification messages on the first terminal. Specifically, when the user operates on the first terminal, instructing it to retrieve notification messages from multiple devices, the first terminal can respond to the user's operation by first querying the second terminal's second message grouping rules through the cross-device service. For example... Figure 9 As shown, the cross-device service 810 on the first terminal side can execute S901, querying the message packets of the second terminal by sending a query command to the cross-device service 820 on the second terminal side. After receiving the command, the cross-device service 820 on the second terminal side can execute S902, returning the second message packet rules of its own terminal to the cross-device service 810 on the first terminal side. After the cross-device service 810 receives the second message packet rules of the second terminal, the first terminal can execute S903, displaying the corresponding packets on the first terminal according to the second message packet rules. Then, the first terminal can execute... Figure 8 The steps shown involve obtaining the received notification messages from the second terminal and grouping these notification messages into the corresponding groups according to the group in which the application that received each notification message belongs.

[0228] In one possible implementation of this application, based on cross-device services between the first terminal and the second terminal, a user can edit and modify the second message grouping rules on the second terminal from the first terminal.

[0229] like Figure 9 The diagram also illustrates the process of editing cross-device message grouping rules. After the first terminal displays the groups corresponding to the second message grouping rule of the second terminal in its notification interface, the user can edit the groups corresponding to the second message grouping rule in the interface of the first terminal. For example, the user can adjust the groups of various applications in the second terminal by operating on the first terminal to obtain the edited second message grouping rule. Then, the first terminal can execute S905 to send the edited second message grouping rule to the cross-device service 820 on the second terminal side via the cross-device service 810. After the cross-device service 820 on the second terminal side receives the edited second message grouping rule, the second terminal can execute S906 to update its message groups according to the edited second message grouping rule, and then execute S907 to provide feedback to the cross-device service 810. After receiving the updated second message grouping rule from the second terminal, the cross-device service 810 can execute S908 to update the message grouping of the second terminal displayed on the notification interface of the first terminal according to the received updated second message grouping rule, so as to ensure that the message grouping displayed on the first terminal and the second terminal according to the second message grouping rule is the same.

[0230] S405, The first terminal synchronizes the first message grouping rule to the second terminal.

[0231] In this embodiment of the application, based on the cross-device service between the first terminal and the second terminal, the first terminal may also directly synchronize its first message grouping rule to the second terminal that is interconnected with the first terminal, and configure the second message grouping rule on the second terminal to be the same as the first message grouping rule on the first terminal.

[0232] Once the second message grouping rules on the second terminal are synchronized with the first message grouping rules on the first terminal, the message groups of the second terminal displayed on the first terminal will also be updated synchronously.

[0233] In practice, the synchronization of the first message grouping rule from the first terminal to the second terminal can be triggered by a user's operation. A single user operation can trigger the first terminal to complete the synchronization of message grouping rules. Alternatively, a single user operation can also keep the first and second terminals synchronized. Thus, when the first message grouping rule on the first terminal changes, the changed first message grouping rule will be automatically synchronized to the second terminal.

[0234] It should be noted that there may be multiple second terminals that maintain interconnection with the first terminal. In this way, based on user actions, the first message grouping rule on the first terminal can be synchronized to multiple terminals, ensuring that the message grouping rules on the interconnected terminals remain consistent.

[0235] like Figure 10 The diagram shown is a schematic representation of a cross-device message grouping rule synchronization process provided in an embodiment of this application. Wherein, Figure 10 (a) shows a schematic diagram of the single-synchronization message grouping rules across devices. According to... Figure 10 The process shown in (a) involves a user performing a synchronization operation on the first terminal, which triggers the first terminal to complete the synchronization of a first message grouping rule. For example, a user can instruct the first terminal to synchronize its first message grouping rule to the second terminal via the notification interface. Figure 10 As shown in (a), the first terminal responds to the user's operation and executes S1001, sending the first message grouping rule to the cross-device service 820 on the second terminal side via the cross-device service 810. After receiving the first message grouping rule from the first terminal, the cross-device service 820 on the second terminal side can execute S1002, updating its own second message grouping rule according to the first message grouping rule, ensuring consistency between the second and first message grouping rules. Then, the cross-device service 820 on the second terminal side can execute S1003, feeding back the updated second message grouping rule to the cross-device service 810 on the first terminal side. The first terminal can then execute S1004, synchronously updating the message groups displayed on its own terminal according to the updated second message grouping rule.

[0236] The above describes the process of synchronizing single message grouping rules between a first terminal and a second terminal based on user operations. In one possible implementation of this application embodiment, the first terminal and the second terminal can be set to a synchronized state. Thus, if the message grouping rules on any device in the synchronized state change, the changed message grouping rules will be synchronized to the other synchronized devices, ensuring that the message grouping display across multiple devices in the synchronized state remains consistent.

[0237] Figure 10 (b) shows a schematic diagram of message packet rule synchronization in a cross-device synchronization state. According to... Figure 10As shown in (b), the user can operate on the first terminal to set the first and second terminals to maintain a synchronized state. After the setting is completed, the cross-device service 810 on the first terminal side can execute S1005 to send the synchronization state setting information to the cross-device service 820 on the second terminal side. Simultaneously, the first terminal configures a message grouping rule change listener on its own terminal to monitor whether the first message grouping rule on its own terminal has changed. After receiving the synchronization state setting information sent by the first terminal through the cross-device service 820, the second terminal can execute S1006 to configure a message grouping rule change listener on its own terminal. The message grouping rule change listener on the second terminal can be used to monitor whether the second message grouping rule on its own terminal has changed. In one example, such as... Figure 10 As shown in (b), in S1007, the message packet rule change listener on the first terminal detects a change in the first message packet rule on this terminal. In S1008, the listener can send the detected changed first message packet rule information to the second terminal, which is in a synchronized state, through the cross-device service 810 on the first terminal side. The second terminal can execute S1009 to update the message packets on this terminal according to the changed first message packet rule received by the cross-device service 820, thereby ensuring that after the message packet rule on one device changes, the message packet rules on other devices can also be updated synchronously, so that the message packet rules on multiple devices are consistent.

[0238] It should be noted that both the first message grouping rule and the second message grouping rule are grouping rules for applications on the first terminal or the second terminal. Therefore, when synchronizing the first message grouping rule and the second message grouping rule, there is a possibility that the applications installed on the first terminal and the second terminal are not completely the same.

[0239] In this embodiment of the application, when synchronizing the first message grouping rule and the second message grouping rule, if the applications involved in both the first and second message grouping rules are installed on both the first and second terminals, then the processing can follow the applications on the synchronized device. For example, when using the first message grouping rule to synchronize the second message grouping rule, since both the first and second terminals have the applications involved in the first and second message grouping rules installed, the processing can follow the applications on the synchronized device, i.e., the applications on the second terminal, and the second message grouping rule can be synchronized according to the first message grouping rule, ensuring that the synchronized first and second message grouping rules remain consistent.

[0240] In one possible implementation of this application, if one or more applications are installed on only one device and not on another device, the message grouping rules can be processed according to the applications on the synchronized device.

[0241] For example, when synchronizing the first message grouping rules to the second terminal, if an application is only installed on the second terminal and not on the first terminal, that is, the application is installed on the synchronized second terminal, then for applications not installed on the first terminal, the application can be processed according to the original grouping rules in the synchronized second terminal during synchronization.

[0242] like Figure 11 The image shown is a schematic diagram of an interface illustrating a cross-device message grouping rule synchronization process provided in an embodiment of this application. Figure 11 As shown in (a), a first message grouping rule and a second message grouping rule are configured in the first terminal and the second terminal establishing the communication connection, respectively. Specifically, for the first terminal (mobile phone-Y), after the first message grouping rule on the first terminal (i.e., the local device) groups the various applications on the first terminal, the grouping can be as follows: Figure 11 As shown in (a) 1111, it includes " Department" group, " The "system" combination "online shopping" group. The "department" group contains Applications such as " The "department" group contains Applications such as "online shopping" only contain... This is an application. It is installed on the second terminal (Tablet-X). Applications such as [those mentioned above]. Therefore, after grouping the messages on the second terminal according to the second message grouping rule, the grouping can be as follows: Figure 11 As shown in (a) 1121, it may include a "Social" group, a "Shopping" group, and a "Video" group. The "Social" group contains... Applications such as "Online Shopping" are included in the group. Applications such as [list of applications], the "Videos" group contains [content related to this]. Applications such as [examples of applications]. The groups displayed on the second terminal on the first terminal can be as follows: Figure 11 As shown in (a) 1112, the packets of the first terminal displayed on the second terminal can be as follows: Figure 11 As shown in (a) of 1122.

[0243] visible, and These two applications are only installed on the synchronized second terminal, and not on the first terminal. That is, the first message grouping rule does not involve grouping these two applications. In this embodiment, if the first message grouping rule is used to synchronize the second message grouping rule on the second terminal, the user can click as follows... Figure 11 The "Rule Synchronization" button 1130 shown in (b) triggers the first terminal to synchronize the first message group rule from the mobile phone to the tablet. After synchronization, the message groups displayed on the first and second terminals can be as follows: Figure 11 As shown in (c) in the diagram. Figure 11 In (c) of the above, both the first terminal and the second terminal are equipped with Applications such as [those that can be grouped] can group messages according to the first message grouping rule. That is, [the message grouping rules can be applied to other applications]. Applications are divided into " The "system" group will Applications are divided into " The applications installed on both terminals are grouped together. This ensures that applications installed only on the second terminal are grouped consistently. Applications such as these can follow the original grouping rules of the second terminal and will still... and Applications are grouped into the "Videos" group. For example, see... Figure 11 As shown in (c), in the first terminal group 1111 and the second terminal group 1112 displayed on the first terminal, the same application belongs to the same group; in the second terminal group 1121 and the first terminal group 1122 displayed on the second terminal, the same application belongs to the same group.

[0244] S406. The first terminal displays the notification message received by the second terminal on the first terminal according to the synchronized second message grouping rules.

[0245] In this embodiment, since the second message grouping rule on the second terminal is synchronized with the first message grouping rule on the first terminal, the message groups of the second terminal displayed on the first terminal will also be updated synchronously. Therefore, the first terminal can display the notification messages received by the second terminal on the first terminal according to the synchronized second message grouping rule. In this case, the first message grouping rule on the first terminal is the same as the second message grouping rule on the second terminal.

[0246] In this embodiment, for the first terminal and the second terminal that maintain an interconnected state, the first terminal can synchronize the first message grouping rule configured on its terminal to the second terminal. In this way, on both the first and second terminals, applications installed on each terminal can be grouped according to the same message grouping rule, enabling the inheritance and sharing of message grouping rules across multiple terminals. This ensures that notification messages received on each terminal can be grouped together according to the same rules. This embodiment not only facilitates users in viewing notification messages received from multiple terminals on a single terminal, but also ensures a consistent user experience when viewing notification messages on different terminals, since the grouping is identical on each terminal.

[0247] Reference Figure 12 The diagram illustrates the steps of another cross-device message grouping rule synchronization method provided in this application embodiment. This method may specifically include the following steps:

[0248] S1201, Configure the first message grouping rule for the first terminal.

[0249] It should be noted that the previous embodiment described the synchronization process of message grouping rules between the first terminal and the second terminal from an overall perspective, while this embodiment describes the cross-device message grouping rule synchronization method from the perspective of the first terminal. That is, the execution subject of this embodiment is the first terminal.

[0250] In this embodiment, the first terminal may be the terminal device currently used by the user. In response to the user's rule synchronization operation on the first terminal, the first terminal can synchronize its own first message grouping rule to the second terminal, so that the second message grouping rule of the second terminal is consistent with the first message grouping rule.

[0251] In one possible implementation of this application embodiment, the first message grouping rule can be the system default grouping rule on the first terminal. Therefore, when configuring the first message grouping rule, the first terminal can generate multiple groups according to the system default grouping rule. Then, the first terminal can determine the group to which each application belongs. In this way, when an application receives a notification message, the first terminal can display the notification message received by that application in the corresponding group, making it convenient for the user to view notification messages from all applications contained in a group in a unified manner.

[0252] In another possible implementation of this application embodiment, the first message grouping rule can be a user-defined grouping rule. For example, in response to a user's operation on the first terminal, the first terminal generates multiple groups according to the group corresponding to the user's operation. Then, the first terminal can assign each application on the first terminal to a specific group based on the user's selection.

[0253] S1202, the first terminal sends the first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the first message grouping rule.

[0254] In this embodiment, the second terminal may be a terminal device that has established a communication connection with the first terminal. Therefore, before the first terminal sends the first message packet rule to the second terminal, the method further includes: the first terminal establishing a communication connection with the second terminal.

[0255] In specific implementations, the communication connection between the first terminal and the second terminal can be a wired connection or a wireless connection. For example, the first terminal and the second terminal can establish a wireless connection through Bluetooth, or they can interconnect through a Wi-Fi network. Alternatively, the first terminal and the second terminal can also establish a wireless connection by using the same system account to access the same system. This application embodiment does not limit how the first terminal and the second terminal establish a communication connection.

[0256] In one possible implementation of this application embodiment, the sending of the first message packet rule from the first terminal to the second terminal can be based on a user's operation. A user's synchronization operation on the first terminal can trigger the first terminal to perform an action of sending the first message packet rule to the second terminal. For example, the user can, as shown in... Figure 5 Clicking the "Rule Synchronization" control in the interface shown in (a)-(d) triggers the generation of a synchronization instruction for the second message grouping rule for the second terminal. When the first terminal receives the above synchronization instruction, the first terminal can send the first message grouping rule to the second terminal according to the synchronization instruction.

[0257] In another implementation of this application, the first terminal can also be configured to maintain synchronization with the second terminal. In this synchronized state, every change in the first message grouping rule of the first terminal can be sent to the second terminal, thereby ensuring that the second message grouping rule of the second terminal changes synchronously with the first message grouping rule.

[0258] In this embodiment of the application, in order to achieve synchronous changes between the first message grouping rule and the second message grouping rule, the first terminal may be configured with a first listener, which can be used to monitor whether the first message grouping rule changes.

[0259] In a specific implementation, configuring the first listener on the first terminal can be based on user actions. For example, a user can set the first terminal to be synchronized with the second terminal through its interface. Then, in response to the user's action, the first terminal can configure a message grouping rule change listener (the first listener) on its own terminal. Alternatively, the first terminal can send synchronization status setting information to the second terminal to instruct the second terminal to configure a second listener on its own terminal according to the synchronization status setting information.

[0260] When the first message grouping rule changes, the first listener can detect the change in real time and report the change to the first terminal. When the first terminal receives the report from the first listener that the first message grouping rule has changed, it can obtain the changed first message grouping rule. Then, the first terminal sends the changed first message grouping rule to the second terminal. After the second terminal receives the changed first message grouping rule, it can synchronize the second message grouping rule according to the changed rule.

[0261] In this way, after the first terminal and the second terminal are set to keep synchronized, every change in the first message grouping rule will be synchronized to the second terminal.

[0262] In this embodiment of the application, the first terminal sending the first message grouping rule to the second terminal can be implemented based on the cross-device service between the first terminal and the second terminal.

[0263] S1203, The first terminal receives the synchronized second message grouping rules returned by the second terminal.

[0264] In this embodiment, after receiving the first message grouping rule sent by the first terminal, the second terminal can synchronize the second message grouping rule according to the first message grouping rule. During synchronization, the second terminal updates the groups on its own terminal. Then, the second terminal returns the synchronized second message grouping rule to the first terminal.

[0265] The synchronized second message grouping rule received by the first terminal from the second terminal can be the synchronized second message grouping rule itself, or it can be the grouping information after the second terminal groups the messages according to the synchronized second message grouping rule.

[0266] S1204. The first terminal displays the notification message received by the second terminal according to the corresponding group of the synchronized second message grouping rule.

[0267] In this embodiment of the application, after the first terminal receives the synchronized second message grouping rule returned by the second terminal, it can group the applications on the first terminal according to the second message grouping rule, so as to facilitate the display of notification messages received by applications belonging to the same group within that group.

[0268] In the specific implementation, after receiving the synchronized second message grouping rules returned by the second terminal, the first terminal can generate at least one group according to the synchronized second message grouping rules. Then, the first terminal determines the multiple applications installed on the second terminal and the group to which each application belongs. In this way, the first terminal can summarize the notification messages received by each application into the group to which that application belongs for display.

[0269] In one possible implementation of this application, if the synchronized second message grouping rule received by the first terminal is the grouping information after the second terminal groups the application according to the rule, then at least one group generated by the first terminal according to the synchronized second message grouping rule is the same group as the group on the second terminal.

[0270] In another possible implementation of this application, if the synchronized second message grouping rule received by the first terminal is the rule itself, since the second message grouping rule is synchronized according to the first message grouping rule, then at least one group generated by the first terminal according to the synchronized second message grouping rule includes the same groups as those obtained by grouping applications on the first terminal. Since some applications on the first terminal may not be installed on the second terminal, in this case, at least one group generated by the first terminal may contain groups that do not contain any applications. The first terminal can delete groups that do not contain any applications.

[0271] In this embodiment, the first terminal synchronizes its first message grouping rules to the second terminal, enabling the second terminal to group applications according to the same rules as the first terminal. This ensures that on multiple interconnected terminal devices, each application can be assigned to its corresponding group according to the same rules, thus guaranteeing group consistency. Users can also maintain a consistent user experience when using different terminal devices.

[0272] Reference Figure 13 This illustration shows a step diagram of another cross-device message grouping rule synchronization method provided in an embodiment of this application. The method may specifically include the following steps:

[0273] S1301, The second terminal receives the first message grouping rule sent by the first terminal.

[0274] It should be noted that the above two embodiments describe the synchronization process of message grouping rules between the first terminal and the second terminal from the overall perspective and from the perspective of the first terminal, respectively. This embodiment describes the cross-device message grouping rule synchronization method from the perspective of the second terminal. That is, the execution subject of this embodiment is the second terminal.

[0275] In this embodiment, the first terminal can refer to a terminal device that initiates message grouping rule synchronization, and the second terminal can refer to a terminal device that has established a communication connection with the first terminal and is capable of responding to the message grouping rule synchronization action. For example, the first terminal sends a message rule synchronization instruction to the second terminal, and the second terminal responds to the instruction by synchronizing the message grouping rules on its own terminal.

[0276] Therefore, before the second terminal receives the first message packet rule sent by the first terminal, this method further includes: the second terminal establishing a communication connection with the first terminal.

[0277] In specific implementations, the communication connection between the first terminal and the second terminal can be a wired connection or a wireless connection. For example, the first terminal and the second terminal can establish a wireless connection through Bluetooth, or they can interconnect through a Wi-Fi network. Alternatively, the first terminal and the second terminal can also establish a wireless connection by using the same system account to access the same system. This application embodiment does not limit how the first terminal and the second terminal establish a communication connection.

[0278] It should be noted that the establishment of a communication connection between the first terminal and the second terminal can be initiated by either the first terminal or the second terminal, and this application embodiment does not limit this.

[0279] In this embodiment, after the first terminal and the second terminal establish a communication connection, in order to maintain the same grouping of various applications on the first terminal and the second terminal, the first terminal can send its first message grouping rule to the second terminal. The second terminal can receive the aforementioned first message grouping rule through the cross-device service between the first terminal and the second terminal.

[0280] S1302, The second terminal synchronizes the second message grouping rule according to the first message grouping rule.

[0281] In this embodiment of the application, after the second terminal receives the first message grouping rule of the first terminal, it can synchronize the second message grouping rule of its own terminal according to the first message grouping rule.

[0282] In one possible implementation of this application, when the second terminal synchronizes the second message grouping rule, it can first determine the multiple first applications corresponding to the first message grouping rule and the first group to which each first application belongs.

[0283] It should be noted that the first application can refer to an application installed on the first terminal, and the second application can refer to an application installed on the second terminal. There can be multiple first applications and multiple second applications. Since an application may be installed only on the first terminal or the second terminal, or it may be installed on both the first terminal and the second terminal simultaneously, multiple first applications and multiple second applications can be completely identical applications, or they can be partially identical applications.

[0284] After determining the multiple first applications corresponding to the first terminal and the first group to which each first application belongs, the second terminal can generate a second group that is the same as the first group. For example, if the first terminal has installed... Applications such as [list of applications]. After the first terminal groups the applications according to the system's default grouping rules, it can further group applications based on their characteristics, including [list of applications containing [list of applications]]. This group of applications, named "Social," will contain... This group of applications, named "Online Shopping," will contain... This group of applications, named "Music," will contain... This group of applications is named the "Payment" group. Then, when the second terminal synchronizes the second message grouping rules, it can also generate multiple groups, including "Social," "Online Shopping," "Music," and "Payment."

[0285] Then, the second terminal can determine the second group to which the multiple second applications installed on the second terminal belong, based on the multiple first applications and the first group to which each first application belongs. The second terminal can then obtain the synchronized second message grouping rules based on the multiple second applications and their respective second groups.

[0286] In one possible implementation of this application, when the second terminal determines the second group to which the multiple second applications installed on the second terminal belong, based on the multiple first applications and the first group to which each first application belongs, it can determine the first target application that is the same as the second target application from the multiple first applications. The second target application can be any one of the multiple second applications.

[0287] For example, for the WeChat application installed on the second terminal, the second terminal can determine that the first target application corresponding to the application is the WeChat application installed on the first terminal.

[0288] Then, the second terminal can identify the second group, which is the same as the first group to which the first target application belongs, as the second group to which the second target application belongs.

[0289] For example, if the WeChat application on the first terminal belongs to the "Social" group, then the WeChat application on the second terminal can also belong to the "Social" group.

[0290] It should be noted that the first group and the second group are only for the convenience of distinguishing the groups on the first terminal and the groups on the second terminal. The first group and the second group can be groups with the same name.

[0291] In one possible implementation of this application, some applications may be installed only on one terminal device. For example, an application named iQiyi may only be installed on a second terminal and not on a first terminal. Therefore, when determining the second group to which the second application belongs according to the above example, there may be multiple first applications that do not contain the same first target application as the second target application. If there are multiple first applications that do not contain the same first target application as the second target application, the second terminal can determine the second group to which the second target application belongs according to the second message grouping rules before synchronization.

[0292] For example, before the second terminal synchronizes the second message grouping rules, the second terminal has the following installed: The applications belong to the "Video" group. If the first terminal does not have either of the above two applications installed, the second terminal cannot group the two applications according to the first terminal's first message grouping rules. In this case, the second terminal can retain the original grouping of the applications. That is, it can still classify these two applications into the "Video" group.

[0293] S1303, the second terminal feeds back the synchronized second message grouping rules to the first terminal, and the first terminal displays the notification messages received by the second terminal according to the grouping corresponding to the synchronized second message grouping rules.

[0294] In this embodiment, after synchronizing the second message grouping rules, the second terminal can send the synchronized second message grouping rules back to the first terminal. The first terminal can then display the notification messages received by the second terminal according to the groups corresponding to the synchronized second message grouping rules.

[0295] It should be noted that the above embodiments describe the cross-device message grouping synchronization method provided by the present application from the perspectives of the whole, the first terminal side, and the second terminal side, respectively. Each embodiment has its own emphasis in describing this method, and the embodiments can be referred to each other.

[0296] This application embodiment can divide the terminal device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or one or more functions can be integrated into a single functional module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. The following description uses the example of dividing each function into a separate functional module.

[0297] Corresponding to the above embodiments, refer to Figure 14 This diagram illustrates a structural block diagram of a cross-device message grouping rule synchronization device provided in an embodiment of this application. This device can be applied to the first terminal in the foregoing embodiments. Specifically, the device may include the following modules: a configuration module 1401, a sending module 1402, a receiving module 1403, and a display module 1404, wherein:

[0298] The configuration module is used to configure the first message grouping rules;

[0299] The sending module is used to send the first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the first message grouping rule;

[0300] The receiving module is used to receive the synchronized second message grouping rules returned by the second terminal;

[0301] The display module is used to display the notification messages received by the second terminal according to the groups corresponding to the synchronized second message grouping rules.

[0302] In this embodiment of the application, the device may further include the following modules:

[0303] The communication connection establishment module is used to establish a communication connection with the second terminal.

[0304] In this embodiment of the application, the communication connection includes a wired connection or a wireless connection, and the wireless connection includes the first terminal and the second terminal accessing the same system by using the same system account.

[0305] In this embodiment of the application, the sending module may specifically include the following sub-modules:

[0306] The first sending submodule is configured to send the first message grouping rule to the second terminal according to the synchronization instruction when the first terminal receives a synchronization instruction from the user for the second message grouping rule of the second terminal.

[0307] In this embodiment of the application, the sending module may further include the following sub-modules:

[0308] The first listener configuration submodule is used to configure the first listener on the client side. The first listener is used to monitor whether the first message grouping rule has changed.

[0309] The first message grouping rule acquisition submodule is used to acquire the changed first message grouping rule when the first terminal receives information from the first listener that the first message grouping rule has changed.

[0310] The second sending submodule is used to send the modified first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the modified first message grouping rule.

[0311] In this embodiment of the application, the display module may specifically include the following sub-modules:

[0312] A group generation submodule is used to generate at least one group according to the synchronized second message grouping rules.

[0313] The grouping determination submodule is used to determine the multiple applications installed on the second terminal and the group to which each application belongs;

[0314] The notification message processing submodule is used to categorize the notification messages received by each application into the group to which the application belongs.

[0315] In this embodiment of the application, the display module may further include the following sub-modules:

[0316] The group deletion submodule is used to delete groups that do not contain any applications.

[0317] Reference Figure 15This diagram illustrates a structural block diagram of another cross-device message grouping rule synchronization device provided in an embodiment of this application. This device can be applied to the second terminal in the foregoing embodiments. Specifically, the device may include the following modules: a receiving module 1501, a synchronization module 1502, and a feedback module 1503, wherein:

[0318] The receiving module is used to receive the first message packet rules sent by the first terminal;

[0319] The synchronization module is used to synchronize the second message grouping rule according to the first message grouping rule;

[0320] The feedback module is used to feed back the synchronized second message grouping rules to the first terminal, and the first terminal is used to display the notification messages received by the second terminal according to the grouping corresponding to the synchronized second message grouping rules.

[0321] In this embodiment of the application, the device may further include the following modules:

[0322] The communication connection establishment module is used to establish a communication connection with the first terminal.

[0323] In this embodiment of the application, the communication connection includes a wired connection or a wireless connection, and the wireless connection includes the second terminal and the first terminal accessing the same system by using the same system account.

[0324] In this embodiment of the application, the synchronization module may specifically include the following sub-modules:

[0325] The first group determination submodule is used to determine the multiple first applications corresponding to the first message grouping rule and the first group to which each first application belongs;

[0326] The second group generation submodule is used to generate a second group that is the same as the first group;

[0327] The second grouping determination submodule is used to determine the second group to which the plurality of second applications installed on the second terminal belong, based on the plurality of first applications and the first group to which each first application belongs;

[0328] The second message grouping rule synchronization submodule is used to obtain the synchronized second message grouping rules based on the multiple second applications and their respective second groups.

[0329] In this embodiment of the application, the second grouping determination submodule may specifically include the following units:

[0330] An application determination unit is configured to determine, from the plurality of first applications, a first target application that is the same as a second target application, wherein the second target application is any one of the plurality of second applications;

[0331] The second grouping determination unit is used to determine the second group, which is the same as the first group to which the first target application belongs, as the second group to which the second target application belongs.

[0332] In this embodiment of the application, the second grouping determination unit is further configured to determine the second group to which the second target application belongs according to the second message grouping rules before synchronization if there is no first target application identical to the second target application among the plurality of first applications.

[0333] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0334] This application also provides a terminal device, which may be the first terminal or the second terminal in the foregoing embodiments. The terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the cross-device message grouping synchronization method in the foregoing embodiments.

[0335] This application also provides a computer storage medium storing computer instructions. When the computer instructions are executed on a terminal, the terminal performs the aforementioned method steps to implement the cross-device message packet synchronization method in the above embodiments.

[0336] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the cross-device message group synchronization method in the various embodiments described above.

[0337] This application also provides a communication system, including a first terminal and a second terminal as described in the above embodiments.

[0338] This application also provides a chip, which can be a general-purpose processor or a dedicated processor. The chip includes a processor. The processor is used to support the terminal in performing the aforementioned steps to implement the cross-device message packet synchronization method in the various embodiments described above.

[0339] Optionally, the chip also includes a transceiver, which is used to accept control from the processor to support the terminal in performing the above-mentioned related steps to implement the cross-device message packet synchronization method in the above embodiments.

[0340] Optionally, the chip may also include a storage medium.

[0341] It should be noted that the chip can be implemented using the following circuits or devices: one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.

[0342] Finally, it should be noted that the above description is only a specific implementation of this application, but the protection scope of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the protection scope of this application.

Claims

1. A method for synchronizing message packets across devices, characterized in that, Applied to a first terminal, the method includes: The first terminal is configured with a first message grouping rule; The first terminal sends the first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the first message grouping rule; The first terminal receives the synchronized second message grouping rule returned by the second terminal; the synchronized second message grouping rule is a message grouping rule obtained by synchronizing the first message grouping rule configured on the first terminal to the second terminal, so that the first terminal and the second terminal group the applications installed on each terminal according to the same message grouping rule. The first terminal displays the notification messages received by the second terminal according to the grouping corresponding to the synchronized second message grouping rule.

2. The method according to claim 1, characterized in that, Before the first terminal sends the first message grouping rule to the second terminal, the method further includes: The first terminal establishes a communication connection with the second terminal.

3. The method according to claim 2, characterized in that, The communication connection includes a wired connection or a wireless connection, and the wireless connection includes the first terminal and the second terminal accessing the same system using the same system account.

4. The method according to any one of claims 1-3, characterized in that, The first terminal sends the first message grouping rule to the second terminal, including: When the first terminal receives a synchronization instruction from the user regarding the second message grouping rule for the second terminal, the first terminal sends the first message grouping rule to the second terminal according to the synchronization instruction.

5. The method according to any one of claims 1-3, characterized in that, The first terminal sends the first message grouping rule to the second terminal, including: The first terminal is configured with a first listener, which is used to monitor whether the first message grouping rule has changed; When the first terminal receives information from the first listener that the first message grouping rule has changed, the first terminal obtains the changed first message grouping rule. The first terminal sends the modified first message grouping rule to the second terminal, and the second terminal is used to synchronize the second message grouping rule according to the modified first message grouping rule.

6. The method according to any one of claims 1-3, characterized in that, The first terminal displays the notification messages received by the second terminal according to the grouping corresponding to the synchronized second message grouping rule, including: The first terminal generates at least one packet according to the synchronized second message grouping rules; The first terminal determines the multiple applications installed on the second terminal and the group to which each application belongs; The first terminal categorizes the notification messages received by each application into the group to which the application belongs.

7. The method according to claim 6, characterized in that, After the first terminal determines the multiple applications installed on the second terminal and the group to which each application belongs, the process further includes: Delete groups that do not contain any applications.

8. A method for synchronizing message packets across devices, characterized in that, Applied to a second terminal, the method includes: The second terminal receives the first message packet rule sent by the first terminal; The second terminal synchronizes the second message grouping rule according to the first message grouping rule; The second terminal feeds back the synchronized second message grouping rule to the first terminal. The first terminal is used to display the notification message received by the second terminal according to the grouping corresponding to the synchronized second message grouping rule. The synchronized second message grouping rule is a message grouping rule obtained by synchronizing the first message grouping rule configured on the first terminal to the second terminal, so that the first terminal and the second terminal group the applications installed on each terminal according to the same message grouping rule.

9. The method according to claim 8, characterized in that, Before the second terminal receives the first message packet rule sent by the first terminal, the following is also included: The second terminal establishes a communication connection with the first terminal.

10. The method according to claim 9, characterized in that, The communication connection includes a wired connection or a wireless connection, and the wireless connection includes the second terminal and the first terminal accessing the same system using the same system account.

11. The method according to any one of claims 8-10, characterized in that, The second terminal synchronizes the second message grouping rule according to the first message grouping rule, including: The second terminal determines the multiple first applications corresponding to the first message grouping rule and the first group to which each first application belongs; The second terminal generates a second packet that is the same as the first packet; The second terminal determines the second group to which the plurality of second applications installed on the second terminal belong, based on the plurality of first applications and the first group to which each first application belongs; The second terminal obtains the synchronized second message grouping rules based on the plurality of second applications and their respective second groups.

12. The method according to claim 11, characterized in that, The second terminal determines the second group to which the plurality of second applications installed on the second terminal belong, based on the plurality of first applications and the first group to which each first application belongs, including: The second terminal determines a first target application that is the same as the second target application from the plurality of first applications, wherein the second target application is any one of the plurality of second applications; The second terminal identifies the second group, which is the same as the first group to which the first target application belongs, as the second group to which the second target application belongs.

13. The method according to claim 12, characterized in that, After the second terminal identifies the second group, which is the same as the first group to which the first target application belongs, as the second group to which the second target application belongs, the process further includes: If none of the plurality of first applications is the same as the second target application, then the second terminal determines the second group to which the second target application belongs according to the second message grouping rules before synchronization.

14. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the cross-device message packet synchronization method as described in any one of claims 1-13.

15. A chip, characterized in that, The chip includes a memory and a processor, the processor executing a computer program stored in the memory to implement the cross-device message packet synchronization method as described in any one of claims 1-13.

Citation Information

Patent Citations

  • Application program control method and device

    CN103902288A

  • Scene synchronization method, terminal, server and system

    CN104935613A