RegistrationID重复

标签: #<Tag:0x00007f659023c600>

RegistrationID:1a0018970adea46856c
jcore-android-2.0.1
jpush-android-3.3.2
我查看了咱们很多文章,也看了多个解决方案,现在需要帮我确认以下内容:

帮我检查一下对应的IMEI是不是重复?分别是什么,我需要对应一下机器配置。

谢谢

你有几个设备都获取到了这个一样的registrationID?设备在你手上吗?

我们这边申请查询只能查到这个registrationID 历史上报来的设备信息有哪些,在排期紧张的时候需要一定的时间才能给出结果

你如果设备在手上可以直接自己去查你设备的数据库,看他的 IMEI、deviceID、serial_number 信息

我通过查询以及查看设备信息,看到的结果是IMEI不同,deviceID不同,serial_number不同,但是设备信息里多了意向IMEI SV号是相同的,获取到的registrationID相同,所以想让你们帮我查一下原因,看是否是获取到了IMEI SV导致registrationID重复。

跟这个应是没有关系,你提供两个取到 registrationID 相同但IMEI不同,deviceID不同,serial_number不同的设备的IMEI、deviceID、serial_number信息给我下

另外再提供下这两个设备的客户端日志信息,不要做任何筛选

设备一:
RegistrationID:1a0018970ad2bab859b
IMEI:86341204973782
serial_number:890cab49170700000000
DeviceID:357070006095683
09-09 15:59:32.928 2349-2349/com.dave.mandangdang D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.3.2, buildId:30
09-09 15:59:33.018 2349-2349/com.dave.mandangdang D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-09 15:59:33.058 2349-2349/com.dave.mandangdang I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :com.dave.mandangdang.jpush.MyJPushMessageReceiver by getCommonReceiverNames
09-09 15:59:33.088 2349-2349/com.dave.mandangdang D/JIGUANG-JPush: [JPushGobal] is not same process with JCommonService
09-09 15:59:33.208 2349-2349/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
09-09 15:59:33.248 2349-2379/com.dave.mandangdang I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.0.1,build id:30
09-09 15:59:33.318 2349-2379/com.dave.mandangdang I/JIGUANG-JCore: [JCommonServiceHelper] found userServiceClass :com.dave.mandangdang.jpush.PushService by getCommonServiceNames
09-09 16:00:03.798 2349-2349/com.dave.mandangdang D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
09-09 16:00:09.728 2349-2349/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
09-09 16:00:09.798 2349-2349/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
09-09 16:00:10.148 2349-2349/com.dave.mandangdang D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
09-09 16:00:14.598 2349-2349/com.dave.mandangdang D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
09-09 16:00:14.908 2349-2349/com.dave.mandangdang D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
09-09 16:00:16.218 2349-2349/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis
09-09 16:00:16.598 2349-2349/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis
09-09 16:00:16.998 2349-2554/com.dave.mandangdang E/JIGUANG-JPush: [JIGUANG-TagAliasHelper] Failed to set alias, errorCode:6022

设备二:
RegistrationID:1a0018970ad2bab859b
IMEI:863412049856688
serial_number:890cab49072700000000
DeviceID:352005048247251
09-09 16:20:14.466 3710-3710/com.dave.mandangdang D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.3.2, buildId:30
09-09 16:20:14.536 3710-3710/com.dave.mandangdang D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-09 16:20:14.566 3710-3710/com.dave.mandangdang I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :com.dave.mandangdang.jpush.MyJPushMessageReceiver by getCommonReceiverNames
09-09 16:20:14.596 3710-3710/com.dave.mandangdang D/JIGUANG-JPush: [JPushGobal] is not same process with JCommonService
09-09 16:20:14.656 3710-3710/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
09-09 16:20:14.676 3710-3744/com.dave.mandangdang I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.0.1,build id:30
09-09 16:20:14.706 3710-3744/com.dave.mandangdang I/JIGUANG-JCore: [JCommonServiceHelper] found userServiceClass :com.dave.mandangdang.jpush.PushService by getCommonServiceNames
09-09 16:23:04.526 3710-3710/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
09-09 16:23:04.586 3710-3710/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
09-09 16:23:07.296 3710-3710/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis
09-09 16:23:07.686 3710-3710/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis

请帮助我检查一下以上日志中RegistrationID对应的硬件信息,并回复给我,谢谢。我需要知道的是,RegistrationID生成使用的参数值

1、提供你这两个设备的注册时间点

