Joke Collection Website - Public benefit messages - C# message pushed to android mobile phone system

C# message pushed to android mobile phone system

The method of pushing C# message to android mobile phone system is as follows:

1. Periodic query: query the database at a specific time interval, and display when there are new messages. Advantages: simple implementation; Disadvantages: the real-time performance is not good enough, and the power consumption for mobile clients is too high.

2.Push through socket: Establish a long connection and send a new message to the client as soon as it is available.

3. Push by SMS: This kind is generally sold through the SMS sending interface, but it is more expensive, so it is not considered.

4. Long polling: It is basically the same as that used by many websites at present.

5.c2dm: There is a pushsharp in foreign countries, written in C#, but C2DM is a foreign country, and it is often inaccessible for various reasons.

6.MQTT: (Message Queuing Telemetry Transmission) is an instant messaging protocol developed by IBM, which may become an important part of the Internet of Things.

But you can choose a third-party platform to help push messages. In 20 17, Aurora received tens of millions of dollars in D-round investment from Fidelity International. At the same time, the data-driven advertising platform "Aurora Effect Pass" was officially launched, and the commercial geographic data product "Aurora iZone" was subsequently put into the market.