View Issue Details

IDProjectCategoryView StatusLast Update
0000670Trip ReaderData 数据纠错public2024-03-27 09:49
ReporterMingjie XBS Assigned ToYihong Wu  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.7.13 
Summary0000670: 宁波地铁CU数据补充
Description

宁波地铁CU数据补充
宁波地铁 2号线 宁波火车站
刷卡时间:2024年02月27日

TagsNo tags attached.
Attached Files
ProvinceZhejiang 浙江
CarrierMetro 地铁
TypeCU

Activities

Mingjie XBS

2024-03-04 10:25

reporter   ~0001343

Last edited: 2024-03-04 10:28

建议之后CU为315001的统一判断为宁波地铁,具体站点的闸机数据有待测试,需测试数据较多。
不过315001也是宁波城际铁路的开头,这样就很难判断了。

Yihong Wu

2024-03-04 15:56

manager   ~0001344

如果会编程的话,你可以在我的emulator基础上改个薅宁波地铁的版本,我只做了薅杭州的
https://github.com/domosekai/cardemulator

Mingjie XBS

2024-03-08 00:09

reporter   ~0001351

Last edited: 2024-03-08 00:13

TU、CU宁波充值渠道补充,终端号固定。
终端号:000002000011
充值方式:宁波市民卡App NFC贴卡充值(为官方App充值渠道)
安卓App包名:cn.com.nbcard(提供官方英文翻译)
除此之外,通过公共自行车网点补登充值机和市民卡服务网点充值的终端号每台机器固定,都不一样。

Screenshot-20240308-080428-1.png (480,197 bytes)   
Screenshot-20240308-080428-1.png (480,197 bytes)   

Yihong Wu

2024-03-08 01:59

manager   ~0001352

TU的充值除了写1E的情况以外,通常不能仅用终端号判断,因为基本上是瞎写

Yihong Wu

2024-03-08 01:59

manager   ~0001353

另外这个CU的也是瞎写

Mingjie XBS

2024-03-25 00:31

reporter   ~0001373

Last edited: 2024-03-25 00:43

之前三条条没编辑完,误点到「添加注释了」,而且图片上传遇到的bug,如果可以还是删除一下吧。
最近买到了一张宁波轨道交通的纪念单程票,通过读卡识途和票卡分析专业工具识读发现这是一张采用的住建部标准的CPU卡,但是读卡识途和票卡分析专用工具识别结果均失败(详见图1和图2,图2综合了票卡分析专用工具的识别结果)。
通过Full scan功能(结果见图3),目前只能识别到城市代码(3150,指代宁波市,见0x05),有效日期(20230928,见0x05、SELECT CU、0x15和SELECT 3F01),有效期至(20241031,见SELECT CU、0x15和SELECT 3F01),目前其他信息待确认,我会去找宁波轨道交通的服务中心核对部分数据(比如卡号)。
不过,不愧是宁波轨道交通出的票卡,相比较于宁波市民卡混乱的CU代码(可见我之前提交的帖子),地铁纪念票卡的代码完全按照3150(宁波)+0+01(线路号)+09(车站号)+04(闸机位置,包括补票)+02(闸机号)的标准格式进行,其中线路号和站点与读卡识途已有数据(指0x1E识别数据)相匹配。(图4比较了同一闸机TU和纪念票卡的识别数据,宁波市民卡的CU数据由于无规律不做展示,对了,关于中河路的备注,A/7和B/7是同一个闸机,这里备注有误)
基于此,建议吧31500开头的终端号优先判读为宁波地铁,虽然目前宁波城际铁路的终端号也是基于此。
另外,有趣的事,关于计次纪念票的的乘车的次数,宁波轨道交通采用了一个有趣的办法。比如该卡能乘坐10次车,那卡内余额就是0.1元,按照每次0.01元的扣款,扣到10次刚好余额归零。目前,并没有在Full scan数据中找到其他表示次数的相关信息。
(另附:Full scan全部数据)

Screenshot_20240325_075543-3.jpg (120,235 bytes)   
Screenshot_20240325_075543-3.jpg (120,235 bytes)   
202403250743191.jpg (792,807 bytes)   
202403250743191.jpg (792,807 bytes)   
Expert-20240325-082350.txt (1,814 bytes)   
SELECT MF
00A40000023F00
6F15840E315041592E5359532E4444463031A5038801019000 (23)

Info 0x05
00B0850000
000031500003013023092810004563031E0000000010100000006910000020230928202309280000000000000000000000000000000000000000000000000000000000000000000000000000000000009000 (80)

Info 0x16
00B0960000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000 (96)

SELECT CU
00A4040009A00000000386980701
6F468409A00000000386980701A5399F0801029F0C32010120230928000010100000006920230928202410310000000104FFFF0000000000000000000000000000000000000000009000 (72)

CHECK BALANCE
805C000204
000000099000 (4)

Info 0x15
00B0950000
010120230928000010100000006920230928202410310000000104FFFF0000000000000000000000000000000000000000009000 (50)

Record 0x18 #1
00B201C400
00020000000000000109315001090402202403250740059000 (23)

Record 0x18 #2
00B202C400
00010000000000000009315001270408202403250646099000 (23)

Record 0x18 #3
00B203C400
00010000000000000A02000000000105202309281243509000 (23)

Record 0x19 #1
00B201CC00
013A000101270408202403250646090000020000000100000000000000000000000000010904022024032507400500000000202403250000000000009000 (60)

