Skip to content

Instantly share code, notes, and snippets.

@zhuziyi1989
Last active October 28, 2024 03:29
Show Gist options
  • Save zhuziyi1989/5e45b4d0e21da6213a50fc960176c5f2 to your computer and use it in GitHub Desktop.
Save zhuziyi1989/5e45b4d0e21da6213a50fc960176c5f2 to your computer and use it in GitHub Desktop.
四川交警防路边违停的解决方案

交通违停短信通知平台

四川交警

号码前缀: 12123510****

案例01: 121235100 案例02: 12123510051 案例03: 1212351005101 案例04: 121235101 案例05: 121235101106509180 案例06: 121235101106509180

成都交警(号码无规律)

案例01: 1068381510639910 案例02: 1068381510639910 案例03: 106908172710639910 案例04: 1069161410639910 案例05: 10681807216910639910 案例06: 1068187810639910 案例07: 106919251211002 案例08: 1068533412356 案例09: 1069161410639910 案例10: 1069480610639910 案例11: 10680449259810639910 案例12: 1069439710639910

成都市交管局

案例01: 106806272799109910

iPhone 用快捷指令自动化,可检测关键词短信,并执行相应命令(只支持 iOS17 和 iOS18)

原理:

  1. iPhone收到短信
  2. 快捷指令自动识别到设定的关键词
  3. 运行指定指令(如播放警告铃声)

调研:

  1. 在 iOS16 系统,以下自动化不能自动运行:到达、离开、通勤之前、电子邮件、信息、Wi-Fi、蓝牙,因此以上方案并不能自动化运行!大坑!
  2. 在 iOS17 以上系统,以下自动化不能自动运行:通勤之前,所以方案只支持 iOS17/18

参考1:https://support.apple.com/zh-cn/guide/shortcuts/apd602971e63/6.0/ios/16.0

参考2:https://support.apple.com/zh-cn/guide/shortcuts/apd602971e63/7.0/ios/17.0

以关键字“交警”为例:

  1. 首先打开【快捷指令】APP;
  2. 点击【自动化】;
  3. 点击右上角 + 号;
  4. 点击【创建个人自动化】;
  5. 点击【信息】;
  6. 不要点击【发件人】一栏,此栏无需填写;
  7. 点击【信息包含】→ 【选取】;
  8. 填写违停信息一定会出现的关键字眼,比如“交警”等,完成。
  9. 点击右上角【下一步】
  10. 点击【添加操作】,选取警报铃声或其他命令。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment