MTK 資料帳號處理流程

來源:互聯網
上載者:User

1. custom_config_account.c 中定義資料存取點詳細資料
2. DataAccountApp.c 匹配SIM卡和存取點資訊
mmi_dtcnt_add_config_account()
 --》mmi_dtcnt_sim_match()
 --》mmi_dtcnt_add_sim_prof()
3. srv_dtcnt_db_store_add_prof()  
-->srv_dtcnt_db_store_acc_info_compose() 把存取點資訊寫入g_srv_dtcnt_store_ctx 全域變數,但是代理資訊沒有寫入,g_srv_dtcnt_store_ctx 沒有代理資訊的成員
4. srv_dtcnt_db_compose_acc_path() 建立儲存存取點資訊檔
srv_dtcnt_db_fileio_save_data() 把 完整的資訊,包含代理資訊寫入檔案系統

代理資訊的擷取:
1. srv_dtcnt_get_proxy_info()
srv_dtcnt_db_store_get_acc_info()  通過原始帳號匹配帳號對應全域變數g_srv_dtcnt_store_ctx的資料acc_info
擷取到acc_info則
srv_dtcnt_db_store_load_prof() 通過acc_info,在檔案系統帳號對應的詳細資料,包含代理等資訊
srv_dtcnt_db_store_parse_prof() 分析從檔案系統得到的資料,組成srv_dtcnt_prof_common_header_struct資料,對應custom_config_account.c中對應的資訊
沒有擷取到acc_info則
srv_dtcnt_db_store_get_sim_acc_info()

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.