Record 0x19 #2
00B202CC00
013A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000 (60)

Record 0x19 #3
00B203CC00
013A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000 (60)

SELECT TU
00A4040008A000000632010105
6A82 (0)

SELECT 3F01
00A40000023F01
6F468409A00000000386980701A5399F0801029F0C32010120230928000010100000006920230928202410310000000104FFFF0000000000000000000000000000000000000000009000 (72)
Expert-20240325-082350.txt (1,814 bytes)   

Yihong Wu

2024-03-25 03:49

manager   ~0001374

调整了权限,以后可以删除自己的note

Mingjie XBS

2024-03-26 01:06

reporter   ~0001375

Last edited: 2024-03-26 14:55

感谢宁波轨道交通站点的工作人员的协助,我也知道了他们的机器所能读取到全部的数据,根据这些数据,试图在Full scan 数据中找到。
注1:目前唯一没有找到 — 卡种类识别代码,即能让闸机将该卡识别为「计次纪念票」的代码。
(目前我所拥有的三张「计次纪念票」中,SELECT MF中数据完全相同,0x05中,夹杂在城市代码和逻辑卡号之间的00301数据相同,SELECT CU和SELECT 3F01第一行、SELECT TU全部 数据相同,SELECT CU和SELECT 3F01第二行主体数据中【6F468409A00000000386980701A5399F0801029F0C320101】、【0000000104FFFF】相同,不知道代表什么意思)
注2:目前宁波市民卡混乱的CU终端号以31500101开头,包含轨道交通和城际铁路,目前仅需适配标准终端号即可。
注3:线路站点与宁波目前已知的1E数据相同。

1_edit_136107722569334.png (317,897 bytes)   
1_edit_136107722569334.png (317,897 bytes)   
2_edit_136094547346941.png (99,441 bytes)   
2_edit_136094547346941.png (99,441 bytes)   

Yihong Wu

2024-03-27 07:17

manager   ~0001376

这种卡片只是用了住建部的AID,并不符合住建部标准,且无法与其他卡片区分,不会进行适配

Mingjie XBS

2024-03-27 07:53

reporter   ~0001377

那标准的CU号可能会进行适配吗

Yihong Wu

2024-03-27 08:17

manager   ~0001378

不会

Mingjie XBS

2024-03-27 08:44

reporter   ~0001379

好吧,此贴可以关闭了,这算是了解了一种特殊的卡

Yihong Wu

2024-03-27 09:49

manager   ~0001380

感谢报告

Issue History

Date Modified Username Field Change
2024-03-03 12:25 Mingjie XBS New Issue
2024-03-03 12:25 Mingjie XBS File Added: Screenshot-20240303-202412-1.png
2024-03-04 10:25 Mingjie XBS Note Added: 0001343
2024-03-04 10:28 Mingjie XBS Note Edited: 0001343
2024-03-04 15:56 Yihong Wu Note Added: 0001344
2024-03-08 00:09 Mingjie XBS Note Added: 0001351
2024-03-08 00:09 Mingjie XBS File Added: Screenshot-20240308-080428-1.png
2024-03-08 00:09 Mingjie XBS File Added: Screenshot-20240308-080523-1.png
2024-03-08 00:13 Mingjie XBS Note Edited: 0001351
2024-03-08 01:59 Yihong Wu Note Added: 0001352
2024-03-08 01:59 Yihong Wu Note Added: 0001353
2024-03-25 00:31 Mingjie XBS Note Added: 0001373
2024-03-25 00:31 Mingjie XBS File Added: Screenshot_20240325_075543-3.jpg
2024-03-25 00:31 Mingjie XBS File Added: Screenshot-20240325-080208-1-2.png
2024-03-25 00:31 Mingjie XBS File Added: Screenshot_20240325_080700_edit_85325805707812-2.jpg
2024-03-25 00:31 Mingjie XBS File Added: 202403250743191.jpg
2024-03-25 00:31 Mingjie XBS File Added: Expert-20240325-082350.txt
2024-03-25 00:40 Mingjie XBS Note Edited: 0001373
2024-03-25 00:43 Mingjie XBS Note Edited: 0001373
2024-03-25 03:49 Yihong Wu Note Added: 0001374
2024-03-26 01:06 Mingjie XBS Note Added: 0001375
2024-03-26 01:06 Mingjie XBS File Added: 1_edit_136107722569334.png
2024-03-26 01:06 Mingjie XBS File Added: 2_edit_136094547346941.png
2024-03-26 01:12 Mingjie XBS Note Edited: 0001375
2024-03-26 13:24 Mingjie XBS Note Edited: 0001375
2024-03-26 14:54 Mingjie XBS Note Edited: 0001375
2024-03-26 14:55 Mingjie XBS Note Edited: 0001375
2024-03-27 07:17 Yihong Wu Note Added: 0001376
2024-03-27 07:53 Mingjie XBS Note Added: 0001377
2024-03-27 08:17 Yihong Wu Note Added: 0001378
2024-03-27 08:44 Mingjie XBS Note Added: 0001379
2024-03-27 09:49 Yihong Wu Assigned To => Yihong Wu
2024-03-27 09:49 Yihong Wu Status new => closed
2024-03-27 09:49 Yihong Wu Resolution open => no change required
2024-03-27 09:49 Yihong Wu Note Added: 0001380