Method and device for implementing message push by layered state machine

A technology of message push and state machine, which is applied in the direction of multi-program device, inter-program communication, program control design, etc. It can solve the problem that the push delivery rate is lower than 80%, and the third-party push platform is not compatible with all models and message types Limited and other issues

Active Publication Date: 2020-10-27
WUHAN DOUYU NETWORK TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] First of all, the third-party push platform cannot be compatible with all models, and there is a problem that the push delivery rate is lower than 80%;
[0005] Secondly, the third-party push platform cannot implement both online (application process survival) and offline (application process death) message push at the same time;
[0006] Thirdly, the types of messages pushed by the third-party push platform are limited, which cannot meet the growing needs of apps for multi-type message push;
[0007] Finally, once the third-party push platform fails, the app push will be paralyzed, affecting the activity rate of the app and causing huge economic losses

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for implementing message push by layered state machine
  • Method and device for implementing message push by layered state machine
  • Method and device for implementing message push by layered state machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention provides a method and device for implementing message push by a layered state machine to solve the technical problem that various third-party message push platforms in the prior art are incompatible, resulting in a low delivery rate of message push, and achieve Compatibility with multiple push platforms to improve the technical issues of message push success rate.

[0049] In order to better understand the above technical solutions, the technical solutions of the present invention will be described in detail below through the accompanying drawings and specific examples. It should be understood that the embodiments of the present invention and the specific features in the examples are detailed descriptions of the technical solutions of the present invention, and It is not a limitation to the technical solutions of the present invention, and the embodiments of the present invention and the technical features in the embodiments can be combined with eac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for implementing message push by a layered state machine, including a receiving layer, an exchange layer, a routing layer and a consumption layer. First, the receiving layer receives messages from different platforms sent by a server; secondly, Said message received by said receiving layer and said exchange layer run in the same process with two different threads respectively and pass said message to said exchange layer; Then, said exchange layer performs said message The unified format is converted and passed to the routing layer; finally, the routing layer runs on the worker thread, and pushes the received message to the consumer layer running on the UI thread. The division of labor at each level is detailed, and there is no coupling, which improves the compatibility and success rate of message push. This solves the technical problem of the incompatibility of various third-party message push platforms in the prior art, resulting in a low message push delivery rate, and achieves the technical effect of being compatible with multiple push platforms, thereby improving the success rate of message push.

Description

technical field [0001] The invention belongs to the technical field of Android TV applications, and in particular relates to a method and a device for implementing message push by a layered state machine. Background technique [0002] At present, unlike the iOS platform that uses a unified iOS Cloud push solution, the lack of a unified standard push solution on the Android platform has spawned a large number of third-party push platforms, such as: Umeng Push (UMPush), Jiguang Push (JPush) , individual push push (GTPush) and some manufacturers push (Xiaomi push, Huawei push, Meizu push), etc. [0003] The advantage of using a third-party push platform to push messages is that there is no need for application developers to repeatedly build servers. Secondly, the third-party push platform has a mature push framework and timely data processing methods. However, there are many disadvantages of using a third-party push platform: [0004] First of all, the third-party push platfo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54H04L29/08
CPCH04L67/141G06F9/546H04L67/55
Inventor 尹成张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products