Method and apparatus for sending a push content
AssigneeHuawei Technologies Co., Ltd.
InventorsShunan Fan, Guoqiao Chen, Lei Wang, Ting Dong, Huiping Zhang, Jian Yang
Life of this patent
Estimating the term…
Abstract
A terminal receiving a push message is provided. The terminal sets service control condition which specifies application identifier (app ID) corresponding to service that the terminal is allowed to receive, wherein the service control condition is contained in push message control policy. And the terminal then receives a push message, matching the push message control policy, sent by a server.
Claims20
A server, comprising:
- a memory having processor-executable instructions stored thereon;
- and
- one or more processors configured to execute the processor-executable instructions to facilitate the following being performed by the server:
- receiving a push message from a push initiator, wherein the push message comprises content, a user identifier (ID) and a push initiator ID, wherein the user ID indicates an electronic device to which the push message is to be sent, wherein the push initiator ID corresponds to the push initiator, and wherein the push initiator is trusted by the server;
- determining the electronic device based on the user ID;
- comparing a number of bytes of the content of the push message with a maximum message size, wherein the maximum message size is a maximum number of bytes allowed for the content of the push message;
- and
- based on the content length of the push message not exceeding the maximum message size, sending the push message to the electronic device.
A non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor-executable instructions, when executed, facilitate performance of the following:
- receiving, by a server, a push message from a push initiator, wherein the push message comprises content, a user identifier (ID) and a push initiator ID, wherein the user ID indicates an electronic device to which the push message is to be sent, wherein the push initiator ID corresponds to the push initiator, and wherein the push initiator is trusted by the server;
- determining, by the server, the electronic device based on the user ID;
- comparing, by the server, a number of bytes of the content of the push message with a maximum message size, wherein the maximum message size is a maximum number of bytes allowed for the content of the push message;
- and
- based on the content length of the push message not exceeding the maximum message size, sending, by the server, the push message to the electronic device.
A method of sending message, comprising:
- receiving, by a server, a push message from a push initiator, wherein the push message comprises content, a user identifier (ID) and a push initiator ID, wherein the user ID indicates an electronic device to which the push message is to be sent, wherein the push initiator ID corresponds to the push initiator, and wherein the push initiator is trusted by the server;
- determining, by the server, the electronic device based on the user ID;
- comparing, by the server, a number of bytes of the content of the push message with a maximum message size, wherein the maximum message size is a maximum number of bytes allowed for the content of the push message;
- and
- based on the content length of the push message not exceeding the maximum message size, sending, by the server, the push message to the electronic device.
Dependencies are inferred from the claim text.