Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mobvista-dmp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王金锋
mobvista-dmp
Commits
d8011ba3
Commit
d8011ba3
authored
Dec 21, 2021
by
WangJinfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init id_mapping
parent
a7c11c2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Constant.scala
...n/scala/mobvista/dmp/datasource/id_mapping/Constant.scala
+8
-3
No files found.
src/main/scala/mobvista/dmp/datasource/id_mapping/Constant.scala
View file @
d8011ba3
...
...
@@ -264,13 +264,13 @@ object Constant {
dev_id
}
val
iosIDScoreMap
:
Map
[
String
,
Double
]
=
Map
(
"idfa"
->
10
,
"sysid"
->
1
,
"xwho"
->
0.9
,
"user_id"
->
0.9
,
"bmosv_osv_upt"
->
0.9
,
val
iosIDScoreMap
:
Map
[
String
,
Double
]
=
Map
(
"idfa"
->
10
00
,
"sysid"
->
1
,
"xwho"
->
0.9
,
"user_id"
->
0.9
,
"bmosv_osv_upt"
->
0.9
,
"idfv_bundle"
->
0.8
,
"bmosv_upt"
->
0.7
,
"bmosv_ipua_bundle"
->
0.6
,
"bkupid"
->
0.3
)
val
androidCNIDScoreMap
:
Map
[
String
,
Double
]
=
Map
(
"imei"
->
10
,
"oaid"
->
10
,
"gaid"
->
1
0
,
"sysid"
->
1
,
"xwho"
->
0.9
,
"user_id"
->
0.9
,
val
androidCNIDScoreMap
:
Map
[
String
,
Double
]
=
Map
(
"imei"
->
10
00
,
"oaid"
->
1000
,
"gaid"
->
100
0
,
"sysid"
->
1
,
"xwho"
->
0.9
,
"user_id"
->
0.9
,
"android_pkg"
->
0.8
,
"bmosv_upt"
->
0.7
,
"bmosv_ipua_pkg"
->
0.6
,
"bkupid"
->
0.3
)
val
androidIDScoreMap
:
Map
[
String
,
Double
]
=
Map
(
"gaid"
->
10
,
"imei"
->
10
,
"oaid"
->
1
0
,
"sysid"
->
1
,
"xwho"
->
0.9
,
"user_id"
->
0.9
,
val
androidIDScoreMap
:
Map
[
String
,
Double
]
=
Map
(
"gaid"
->
10
00
,
"imei"
->
1000
,
"oaid"
->
100
0
,
"sysid"
->
1
,
"xwho"
->
0.9
,
"user_id"
->
0.9
,
"android_pkg"
->
0.8
,
"bmosv_upt"
->
0.7
,
"bmosv_ipua_pkg"
->
0.6
,
"bkupid"
->
0.3
)
def
process
(
idfa
:
String
,
idfv
:
String
,
pkg_name
:
String
,
imei
:
String
,
androidId
:
String
,
oaid
:
String
,
gaid
:
String
,
sysId
:
String
,
...
...
@@ -386,4 +386,8 @@ object Constant {
}
(
f_platform
,
rw
)
}
case
class
Result
(
device_id
:
String
,
device_type
:
String
,
one_id
:
String
)
extends
Serializable
case
class
OneIDScore
(
one_id
:
String
,
one_type
:
String
,
one_score
:
Double
)
extends
Serializable
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment