Recently, the Unified Push Alliance announced that it will incorporate the relevant standards and results of the alliance into the “China Mobile Service Platform” (CMS) related system jointly established by the China Academy of Information and Communications Technology and the Internet Association of China, providing a platform for my country’s mobile Internet ecosystem. Independent and controllable third-party basic services. A very important part of the alliance standards and achievements is the unified push of standards and related specifications.
So, what exactly is unified push? What is the meaning and value of unified push? Why is the unified push standard included in the CMS? How should developers access unified push?
A Tweet will provide you with a comprehensive interpretation of those things about the unified push.
The origin of unified push
As we all know, Google's system-level push service GCM (Google Cloud Messaging) cannot be used in China. App developers who want to deliver messages on Android devices need to consider building their own message push channels or using third-party message push platforms. At the same time, different mobile phone hardware manufacturers will also provide their own system-level push services, such as Huawei push and Xiaomi push. In this way, APP developers need to adapt to different devices and systems, and spend a lot of time and manpower to connect, manage and maintain different push channels.
In order to ensure service consistency and reduce the cost for developers to use push services, in October 2017, under the call of the Ministry of Industry and Information Technology, the China Institute of Information and Communications Technology, China Institute of Information and Communications Technology, took the lead, and joined forces with many mobile phone manufacturers and individual pushers to provide push services on the Internet. Enterprises have jointly established a unified push alliance. One of the core tasks of the alliance is to unify push channels and interfaces through standardized methods to help developers better solve the need for message push, and bring a better user experience to end users, and crack the problem of mobile Internet ecological fragmentation.
Unified Push UPS: Great Benefits for Developers
In 2018, the Unified Push Alliance released my country's independent mobile basic service standard "Unified Push Channel Layer Interface Specification." By updating and improving the specifications, the Alliance released the "T-UPA0002-2019 Unified Push Interface Layer Specification (Frozen Version)" in 2019, which provides specific specifications for device manufacturers and third-party message push service providers to adapt and implement unified push And technical standards. UPS (Unified Push Service) refers to a message push service that uses a unified push channel layer interface specification and has adapted and met the unified push standard.
Image source: http://www.chinaupa.com
As shown in the figure above, the UPS interface specification mainly consists of two parts:
- The API interface set L1 between APP-Server and UPS-Server includes authentication (Auth) and push submission (Send) of push request;
- The API interface set L2 between App-Client and UPS-SDK includes registration token (registerToken), deregistration token (unRegisterToken), turnOnPush, and turnOffPush.
When the application side uses UPS, whether it is Server or Client, it can connect to all manufacturers that support UPS only by following the UPS interface. There is no need to connect different interfaces for each manufacturer, which really saves developers a lot of cost. Brings great convenience.
At the same time, because UPS is a system-level push service, it can also help APPs greatly increase the arrival rate of messages, so that apps can receive messages even when the background is inactive; at the same time, UPS can also reduce the cost of mobile phones due to invalid connections. The traffic consumption and the occupation of system resources greatly enhance the end user’s experience. According to the standby power consumption test results of the Unified Push Alliance, system-level push can reduce the standby energy consumption of mobile phones by 30% to 40%.
In summary, the formulation and application of unified push standards are very important and obviously positive for both developers and end users. At present, many well-known mobile phone manufacturers such as Huawei, Honor, OPPO, ZTE, vivo, Xiaomi, Redmi have passed the unified push alliance test, and completed the support for the unified push alliance related standards.
Single push unified push solution
Push is the only third-party messaging service provider in the Unified Push Alliance that has become a vice chairman unit. For a long time, I push has been actively opening up and sharing his many years of practice and experience in the push field. It has been one of the main pushers for the development of the UPS technical standard for the Android unified push service of the Ministry of Industry and Information Technology. Gotweet is also the industry’s first third-party messaging service provider that supports the UPS standard, and has successively reached strategic cooperation with Samsung, Sony, JMGO, BYD, Hisense, and Auto Operating system providers and other customers build an intelligent reach system that complies with UPS standards and provide unified push solutions.
Next, this article introduces how manufacturers and developers can push UPS uniformly through individual push access.
1. The manufacturer connects to UPS through a push
Step1: Establish a system-level long connection
A push provides a push SDK that complies with the unified push standard—a push UPS SDK. After the manufacturer integrates the Push UPS SDK into the system layer, it can establish a system-level long connection with the Push UPS service.
Step2: Send messages through UPS
There are two ways for manufacturers to send messages through UPS. One is to directly use the push message push service to send messages. This method is suitable for manufacturers who have not built their own push channels, and can help manufacturers to set up a one-time and high-efficiency push It conforms to UPS's message push channel, and at the same time can rely on individual push smart label push, scene push and other technical capabilities to launch personalized and intelligent effective reach to users.
The other method is mainly for vendors that have a developer platform. This type of vendor helps developers complete the unified push of messages through a push UPS service.
2. Developers integrate UPS through individual push
It also opened up the UPS integration method for the majority of App developers.
Developers who have registered to access the Push SDK only need to complete the following two steps to use the Push UPS service:
Step1: Enter the individual push developer center to open UPS models
At present, the UPS mobile phone manufacturers supported by the push message service include Nuts, Sony and so on.
Step2: Add UPS extension package dependency in dependencies
implementation 'com.getui.opt:ups:{version}'
For the detailed access process, please refer to the Push Document Center: https://docs.getui.com/getui/mobile/vendor/vendor_open. For more information about the push unified push solution, please contact the push through WeChat. Technical support for further understanding:
Outlook
The introduction of the unified push standard and the gradual adaptation of the unified push standard by major mobile phone, TV, automobile and other manufacturers and operating system suppliers have provided a great impetus for the construction of the Internet ecosystem and further promoted the Internet of Everything. Next, the push will continue to pay attention to the dynamics of unified push, and continue to share technical practices and solutions in the fields of message push, big data, etc. for developers. Welcome everyone to keep paying attention.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。