Push Message Processing via Local Profile Identifier Matching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for processing push messages fail to effectively prevent disclosure of user privacy information and often result in delayed message delivery due to network faults or app process deletions.
Innovation Solution
A method that generates a first profile identifier based on the account identifier of the currently logged-in app account, sends this identifier and a token to the app server, and receives a push message with a second profile identifier, determining the processing manner of the push message based on the match between the first and second profile identifiers without requiring network interaction or app process verification.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the terminal device verifies the push message by determining whether an account identifier in the push message is consistent with an identifier of a currently logged-in account of the app through network interaction, then privacy information can be protected, but the real-time performance of push message delivery deteriorates due to network faults or app process deletions
Solution Approach 1:
The terminal device performs preliminary action by generating a profile identifier based on the account identifier of the currently logged-in account and sending it to the server before receiving the push message. The server then includes this profile identifier in the push message, enabling the terminal device to verify the message locally without network interaction, thus protecting privacy while improving real-time delivery
Solution Approach 2:
Instead of using the original account identifier directly in the push message verification process, the system creates a copy in the form of a profile identifier. This profile identifier is generated from the account identifier and transmitted to the server, which then includes it in the push message. The terminal device verifies the message by comparing this copied identifier locally, avoiding direct network interaction during verification
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
This application provides a method and an apparatus for processing a push message. The method includes: generating a first profile identifier based on an account identifier of a currently logged-in account of an app; sending the first profile identifier and a token in a push system to a server of the app; receiving a push message from the server by using a push connection corresponding to the token, where the push message includes a second profile identifier; and determining a processing manner of the push message based on whether the second profile identifier is the same as the first profile identifier. The first profile identifier is locally stored information generated by a terminal device. Therefore, when verifying the second profile identifier, the terminal device neither needs to interact with the server by using a network, nor needs to consider whether a process of the app exists, and therefore can determine the processing manner of the push message in a timely manner, thereby avoiding disclosure of privacy information and improving real-time performance of the push message.