2、根据registrationID初步查询,他最新匹配的信息如下(如果有新的设备注册,他上报的其中一个信息相同,则会取到同样的 registrationID,同时该ID匹配的信息就会更新,目前我仅能查询他最新匹配的这三个信息,如需查询历史对应的多次匹配信息,需要提供具体时间点,且查询需要一定时间)

imei : 352005048247251
serial : 89042a77b73700000000
deviceId : 1b91327dbccb0e81942bfe079c19b12f

与你提供的信息均不一致,请首先确认你获取的信息是否准确

2019年8月21日到8月23日注册

信息过于笼统。

1、根据我上面提供的值 去自查你设备的值,肯定有一个值是重复一样的

2、重新用这两个设备分别初始化一下,记录下具体初始化成功的时间点(日志有)

设备一:
RegistrationID:1a0018970ad2bab859b
AndroidID:1f08dfd14fb7dd84
IMEI:863412049831673
serial_number:890c2a87e83700000000
DeviceID:352005048247251
09-10 17:36:34.765 2012-2012/com.dave.mandangdang D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.3.2, buildId:30
09-10 17:36:34.835 2012-2012/com.dave.mandangdang D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-10 17:36:34.865 2012-2012/com.dave.mandangdang I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :com.dave.mandangdang.jpush.MyJPushMessageReceiver by getCommonReceiverNames
09-10 17:36:34.885 2012-2012/com.dave.mandangdang D/JIGUANG-JPush: [JPushGobal] is not same process with JCommonService
09-10 17:36:34.955 2012-2012/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
09-10 17:36:34.975 2012-2041/com.dave.mandangdang I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.0.1,build id:30
09-10 17:36:35.035 2012-2041/com.dave.mandangdang I/JIGUANG-JCore: [JCommonServiceHelper] found userServiceClass :com.dave.mandangdang.jpush.PushService by getCommonServiceNames
09-10 17:37:10.055 2012-2012/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
09-10 17:37:10.105 2012-2012/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
09-10 17:37:16.455 2012-2012/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis
09-10 17:37:16.755 2012-2012/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis

设备二:
RegistrationID:1a0018970ad2bab859b
AndroidID:accc865cebb56ffe
IMEI:863412049793782
serial_number:890cab49170700000000
DeviceID:352005048247251
09-10 17:28:46.430 2194-2194/com.dave.mandangdang D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.3.2, buildId:30
09-10 17:28:46.500 2194-2194/com.dave.mandangdang D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
09-10 17:28:46.530 2194-2194/com.dave.mandangdang I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :com.dave.mandangdang.jpush.MyJPushMessageReceiver by getCommonReceiverNames
09-10 17:28:46.550 2194-2194/com.dave.mandangdang D/JIGUANG-JPush: [JPushGobal] is not same process with JCommonService
09-10 17:28:46.610 2194-2194/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
09-10 17:28:46.630 2194-2226/com.dave.mandangdang I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.0.1,build id:30
09-10 17:28:46.690 2194-2226/com.dave.mandangdang I/JIGUANG-JCore: [JCommonServiceHelper] found userServiceClass :com.dave.mandangdang.jpush.PushService by getCommonServiceNames
09-10 17:29:40.650 2194-2194/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
09-10 17:29:40.700 2194-2194/com.dave.mandangdang D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state

以上是我们又刷的两台设备,帮我查一下你们那边收到的两台硬件信息。谢谢

你们是怎么去获取的这些字段的信息?和上报给极光的信息完全对不上号呀。
我这里查询该registrationID最新匹配的值依旧是:

IMEI: 352005048247251(和你提供的deviceID一样,你设备1、2 的这个值一样的那就会取到一样的registrationID)

serial : 89042a77b73700000000
deviceId : 1b91327dbccb0e81942bfe079c19b12f
androidId : bb81abfc282aa9c6

设备信息直接看机器上的,deviceid:
((TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE)).getDeviceId()

不知道你们sdk怎么获取的硬件信息,能否体用实例代码,我做个测试,自己进行对比?

我这边已经修改了硬件的deviceid,并清理的极光缓存,获取到的RegistrationID还是一样的。

android id获取方法:Settings.System.getString(getContentResolver(), Settings.System.ANDROID_ID);

我们获取各种编号的方法应该和你们不一致,所以无从对比,希望提供你们获取编号的规则代码,我们自己来对比差异性。

获取方式:
imei: telephonyManager.getDeviceId()
serial_number : Build.SERIAL