החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
תמיכה ברשתות של מספר ספקים
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
במכשירים שיושקו עם Android מגרסה 11 ואילך תהיה תמיכה במספר רשתות ציבוריות של טלפוניה ניידת (PLMN). ב-Android 11 יש שיטות ב-Cell Identification APIs שמאפשרות לקבל מידע על רשתות PLMN נתמכות של תא כדי להבדיל בין ספקי שירותי סלולר לבין מפעילי רשתות.
תמיכה במספר רשתות PLMN מספקת גמישות למפעילי רשתות ניידות (MNO), ומאפשרת להם לשדר כמה זהויות. הצורך בכך נובע בעיקר מהסכמי שיתוף שבהם כמה ספקי MNO משתמשים בחומרה או במגדלים משותפים. בתרחיש עם מספר רשתות PLMN, כשמכשיר בוחר להירשם באמצעות מגדל ספציפי, הוא בוחר את רשת ה-PLMN שבה יתבצע הרישום. הפעולה הזו נועדה לנעול את הפרופיל של המכשיר לאותה רשת PLMN לכל התקשורת הבאה. השיטה getRegisteredPlmn
מאחזרת את ה-PLMN הרשום של המכשיר.
הטמעה
כדי לתמוך במספר רשתות PLMN במכשירים עם Android מגרסה 11 ואילך, צריך להטמיע את הפונקציות במיקומים הבאים ב-IRadio
.
IRadio.hal ו-IRadioResponse.hal
כדי לתמוך במספר PLMN, ב-HAL של Radio 1.5 הדיווח על המידע לגבי הרשת שבה המכשיר רשום שונה מהדיווח בגרסאות קודמות. ראשית, ה-PLMN הרשום (RPLMN) מדווח בנפרד כי בתאים עם כמה PLMN, יכול להיות ש-RPLMN הוא לא מזהה ה-PLMN הראשי. במבנים של CellIdentity
, התא מספק מזהה PLMN ראשי ורשימת מזהי PLMN נוספים. השדה RPLMN חייב להיות מזהה PLMN הראשי או אחד ממזהי PLMN הנוספים שצוינו במבנה CellIdentity
.
השינויים ב-HAL של Radio 1.5 משפיעים על שתי שיטות ה-HAL הבאות ב-IRadio.hal
(ועל שיטות התגובה התואמות שלהן ב-IRadioResponse.hal
).
getDataRegState_1_5
וגם getDataRegStateResult_1_5(RegStateResult
result)
getVoiceRegState_1_5
וגם getVoiceRegStateResult_1_5(RegStateresult
result)
types.hal
מטמיעים את הקוד הבא ב-types.hal
:
ClosedSubscriberGroupInfo
: כל מכונה של CellIdentity
יכולה לכלול את האפשרות הזו. המבנה הזה משמש כדי לספק פרטים על קבוצת המנויים הסגורה שאליה משויך תא, אם יש כזו. השיטה הזו משמשת בדרך כלל לזיהוי תאים קטנים, כמו מכשירי LTE אישיים. אפשר להשתמש בו גם בפריסות כמו CBRS LTE.
CellIdentityLte
: תמיכה ברשימת מזהי PLMN נוספים.
CellIdentityWcdma
: תמיכה ברשימת מזהי PLMN נוספים.
CellIdentityTdscdma
: תמיכה ברשימת מזהי PLMN נוספים.
RegStateResult
: כולל מבנה CellIdentity
מעודכן ושדה לציון ה-RPLMN.
אימות
כדי לבדוק את ההטמעה, מריצים את בדיקת ה-CTS הבאה: CellInfoTest
בזמן שהמכשיר רשום לרשת גישה לרדיו של מספר אופרטורים (MORAN) או לרשת ליבה של מספר אופרטורים (MOCN).
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Multi-operator network support\n\nDevices launching with Android 11 or higher can provide\nsupport for multiple public land mobile networks (PLMNs). Android\n11 includes methods in the\n[cell identification APIs](https://developer.android.com/reference/android/telephony/CellIdentity)\nto get information about a cell's supported PLMNs to distinguish between\ncellular service providers and network operators.\n\nMulti-PLMN support provides flexibility to mobile network operators (MNOs) by\nallowing them to broadcast multiple identities. This is primarily required to\nsupport sharing agreements where common hardware or towers are used by multiple\nMNOs. In a multi-PLMN scenario, when a device chooses to register using a\nparticular tower, it selects the PLMN to use for that registration, which locks\nthe device's *profile* to that PLMN for all ensuing communication. The\n[`getRegisteredPlmn`](https://developer.android.com/reference/android/telephony/NetworkRegistrationInfo#getRegisteredPlmn())\nmethod retrieves the registered PLMN for the device.\n\nImplementation\n--------------\n\nTo support multi-PLMN on devices running Android 11\nor higher, implement the functions in the following locations in\n[`IRadio`](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/android16-release/radio/1.5/).\n\n### IRadio.hal and IRadioResponse.hal\n\nIn the Radio 1.5 HAL, to support multi-PLMN, information about the network the\ndevice registers on is reported differently than previous versions. First, the\nregistered PLMN (RPLMN) is reported separately because on multi-PLMN cells, the\nRPLMN might not be the primary PLMN-ID. And in the `CellIdentity` structures,\nthe cell provides a primary PLMN-ID and a list of additional PLMN-IDs. The RPLMN\nmust be the primary PLMN-ID or one of the additional PLMN-IDs indicated in the\n`CellIdentity` structure.\n\nThe changes in the Radio 1.5 HAL impact the following two HAL methods in\n[`IRadio.hal`](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/android16-release/radio/1.5/IRadio.hal)\n(and their corresponding response methods in\n[`IRadioResponse.hal`](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/android16-release/radio/1.5/IRadioResponse.hal)).\n\n- `getDataRegState_1_5` and `getDataRegStateResult_1_5(RegStateResult\n result)`\n- `getVoiceRegState_1_5` and `getVoiceRegStateResult_1_5(RegStateresult\n result)`\n\n### types.hal\n\nImplement the following\nin [`types.hal`](https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/android16-release/radio/1.5/types.hal):\n\n- `ClosedSubscriberGroupInfo`: Included optionally with every `CellIdentity` instance. This structure is used to provide details about the closed subscriber group to which a cell belongs, if any. This is commonly used to identity *small cells* such as personal LTE devices. It can also be used in deployments such as CBRS LTE.\n- `CellIdentityLte`: Supports a list of additional PLMN-IDs.\n- `CellIdentityWcdma`: Supports a list of additional PLMN-IDs.\n- `CellIdentityTdscdma`: Supports a list of additional PLMN-IDs.\n- `RegStateResult`: Includes an updated `CellIdentity` structure and a field to indicate the RPLMN.\n\nValidation\n----------\n\nTo test your implementation, run the following CTS test:\n[`CellInfoTest`](https://android.googlesource.com/platform/cts/+/3c3d33a/tests/tests/telephony/src/android/telephony/cts/CellInfoTest.java)\nwhile registered to a multi-operator radio access network (MORAN) or\nmulti-operator core network (MOCN)."]]