tencent cloud

Tencent Cloud Super App as a Service

文档Tencent Cloud Super App as a Service

GUID Generation Rules

下载
聚焦模式
字号
最后更新时间: 2025-08-06 18:16:52
本文档由 AI 翻译

Overview

GUID (Globally Unique Identifier) is a unique string used to identify information, generated by an algorithm. In Super App as a Service (SAS), it serves as the unique identifier for superapp users on a specific device.

Generation rules

Length

32-character string.

Components:

GUID version (2 digits): Currently fixed at version 03
Operating system code (2 digits): 02 = Android, 03 = iOS
Product code (tens and units digits, 2 digits): e.g., 23 for 100646823
Generation time (12 digits): YYMMDDHHMMSS
Product code (thousands and hundreds digits, 2 digits): e.g., 68 for 100646823
Serial number (10 digits)
Check digit (2 digits)

Example

Android GUID: 03022325070115432668019608661296

Generation and retrieval method

Generation method and timing

After the superapp is launched, if the GUID is not found in the private directory, it will automatically request one from the background. Once the background generates the GUID, it will return it to the superapp. After generation, the superapp will automatically save the GUID to the private directory and the SD card.
Note:
When the superapp is uninstalled, the original GUID will also be cleared. Upon reinstalling the superapp, a new GUID will be requested when it is launched again.

Retrieving GUID for testing

Mini program developers can call the Basic-System-getAppBaseInfo to retrieve the GUID from the host information on their device. This is helpful for developing and testing features like canary releases, where they can send push notifications to specific GUIDs.



帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