# 拜访位置寄存器（Visitor Location Register，VLR）

**拜访位置寄存器（VLR）**是GSM（全球移动通信系统）或UMTS（通用移动通信系统）移动网络中用于电路交换业务的位置寄存器，保存当前位于移动交换中心（Mobile Switching Centre，MSC）服务区域内的移动用户的临时记录。<sup>[13](https://www.etsi.org/deliver/etsi_ts/123000_123099/123002/10.04.00_60/ts_123002v100400p.pdf)</sup> 它是3GPP TS 23.002中定义的位置寄存器功能之一，区别于[归属位置寄存器](https://www.edgepedia.org/zh/home-location-register)（Home Location Register，HLR）；后者保存每个用户的永久记录。<sup>[1](https://itecspec.com/3gpp/rel-19/23.002/s/3.4)</sup>

| 关键事实 | 详情 |
|---|---|
| 作用 | 用于电路交换（Circuit Switched，CS）业务的位置寄存器，有别于HLR；MSC用它检索信息，以处理其区域内漫游移动台的来话或去话<sup>[1](https://itecspec.com/3gpp/rel-19/23.002/s/3.4)</sup> |
| 范围 | 一个VLR可负责一个或多个MSC区域<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup> |
| 注册 | 移动台进入新的位置区时启动注册程序；MSC将位置区标识传送给VLR<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup> |
| 存储的身份标识 | 国际移动用户识别码（International Mobile Subscriber Identity，IMSI）、移动台国际ISDN号码（Mobile Station International ISDN number，MSISDN）、移动台漫游号码（Mobile Station Roaming Number，MSRN）、适用时的临时移动台识别码（Temporary Mobile Station Identity，TMSI），以及使用时的本地移动台识别码（Local Mobile Station Identity，LMSI）<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup> |
| 位置数据 | MS注册所在的位置区，以及MS最后已知位置和初始位置<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup> |
| 跨域关联 | MS注册所在的服务GPRS支持节点（Serving GPRS Support Node，SGSN）的标识（Gs接口），以及受支持时移动性管理实体（Mobility Management Entity，MME）的标识（SGs接口）<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup> |
| 安全作用 | TMSI由VLR维护和更新，VLR可通过SS7 MAP查询<sup>[3](https://www.itu.int/epublications/publication/itu-t-q-3066-2026-01-principles-for-detection-and-mitigation-of-signalling-attacks-in-telecommunication-networks)</sup> |

## 在网络中的功能

为使移动台能够通信，网络必须知道该台所在的位置，这一信息存储在名为位置寄存器的功能中。位置寄存器功能由若干实体承担：HLR，是移动用户被分配到的寄存器，用于保存用户信息等记录；VLR，服务于电路交换域；对于分组业务，则由SGSN和网关节点承担。<sup>[1](https://itecspec.com/3gpp/rel-19/23.002/s/3.4)</sup>

VLR是MSC用来检索信息的寄存器，以处理当前位于其区域内的漫游移动台的来话或去话。在MSC区域或GERAN/UTRAN池区内漫游的移动台，由负责该区域的VLR控制。<sup>[1](https://itecspec.com/3gpp/rel-19/23.002/s/3.4)</sup><sup> • </sup><sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup> 在3GPP TS 23.008数据模型中，VLR包含呼叫处理及其他用途所需的全部用户数据，而HLR包含所有永久用户数据，以及在HLR中永久注册的全部用户的相关临时数据。<sup>[4](https://www.3gpp.org/FTP/tsg_cn/TSG_CN/TSGN_12/Docs/PDF/NP-010298.pdf)</sup>

## 注册与数据内容

当移动台（Mobile Station，MS）进入新的[位置区](https://www.edgepedia.org/zh/location-area)时，会启动注册程序。负责该区域的MSC会注意到该注册，并将MS所在位置区的标识传送给VLR。如果MS尚未在该VLR中注册，VLR与HLR会交换信息，以便正确处理涉及该MS的CS呼叫。<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup>

VLR保存处理其数据库中已注册MS所建立或接收的呼叫所需的信息；对于某些补充业务，它可能必须从HLR获取额外信息。其存储的用户数据包括：<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup>

- 国际移动用户识别码（IMSI）；
- 移动台国际ISDN号码（MSISDN）；
- 移动台漫游号码（MSRN），其分配原则见TS 23.003；
- 临时移动台识别码（TMSI），如适用；
- 本地移动台识别码（LMSI），如使用；
- 移动台已注册的位置区；
- MS已注册的SGSN的标识，仅适用于支持通用分组无线业务（General Packet Radio Service，GPRS）、且在MSC/VLR与SGSN之间设有Gs接口的公共陆地移动网络（Public Land Mobile Network，PLMN）；
- MS的最后已知位置和初始位置；
- MS已注册的MME的标识，仅适用于支持演进分组核心（Evolved Packet Core，EPC）和CS回退（CS Fallback）、且在MSC/VLR与MME之间设有SGs接口的PLMN。

VLR还包含附属于移动用户、并从HLR接收的补充业务参数；用户数据的组织方式在TS 23.008中规定。<sup>[2](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)</sup>

## 位置更新信令

MSC间位置更新程序展示了VLR如何与HLR配合。当移动台更新到新的MSC/VLR时，新VLR向HLR发送“更新位置”消息；随后HLR向旧VLR发送“取消位置”消息，旧VLR予以确认，HLR再向新VLR发送携带GSM用户数据的“插入用户数据”消息。这些MSC间程序完成后，HLR以“更新位置确认”响应，VLR则返回携带VLR TMSI的“位置更新接受”。<sup>[5](https://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_13/docs/PDF/sp-010507.pdf)</sup>

在设有Gs接口的情况下，SGSN可代表联合的GPRS/IMSI附着来更新VLR：SGSN向VLR发送“位置更新请求”，VLR通过存储SGSN的号码建立与该SGSN的关联，并在VLR中将MS标记为已GPRS附着。<sup>[5](https://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_13/docs/PDF/sp-010507.pdf)</sup> VLR通过Gs接口向SGSN发送的BSSAP+-LOCATION-UPDATE-ACCEPT消息表示，VLR中的更新或IMSI附着已经完成。<sup>[6](https://itecspec.com/3gpp/rel-19/29.018/s/17.1.9)</sup>

## 安全与暴露

VLR参与用户身份保护。临时移动用户识别码（Temporary Mobile Subscriber Identity，TMSI）是为在通信期间保护永久IMSI而分配的临时标识，由VLR维护和更新；在位置更新和用户数据检索期间，可通过SS7 MAP查询VLR。<sup>[3](https://www.itu.int/epublications/publication/itu-t-q-3066-2026-01-principles-for-detection-and-mitigation-of-signalling-attacks-in-telecommunication-networks)</sup> 同一份国际电信联盟电信标准化部门（ITU-T）的信令攻击分析将HLR/VLR、MSC和MME列为威胁行为者会查询的网元，他们使用SS7 MAP、GTP或Diameter消息来获取用户位置数据，例如实时小区信息、位置区码和小区全球标识。<sup>[3](https://www.itu.int/epublications/publication/itu-t-q-3066-2026-01-principles-for-detection-and-mitigation-of-signalling-attacks-in-telecommunication-networks)</sup>

在新VLR中使用TMSI进行位置更新时的鉴权，是GSM安全规范TS 43.020中定义的程序。<sup>[7](https://standards.iteh.ai/catalog/standards/etsi/b83ede3a-16fc-4d44-88ee-b6cb90056c65/etsi-ts-143-020-v8-2-0-2024-04)</sup> 3GPP TR 29.994中记录的故障案例也说明了VLR在身份管理中的作用：移动台在穿过不允许的区域后返回允许区域时，可能出示一个指向错误的前一VLR的旧TMSI，从而有造成TMSI-IMSI映射错误和加密失败的风险；从第8版起，MSC/VLR可在拒绝位置更新之前，在受限位置区内分配一个TMSI，从而迫使移动台立即发起新的位置更新请求，避免这些故障。<sup>[8](https://www.etsi.org/deliver/etsi_tr/129900_129999/129994/08.00.00_60/tr_129994v080000p.pdf)</sup>

## 相关寄存器与术语

网关位置寄存器（Gateway Location Register，GLR）在3GPP TR 23.909中进行了研究，是一种可选节点，逻辑上位于HLR与VLR之间，用于优化位置管理的网间信令。<sup>[9](https://www.etsi.org/deliver/etsi_TR/123900_123999/123909/03.00.01_60/tr_123909v030001p.pdf)</sup> 在TS 23.018等呼叫控制规范和CAMEL业务逻辑中，术语VLRA和VLRB分别标识哪个VLR与主叫用户（A方）关联、哪个与被叫用户（B方）关联。<sup>[10](https://3gpp-explorer.com/glossary/vlra/)</sup>

VLR属于2G和3G网络的电路交换核心网。随着运营商淘汰这些代际网络，该寄存器的作用也随之消退：英国（United Kingdom）四家移动网络运营商均已关闭3G网络，而根据政府同意的关停计划，英国的2G网络最迟将于2033年关闭。<sup>[11](https://www.ofcom.org.uk/phones-and-broadband/coverage-and-speeds/2g-and-3g-switch-off-our-expectations-of-mobile-providers)</sup><sup> • </sup><sup>[12](https://commonslibrary.parliament.uk/research-briefings/cbp-9959/)</sup>

## References

1. [3GPP TS 23.002, Section 3.4, Location register (Rel-19), iTecSpec](https://itecspec.com/3gpp/rel-19/23.002/s/3.4)
2. [3GPP TS 23.002, Section 4.1.1.2, The Visitor Location Register (Rel-19), iTecSpec](https://itecspec.com/3gpp/rel-19/23.002/s/4.1.1.2)
3. [ITU-T Q.3066 (01/2026), Principles for detection and mitigation of signalling attacks in telecommunication networks](https://www.itu.int/epublications/publication/itu-t-q-3066-2026-01-principles-for-detection-and-mitigation-of-signalling-attacks-in-telecommunication-networks)
4. [3GPP TS 23.008 (draft, TSG CN #12, NP-010298), Organization of subscriber data](https://www.3gpp.org/FTP/tsg_cn/TSG_CN/TSGN_12/Docs/PDF/NP-010298.pdf)
5. [3GPP TS 23.236 V2.0.0 (TSG SA #13, SP-010507), combined attach and location update procedures](https://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_13/docs/PDF/sp-010507.pdf)
6. [3GPP TS 29.018, Section 17.1.9, BSSAP+-LOCATION-UPDATE-ACCEPT message (Rel-19), iTecSpec](https://itecspec.com/3gpp/rel-19/29.018/s/17.1.9)
7. [ETSI TS 143 020 V8.2.0 (2024-04), GSM security, authentication at location updating in a new VLR using TMSI](https://standards.iteh.ai/catalog/standards/etsi/b83ede3a-16fc-4d44-88ee-b6cb90056c65/etsi-ts-143-020-v8-2-0-2024-04)
8. [3GPP TR 29.994 V8.0.0, Recommended infrastructure measures to overcome specific MS and UE faults](https://www.etsi.org/deliver/etsi_tr/129900_129999/129994/08.00.00_60/tr_129994v080000p.pdf)
9. [3GPP TR 23.909 V3.0.1, Technical Report on the Gateway Location Register, ETSI](https://www.etsi.org/deliver/etsi_TR/123900_123999/123909/03.00.01_60/tr_123909v030001p.pdf)
10. [VLRA, Visitor Location Register for the A-subscriber, 3GPP Glossary](https://3gpp-explorer.com/glossary/vlra/)
11. [3G and 2G switch-off, Ofcom](https://www.ofcom.org.uk/phones-and-broadband/coverage-and-speeds/2g-and-3g-switch-off-our-expectations-of-mobile-providers)
12. [Switching off 2G and 3G in the UK, House of Commons Library](https://commonslibrary.parliament.uk/research-briefings/cbp-9959/)
13. [etsi.org](https://www.etsi.org/deliver/etsi_ts/123000_123099/123002/10.04.00_60/ts_123002v100400p.pdf)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 电话系统与服务 › 移动与前蜂窝电话技术 › 早期蜂窝标准 › 蜂窝网络架构（移动电话交换局/移动交换中心）

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/visitor-location-register

English original: https://www.edgepedia.org/visitor-location-register
