头图

In the process of operation, APP has its own account system, and the account operation system is not the same. For example, the account system of social apps includes social ID numbers, custom nicknames, email addresses, and so on. The APP performs refined push messages based on the account system scenario, such as changes in bank APP account balances, order status updates, etc., which need to be connected, bound, and identified with the account system, so as to achieve target user message push.

Therefore, in order to meet the needs of customers for refined push, the Alias Push function has been introduced in Getui News Push, which can quickly break the information barriers under different account systems. To meet specific push requirements in certain scenarios.

Glossary

  • CID: The external user ID in the Getui business layer, used to identify the client identity, obtained by the third-party client and saved to the third-party server, is the unique identification number of Getui SDK, referred to as CID.
  • Alias: It is an identifier defined by the APP for a user, which can be used to associate a user account with a Getui CID. It is recommended to set user identifiers such as mailboxes and nicknames as aliases. After binding an alias for a user, you can circle the target user through the alias to push.

Technical implementation plan

1. Pre-preparation
Complete the Android Integration Guide and iOS Integration Guide.

2. Set alias
The developer can set an alias for the CID on the client or the server. The client needs to distinguish between Android and iOS, and the server does not need to distinguish. The developer can choose one of the channels (client or server) to set it.

Android client : In the callback method onReceiveClientId that successfully obtains the CID, call the binding alias interface to set the user ID of the APP as the alias of the CID.
iOS client : In the callback method GeTuiSdkDidRegisterClient that successfully obtains the CID, call the binding alias interface to set the user ID of the APP as the alias of the CID.

2.1 Client setting alias
The developer needs to store the CID by himself. When adding a CID to the system, call the binding alias interface to set the user ID of the APP as the alias of the CID.

2.2 Server side setting alias
1. Log in to Getui Developer Center ( https://dev.getui.com ), click Getui News Push - Select Application - Configuration Management - Alias Management

2. Bind user [alias]

①Click [Add Alias]: Enter the alias and CID to bind the alias user.

②Add aliases in batches: First create an alias and the TXT text corresponding to the CID, then click [Batch Import] to upload the alias list text, and finally click [Import] to add aliases and corresponding CID users in batches.

Notes:

Repeated binding of aliases is subject to the last time. The interval between calls to the same CID binding interface must be greater than 1s, and a single client device is limited to 100 calls per day.

One CID only supports binding one alias, and one alias can be bound to 10 CIDs at most.

3. Server push
Developers can push messages by calling the Getui server API or directly from the Getui Developer Center page.

3.1 Server API push
Using the alias push interface, when the content pushed to each alias user is different, messages can be pushed to specified alias users in batches or individually. It is suitable for scenarios such as bank card account movement reminders when bank APPs pay group wages, and bank card account movement reminders for individual user transfers. For specific operations, see the following documentation:

1. Instructions for use of the push interface: https://www.getui.com/college/2022031494

2. Alias batch single push instruction document: https://www.getui.com/college/2022031494

3.2 Developer Center Push
1. Alias push: After the alias is successfully bound, click Create Notification/Transparent Message - Target Selection, and select [Alias User] to push the message. For example, bind the alias user to [Test], enter [Test] to select all users under the test alias to push.

2. Fill in other configuration information according to the instructions on the push page, check the push preview, and click [OK] to officially send the push after confirming that it is correct.

Summarize

During the operation of multiple business lines, alias push can also help enterprises with multiple applications to open up a multi-application account system, solve the problem of asynchronous account information between applications, facilitate unified push and management of operations, and greatly reduce operating costs. , to improve user service efficiency.

If you are interested in Alias Push, you can scan the code to add @ Getui technical support and consult immediately.


个推
1.5k 声望2.4k 粉丝

个推(每日互动股份有限公司,股票代码:300766)成立于2010年,是专业的数据智能服务商,致力于用数据让产业更智能。个推深耕开发者服务,并以海量的数据积累和创新的技术理念,构建了移动开发、用户增长、品牌...