WO2013159753A1 - Method and device for remote access to local network - Google Patents

Method and device for remote access to local network Download PDF

Info

Publication number
WO2013159753A1
WO2013159753A1 PCT/CN2013/074971 CN2013074971W WO2013159753A1 WO 2013159753 A1 WO2013159753 A1 WO 2013159753A1 CN 2013074971 W CN2013074971 W CN 2013074971W WO 2013159753 A1 WO2013159753 A1 WO 2013159753A1
Authority
WO
WIPO (PCT)
Prior art keywords
local
user equipment
local network
access
remote access
Prior art date
Application number
PCT/CN2013/074971
Other languages
French (fr)
Chinese (zh)
Inventor
高晨亮
金辉
徐冠斌
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2013159753A1 publication Critical patent/WO2013159753A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • An apparatus for remotely accessing a local network includes: a receiving module, configured to: And receiving, by the user equipment, a packet data network connection request, where the connection request includes: remote access identifier information, and a learning module, configured to learn, according to the remote access identifier information, that the user equipment requests to establish a remote packet data network connection a determining module, configured to determine that the user equipment can remotely access the first local network; a selecting module, configured to select a first local gateway in the first local network; and a sending module, configured to send the first local a session request, the first create session request including an address of the first local gateway to establish a packet data network connection to the first local network by the first local gateway.
  • FIG. 13 is a schematic diagram of a local gateway according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of a local gateway according to another embodiment of the present invention. detailed description
  • Step 140 Select a first local gateway under the first local network.
  • Step 150 Send a first create session request, where the first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network by using the first local gateway.
  • the remote access identifier information may be identifier information of the remote access point, and is used to indicate an access point that performs remote access, for example, information of the MRA APN.
  • the information of the first local network may be the first local network identity information or the name (local network name).
  • the steps 501 to 504 are the same as those of the foregoing steps 301 to 304, and are not described herein again.
  • Step 505 The UE sends the information of the first local network to the server, where the information of the first local network may indicate the first local network that the UE wants to access; the information of the first local network may be, for example, the network identifier. Or name.
  • the server can parse the information of the first local network to obtain address information of the first local gateway under the first local network.
  • the UE may send a name resolution request to the mobile network server, the name resolution request including the name of the first local network.
  • Step 513 Establish a radio side and a core network side bearer, so that the UE establishes a PDN connection to the first local network through the first local gateway.
  • the device 800 of the embodiment includes: a receiving module 810, configured to receive a packet data network connection request sent by the user equipment, where the connection request includes address information of the first local gateway that the user equipment wants to access;
  • the obtaining module 820 is configured to learn, according to the address information of the first local gateway, that the user equipment requests to establish a remote packet data network connection, and the determining module 830, configured to indicate, by the user equipment, that the subscription data indicates that the user equipment allows In the case of remotely accessing the first local gateway, determining that the user equipment can remotely access the first local gateway; and sending module 840, configured to send a first create session request, where the first create session request includes The address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method and device for remote access to a local network. The method includes: receiving a packet data network connection request sent by user equipment, the connection request including remote access identification information; at least according to the remote access identification information, learning that the user equipment has requested the establishment of a remote package data network connection; determining that the user equipment can remotely access a first local network; selecting a first local gateway in the first local network; and sending a first session creation request, the first session creation request including the address of the first local gateway, so as to establish the package data network connection with the first local network by the first local gateway. The utilization of the above technical solution can realize the remote access of user equipment to a local network.

Description

用于远程接入本地网络的方法及装置  Method and device for remote access to local network
本申请要求于 2012 年 4 月 28 日提交中国专利局、 申请号为 201210142510.3、 名称为 "用于远程接入本地网络的方法及装置"的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。 This application claims priority to Chinese Patent Application No. 201210142510.3, entitled "Method and Apparatus for Remote Access to Local Network", filed on April 28, 2012, the entire contents of In this application.
技术领域 本发明涉及通信技术领域,特别涉及一种用于远程接入本地网络的方法及 装置。 背景技术 TECHNICAL FIELD The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for remote access to a local network. Background technique
在移动通信***中, 3GPP在节点 B (Node B,简称 NB) 和演进型节点 B (evolved Node B,简称 eNB) 的基础上提出了家庭 (演进型) 节点 B (Home (evolved) Node B, 简称 H(e)NB ) 的概念, H(e)NB主要应用于家庭与企业 环境下, 在 H(e)NB的需求中,包含了一类本地 IP接入(LIPA, Local IP Access) 业务。 本地 IP接入是指具有 IP能力的用户设备 (UE, User Equipment) 通过 H(e)NB无线接入到相同家庭 /企业 IP网络的其他具有 IP能力的实体中。 本地 IP接入中业务数据的执行, 不通过运营商的核心网。  In the mobile communication system, 3GPP proposes a Home (evolved) Node B based on a Node B (Node B, NB for short) and an evolved Node B (eNB). Referred to as H(e)NB), H(e)NB is mainly used in home and enterprise environments. In the H(e)NB requirements, it includes a type of local IP access (LIPA) service. . Local IP access refers to IP-enabled user equipment (UE, User Equipment) wirelessly accessing other IP-capable entities of the same home/enterprise IP network through H(e)NB. The execution of service data in local IP access does not pass through the carrier's core network.
在本地网络( LHN, Local H(e)NB Network )中定义了一系列的 H(e)NB。 这些 H(e)NB与一个或多个本地网关 (L-GW, Local Gateway)有 IP连接。 这 些 L-GW可以通过本地分组数据网络 (PDN(s), Packet Data Network(s))进行 LIPA。 同时, 一个 H(e)NB只属于一个单独的 LHN, —个 L-GW只属于一个 单独的 LHN, —个 L-GW可接入一个多几个 PDNs。并且,可以通过多个 LHNs 接入一个 PDN。  A series of H(e)NBs are defined in the local network (LHN, Local H(e)NB Network). These H(e)NBs have an IP connection with one or more local gateways (L-GW, Local Gateway). These L-GWs can perform LIPA through a local packet data network (PDN(s), Packet Data Network(s)). At the same time, one H(e)NB belongs to only one single LHN, and one L-GW belongs to only one single LHN, and one L-GW can access one more PDNs. Also, one PDN can be accessed through multiple LHNs.
针对 L-GW还提出了新的网络架构。 在该新的架构中 L-GW是一个本地 网络中新的单独的逻辑实体, 它通过 S5接口连接到服务网关(S-GW)或服务 GPRS支持节点 ( Serving GPRS Support Node, SGSN), 同时 L-GW通过一 个新的 Sxx接口连接到 H(e)NB。 除了本地 IP接入外,还提出了具有 IP能力的 UE远程接入到家庭 /企业 IP 网络中其他具有 IP能力的实体中的需求, 即远程接入本地网络的需求。 这种 远程接入本地网络的业务可以被称为被管理的远程接入 (MRA, Managed Remote Access) 业务。 例如, 该业务可以是通过移动终端如手机远程接入家 庭网络访问家里的电脑, 以与朋友分享周末出去游玩拍摄的视频 。 此时我们 称家庭 /企业 IP 网络为本地网络, 该本地网络可以包括 H(e)NB, 本地网关及 其他 IP 设备, 如家庭 /企业中的电脑等; 其中, 当不在本地网络里接入家庭 / 企业 IP网络时, 称其为远程接入本地网络; 而当移动到本地网络后接入家庭 / 企业 IP网络时, 称其为本地 IP接入。 现有技术并未给出能够实现通过用户设备远程接入本地网络的方法。 发明内容 A new network architecture has also been proposed for L-GW. In this new architecture, the L-GW is a new separate logical entity in the local network, which is connected to the Serving GPRS Support Node (SGSN) via the S5 interface or the Serving GPRS Support Node (SGSN). -GW connects to H(e)NB via a new Sxx interface. In addition to local IP access, there is also a need for IP-capable UEs to remotely access other IP-capable entities in the home/enterprise IP network, ie the need to remotely access the local network. Such remote access to the local network's services may be referred to as Managed Remote Access (MRA) services. For example, the service may be to access a home computer through a mobile terminal such as a mobile phone remote access home network to share a video of a weekend trip with friends. At this point, we refer to the home/enterprise IP network as the local network. The local network can include H(e)NB, local gateway and other IP devices, such as computers in the home/enterprise; where, when the home network is not connected to the home network / Enterprise IP network, which is called remote access to the local network; when it is connected to the local network and access the home/enterprise IP network, it is called local IP access. The prior art does not teach a method that enables remote access to a local network through a user equipment. Summary of the invention
考虑到现有技术的上述问题,本发明的实施例提出一种用于远程接入本地 网络的方法及装置, 以实现用户设备对本地网络的远程接入。  In view of the above problems of the prior art, embodiments of the present invention provide a method and apparatus for remote access to a local network to implement remote access of a user equipment to a local network.
本发明一实施例用于远程接入本地网络的方法,包括: 接收用户设备发送 的分组数据网络连接请求, 所述连接请求中包括: 远程接入标识信息; 至少根 据所述远程接入标识信息获知所述用户设备请求建立远程分组数据网络连接; 确定所述用户设备可以远程接入所述第一本地网络;选择所述第一本地网络下 的第一本地网关; 发送第一创建会话请求,所述第一创建会话请求包含所述第 一本地网关的地址,以通过所述第一本地网关建立到所述第一本地网络的分组 数据网络连接。  The method for remotely accessing a local network according to an embodiment of the present invention includes: receiving a packet data network connection request sent by a user equipment, where the connection request includes: remote access identifier information; at least according to the remote access identifier information Obtaining that the user equipment requests to establish a remote packet data network connection; determining that the user equipment can remotely access the first local network; selecting a first local gateway in the first local network; sending a first creation session request, The first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
本发明另一实施例的用于远程接入本地网络的方法,包括: 接收用户设备 发送的分组数据网络连接请求,所述连接请求中包括所述用户设备想要接入的 第一本地网关的地址的信息; 根据所述第一本地网关的地址的信息,获知所述 用户设备请求建立远程分组数据网络连接;如果所述用户设备的签约数据指示 所述用户设备允许远程接入所述第一本地网关,则确定所述用户设备可以远程 接入所述第一本地网关; 发送第一创建会话请求, 所述第一创建会话请求包含 所述第一本地网关的地址,以通过所述第一本地网关建立到第一本地网络的分 组数据网络连接。  A method for remotely accessing a local network according to another embodiment of the present invention includes: receiving a packet data network connection request sent by a user equipment, where the connection request includes a first local gateway that the user equipment wants to access Information of the address; according to the information of the address of the first local gateway, the user equipment is requested to establish a remote packet data network connection; if the subscription data of the user equipment indicates that the user equipment allows remote access to the first Determining, by the local gateway, that the user equipment can remotely access the first local gateway; sending a first create session request, where the first create session request includes an address of the first local gateway, to pass the first The local gateway establishes a packet data network connection to the first local network.
本发明一实施例的用于远程接入本地网络的装置, 包括: 接收模块, 用于 接收用户设备发送的分组数据网络连接请求,所述连接请求中包括: 远程接入 标识信息; 获知模块,用于至少根据所述远程接入标识信息获知所述用户设备 请求建立远程分组数据网络连接; 确定模块,用于确定所述用户设备可以远程 接入所述第一本地网络; 选择模块,用于选择所述第一本地网络下的第一本地 网关; 发送模块, 用于发送第一创建会话请求, 所述第一创建会话请求包含所 述第一本地网关的地址,以通过所述第一本地网关建立到所述第一本地网络的 分组数据网络连接。 An apparatus for remotely accessing a local network according to an embodiment of the present invention includes: a receiving module, configured to: And receiving, by the user equipment, a packet data network connection request, where the connection request includes: remote access identifier information, and a learning module, configured to learn, according to the remote access identifier information, that the user equipment requests to establish a remote packet data network connection a determining module, configured to determine that the user equipment can remotely access the first local network; a selecting module, configured to select a first local gateway in the first local network; and a sending module, configured to send the first local a session request, the first create session request including an address of the first local gateway to establish a packet data network connection to the first local network by the first local gateway.
本发明另一实施例的用于远程接入本地网络的装置, 包括: 接收模块, 用 于接收用户设备发送的分组数据网络连接请求,所述连接请求中包括所述用户 设备想要接入的第一本地网关的地址的信息; 获知模块,用于根据所述第一本 地网关的地址的信息, 获知所述用户设备请求建立远程分组数据网络连接; 确 定模块,用于在所述用户设备的签约数据指示所述用户设备允许远程接入所述 第一本地网关的情况下, 确定所述用户设备可以远程接入所述第一本地网关; 发送模块, 用于发送第一创建会话请求,所述第一创建会话请求包含所述第一 本地网关的地址,以通过所述第一本地网关建立到第一本地网络的分组数据网 络连接。  An apparatus for remotely accessing a local network according to another embodiment of the present invention includes: a receiving module, configured to receive a packet data network connection request sent by a user equipment, where the connection request includes the user equipment that the user equipment wants to access Information about the address of the first local gateway; the learning module, configured to learn, according to the information of the address of the first local gateway, that the user equipment requests to establish a remote packet data network connection; and the determining module is configured to be used by the user equipment When the subscription data indicates that the user equipment allows the remote access to the first local gateway, determining that the user equipment can remotely access the first local gateway; and sending a module, configured to send a first create session request, where The first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
本发明实施例的用户设备, 包括: 远程接入确定模块, 用于确定要进行的 接入为远程接入; 发送模块,用于在所述远程接入模块确定要进行的接入为远 程接入时, 发送分组数据网络连接请求, 所述连接请求中包括: 远程接入标识 信息。  The user equipment of the embodiment of the present invention includes: a remote access determining module, configured to determine that the access to be performed is remote access; and a sending module, configured to determine, at the remote access module, that the access to be performed is remotely connected When the packet is sent, the packet data network connection request is sent, and the connection request includes: remote access identifier information.
本发明另一实施例的种用户设备, 包括: 第一发送模块, 用于发送分组数 据网络连接请求, 所述连接请求还包括: 所述用户设备想要接入的第一本地网 关的地址的信息。  A user equipment of another embodiment of the present invention includes: a first sending module, configured to send a packet data network connection request, where the connection request further includes: an address of the first local gateway that the user equipment wants to access information.
本发明实施例的本地网关, 包括: 接收模块, 用于接收创建会话请求, 所 述创建会话请求中包括: 远程接入指示信息; 确定模块, 用于根据所述远程接 入指示信息确定当前进行的接入为远程接入; 发送模块,用于发送创建会话响 应。  The local gateway of the embodiment of the present invention includes: a receiving module, configured to receive a create session request, where the create session request includes: remote access indication information, and a determining module, configured to determine, according to the remote access indication information, that the current gateway is The access is remote access; the sending module is configured to send a create session response.
本发明一实施例的用于远程接入本地网络的装置, 包括: 存储器, 用于存 储指令; 处理器, 其与所述存储器耦合, 该处理器被配置为执行存储在所述存 储器中的指令, 其中, 所述处理器被配置为用于: 接收用户设备发送的分组数 据网络连接请求, 所述连接请求中包括: 远程接入标识信息; 至少根据所述远 程接入标识信息获知所述用户设备请求建立远程分组数据网络连接;确定所述 用户设备可以远程接入所述第一本地网络选择所述第一本地网络下的第一本 地网关; 发送第一创建会话请求, 所述第一创建会话请求包含所述第一本地网 关的地址,以通过所述第一本地网关建立到所述第一本地网络的分组数据网络 连接。 An apparatus for remotely accessing a local network according to an embodiment of the present invention, comprising: a memory for storing an instruction; a processor coupled to the memory, the processor being configured to execute an instruction stored in the memory The processor is configured to: receive the number of packets sent by the user equipment According to the network connection request, the connection request includes: remote access identification information; at least according to the remote access identification information, the user equipment requests to establish a remote packet data network connection; and determining that the user equipment can remotely access the network The first local network selects the first local gateway under the first local network; sends a first create session request, where the first create session request includes an address of the first local gateway to pass the first local The gateway establishes a packet data network connection to the first local network.
本发明另一实施例的用于远程接入本地网络的装置, 包括: 存储器, 用于 存储指令; 处理器, 其与所述存储器耦合, 该处理器被配置为执行存储在所述 存储器中的指令, 其中, 所述处理器被配置为用于: 接收用户设备发送的分组 数据网络连接请求,所述连接请求中包括所述用户设备想要接入的第一本地网 关的地址的信息; 根据所述第一本地网关的地址的信息, 获知所述用户设备请 求建立远程分组数据网络连接;如果所述用户设备的签约数据指示所述用户设 备允许远程接入所述第一本地网关,则确定所述用户设备可以远程接入所述第 一本地网关; 发送第一创建会话请求, 所述第一创建会话请求包含所述第一本 地网关的地址,以通过所述第一本地网关建立到第一本地网络的分组数据网络 连接。 利用本发明实施例的方法和装置,移动管理实体可以识别远程接入本地网 络业务, 并且可以获得远程接入本地网络的本地网关的地址, 从而能实现用户 设备远程接入本地网络, 便于向用户提供更多样化的服务。 附图说明  An apparatus for remotely accessing a local network in accordance with another embodiment of the present invention, comprising: a memory for storing instructions; a processor coupled to the memory, the processor being configured to execute storage in the memory An instruction, where the processor is configured to: receive a packet data network connection request sent by the user equipment, where the connection request includes information of an address of the first local gateway that the user equipment wants to access; Determining, by the information of the address of the first local gateway, that the user equipment requests to establish a remote packet data network connection; if the subscription data of the user equipment indicates that the user equipment allows remote access to the first local gateway, determining The user equipment may remotely access the first local gateway; send a first create session request, where the first create session request includes an address of the first local gateway, to establish to the first local gateway A packet data network connection to a local network. With the method and the device of the embodiment of the present invention, the mobility management entity can identify the remote access to the local network service, and obtain the address of the local gateway that remotely accesses the local network, so that the user equipment can access the local network remotely, which is convenient for the user. Provide a more diverse service. DRAWINGS
本发明的目的、特点、特征和优点通过以下结合附图的详细描述将变得显 而易见。 其中:  The objects, features, characteristics and advantages of the present invention will become apparent from among them:
图 1是根据本发明一实施例的用于远程接入本地网络的方法的流程图; 图 2是根据本发明另一实施例的用于远程接入本地网络的方法的流程图; 图 3是根据本发明另一实施例的用于远程接入本地网络的方法的流程图; 图 4是根据本发明另一实施例的用于远程接入本地网络的方法的流程图; 图 5是根据本发明另一实施例的用于远程接入本地网络的方法的流程图; 图 6是根据本发明一实施例的用于远程接入本地网络的装置的示意图; 图 7是根据本发明另一实施例的用于远程接入本地网络的装置的示意图; 图 8是根据本发明另一实施例的用于远程接入本地网络的装置的示意图; 图 9是根据本发明一实施例的用户设备的示意图; 1 is a flow chart of a method for remote access to a local network according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for remote access to a local network according to another embodiment of the present invention; A flowchart of a method for remotely accessing a local network according to another embodiment of the present invention; FIG. 4 is a flowchart of a method for remote access to a local network according to another embodiment of the present invention; A flowchart of a method for remotely accessing a local network according to another embodiment of the invention; FIG. 6 is a schematic diagram of an apparatus for remote access to a local network according to an embodiment of the present invention; FIG. 7 is another embodiment of the present invention. A schematic diagram of an apparatus for remote access to a local network; FIG. 8 is a schematic diagram of an apparatus for remotely accessing a local network according to another embodiment of the present invention; FIG. 9 is a schematic diagram of a user equipment according to an embodiment of the present invention; FIG.
图 10是根据本发明另一实施例的用户设备的示意图;  FIG. 10 is a schematic diagram of a user equipment according to another embodiment of the present invention; FIG.
图 11为本发明另一实施例的用户设备的示意图;  FIG. 11 is a schematic diagram of a user equipment according to another embodiment of the present invention; FIG.
图 12为本发明另一实施例的用户设备的示意图;  FIG. 12 is a schematic diagram of a user equipment according to another embodiment of the present invention; FIG.
图 13为本发明实施例的本地网关的示意图; 图 14为本发明另一实施例的本地网关的示意图。 具体实施方式  FIG. 13 is a schematic diagram of a local gateway according to an embodiment of the present invention; FIG. 14 is a schematic diagram of a local gateway according to another embodiment of the present invention. detailed description
下面将结合附图详细描述本发明的各个实施例。 图 1是根据本发明实施例的用于远程接入本地网络的方法的流程图。 图 1 所示出的本发明实施例的用于远程接入本地网络的方法包括如下歩骤:  Various embodiments of the present invention will be described in detail below with reference to the drawings. 1 is a flow chart of a method for remote access to a local network in accordance with an embodiment of the present invention. The method for remotely accessing a local network in the embodiment of the present invention shown in FIG. 1 includes the following steps:
歩骤 110,接收用户设备发送的分组数据网络(PDN, Packet Data Network) 连接请求, 其中, 连接请求中包括: 远程接入标识信息, 该远程接入标识信息 用于标识用户设备进行的接入为远程接入; 示例性地, 远程接入标识信息可以 是远程接入点的标识信息, 用于对进行远程接入的接入点进行指示; 具体地, 例如可以为远程接入点名 (APN, Access Point Name ) 。  Step 110: Receive a packet data network (PDN) connection request sent by the user equipment, where the connection request includes: remote access identifier information, where the remote access identifier information is used to identify the access performed by the user equipment. For example, the remote access identifier information may be the identifier information of the remote access point, and is used to indicate the access point that performs remote access; specifically, for example, the remote access point name (APN) , Access Point Name ).
歩骤 120, 至少根据所述远程接入标识信息获知所述用户设备请求建立远 程分组数据网络连接。  Step 120: Obtain, according to the remote access identifier information, that the user equipment requests to establish a remote packet data network connection.
歩骤 130, 确定所述用户设备可以远程接入第一本地网络。  Step 130: Determine that the user equipment can remotely access the first local network.
该歩骤中, 如果所述连接请求中包括第一本地网络的信息, 并且所述用户 设备的签约数据指示所述用户设备允许远程接入所述第一本地网络,则确定所 述用户设备可以远程接入第一本地网络; 其中,连接请求中包括的本地网络的 信息通常为用户设备想要接入的本地网络的信息;第一本地网络的信息用于对 第一本地网络进行指示。如果所述连接请求中不包括对本地网络进行指示的本 地网络信息, 则将默认的本地网络确定为所述第一本地网络,所述默认的本地 网络为所述用户设备的签约数据中所指示的所述用户设备允许远程接入的默 认本地网络。  In this step, if the connection request includes information of the first local network, and the subscription data of the user equipment indicates that the user equipment allows remote access to the first local network, determining that the user equipment may Remotely accessing the first local network; wherein the information of the local network included in the connection request is usually information of a local network that the user equipment wants to access; and the information of the first local network is used to indicate the first local network. If the connection request does not include local network information indicating the local network, determining a default local network as the first local network, where the default local network is indicated in the subscription data of the user equipment The user equipment allows a default local network for remote access.
歩骤 140, 选择第一本地网络下的第一本地网关。 歩骤 150, 发送第一创建会话请求, 所述第一创建会话请求包含所述第一 本地网关的地址,以通过所述第一本地网关建立到所述第一本地网络的分组数 据网络连接。 Step 140: Select a first local gateway under the first local network. Step 150: Send a first create session request, where the first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network by using the first local gateway.
优选地, 在歩骤 130确定所述用户设备可以远程接入第一本地网络之前, 获取用户设备的签约数据。其中, 示例性地, 可以是在歩骤 110之前或与在执 行歩骤 110的同时, 获取上述签约数据。  Preferably, before the step 130 determines that the user equipment can remotely access the first local network, the subscription data of the user equipment is obtained. For example, the contract data may be obtained before the step 110 or concurrently with the execution of the step 110.
其中, 上述签约数据至少包括: 远程接入允许信息和允许远程接入的本地 网络的信息中的一项。 可以用一远程接入标识来标示是否允许进行远程接入, 当远程接入标识设置成第一值时, 标识 UE允许进行远程接入; 当远程接入标 识设置成第二值时, 标识 UE不允许进行远程接入。  The foregoing subscription data includes at least one of: remote access permission information and information of a local network that allows remote access. A remote access identifier may be used to indicate whether remote access is allowed. When the remote access identifier is set to a first value, the UE is allowed to perform remote access; when the remote access identifier is set to a second value, the UE is identified. Remote access is not allowed.
在一种实现中,签约数据可以包括: 远程接入允许信息和允许远程接入的 本地网络的信息两者。 根据远程接入允许信息确定 UE允许进行远程接入; 根 据允许接入的本地网络信息来确定 UE是否允许接入 UE想要接入的第一本地 网络。  In one implementation, the subscription data can include: both remote access permission information and information of a local network that allows remote access. Determining, according to the remote access permission information, that the UE allows remote access; determining whether the UE allows access to the first local network that the UE wants to access according to the local network information that is allowed to access.
在另一种具体实现中,签约数据可以只包括远程接入允许信息。可以设置 成, 当签约数据包括远程接入允许信息时, 表示 UE允许远程接入任何本地网 络。  In another specific implementation, the subscription data may include only remote access permission information. It may be set that when the subscription data includes remote access permission information, it indicates that the UE allows remote access to any local network.
在又一种具体实现中,签约数据可以只包括允许远程接入的本地网络的信 息。 可以设置成, 当 UE的签约数据中包括该信息时, 即表示 UE允许远程接 入该本地网络。  In yet another specific implementation, the subscription data may only include information of the local network that is allowed to access remotely. It may be set that when the UE includes the information in the subscription data, it indicates that the UE allows remote access to the local network.
上述第一本地网络的信息可以是, 例如, 第一本地网络的标识、第一本地 网络的名称等。  The information of the first local network may be, for example, an identifier of the first local network, a name of the first local network, and the like.
在本发明的另一个实施例中,如果用户设备想要接入的本地网络为第一本 地网络, 并且用户设备已经签约允许远程接入多个本地网络, 在这种情况下, 当用户设备允许远程接入的多个本地网络中包括第一本地网络时,确定用户设 备可以远程接入第一本地网络。  In another embodiment of the present invention, if the local network that the user equipment wants to access is the first local network, and the user equipment has subscribed to allow remote access to multiple local networks, in this case, when the user equipment allows When the first local network is included in multiple local networks of remote access, it is determined that the user equipment can remotely access the first local network.
本发明实施例的方法可以由移动管理实体 (MME, Mobile Management Entity) 来执行。  The method of the embodiment of the present invention may be performed by a Mobile Management Entity (MME).
图 2是根据本发明另一实施例的用于远程接入本地网络的方法的流程图。 图 2所示的本发明实施例的用于远程接入本地网络的方法包括如下歩骤: 歩骤 210, 接收用户设备发送的分组数据网络连接请求, 其中, 连接请求 中包括用户设备想要接入的第一本地网关的地址的信息。 2 is a flow chart of a method for remote access to a local network in accordance with another embodiment of the present invention. The method for remotely accessing a local network in the embodiment of the present invention shown in FIG. 2 includes the following steps: Step 210: Receive a packet data network connection request sent by the user equipment, where the connection request includes information about an address of the first local gateway that the user equipment wants to access.
歩骤 220, 根据第一本地网关的地址信息, 获知所述用户设备请求建立远 程分组数据网络连接。  Step 220: Obtain, according to the address information of the first local gateway, that the user equipment requests to establish a remote packet data network connection.
该歩骤中, 示例性地, 可以通过判断第一本地网关与所述用户设备的接入 基站是否直接连接来获知用户设备是否请求远程分组数据网络连接;如果第一 本地网关与所述用户设备的接入基站不是直接连接,则可以知道用户设备请求 建立远程分组数据网络连接;如果第一本地网关与所述用户设备的接入基站是 直接连接, 则可以知道用户设备请求建立的不是远程分组数据网络连接。  In this step, by way of example, it may be determined whether the user equipment requests a remote packet data network connection by determining whether the first local gateway is directly connected to the access base station of the user equipment; if the first local gateway and the user equipment If the access base station is not directly connected, it can be known that the user equipment requests to establish a remote packet data network connection; if the first local gateway is directly connected to the access base station of the user equipment, it can be known that the user equipment requests to establish not a remote grouping Data network connection.
歩骤 230, 如果用户设备的签约数据指示用户设备允许远程接入所述第一 本地网关, 则确定所述用户设备可以远程接入所述第一本地网关。  Step 230: If the subscription data of the user equipment indicates that the user equipment allows remote access to the first local gateway, determining that the user equipment can remotely access the first local gateway.
歩骤 240, 发送第一创建会话请求, 所述第一创建会话请求包含所述第一 本地网关的地址,以通过所述第一本地网关建立到第一本地网络的分组数据网 络连接。  Step 240: Send a first create session request, where the first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network by using the first local gateway.
优选地, 在歩骤 230之前, 获取用户设备的签约数据。 示例性地, 可以是 在歩骤 210之前或者在执行歩骤 210的同时, 获取上述签约数据。其中, 上述 签约数据至少包括:远程接入允许信息和允许远程接入的本地网关的地址信息 中的一项。优选地, 在另一实施例中, 上述第一本地网关的地址信息可以是用 户设备在发送分组数据网络连接请求前从服务器中获得的。具体的获得方式可 以是用户设备将想要接入的第一本地网络的标识或名称发送到能对标识或名 称进行解析的服务器, 由该服务器对第一本地网络的标识或名称进行解析, 并 将解析后获得的该第一本地网络下的第一本地网关的地址的信息发送至用户 设备。用户设备接收上述第一本地网关的地址。然后, 用户设备可以直接在上 述连接请求中包含该第一本地网关的地址,从而接收该连接请求的装置如移动 管理实体则无需再获取该第一本地网关的地址。  Preferably, before the step 230, the subscription data of the user equipment is obtained. Illustratively, the subscription data may be obtained prior to step 210 or while step 210 is being performed. The foregoing subscription data includes at least one of: remote access permission information and address information of a local gateway that allows remote access. Preferably, in another embodiment, the address information of the first local gateway may be obtained by the user equipment from the server before sending the packet data network connection request. The specific obtaining manner may be that the user equipment sends the identifier or name of the first local network that the user equipment wants to access to a server that can resolve the identifier or the name, and the server analyzes the identifier or name of the first local network, and Sending information of the address of the first local gateway under the first local network obtained after parsing to the user equipment. The user equipment receives the address of the first local gateway. Then, the user equipment can directly include the address of the first local gateway in the connection request, so that the device that receives the connection request, such as the mobility management entity, does not need to acquire the address of the first local gateway.
图 3是本发明另一实施例的用于远程接入本地网络的方法的流程图。 图 3 所示的方法包括如下歩骤:  3 is a flow chart of a method for remote access to a local network in accordance with another embodiment of the present invention. The method shown in Figure 3 includes the following steps:
歩骤 301, UE发送附着请求消息或者跟踪区更新请求消息, 该附着请求 消息或者跟踪区更新请求消息中包含用户标识,例如国际移动用户标识 (IMSI, International Mobile Subscriber Identity)或全球唯一临时标识(GUTI, Globally Unique Temporary Identity)。 Step 301: The UE sends an attach request message or a tracking area update request message, where the attach request message or the tracking area update request message includes a user identifier, such as an International Mobile Subscriber Identity (IMSI) or a globally unique temporary identifier ( GUTI, Globally Unique Temporary Identity).
歩骤 302, MME向归属用户服务器 (HSS, Home Subscriber Server) 发 送更新位置请求消息, 其中携带当前 MME的标识。  Step 302: The MME sends an update location request message to the Home Subscriber Server (HSS), where the MME carries the identifier of the current MME.
歩骤 303, HSS向 MME回复更新位置确认消息, 其中携带 UE的签约数 据。该实施例中,该签约数据至少包括如下信息中的一项:远程接入允许信息, 例如 UE的 MRA允许标识; 以及允许远程接入的本地网络的信息, 例如可以 是 UE允许远程接入的本地网络的标识或名称。 其中, 远程接入允许信息可以 指示用户设备是否允许使用远程接入本地网络业务;允许远程接入的本地网络 的信息可以指示哪些本地网络允许用户设备进行远程接入。  Step 303: The HSS returns an update location confirmation message to the MME, where the UE carries the subscription data of the UE. In this embodiment, the subscription data includes at least one of the following information: remote access permission information, such as an MRA permission identifier of the UE; and information of a local network that allows remote access, for example, the UE may allow remote access. The ID or name of the local network. The remote access permission information may indicate whether the user equipment allows remote access to local network services; the information of the local network that allows remote access may indicate which local networks allow the user equipment to perform remote access.
歩骤 304, MME向 UE回复附着接受消息或跟踪区更新接受消息。  Step 304: The MME replies to the UE with an attach accept message or a tracking area update accept message.
歩骤 305, UE确定当前进行的接入为远程接入。  Step 305: The UE determines that the currently performed access is remote access.
示例性地, 该歩骤可以包括 UE判断 UE的当前服务小区是否属于本地网 络; 如果不属于本地网络, 则 UE可以确定是要进行远程本地接入; 如果属于 本地网络,则可以进一歩判断该本地网络与 UE想要接入的本地网络是否相同; 如相同, 则要进行的不是远程接入; 如不同, 则要进行的是远程接入。  Exemplarily, the step may include the UE determining whether the current serving cell of the UE belongs to the local network; if not belonging to the local network, the UE may determine that the remote local access is to be performed; if it belongs to the local network, the UE may further determine Whether the local network is the same as the local network that the UE wants to access; if it is the same, it is not remote access; if it is different, it is remote access.
示例地, 在 UE的当前服务小区有本地网络信息的情况下, 可以通过判断 UE的当前服务小区为本地网络(也称为第二本地网络),并且可以进一歩根据 该本地网络的信息判断该第二本地网络与 UE想要接入的第一本地网络是否相 同来确定是否进行远程接入; 如果相同, 则进行的不是远程接入业务; 如果不 同, 则进行的是远程接入业务。  For example, in a case where the current serving cell of the UE has local network information, it may be determined that the current serving cell of the UE is a local network (also referred to as a second local network), and may further determine the information according to the information of the local network. Whether the second local network is the same as the first local network that the UE wants to access to determine whether to perform remote access; if the same, the remote access service is not performed; if not, the remote access service is performed.
具体地, 该歩骤可以包括: UE获得当前服务小区的本地网络 (也称为第 二本地网络)的信息, 该信息可以是第二本地网络的标识; 在比较该第二本地 网络的标识与想要接入的第一本地网络的标识是否相同,以判断第二本地网络 与第一本地网络是否相同; 如果两者的标识相同, 则获知 UE进行的是本地 IP 接入业务; 否则, 获知 UE进行的是远程接入业务。  Specifically, the step may include: obtaining, by the UE, information about a local network (also referred to as a second local network) of the current serving cell, where the information may be an identifier of the second local network; comparing the identifier of the second local network with Whether the identity of the first local network that is to be accessed is the same, to determine whether the second local network is the same as the first local network; if the identifiers of the two are the same, it is learned that the UE performs the local IP access service; otherwise, it is known The UE performs a remote access service.
示例性地, 对于当前服务小区有本地网络信息的情况, UE可以通过接收 ***广播消息或者无线资源控制 (RRC, Radio Resource Control) 消息来获得 上述第二本地网络的标识。  For example, in a case where the current serving cell has local network information, the UE may obtain the identifier of the second local network by receiving a system broadcast message or a Radio Resource Control (RRC) message.
或者,在另一个示例中,也可以是 UE的当前服务小区没有本地网络信息, 即当前服务小区不属于任何一个本地网络; 则对于这种情况, 如果 UE想要接 入一本地网络, 则可以知道 UE进行的是远程接入业务。 具体地, 例如, 如果 UE当前的服务小区是一个宏基站, 不是家庭 (演进型) 基站, 而 UE要通过 宏基站接入本地网络, 则可以知道 UE进行的是远程接入本地网络业务。 Or, in another example, the current serving cell of the UE does not have local network information, that is, the current serving cell does not belong to any local network; After entering a local network, it can be known that the UE performs a remote access service. Specifically, for example, if the current serving cell of the UE is a macro base station, not a home (evolved type) base station, and the UE is to access the local network through the macro base station, it may be known that the UE performs remote access to the local network service.
歩骤 306,如果 UE确定出当前进行的是远程接入业务,则其发起 PDN连 接请求,该 PDN连接请求中包含:远程接入标识信息和第一本地网络的信息, 其中, 该第一本地网络为 UE想接入的本地网络, 该第一本地网络的信息用于 对第一本地网络进行指示。  Step 306: If the UE determines that the remote access service is currently being performed, it initiates a PDN connection request, where the PDN connection request includes: remote access identification information and information of the first local network, where the first local The network is a local network that the UE wants to access, and the information of the first local network is used to indicate the first local network.
其中, 远程接入标识信息可以是远程接入点的标识信息, 用于对进行远程 接入的接入点进行指示, 例如可以是 MRA APN的信息。第一本地网络的信息 可以是第一本地网络的标识(local network identity)信息或名称 ( local network name )。  The remote access identifier information may be identifier information of the remote access point, and is used to indicate an access point that performs remote access, for example, information of the MRA APN. The information of the first local network may be the first local network identity information or the name (local network name).
歩骤 307a, MME根据上面所获得的签约数据中的远程接入允许信息获 知 UE可以建立远程 PDN连接,例如建立 MRA业务的连接,并通过将签约数 据中允许接入的本地网络的信息(例如网络标识或网络名称)与 UE携带的想 要接入的第一本地网络的标识或名称的信息进行对比来确定 UE是否可以远程 接入第一本地网络, 以对 UE的接入进行控制; 如果第一本地网络为签约数据 中 UE允许远程接入的本地网络, 则确定允许 UE远程接入第一本地网络, 否 贝 lj, 不允许 UE远程接入第一本地网络。  Step 307a: The MME learns, according to the remote access permission information in the subscription data obtained above, that the UE can establish a remote PDN connection, for example, establishes a connection of the MRA service, and obtains information about the local network that is allowed to access in the subscription data (for example, The network identifier or the network name is compared with the information of the identifier or the name of the first local network that the UE wants to access to determine whether the UE can remotely access the first local network to control the access of the UE; The first local network is a local network in the subscription data that the UE allows remote access, and then determines to allow the UE to remotely access the first local network, and does not allow the UE to remotely access the first local network.
歩骤 307b,在确定 UE允许远程接入第一本地网络的情况下,选择第一本 地网关; 其中, 第一本地网关为第一本地网络下的本地网关。 示例性地, 可以 根据第一本地网络的信息如标识或名称获得第一本地网关的地址,即能接入第 一本地网络的第一本地网关的地址, 并将该第一网关的地址发送给服务网关 (S-GW) o  Step 307b: In the case that it is determined that the UE allows remote access to the first local network, the first local gateway is selected; wherein the first local gateway is a local gateway under the first local network. Exemplarily, the address of the first local gateway may be obtained according to the information of the first local network, such as the identifier or the name, that is, the address of the first local gateway that can access the first local network, and the address of the first gateway is sent to Service Gateway (S-GW) o
该歩骤中, 具体地, MME可以通过查询本地网络与对应的本地网关的地 址之间的对应关系来得到与第一本地网络相对应的第一本地网关的地址。示例 性地, MME可以采用多种方式查询得到第一本地网络的标识或名称与第一本 地网关的地址的关系。例如, MME可以使用域名服务器(DNS, Domain Name Server) ***进行查询, 该 DNS上预先存储网络标识或名称与 L-GW地址之 间的关系, MME可以将第一本地网络信息发送至 DNS,由 DNS进行解析后, 将第一本地网关的地址返回 MME; 还可以是在 MME上预先存储上述本地网 络与本地网关的地址之间的对应关系, 由 MME根据自身所存储关系进行查询; 或者, MME 还可以根据以前查询到的历史数据来获得第一本地网关的地址, 上述历史数据包括以前查询到的本地网络与对应的本地网关的对应关系。 In this step, specifically, the MME may obtain the address of the first local gateway corresponding to the first local network by querying the correspondence between the local network and the address of the corresponding local gateway. Exemplarily, the MME may query, in multiple manners, the relationship between the identifier or name of the first local network and the address of the first local gateway. For example, the MME may perform a query by using a Domain Name Server (DNS) system, where the relationship between the network identifier or the name and the L-GW address is pre-stored, and the MME may send the first local network information to the DNS. After the DNS is parsed, the address of the first local gateway is returned to the MME; or the local network is pre-stored on the MME. The MME can also perform the query according to the stored relationship of the local gateway. Alternatively, the MME can obtain the address of the first local gateway according to the historical data previously queried. The historical data includes the previous query. Correspondence between the local network and the corresponding local gateway.
歩骤 308, MME发送第一创建会话请求给服务网关 S-GW; 其中, 第一 创建会话请求中包含第一本地网关的地址和远程接入指示信息;该远程接入指 示信息用于指示当前进行的接入为远程接入。例如, 该远程接入指示信息可以 是 MRA业务标识,该 MRA业务标识用于指示当前进行的接入为 MRA业务。  Step 308: The MME sends a first create session request to the serving gateway S-GW. The first create session request includes an address of the first local gateway and remote access indication information. The remote access indication information is used to indicate the current The access made is remote access. For example, the remote access indication information may be an MRA service identifier, where the MRA service identifier is used to indicate that the currently performed access is an MRA service.
歩骤 309, S-GW接收第一创建会话请求,并根据第一创建会话请求中包 含的第一本地网关的地址发送第二创建会话请求给第一本地网关。该第二创建 会话请求中包含远程接入指示信息。  Step 309: The S-GW receives the first create session request, and sends a second create session request to the first local gateway according to the address of the first local gateway included in the first create session request. The second creation session request includes remote access indication information.
歩骤 310, 第一本地网关接收第二创建会话请求消息, 并根据该消息中 的远程接入指示信息获知该业务为远程接入业务。然后, 可选地, 第一本地网 关可以生成基于远程接入业务的计费模式, 以进行远程接入业务的计费。该计 费模式可以与基于本地 IP接入业务的计费模式不同。 或者, 可选地, 第一本 地网关还可以基于本地资源的情况, 生成远程接入业务的服务质量 (QoS, Quality of Service )0 示例性地, 在资源紧张时可以基于不同的业务类型进行优 先级处理, 例如, 该优先级可以是本地接入业务的优先级高于远程接入的优先 级。 Step 310: The first local gateway receives the second create session request message, and learns, according to the remote access indication information in the message, that the service is a remote access service. Then, optionally, the first local gateway may generate a charging mode based on the remote access service to perform charging of the remote access service. The charging mode may be different from the charging mode based on the local IP access service. Or, alternatively, it may also be based on the first local gateway when local resources, generating a remote access service quality of service (QoS, Quality of Service) 0 example, a priority may be based on different traffic types upon resource constraints Level processing, for example, the priority may be that the priority of the local access service is higher than the priority of the remote access.
歩骤 311, 第一本地网关回复创建会话响应至服务网关, 其中会话响应中 可以携带所生成的远程接入业务的服务质量, 例如 MRA QoS。  Step 311: The first local gateway replies to create a session response to the serving gateway, where the session response may carry the quality of service of the generated remote access service, such as MRA QoS.
歩骤 312, 建立无线侧及核心网侧承载, 以实现 UE通过第一本地网关建 立到第一本地网络的 PDN连接。  Step 312: Establish a radio side and a core network side bearer, so that the UE establishes a PDN connection to the first local network through the first local gateway.
可选地, 在该实施例中, UE发起远程接入时, 在 PDN连接请求中可以不 携带 UE想要接入的本地网络的信息。 在这种情况下, MME可以将默认的本 地网络当作 UE想要接入的本地网络, 从而可以节约信令资源。 该默认的网络 为 UE的签约数据中所指示的 UE所远程接入的默认本地网络。 当 UE所签约 的远程接入网络有多个时, 可以随机选择一个, 或者预先设定优先级来进行选 择。  Optionally, in this embodiment, when the UE initiates the remote access, the PDN connection request may not carry the information of the local network that the UE wants to access. In this case, the MME can regard the default local network as the local network that the UE wants to access, thereby saving signaling resources. The default network is the default local network remotely accessed by the UE indicated in the subscription data of the UE. When there are multiple remote access networks subscribed by the UE, one may be randomly selected, or a priority may be set in advance to select.
图 4是本发明另一实施例的用于远程接入本地网络的方法的流程图。 图 4 所示的方法包括如下歩骤: 该实施例中,歩骤 401至歩骤 407a与图 3中的歩骤 301至歩骤 307a的相 同, 在此不再赘述。 其中, 歩骤 401至歩骤 404在图 4中未示出。 4 is a flow chart of a method for remote access to a local network in accordance with another embodiment of the present invention. The method shown in Figure 4 includes the following steps: In this embodiment, steps 401 to 407a are the same as steps 301 to 307a in FIG. 3, and details are not described herein again. Wherein, steps 401 through 404 are not shown in FIG.
歩骤 407b, 在确定 UE允许远程接入第一本地网络的情况下, MME (第 一 MME)判断第一本地网络是否由该 MME自身所管辖;如果判断结果为是, 即如果第一本地网络是由自身所管辖的, 则 MME执行的歩骤同歩骤 307b, 由该 MME选择第一本地网关,该第一本地网关为第一本地网络下的本地网关。 示例性地, 可以根据第一本地网络的信息获得第一本地网关的地址; 并且接下 来的歩骤同歩骤 308至 312, 在此不再赘述; 如果判断结果为否, 即如果第一 本地网络不是由该 MME自身所管辖的, 则执行歩骤 408。  Step 407b, in the case that it is determined that the UE allows remote access to the first local network, the MME (first MME) determines whether the first local network is under the jurisdiction of the MME itself; if the determination result is yes, that is, if the first local network If the MME performs the same procedure as the MME, the MME selects the first local gateway, and the first local gateway is the local gateway in the first local network. Illustratively, the address of the first local gateway may be obtained according to the information of the first local network; and the following steps are the same as steps 308 to 312, and details are not described herein; if the determination result is no, that is, if the first local If the network is not under the jurisdiction of the MME itself, then step 408 is performed.
该实施例的具体实现中,可以通过设定本地网络的信息来实现 MME管辖 的区分。示例性地,可以在本地网络的信息中包括管辖本网络的 MME的信息。 根据该 MME的信息可以判断该第一本地网络是否由当前的 MME自身所管辖。 在第一本地网络不是由当前的 MME所管辖时,可以进一歩确定出管辖第一本 地网络的第二 MME。  In a specific implementation of this embodiment, the differentiation of the MME jurisdiction can be implemented by setting information of the local network. Illustratively, information governing the MME of the local network may be included in the information of the local network. Based on the information of the MME, it can be determined whether the first local network is governed by the current MME itself. When the first local network is not under the jurisdiction of the current MME, the second MME that governs the first local network can be further determined.
示例性地, 以本地网络的信息为本地网络的标识为例来进行说明。该本地 网络为可以远程接入的本地网络, 示例性地, 其标识可以表示为: < 远程网络 ID>0 管辖该本地网络的 MME的标识可以作为该本地网络的标识的一部分。 示例性地, 该 MME的标识可以表示为: <MME 标识符 >。 这样, 通过本地网 络的标识就可以确定该网络与当前的 MME的关系。 Illustratively, the information of the local network is taken as an example of the identifier of the local network. The local network is a local network that can be accessed remotely. Illustratively, its identity can be expressed as: <Remote Network ID> 0 The identity of the MME that governs the local network can be part of the identity of the local network. Illustratively, the identity of the MME may be expressed as: <MME Identifier>. In this way, the relationship between the network and the current MME can be determined by the identity of the local network.
下面给出 MME 的标识和可以远程接入的本地网络的标识的组成的一个 示例。  An example of the composition of the MME and the identity of the identity of the local network that can be accessed remotely is given below.
<MME标识符 > = <MME群 IDxMME码>  <MME identifier> = <MME group IDx MME code>
其中 MME标识符表示 MME的标识, 其由 MME群标识 (MME群 ID) 和 MME码组成。 我们可以将远程的本地网络的标识设置成:  The MME identifier represents an identifier of the MME, which is composed of an MME group identifier (MME group ID) and an MME code. We can set the identity of the remote local network to:
< 远程网络 ID> = < MME标识符 >< 远程网络码 >  <remote network ID> = < MME identifier > < remote network code >
其中远程网络 ID表示远程网络的标识, 其由 MME标识符和远程网络码 组成。因此通过这样的设置方式就可以通过读取远程网络的标识来判断本地网 络与 MME之间的关系。  The remote network ID represents the identity of the remote network, which consists of the MME identifier and the remote network code. Therefore, by such an arrangement, the relationship between the local network and the MME can be judged by reading the identity of the remote network.
歩骤 408, 向管辖第一本地网络的第二 MME发送接入通知消息, 接入通 知消息中包括要接入的第一本地网络的信息,如第一本地网络的标识或名称信 息, 以指示要接入的本地网络是第一本地网络。示例性地, 上述接入通知消息 可以是转发接入上下文通知(Forward Access Context Notification)消息。 上述 对第一本地网络进行指示的信息, 可以是第一本地网络的标识或名称。通过该 通知消息, 第二 MME就知道了 UE想要接入的是哪一个本地网络。 Step 408: Send an access notification message to the second MME that is in the first local network, where the access notification message includes information about the first local network to be accessed, such as the identifier or name of the first local network. Information to indicate that the local network to be accessed is the first local network. Exemplarily, the foregoing access notification message may be a Forward Access Context Notification message. The information indicating the first local network may be an identifier or a name of the first local network. Through the notification message, the second MME knows which local network the UE wants to access.
歩骤 409, 第二 MME接收该接入通知消息, 根据通知消息中的第一本 地网络的信息来选择第一本地网关,得到与第一本地网络对应的第一本地网关 的地址。 其中, 该第一本地网关为第一本地网络下的本地网关。 并。  Step 409: The second MME receives the access notification message, and selects the first local gateway according to the information of the first local network in the notification message, to obtain an address of the first local gateway corresponding to the first local network. The first local gateway is a local gateway under the first local network. and.
其中,第二 MME也可以采用上文所描述的多种查询方式来得到第一本地 网关的地址, 在此不再赘述。  The second MME may also use the multiple query manners described above to obtain the address of the first local gateway, and details are not described herein again.
歩骤 410, 第二 MME发送接入确认消息给第一 MME, 该确认消息中包 含第一本地网关的地址信息。示例性地, 上述接入确认消息可以是转发接入上 下文确认 ( Forward Access Context Acknowledge ) 消息。  Step 410: The second MME sends an access confirmation message to the first MME, where the acknowledgement message includes address information of the first local gateway. Exemplarily, the foregoing access acknowledgement message may be a Forward Access Context Acknowledge message.
歩骤 411, 第一 MME发送第一创建会话请求给 S-GW, 第一创建会话请 求中包含第一本地网关的地址和远程接入指示信息。第一本地网关的地址是从 第二 MME所接收的。远程接入指示信息用于指示当前进行的接入为远程接入。 第一本地网关的地址可以用于 S-GW与该 L-GW建立连接, 而远程接入指示 信息可以用于供本地网关进行计费时使用。  Step 411: The first MME sends a first create session request to the S-GW, where the first create session request includes an address of the first local gateway and remote access indication information. The address of the first local gateway is received from the second MME. The remote access indication information is used to indicate that the currently performed access is remote access. The address of the first local gateway may be used by the S-GW to establish a connection with the L-GW, and the remote access indication information may be used for charging by the local gateway.
歩骤 412, S-GW接收第一创建会话请求,并根据第一创建会话请求中的 第一网关的地址发送第二创建会话请求给 L-GW,该第二创建会话请求中也保 护远程接入指示信息, 以指示要进行的是远程接入业务。  Step 412: The S-GW receives the first create session request, and sends a second create session request to the L-GW according to the address of the first gateway in the first create session request, where the second create session request also protects the remote connection The indication information is entered to indicate that the remote access service is to be performed.
歩骤 413, 第一本地网关接收第二创建会话请求消息, 并根据第二创建会 话请求中的远程接入指示信息知道该业务为远程接入业务。然后, 可选地, 第 一本地网关可以生成基于远程接入业务的计费模式,以进行远程接入业务的计 费。 该计费模式可以与基于本地 IP接入业务的计费模式不同。 可选地, 第一 本地网关还可以基于本地资源的情况, 生成远程接入业务的服务质量 (QoS, Quality of Service) , 以在资源紧张时可基于不同的业务类型进行优先级处理; 例如, 该优先级可以是本地接入业务的优先级高于远程接入的优先级。  Step 413: The first local gateway receives the second create session request message, and knows that the service is a remote access service according to the remote access indication information in the second created session request. Then, optionally, the first local gateway may generate a charging mode based on the remote access service for accounting for the remote access service. The charging mode may be different from the charging mode based on the local IP access service. Optionally, the first local gateway may further generate a quality of service (QoS) of the remote access service based on the local resource, so that the priority processing may be performed based on different service types when the resource is tight; for example, The priority may be that the priority of the local access service is higher than the priority of the remote access.
歩骤 414, 第一本地网关回复创建会话响应至服务网关, 其中创建会话响 应中携带所生成的远程接入业务的服务质量, 例如 MRA QoS。  Step 414: The first local gateway replies with a create session response to the serving gateway, where the created session response carries the quality of service of the generated remote access service, such as MRA QoS.
歩骤 415, 建立无线侧及核心网侧承载, 以实现 UE通过第一本地网关建 立到第一本地网络的 PDN连接。 Step 415: Establish a radio side and a core network side bearer, so as to implement the UE to establish through the first local gateway. A PDN connection to the first local network.
可选地,在该实施例中, UE发送的 PDN连接请求中可以不携带第一本地 网络的信息, 例如标识或名称, 在该情况下可以根据 UE的签约数据, 选择签 约的允许远程接入的默认本地网络作为 UE想要接入的第一本地网络来进行连 接。  Optionally, in this embodiment, the PDN connection request sent by the UE may not carry the information of the first local network, such as an identifier or a name. In this case, the allowed remote access of the subscription may be selected according to the subscription data of the UE. The default local network is connected as the first local network that the UE wants to access.
图 5为本发明的另一实施例的用于远程接入本地网络的方法的流程图。 该实施例与图 3、 图 4所示的实施例的不同之处在于, 在实施例中, UE 的签约粒度不同。 图 3、 图 4所示的实施例中, HSS中签约的是允许 UE远程 接入的本地网络的信息, 例如标识或名称。而该实施例中, HSS中签约的是允 许 UE接入的本地网关的地址。 该实施例中, MME得到的签约数据至少包括 如下信息中的一项: 远程接入允许信息, 例如 UE的 MRA允许标识; 以及允 许远程接入的本地网关的地址信息。该实施例通过直接签约本地网关的地址可 以简化 MME的接入控制过程。  FIG. 5 is a flowchart of a method for remotely accessing a local network according to another embodiment of the present invention. The difference between this embodiment and the embodiment shown in FIG. 3 and FIG. 4 is that, in the embodiment, the subscription granularity of the UE is different. In the embodiment shown in FIG. 3 and FIG. 4, the HSS subscribes to information of a local network, such as an identifier or a name, that allows the UE to remotely access. In this embodiment, the HSS subscribes to the address of the local gateway that allows the UE to access. In this embodiment, the subscription data obtained by the MME includes at least one of the following information: remote access permission information, such as an MRA permission identifier of the UE; and address information of the local gateway that allows remote access. This embodiment simplifies the access control process of the MME by directly signing the address of the local gateway.
具体地, 图 5所示的方法包括如下歩骤:  Specifically, the method shown in FIG. 5 includes the following steps:
其中, 歩骤 501至歩骤 504与上述歩骤 301至歩骤 304的相同,在此不再 赘述。  The steps 501 to 504 are the same as those of the foregoing steps 301 to 304, and are not described herein again.
歩骤 505, UE将第一本地网络的信息发送至服务器, 该第一本地网络的 信息可以对 UE想要接入的第一本地网络进行指示; 该第一本地网络的信息可 以是例如网络标识或名称。该服务器能对第一本地网络的信息进行解析, 以获 得与第一本地网络下的第一本地网关的地址信息。 示例性地, UE可以发送名 称解析请求至移动网络服务器, 该名称解析请求中包含第一本地网络的名称。  Step 505: The UE sends the information of the first local network to the server, where the information of the first local network may indicate the first local network that the UE wants to access; the information of the first local network may be, for example, the network identifier. Or name. The server can parse the information of the first local network to obtain address information of the first local gateway under the first local network. Illustratively, the UE may send a name resolution request to the mobile network server, the name resolution request including the name of the first local network.
示例性地, UE可以通过开放移动联盟 (OMA, Open Mobile Alliance) 设 备管理 (DM, Device Management) 或空中 (OTA, Over the Air) 的方式来 发送上述待解析的信息。  For example, the UE may send the information to be parsed by means of an Open Mobile Alliance (OMA) device management (DM, Device Management) or an over-the-air (OTA).
歩骤 506, 服务器将解析出的第一本地网关的地址信息发送给 UE。  Step 506: The server sends the parsed address information of the first local gateway to the UE.
歩骤 507, UE向 MME发起 PDN连接请求, 该 PDN连接请求中包含第 一本地网关的地址信息;  Step 507: The UE initiates a PDN connection request to the MME, where the PDN connection request includes address information of the first local gateway.
歩骤 508, MME获知 UE请求建立远程 PDN连接。  Step 508: The MME learns that the UE requests to establish a remote PDN connection.
示例性地, MME可以根据第一本地网关的地址与 UE的接入基站的关系 来知道 UE是否请求建立远程 PDN连接。 具体地, 如果 UE的接入基站与第 一本地网关的地址所对应的第一本地网关直接连接, 则 UE进行的是本地 IP 接入; 如果 UE的接入基站与第一本地网关的地址所对应的第一本地网关不是 直接连接, 则 UE进行的是远程接入, 例如可以是 MRA业务。 Exemplarily, the MME may know whether the UE requests to establish a remote PDN connection according to the relationship between the address of the first local gateway and the access base station of the UE. Specifically, if the UE accesses the base station and the first If the first local gateway corresponding to the address of the local gateway is directly connected, the UE performs local IP access; if the access base station of the UE is not directly connected to the first local gateway corresponding to the address of the first local gateway, The UE performs remote access, and may be, for example, an MRA service.
然后, MME可以根据所获得的 UE的签约数据中的远程接入允许信息, 获知 UE可以建立 MRA业务的连接, 又通过对签约数据中允许接入的本地网 关的地址信息与第一本地网关的地址信息进行对比来对接入进行控制。具体地, 如果第一本地网关的地址为 UE允许远程接入的本地网关, 则允许 UE接入第 一本地网关, 否则, 不允许 UE接入第一本地网关。  Then, the MME may learn, according to the obtained remote access permission information in the subscription data of the UE, that the UE can establish a connection of the MRA service, and obtain the address information of the local gateway that is allowed to access in the subscription data and the first local gateway. The address information is compared to control access. Specifically, if the address of the first local gateway is a local gateway that the UE allows remote access, the UE is allowed to access the first local gateway, otherwise, the UE is not allowed to access the first local gateway.
歩骤 509, MME发送第一创建会话请求给 S-GW, 该第一创建会话请求 中包含第一本地网关的地址信息。该第一创建会话请求中还包含远程接入指示 信息,用于指示当前进行的接入为远程接入。该远程接入信息可以是例如 MRA 业务标识, 用于指示当前进行的接入为 MRA业务。  Step 509: The MME sends a first create session request to the S-GW, where the first create session request includes address information of the first local gateway. The first creation session request further includes remote access indication information, which is used to indicate that the currently performed access is remote access. The remote access information may be, for example, an MRA service identifier, used to indicate that the currently performed access is an MRA service.
歩骤 510, S-GW接收第一创建会话请求,并根据第一创建会话请求中的 第一本地网关的地址信息发送第二创建会话请求给第一本地网关,该第二创建 会话请求中也包含远程接入指示信息。  Step 510: The S-GW receives the first create session request, and sends a second create session request to the first local gateway according to the address information of the first local gateway in the first create session request, where the second create session request is also Contains remote access indication information.
歩骤 511, 第一本地网关接收第二创建会话请求消息, 并根据该消息中 所携带的远程接入指示信息获知该业务为远程接入业务。然后, 可选地, 第一 本地网关可以生成基于远程接入业务的计费模式,以进行远程接入业务的计费。 该计费模式可以与基于本地 IP接入业务的计费模式不同。 可选地, 第一本地 网关还可以基于本地资源的情况, 生成远程接入业务的服务质量, 以在资源紧 张时可基于不同的业务类型进行优先级处理。例如, 该优先级可以是本地接入 业务的优先级高于远程接入的优先级。  Step 511: The first local gateway receives the second create session request message, and learns, according to the remote access indication information carried in the message, that the service is a remote access service. Then, optionally, the first local gateway may generate a charging mode based on the remote access service to perform charging of the remote access service. The charging mode may be different from the charging mode based on the local IP access service. Optionally, the first local gateway may further generate a quality of service of the remote access service based on the local resource, so that the priority processing may be performed based on different service types when the resource is tight. For example, the priority may be that the priority of the local access service is higher than the priority of the remote access.
歩骤 512, 第一本地网关回复创建会话响应至服务网关。 该创建会话响应 中携带所生成的远程接入业务的服务质量, 例如 MRA QoS。  Step 512: The first local gateway replies to create a session response to the serving gateway. The created session response carries the quality of service of the generated remote access service, such as MRA QoS.
歩骤 513, 建立无线侧及核心网侧承载, 以实现 UE通过第一本地网关建 立到第一本地网络的 PDN连接。  Step 513: Establish a radio side and a core network side bearer, so that the UE establishes a PDN connection to the first local network through the first local gateway.
在本发明的其它实施例中, UE还可以通过其它的方式来获得其想要接入 的第一本地网关的地址信息。  In other embodiments of the present invention, the UE may obtain the address information of the first local gateway that it wants to access by other means.
图 6是本发明一实施例的用于远程接入本地网络的装置的示意图。如图 6, 该实施例的装置 600包括: 接收模块 610, 用于接收用户设备发送的分组数据 网络连接请求, 所述连接请求中包括: 远程接入标识信息; 获知模块 620, 用 于至少根据所述远程接入标识信息获知所述用户设备请求建立远程分组数据 网络连接;确定模块 630,用于确定所述用户设备可以远程接入第一本地网络; 选择模块 640,用于选择所述第一本地网络下的第一本地网关;发送模块 650, 用于发送第一创建会话请求,所述第一创建会话请求包含所述第一本地网关的 地址,以通过所述第一本地网关建立到所述第一本地网络的分组数据网络连接。 6 is a schematic diagram of an apparatus for remotely accessing a local network according to an embodiment of the present invention. As shown in FIG. 6, the apparatus 600 of this embodiment includes: a receiving module 610, configured to receive packet data sent by a user equipment. The network connection request, the connection request includes: remote access identification information; the learning module 620, configured to learn, according to the remote access identification information, that the user equipment requests to establish a remote packet data network connection; the determining module 630, Determining that the user equipment can remotely access the first local network; the selecting module 640, configured to select the first local gateway in the first local network; and the sending module 650, configured to send a first create session request, The first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
可选地, 在本发明实施例的装置还包括: 签约数据获取模块, 用于在所述 确定模块确定所述用户设备可以远程接入第一本地网络之前,获取所述签约数 据, 其中, 所述签约数据至少包括: 远程接入允许信息以及允许远程接入的本 地网络的信息中的一项。  Optionally, the device in the embodiment of the present invention further includes: a subscription data obtaining module, configured to acquire the subscription data, where the determining module determines that the user equipment can remotely access the first local network, where The subscription data includes at least one of: remote access permission information and information of a local network that allows remote access.
可选地, 在本发明实施例的装置中, 确定模块进一歩用于: 如果所述连接 请求中包括所述第一本地网络的信息,并且所述用户设备的签约数据指示中所 述远程接入允许信息和所述允许远程接入的本地网络的信息中的至少一项所 述用户设备允许远程接入所述第一本地网络,则确定所述用户设备可以远程接 入所述第一本地网络;如果所述连接请求中不包括对本地网络进行指示的本地 网络信息的情况下, 则将默认的本地网络确定为所述第一本地网络,所述默认 的本地网络为所述用户设备的签约数据中所述远程接入允许信息和所述允许 远程接入的本地网络的信息中的至少一项所指示的所述用户设备允许远程接 入的默认本地网络。可选地, 在本发明实施例的装置中, 所述远程接入标识信 息包括: 远程接入点的标识信息, 用于对进行远程接入的接入点进行指示。  Optionally, in the apparatus of the embodiment of the present invention, the determining module is further configured to: if the connection request includes the information of the first local network, and the remote data connection in the subscription data indication of the user equipment Determining that at least one of the permission information and the information of the local network allowing remote access allows the remote access to the first local network, determining that the user equipment can remotely access the first local a network; if the connection request does not include local network information indicating the local network, determining a default local network as the first local network, where the default local network is the user equipment The default local network of the user equipment allowed to remotely access, as indicated by at least one of the remote access permission information and the information of the local network allowing remote access in the subscription data. Optionally, in the device of the embodiment of the present invention, the remote access identifier information includes: identifier information of the remote access point, configured to indicate an access point that performs remote access.
图 7为本发明另一实施例的用于远程接入本地网络的装置的示意图。与图 6所示装置相比,图 7所示的装置 700除了包括接收模块 710、获知模块 720、 确定模块 730、选择模块 740和发送模块 750外,还包括:管辖判断模块 760, 用于判断所述第一本地网络是否由自身管辖。并且, 所述选择模块 740进一歩 用于在上述管辖判断模块的判断结果为是的情况下,由自身来选择所述第一本 地网络的第一本地网关; 在上述管辖判断模块的判断结果为否的情况下, 向管 辖所述第一本地网络的第二移动管理实体发送接入通知消息,所述接入通知消 息中包括所述第一本地网络的信息,并接收所述第二移动管理实体发送的所述 第一本地网关的地址,所述第一本地网关是由所述第二移动管理实体所选择的。  FIG. 7 is a schematic diagram of an apparatus for remotely accessing a local network according to another embodiment of the present invention. Compared with the device shown in FIG. 6, the device 700 shown in FIG. 7 includes a receiving module 710, a learning module 720, a determining module 730, a selecting module 740, and a sending module 750, and a jurisdiction determining module 760 for determining Whether the first local network is under its own jurisdiction. And the selection module 740 is further configured to: when the determination result of the jurisdiction determination module is YES, select the first local gateway of the first local network by itself; the judgment result of the jurisdiction judgment module is If not, sending an access notification message to the second mobility management entity that is in the first local network, where the access notification message includes the information of the first local network, and receives the second mobility management The address of the first local gateway sent by the entity, the first local gateway being selected by the second mobility management entity.
示例性地,管辖判断模块 760可以是在获知模块获知用户设备请求建立远 程分组数据网络连接,并且确定模块确定用户设备可以远程接入第一本地网络 后进行管辖判断。在连接请求中包含第一本地网络的信息的情况下, 也可以是 在接收到 PDN连接请求后就进行判断。 示例性的, 管辖判断的实现可以通过 设定本地网络的信息, 使得本地网络的信息中包含所属 MME的信息来实现。 示例性地,可以通过设定本地网络的标识中包含本地网络所示的 MME的标识 来实现。 具体地, 可以参见前面对方法的描述, 在此不再赘述。 Exemplarily, the jurisdiction determination module 760 may be in the learning module to know that the user equipment requests to establish a far The packet data network is connected, and the determining module determines that the user equipment can remotely access the first local network for jurisdictional judgment. In the case where the connection request includes the information of the first local network, the determination may be made after receiving the PDN connection request. Exemplarily, the implementation of the jurisdictional judgment may be implemented by setting information of the local network such that the information of the local network includes the information of the MME. Illustratively, this can be achieved by setting the identity of the local network to include the identity of the MME shown in the local network. For details, refer to the foregoing description of the method, and details are not described herein again.
可选地, 在该实施例的装置中, 选择模块包括: 查询模块, 用于通过查询 本地网络与相对应的本地网关的地址之间的对应关系来获得所述第一本地网 关的地址。  Optionally, in the apparatus of this embodiment, the selecting module includes: a querying module, configured to obtain an address of the first local gateway by querying a correspondence between a local network and an address of a corresponding local gateway.
图 8是本发明另一实施例的用于远程接入本地网络的装置的示意图。如图 FIG. 8 is a schematic diagram of an apparatus for remotely accessing a local network according to another embodiment of the present invention. As shown
8, 该实施例的装置 800包括: 接收模块 810, 用于接收用户设备发送的分组 数据网络连接请求,所述连接请求中包括所述用户设备想要接入的第一本地网 关的地址信息; 获知模块 820, 用于根据所述第一本地网关的地址信息, 获知 所述用户设备请求建立远程分组数据网络连接; 确定模块 830, 用于在所述用 户设备的签约数据指示所述用户设备允许远程接入所述第一本地网关的情况 下, 确定所述用户设备可以远程接入所述第一本地网关; 发送模块 840, 用于 发送第一创建会话请求,所述第一创建会话请求包含所述第一本地网关的地址, 以通过第一本地网关建立到所述第一本地网络的分组数据网络连接。 The device 800 of the embodiment includes: a receiving module 810, configured to receive a packet data network connection request sent by the user equipment, where the connection request includes address information of the first local gateway that the user equipment wants to access; The obtaining module 820 is configured to learn, according to the address information of the first local gateway, that the user equipment requests to establish a remote packet data network connection, and the determining module 830, configured to indicate, by the user equipment, that the subscription data indicates that the user equipment allows In the case of remotely accessing the first local gateway, determining that the user equipment can remotely access the first local gateway; and sending module 840, configured to send a first create session request, where the first create session request includes The address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
可选地, 在该实施例的装置中, 所述获知模块包括: 判断模块, 用于判断 所述第一本地网关与所述用户设备的接入基站是否直接连接,当所述第一本地 网关与所述用户设备的接入基站不是直接连接时,获知所述用户设备请求远程 分组数据网络连接。  Optionally, in the device of the embodiment, the learning module includes: a determining module, configured to determine whether the first local gateway is directly connected to the access base station of the user equipment, when the first local gateway is When the access base station of the user equipment is not directly connected, it is learned that the user equipment requests a remote packet data network connection.
可选地, 在该实施例的装置中, 还包括: 签约数据获取模块, 用于在所述 确定模块确定所述用户设备可以远程接入所述第一本地网关之前,获取所述签 约数据, 其中, 所述签约数据至少包括: 远程接入允许信息以及允许远程接入 的本地网关的地址信息中的一项。  Optionally, in the apparatus of this embodiment, the method further includes: a subscription data obtaining module, configured to acquire the subscription data before the determining module determines that the user equipment can remotely access the first local gateway, The subscription data includes at least one of: remote access permission information and address information of a local gateway that allows remote access.
图 9是本发明实施例的用户设备的示意图。 如图 9, 该实施例的用户设备 900包括: 发送模块 910, 用于发送分组数据网络连接请求, 所述连接请求中 包括: 远程接入标识信息。  FIG. 9 is a schematic diagram of a user equipment according to an embodiment of the present invention. As shown in FIG. 9, the user equipment 900 of the embodiment includes: a sending module 910, configured to send a packet data network connection request, where the connection request includes: remote access identifier information.
可选地, 该实施例的用户设备中, 所述连接请求中还包括: 第一本地网络 的信息,所述第一本地网络为所述用户设备想要接入的本地网络。第一本地网 络的信息用于向连接请求的接收方指示:用户想接入的本地网络是第一本地网 络。 Optionally, in the user equipment of this embodiment, the connection request further includes: a first local network The first local network is a local network that the user equipment wants to access. The information of the first local network is used to indicate to the recipient of the connection request that the local network that the user wants to access is the first local network.
图 10是本发明另一实施例的用户设备的示意图。 图 10所示的用户设备 1000包括: 远程接入确定模块 1010, 用于确定要进行的接入为远程接入; 发 送模块 1020, 用于在远程接入确定模块确定要进行的接入为远程接入时, 发 送 PDN连接请求, 该 PDN请求包含远程接入标识。  FIG. 10 is a schematic diagram of a user equipment according to another embodiment of the present invention. The user equipment 1000 shown in FIG. 10 includes: a remote access determining module 1010, configured to determine that the access to be performed is remote access; and a sending module 1020, configured to determine, in the remote access determining module, that the access to be performed is remote When accessing, a PDN connection request is sent, and the PDN request includes a remote access identifier.
可选地,该实施例的用户设备中,远程接入确定模块包括:第一判断模块, 用于判断当前服务小区是否属于本地网络; 如果不属于本地网络, 则确定所述 用户设备当前要进行的接入是远程接入; 如果属于本地网络, 则转入执行第二 判断模块; 第二判断模块, 用于在所述第一判断模块判断出所述当前服务小区 属于本地网络时,判断当前服务小区所属的第二本地网络与所述第一本地网络 是否相同; 如果相同, 则确定所述用户设备当前要进行的接入不是远程接入; 如果不同, 则确定所述用户设备当前要进行的接入是远程接入。  Optionally, in the user equipment of this embodiment, the remote access determining module includes: a first determining module, configured to determine whether the current serving cell belongs to the local network; if not belonging to the local network, determining that the user equipment is currently performing The access is remote access; if it belongs to the local network, it is transferred to execute the second determining module; the second determining module is configured to determine, when the first determining module determines that the current serving cell belongs to the local network, Whether the second local network to which the serving cell belongs is the same as the first local network; if they are the same, it is determined that the current access of the user equipment is not remote access; if not, determining that the user equipment is currently performing The access is remote access.
可选地, 该实施例的用户设备中, 还包括: 获取模块, 用于通过***广播 消息或者无线资源控制消息获取所述第二本地网络的信息。  Optionally, the user equipment in this embodiment further includes: an acquiring module, configured to acquire information about the second local network by using a system broadcast message or a radio resource control message.
图 11为本发明另一实施例的用户设备的示意图。 如图 11, 该实施例的用 户设备 1100包括: 第一发送模块 1110, 用于发送分组数据网络连接请求, 所 述连接请求还包括: 所述用户设备想要接入的第一本地网关的地址信息。  FIG. 11 is a schematic diagram of a user equipment according to another embodiment of the present invention. As shown in FIG. 11, the user equipment 1100 of this embodiment includes: a first sending module 1110, configured to send a packet data network connection request, where the connection request further includes: an address of the first local gateway that the user equipment wants to access information.
图 12为本发明另一实施例的用户设备的示意图。图 12中的用户设备 1200 包括: 第二发送模块 1220, 用于在第一发送模块发送分组数据网络连接请求 之前,将第一本地网络的信息发送至服务器, 以由所述服务器确定所述第一本 地网关的地址信息, 所述第一本地网络为所述用户设备想要接入的本地网络; 接收模块 1230, 用于接收由所述服务器发送的所述第一本地网关的地址信息; 第一发送模块 1210, 用于发送分组数据网络连接请求, 所述连接请求包括接 收模块 1230所接收的第一本地网关的地址信息。  FIG. 12 is a schematic diagram of a user equipment according to another embodiment of the present invention. The user equipment 1200 in FIG. 12 includes: a second sending module 1220, configured to send, by the server, the information of the first local network to the server before the first sending module sends the packet data network connection request Address information of a local gateway, the first local network is a local network that the user equipment wants to access; the receiving module 1230 is configured to receive address information of the first local gateway sent by the server; A sending module 1210 is configured to send a packet data network connection request, where the connection request includes address information of the first local gateway received by the receiving module 1230.
图 13为本发明实施例的本地网关的示意图。 如图 13, 该实施例的本地网 关 1300包括: 接收模块 1310, 用于接收创建会话请求, 所述创建会话请求中 包括: 远程接入指示信息, 用于指示当前进行的接入为远程接入; 确定模块 1320,用于根据所述远程接入指示信息确定当前进行的接入为远程接入; 发送 模块 1330, 用于发送创建会话响应。 FIG. 13 is a schematic diagram of a local gateway according to an embodiment of the present invention. As shown in Figure 13, the local gateway 1300 of this embodiment includes: a receiving module 1310, configured to receive a create session request, where the create session request includes: remote access indication information, used to indicate that the current access is remote access a determining module 1320, configured to determine, according to the remote access indication information, that the currently performed access is a remote access; The module 1330 is configured to send a create session response.
图 14为本发明另一实施例的本地网关的示意图。与图 13所述的本地网关 备相比, 图 14中的本地网关 1400除了包括接收模块 1310、 确定模块 1320、 发送模块 1330外, 还包括: 计费模式生成模块 1440, 用于生成远程接入计费 模式以进行计费; 以及服务质量生成模块 1450, 用于生成针对远程接入的服 务质量; 其中, 在所述会话响应中包含所述服务质量。  FIG. 14 is a schematic diagram of a local gateway according to another embodiment of the present invention. In addition to the local gateway device of FIG. 13, the local gateway 1400 of FIG. 14 includes, in addition to the receiving module 1310, the determining module 1320, and the sending module 1330, a charging mode generating module 1440, configured to generate a remote access. a charging mode for charging; and a quality of service generating module 1450 for generating a quality of service for remote access; wherein the quality of service is included in the session response.
本发明的实施例还提供了一种用于远程接入本地网络的装置,该装置包括: 存储器, 用于存储指令; 处理器, 其与所述存储器耦合, 该处理器被配置为执 行存储在所述存储器中的指令, 其中, 所述处理器被配置为用于: 接收用户设 备发送的分组数据网络连接请求, 所述连接请求中包括: 远程接入标识信息; 至少根据所述远程接入标识信息获知所述用户设备请求建立远程分组数据网 络连接; 确定所述用户设备可以远程接入第一本地网络; 选择所述第一本地网 络下的第一本地网关; 发送第一创建会话请求,所述第一创建会话请求包含所 述第一本地网关的地址,以通过所述第一本地网关建立到所述第一本地网络的 分组数据网络连接。  Embodiments of the present invention also provide an apparatus for remote access to a local network, the apparatus comprising: a memory for storing instructions; a processor coupled to the memory, the processor configured to perform storage at An instruction in the memory, where the processor is configured to: receive a packet data network connection request sent by the user equipment, where the connection request includes: remote access identification information; at least according to the remote access The identification information is learned that the user equipment requests to establish a remote packet data network connection; determining that the user equipment can remotely access the first local network; selecting the first local gateway under the first local network; sending a first creation session request, The first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
本发明的实施例还提供了一种用于远程接入本地网络的装置,该装置包括: 存储器, 用于存储指令; 处理器, 其与所述存储器耦合, 该处理器被配置为执 行存储在所述存储器中的指令, 其中, 所述处理器被配置为用于: 接收用户设 备发送的分组数据网络连接请求,所述连接请求中包括所述用户设备想要接入 的第一本地网关的地址信息; 根据所述第一本地网关的地址信息,获知所述用 户设备请求建立远程分组数据网络连接;如果所述用户设备的签约数据指示所 述用户设备允许远程接入所述第一本地网关,则确定所述用户设备可以远程接 入所述第一本地网关; 发送第一创建会话请求,所述第一创建会话请求包含所 述第一本地网关的地址,以通过所述第一本地网关建立到第一本地网络的分组 数据网络连接。  Embodiments of the present invention also provide an apparatus for remote access to a local network, the apparatus comprising: a memory for storing instructions; a processor coupled to the memory, the processor configured to perform storage at An instruction in the memory, where the processor is configured to: receive a packet data network connection request sent by a user equipment, where the connection request includes a first local gateway that the user equipment wants to access Address information; according to the address information of the first local gateway, the user equipment is requested to establish a remote packet data network connection; if the subscription data of the user equipment indicates that the user equipment allows remote access to the first local gateway Determining that the user equipment can remotely access the first local gateway; sending a first create session request, the first create session request including an address of the first local gateway, to pass the first local gateway Establish a packet data network connection to the first local network.
本发明上述各实施例的用于远程接入本地网络的装置可以为移动管理实 体。  The apparatus for remote access to the local network of the above embodiments of the present invention may be a mobile management entity.
结合本申请所公开示例描述的用于调度资源的装置可直接体现为硬件、由 处理器执行的软件模块或二者组合。  The apparatus for scheduling resources described in connection with the examples disclosed herein may be embodied directly in hardware, a software module executed by a processor, or a combination of both.
软件模块可以位于 RAM存储器、 闪存、 ROM存储器、 EPROM存储器、 EEPROM存储器、 寄存器、 硬盘、 移动磁盘、 CD-ROM或者本领域已知的任 何其它形式的存储介质。一种存储介质耦接至处理器, 从而使处理器能够从该 存储介质读取信息, 且可向该存储介质写入信息。或者, 存储介质可以是处理 器的组成部分。 处理器和存储介质可以位于 ASIC中。 该软件模块可以存储在 移动终端的存储器中, 也可以存储在可***移动终端的存储卡中。例如: 若移 动终端采用的是较大容量的 MEGA-SIM卡或者大容量的闪存装置, 则该软件 模块可存储在该 MEGA-SIM卡或者大容量的闪存装置中。 The software module can be located in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. A storage medium is coupled to the processor such that the processor can read information from the storage medium and can write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. The processor and the storage medium can be located in an ASIC. The software module can be stored in the memory of the mobile terminal or in a memory card that can be inserted into the mobile terminal. For example: If the mobile terminal uses a larger capacity MEGA-SIM card or a large-capacity flash memory device, the software module can be stored in the MEGA-SIM card or a large-capacity flash memory device.
针对图 6至图 14所描述的功能方框中的一个或多个和 /或功能方框的一个 或多个组合 (例如, 图 6至图 14中的各功能模块) 可以实现为用于执行本申 请所描述功能的通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、 现场可编程门阵列 (FPGA) 或者其它可编程逻辑器件、 分立门或者晶体管逻 辑器件、 分立硬件组件或者其任意适当组合。 针对图 6至图 14描述的功能方 框中的一个或多个和 /或功能方框的一个或多个组合, 还可以实现为计算设备 的组合, 例如, DSP和微处理器的组合、 多个微处理器、 与 DSP通信结合的 一个或多个微处理器或者任何其它这种配置。  One or more of the functional blocks described with respect to FIGS. 6-14 and/or one or more combinations of functional blocks (eg, the various functional modules of FIGS. 6-14) may be implemented for execution General purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component of the functions described herein Or any suitable combination thereof. One or more of the functional blocks described with respect to Figures 6-14 and/or one or more combinations of functional blocks may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, A microprocessor, one or more microprocessors in communication with the DSP, or any other such configuration.
虽然本申请描述了本发明的特定示例,但本领域的普通技术人员可以在不 脱离本发明概念的基础上设计出本发明的变型。  While the present invention has been described with respect to the specific embodiments of the present invention, those skilled in the art can devise modifications of the present invention without departing from the inventive concept.
本领域技术人员应当理解, 本发明的各个实施例所公开的方法和装置, 可 以在不偏离发明实质的情况下做出各种变形和改变,这些变形和改变都应当落 入在本发明的保护范围之内。因此, 本发明的保护范围由所附的权利要求书来 定义。 在权利要求书中, 术语"包括"不排除存在其它元件或歩骤。 此外, 尽管是 单独地列出,但是多个装置、元件或方法歩骤可通过例如单一单元或处理器来 实施。 另外, 尽管独立的特征可以包含在不同权利要求中, 但是这些特征也可 以有利地组合,并且不同权利要求中的包含不暗示着特征的组合是不可行的和 /或不利的。  It should be understood by those skilled in the art that the present invention may be variously modified and changed without departing from the spirit of the invention. Within the scope. Therefore, the scope of the invention is defined by the appended claims. In the claims, the <RTIgt; "comprising"</RTI> does not exclude the presence of other elements or steps. In addition, although individually listed, a plurality of means, elements or methods can be implemented by a single unit or processor, for example. In addition, although individual features may be included in different claims, these features may be advantageously combined, and the inclusion in the different claims does not imply that the combination of features is not feasible and/or disadvantageous.

Claims

权利 要求 书 Claim
1、 一种用于远程接入本地网络的方法, 其特征在于, 包括: A method for remotely accessing a local network, comprising:
接收用户设备发送的分组数据网络连接请求,所述连接请求中包括: 远程 接入标识信息;  Receiving a packet data network connection request sent by the user equipment, where the connection request includes: remote access identifier information;
至少根据所述远程接入标识信息获知所述用户设备请求建立远程分组数 据网络连接;  Obtaining, according to the remote access identification information, at least the user equipment request to establish a remote packet data network connection;
确定所述用户设备可以远程接入第一本地网络;  Determining that the user equipment can remotely access the first local network;
选择所述第一本地网络下的第一本地网关;  Selecting a first local gateway under the first local network;
发送第一创建会话请求,所述第一创建会话请求包含所述第一本地网关的 地址,以通过所述第一本地网关建立到所述第一本地网络的分组数据网络连接。  Sending a first create session request, the first create session request including an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
2、 根据权利要求 1所述的方法, 其特征在于, 在确定所述用户设备可以 远程接入第一本地网络之前, 还包括: The method according to claim 1, wherein before determining that the user equipment can remotely access the first local network, the method further includes:
获取签约数据, 其中, 所述签约数据至少包括: 远程接入允许信息和允许 远程接入的本地网络的信息中的一项。  Obtaining subscription data, wherein the subscription data includes at least one of: remote access permission information and information of a local network that allows remote access.
3、 根据权利要求 2所述的方法, 其特征在于, 确定所述用户设备可以远 程接入第一本地网络包括: The method according to claim 2, wherein determining that the user equipment can remotely access the first local network comprises:
如果所述连接请求中包括所述第一本地网络的信息,并且所述用户设备的 签约数据中所述远程接入允许信息和所述允许远程接入的本地网络的信息中 的至少一项指示所述用户设备允许远程接入所述第一本地网络,则确定所述用 户设备可以远程接入所述第一本地网络;  If the connection request includes information of the first local network, and at least one of the remote access permission information and the information of the local network that allows remote access in the subscription data of the user equipment The user equipment is allowed to access the first local network remotely, and then determining that the user equipment can remotely access the first local network;
如果所述连接请求中不包括对本地网络进行指示的本地网络信息,则将默 认的本地网络确定为所述第一本地网络,所述默认的本地网络为所述用户设备 的签约数据中所述远程接入允许信息和所述允许远程接入的本地网络的信息 中的至少一项所指示的所述用户设备允许远程接入的默认本地网络。  If the connection request does not include local network information indicating the local network, determining a default local network as the first local network, where the default local network is the subscription data of the user equipment The default local network of the remote access is permitted by the user equipment indicated by at least one of the remote access permission information and the information of the local network allowing remote access.
4、 根据权利要求 1所述的方法, 其特征在于, 所述远程接入标识信息包 括: 远程接入点的标识信息。 The method according to claim 1, wherein the remote access identifier information comprises: identifier information of a remote access point.
5、 根据权利要求 1或 2所述的方法, 其特征在于, 所述选择所述第一本 地网络下的第一本地网关包括: The method according to claim 1 or 2, wherein the selecting the first local gateway under the first local network comprises:
判断所述第一本地网络是否由自身管辖;  Determining whether the first local network is under its own jurisdiction;
如果为是, 则选择所述第一本地网络的第一本地网关;  If yes, selecting the first local gateway of the first local network;
如果为否,则向管辖所述第一本地网络的第二移动管理实体发送接入通知 消息,所述接入通知消息中包括所述第一本地网络的信息, 并接收所述第二移 动管理实体发送的所述第一本地网关的地址,所述第一本地网关是由所述第二 移动管理实体所选择的。  If not, sending an access notification message to the second mobility management entity that is in the first local network, where the access notification message includes the information of the first local network, and receives the second mobility management The address of the first local gateway sent by the entity, the first local gateway being selected by the second mobility management entity.
6、 根据权利要求 1所述的方法, 其特征在于, 选择所述第一本地网络下 的第一本地网关包括: The method according to claim 1, wherein the selecting the first local gateway under the first local network comprises:
查询本地网络与相对应的本地网关的地址之间的对应关系,确定所述第一 本地网关的地址。  The correspondence between the local network and the address of the corresponding local gateway is queried, and the address of the first local gateway is determined.
7、 根据权利要求 1所述的方法, 其特征在于, 在接收用户设备发送的分 组数据网络连接请求之前, 还包括: The method according to claim 1, wherein before receiving the packet data network connection request sent by the user equipment, the method further includes:
判断所述用户设备的当前服务小区是否属于本地网络;  Determining whether the current serving cell of the user equipment belongs to a local network;
如果不属于本地网络, 则确定所述用户设备当前要进行的是远程接入, 并 发送所述连接请求; 如果属于本地网络, 则所述用户设备进一歩判断所述当前 服务小区所属的第二本地网络与所述第一本地网络是否相同; 如果相同, 则确 定所述用户设备当前要进行的接入不是远程接入; 如果不同, 则确定所述用户 设备当前要进行的接入是远程接入, 并发送所述连接请求。  If it does not belong to the local network, it is determined that the user equipment is currently performing remote access, and sends the connection request; if it belongs to the local network, the user equipment further determines that the current serving cell belongs to the second Whether the local network is the same as the first local network; if the same, determining that the user equipment is currently performing access is not a remote access; if different, determining that the current access of the user equipment is remotely connected In, and send the connection request.
8、 根据权利要求 7所述的方法, 其特征在于, 在所述用户设备判断所述 第二本地网络与所述第一本地网络是否相同之前, 还包括: The method according to claim 7, wherein before the user equipment determines whether the second local network is the same as the first local network, the method further includes:
所述用户设备通过***广播消息或者无线资源控制消息获得所述第二本 地网络的信息。  The user equipment obtains information of the second local network through a system broadcast message or a radio resource control message.
9、 根据权利要求 1所述的方法, 其特征在于, 所述第一创建会话请求中 还包括: 远程接入指示信息; 9. The method according to claim 1, wherein in the first creation session request Also included: remote access indication information;
所述方法在所述发送第一创建会话请求后, 还包括:  After the sending the first create session request, the method further includes:
服务网关接收所述第一创建会话请求;  The service gateway receives the first create session request;
所述服务网关根据所述第一本地网关的地址向所述第一本地网关发送第 二创建会话请求, 所述第二创建会话请求中包括: 所述远程接入指示信息; 所述第一本地网关接收所述第二创建会话请求;  The serving gateway sends a second create session request to the first local gateway according to the address of the first local gateway, where the second create session request includes: the remote access indication information; The gateway receives the second create session request;
所述第一本地网关根据所述远程接入指示信息,确定当前进行的接入为远 程接入;  Determining, by the first local gateway, that the currently performed access is remote access according to the remote access indication information;
所述第一本地网关发送创建会话响应。  The first local gateway sends a create session response.
10、 根据权利要求 9所述的方法, 其特征在于, 在所述第一本地网关确定 当前进行的接入为远程接入后, 还包括: The method according to claim 9, wherein after the first local gateway determines that the currently performed access is remote access, the method further includes:
所述第一本地网关生成远程接入计费模式以进行计费。  The first local gateway generates a remote access charging mode for charging.
11、 根据权利要求 9所述的方法, 其特征在于, 在所述第一本地网关确定 当前进行的接入为远程接入后, 还包括: 所述第一本地网关生成针对远程接入 的服务质量; The method according to claim 9, wherein after the first local gateway determines that the currently performed access is remote access, the method further includes: the first local gateway generating a service for remote access Quality
并且, 所述第一本地网关在所述会话响应中包含所述服务质量。  And, the first local gateway includes the quality of service in the session response.
12、 一种用于远程接入本地网络的方法, 其特征在于, 包括: 12. A method for remotely accessing a local network, comprising:
接收用户设备发送的分组数据网络连接请求,所述连接请求中包括所述用 户设备想要接入的第一本地网关的地址的信息;  Receiving a packet data network connection request sent by the user equipment, where the connection request includes information about an address of the first local gateway that the user equipment wants to access;
根据所述第一本地网关的地址的信息,获知所述用户设备请求建立远程分 组数据网络连接;  Obtaining, according to the information of the address of the first local gateway, that the user equipment requests to establish a remote packet data network connection;
如果所述用户设备的签约数据指示所述用户设备允许远程接入所述第一 本地网关, 则确定所述用户设备可以远程接入所述第一本地网关;  If the user equipment's subscription data indicates that the user equipment allows remote access to the first local gateway, determining that the user equipment may remotely access the first local gateway;
发送第一创建会话请求,所述第一创建会话请求包含所述第一本地网关的 地址, 以通过所述第一本地网关建立到第一本地网络的分组数据网络连接。  Sending a first create session request, the first create session request including an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
13、 根据权利要求 12所述的方法, 其特征在于, 所述获知所述用户设备 请求建立远程分组数据网络连接的歩骤包括: 13. The method according to claim 12, wherein the learning the user equipment The steps for requesting the establishment of a remote packet data network connection include:
当判断出所述第一本地网关与所述用户设备的接入基站不是直接连接时, 获知所述用户设备请求远程分组数据网络连接。  When it is determined that the first local gateway is not directly connected to the access base station of the user equipment, it is learned that the user equipment requests a remote packet data network connection.
14、 根据权利要求 12所述的方法, 其特征在于, 在确定所述用户设备可 以远程接入所述第一本地网关之前, 还包括: The method according to claim 12, further comprising: before determining that the user equipment can remotely access the first local gateway,
获取所述签约数据, 其中, 所述签约数据至少包括: 远程接入允许信息和 允许远程接入的本地网关的地址信息中的一项。  Obtaining the subscription data, where the subscription data includes at least one of: remote access permission information and address information of a local gateway that allows remote access.
15、 根据权利要求 12所述的方法, 其特征在于, 在接收用户设备发送的 分组数据网络连接请求之前, 还包括: The method according to claim 12, further comprising: before receiving the packet data network connection request sent by the user equipment, further comprising:
所述用户设备将所述第一本地网络的信息发送至服务器,以由所述服务器 根据本地网络与相对应的本地网关的地址之间的对应关系确定出所述第一本 地网关的地址;  Sending, by the user equipment, information of the first local network to a server, to determine, by the server, an address of the first local gateway according to a correspondence between a local network and an address of a corresponding local gateway;
所述用户设备接收所述服务器发送的所述第一本地网关的地址。  The user equipment receives an address of the first local gateway sent by the server.
16、 根据权利要求 12所述的方法, 其特征在于, 所述第一创建会话请求 中还包括: 远程接入指示信息; The method according to claim 12, wherein the first creation session request further includes: remote access indication information;
所述方法在所述发送第一创建会话请求后, 还包括:  After the sending the first create session request, the method further includes:
服务网关接收所述第一创建会话请求;  The service gateway receives the first create session request;
所述服务网关根据所述第一本地网关的地址向所述第一本地网关发送第 二创建会话请求, 所述第二创建会话请求中包括: 所述远程接入指示信息; 所述第一本地网关接收所述第二创建会话请求;  The serving gateway sends a second create session request to the first local gateway according to the address of the first local gateway, where the second create session request includes: the remote access indication information; The gateway receives the second create session request;
所述第一本地网关根据所述远程接入指示信息,确定当前进行的接入为远 程接入;  Determining, by the first local gateway, that the currently performed access is remote access according to the remote access indication information;
所述第一本地网关发送创建会话响应。  The first local gateway sends a create session response.
17、 根据权利要求 16所述的方法, 其特征在于, 在所述第一本地网关确 定当前进行的接入为远程接入后, 还包括: The method according to claim 16, wherein after the first local gateway determines that the currently performed access is remote access, the method further includes:
所述第一本地网关生成远程接入计费模式以进行计费。 The first local gateway generates a remote access charging mode for charging.
18、 根据权利要求 16所述的方法, 其特征在于, 在所述第一本地网关确 定当前进行的接入为远程接入后, 还包括: 所述第一本地网关生成针对远程接 入的服务质量; The method according to claim 16, wherein after the first local gateway determines that the currently performed access is remote access, the method further includes: the first local gateway generating a service for remote access Quality
并且, 所述第一本地网关在所述会话响应中包含所述服务质量。  And, the first local gateway includes the quality of service in the session response.
19、 一种用于远程接入本地网络的装置, 其特征在于, 包括: 19. An apparatus for remotely accessing a local network, comprising:
接收模块, 用于接收用户设备发送的分组数据网络连接请求,所述连接请 求中包括: 远程接入标识信息;  a receiving module, configured to receive a packet data network connection request sent by the user equipment, where the connection request includes: remote access identification information;
获知模块,用于至少根据所述远程接入标识信息获知所述用户设备请求建 立远程分组数据网络连接;  And the obtaining module is configured to learn, according to the remote access identifier information, that the user equipment requests to establish a remote packet data network connection;
确定模块, 用于确定所述用户设备可以远程接入第一本地网络; 选择模块, 用于选择所述第一本地网络下的第一本地网关;  a determining module, configured to determine that the user equipment can remotely access the first local network, and a selecting module, configured to select the first local gateway in the first local network;
发送模块, 用于发送第一创建会话请求,所述第一创建会话请求包含所述 第一本地网关的地址,以通过所述第一本地网关建立到所述第一本地网络的分 组数据网络连接。  a sending module, configured to send a first create session request, where the first create session request includes an address of the first local gateway, to establish a packet data network connection to the first local network by using the first local gateway .
20、 根据权利要求 19所述的装置, 其特征在于, 还包括: The device according to claim 19, further comprising:
签约数据获取模块,用于在所述确定模块确定所述用户设备可以远程接入 第一本地网络之前, 获取签约数据, 其中, 所述签约数据至少包括: 远程接入 允许信息以及允许远程接入的本地网络的信息中的一项。  The subscription data obtaining module is configured to obtain subscription data before the determining module determines that the user equipment can remotely access the first local network, where the subscription data includes at least: remote access permission information and allowing remote access One of the information in the local network.
21、 根据权利要求 20所述的装置, 其特征在于, 所述确定模块进一歩用 于: 21. The apparatus according to claim 20, wherein the determining module is further used for:
如果所述连接请求中包括所述第一本地网络的信息,并且所述用户设备的 签约数据中所述远程接入允许信息和所述允许远程接入的本地网络的信息中 的至少一项指示所述用户设备允许远程接入所述第一本地网络,则确定所述用 户设备可以远程接入所述第一本地网络;  If the connection request includes information of the first local network, and at least one of the remote access permission information and the information of the local network that allows remote access in the subscription data of the user equipment The user equipment is allowed to access the first local network remotely, and then determining that the user equipment can remotely access the first local network;
如果所述连接请求中不包括对本地网络进行指示的本地网络信息,则将默 认的本地网络确定为所述第一本地网络,所述默认的本地网络为所述用户设备 的签约数据中所述远程接入允许信息和所述允许远程接入的本地网络的信息 中的至少一项所指示的所述用户设备允许远程接入的默认本地网络。 If the connection request does not include local network information indicating the local network, determining a default local network as the first local network, where the default local network is the user equipment The default local network of the user equipment allowed to remote access indicated by at least one of the remote access permission information and the information of the local network allowing remote access in the subscription data.
22、 根据权利要求 19或 20所述的装置, 其特征在于, 还包括: 管辖判断模块, 用于判断所述第一本地网络是否由自身管辖; The device according to claim 19 or 20, further comprising: a jurisdiction determining module, configured to determine whether the first local network is under its own jurisdiction;
所述选择模块进一歩用于:  The selection module is further used for:
如果所述管辖判断模块的判断结果为是,则由自身选择所述第一本地网络 的第一本地网关;  If the judgment result of the jurisdiction judgment module is yes, the first local gateway of the first local network is selected by itself;
如果所述管辖判断模块的判断结果为否,则向管辖所述第一本地网络的第 二移动管理实体发送接入通知消息,所述接入通知消息中包括所述第一本地网 络的信息, 并接收所述第二移动管理实体发送的所述第一本地网关的地址,所 述第一本地网关的是由所述第二移动管理实体所选择的。  And if the judgment result of the jurisdiction judgment module is no, sending an access notification message to the second mobility management entity that is in the first local network, where the information about the first local network is included in the access notification message, And receiving an address of the first local gateway sent by the second mobility management entity, where the first local gateway is selected by the second mobility management entity.
23、 根据权利要求 20所述的装置, 其特征在于, 所述选择模块包括: 查询模块,用于通过查询本地网络与相对应的本地网关的地址之间的对应 关系来获得所述第一本地网关的地址。 The device according to claim 20, wherein the selecting module comprises: a querying module, configured to obtain the first local by querying a correspondence between a local network and an address of a corresponding local gateway The address of the gateway.
24、 一种用于远程接入本地网络的装置, 其特征在于, 包括: 24. An apparatus for remotely accessing a local network, comprising:
接收模块, 用于接收用户设备发送的分组数据网络连接请求,所述连接请 求中包括所述用户设备想要接入的第一本地网关的地址信息;  a receiving module, configured to receive a packet data network connection request sent by the user equipment, where the connection request includes address information of the first local gateway that the user equipment wants to access;
获知模块, 用于根据所述第一本地网关的地址信息, 获知所述用户设备请 求建立远程分组数据网络连接;  The obtaining module is configured to learn, according to the address information of the first local gateway, that the user equipment requests to establish a remote packet data network connection;
确定模块,用于在所述用户设备的签约数据指示所述用户设备允许远程接 入所述第一本地网关的情况下,确定所述用户设备可以远程接入所述第一本地 网关;  a determining module, configured to determine that the user equipment can remotely access the first local gateway if the subscription data of the user equipment indicates that the user equipment allows remote access to the first local gateway;
发送模块, 用于发送第一创建会话请求,所述第一创建会话请求包含所述 第一本地网关的地址,以通过所述第一本地网关建立到第一本地网络的分组数 据网络连接。  And a sending module, configured to send a first create session request, where the first create session request includes an address of the first local gateway to establish a packet data network connection to the first local network by using the first local gateway.
25、 根据权利要求 24所述的装置, 其特征在于, 所述获知模块包括: 判断模块,用于判断所述第一本地网关与所述用户设备的接入基站是否直 接连接, 当所述第一本地网关与所述用户设备的接入基站不是直接连接时, 获 知所述用户设备请求远程分组数据网络连接。 The device according to claim 24, wherein the learning module comprises: a determining module, configured to determine whether the first local gateway is directly connected to the access base station of the user equipment, and when the first local gateway is not directly connected to the access base station of the user equipment, the user is informed The device requests a remote packet data network connection.
26、 根据权利要求 24所述的装置, 其特征在于, 还包括: The device according to claim 24, further comprising:
签约数据获取模块,用于在所述确定模块确定所述用户设备可以远程接入 所述第一本地网关之前, 获取所述签约数据, 其中, 所述签约数据至少包括: 远程接入允许信息以及允许远程接入的本地网关的地址信息中的一项。  The subscription data acquisition module is configured to acquire the subscription data before the determining module determines that the user equipment can remotely access the first local gateway, where the subscription data includes at least: remote access permission information and One of the address information of the local gateway that allows remote access.
27、 一种用户设备, 其特征在于, 包括: 27. A user equipment, comprising:
远程接入确定模块, 用于确定要进行的接入为远程接入;  a remote access determining module, configured to determine that the access to be performed is remote access;
发送模块, 用于在所述远程接入模块确定要进行的接入为远程接入时, 发 送分组数据网络连接请求, 所述连接请求中包括: 远程接入标识信息。  And a sending module, configured to: when the remote access module determines that the access to be performed is remote access, send a packet data network connection request, where the connection request includes: remote access identifier information.
28、 根据权利要求 27所述的用户设备, 其特征在于, 所述连接请求中还 包括: 第一本地网络的信息,所述第一本地网络为所述用户设备想要接入的本 地网络。 The user equipment according to claim 27, wherein the connection request further includes: information of the first local network, where the first local network is a local network that the user equipment wants to access.
29、 根据权利要求 27所述的用户设备, 其特征在于, 所述远程接入确定 模块包括: The user equipment according to claim 27, wherein the remote access determining module comprises:
第一判断模块,用于判断当前服务小区是否属于本地网络; 如果不属于本 地网络, 则确定所述用户设备当前要进行的接入是远程接入; 如果属于本地网 络, 则转入执行第二判断模块;  a first determining module, configured to determine whether the current serving cell belongs to the local network; if not belonging to the local network, determining that the current access to the user equipment is remote access; if it belongs to the local network, Judgment module
第二判断模块,用于在所述第一判断模块判断出所述当前服务小区属于本 地网络时,判断所述当前服务小区所属的第二本地网络与所述第一本地网络是 否相同; 如果相同, 则确定所述用户设备当前要进行的接入不是远程接入; 如 果不同, 则确定所述用户设备当前要进行的接入是远程接入。  a second determining module, configured to determine, when the first determining module determines that the current serving cell belongs to the local network, whether the second local network to which the current serving cell belongs is the same as the first local network; And determining that the current access to be performed by the user equipment is not a remote access; if not, determining that the current access that the user equipment is to perform is remote access.
30、 根据权利要求 29所述的用户设备, 其特征在于, 还包括: The user equipment according to claim 29, further comprising:
获取模块,用于通过***广播消息或者无线资源控制消息获取所述第二本 地网络的信息。 An acquiring module, configured to acquire the second book by using a system broadcast message or a radio resource control message Information about the network.
31、 一种用户设备, 其特征在于, 包括: 31. A user equipment, comprising:
第一发送模块, 用于发送分组数据网络连接请求, 所述连接请求还包括: 所述用户设备想要接入的第一本地网关的地址的信息。  The first sending module is configured to send a packet data network connection request, where the connection request further includes: information about an address of the first local gateway that the user equipment wants to access.
32、 根据权利要求 31所述的用户设备, 其特征在于, 还包括: The user equipment according to claim 31, further comprising:
第二发送模块,用于在所述第一发送模块发送所述分组数据网络连接请求 之前,将第一本地网络的信息发送至服务器, 以由所述服务器确定所述第一本 地网关的地址信息, 所述第一本地网络为所述用户设备想要接入的本地网络; 接收模块,用于接收由所述服务器发送的所述第一本地网关的地址的信息  a second sending module, configured to send information of the first local network to the server before the first sending module sends the packet data network connection request, to determine, by the server, address information of the first local gateway The first local network is a local network that the user equipment wants to access; and the receiving module is configured to receive information about an address of the first local gateway sent by the server
33、 一种本地网关, 其特征在于, 包括: 33. A local gateway, comprising:
接收模块, 用于接收创建会话请求, 所述创建会话请求中包括: 远程接入 指示信息;  a receiving module, configured to receive a create session request, where the create session request includes: remote access indication information;
确定模块,用于根据所述远程接入指示信息确定当前进行的接入为远程接 入;  a determining module, configured to determine, according to the remote access indication information, that the currently performed access is remote access;
发送模块, 用于发送创建会话响应。  A sending module, configured to send a create session response.
34、 根据权利要求 33所述的本地网关, 其特征在于, 还包括: The local gateway according to claim 33, further comprising:
计费模式生成模块, 用于生成远程接入计费模式以进行计费。  The charging mode generating module is configured to generate a remote access charging mode for charging.
35、 根据权利要求 33所述的本地网关, 其特征在于, 还包括: 35. The local gateway according to claim 33, further comprising:
服务质量生成模块, 用于生成针对远程接入的服务质量;  a quality of service generation module, configured to generate a quality of service for remote access;
其中, 在所述会话响应中包含所述服务质量。  Wherein the quality of service is included in the session response.
36、 一种用于远程接入本地网络的装置, 其特征在于, 包括: 36. A device for remotely accessing a local network, comprising:
存储器, 用于存储指令;  a memory for storing instructions;
处理器, 其与所述存储器耦合, 该处理器被配置为执行存储在所述存储器 中的指令, 其中, 所述处理器被配置为用于: 接收用户设备发送的分组数据网络连接请求,所述连接请求中包括: 远程 接入标识信息; a processor coupled to the memory, the processor being configured to execute instructions stored in the memory, wherein the processor is configured to: Receiving a packet data network connection request sent by the user equipment, where the connection request includes: remote access identifier information;
至少根据所述远程接入标识信息获知所述用户设备请求建立远程分组数 据网络连接;  Obtaining, according to the remote access identification information, at least the user equipment request to establish a remote packet data network connection;
确定所述用户设备可以远程接入第一本地网络;  Determining that the user equipment can remotely access the first local network;
选择所述第一本地网络下的第一本地网关;  Selecting a first local gateway under the first local network;
发送第一创建会话请求,所述第一创建会话请求包含所述第一本地网关的 地址,以通过所述第一本地网关建立到所述第一本地网络的分组数据网络连接。  Sending a first create session request, the first create session request including an address of the first local gateway to establish a packet data network connection to the first local network through the first local gateway.
37、 一种用于远程接入本地网络的装置, 其特征在于, 包括: 37. An apparatus for remotely accessing a local network, comprising:
存储器, 用于存储指令;  a memory for storing instructions;
处理器, 其与所述存储器耦合, 该处理器被配置为执行存储在所述存储器 中的指令, 其中, 所述处理器被配置为用于:  a processor coupled to the memory, the processor being configured to execute instructions stored in the memory, wherein the processor is configured to:
接收用户设备发送的分组数据网络连接请求,所述连接请求中包括所述用 户设备想要接入的第一本地网关的地址信息;  Receiving a packet data network connection request sent by the user equipment, where the connection request includes address information of the first local gateway that the user equipment wants to access;
根据所述第一本地网关的地址信息,获知所述用户设备请求建立远程分组 数据网络连接;  Obtaining, according to the address information of the first local gateway, that the user equipment requests to establish a remote packet data network connection;
如果所述用户设备的签约数据指示所述用户设备允许远程接入所述第一 本地网关, 则确定所述用户设备可以远程接入所述第一本地网关;  If the user equipment's subscription data indicates that the user equipment allows remote access to the first local gateway, determining that the user equipment may remotely access the first local gateway;
发送第一创建会话请求,所述第一创建会话请求包含所述第一本地网关的 本地网络的分组数据网络连接。  A first create session request is sent, the first create session request including a packet data network connection of a local network of the first local gateway.
PCT/CN2013/074971 2012-04-28 2013-04-28 Method and device for remote access to local network WO2013159753A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210142510.3A CN103379592B (en) 2012-04-28 2012-04-28 For remotely accessing the method and device of local network
CN201210142510.3 2012-04-28

Publications (1)

Publication Number Publication Date
WO2013159753A1 true WO2013159753A1 (en) 2013-10-31

Family

ID=49464026

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/074971 WO2013159753A1 (en) 2012-04-28 2013-04-28 Method and device for remote access to local network

Country Status (2)

Country Link
CN (1) CN103379592B (en)
WO (1) WO2013159753A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3025961C (en) 2016-05-30 2023-09-26 Huawei Technologies Co., Ltd. Wireless communication method and device
CN110636475B (en) * 2018-06-22 2021-06-01 维沃移动通信有限公司 Data processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971570A (en) * 2008-03-14 2011-02-09 艾利森电话股份有限公司 Method and apparatus for remote access to a local network
CN102083174A (en) * 2011-01-25 2011-06-01 电信科学技术研究院 Method and device for controlling local network access
CN102448185A (en) * 2010-09-30 2012-05-09 ***通信集团公司 Remote access method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001261239A1 (en) * 2000-05-05 2001-11-20 Nokia Internet Communications Inc. Method and apparatus for translating network address identifiers related to mobile stations
CN101720090B (en) * 2009-06-16 2015-06-03 中兴通讯股份有限公司 Method and device for realizing remote access control of home base station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101971570A (en) * 2008-03-14 2011-02-09 艾利森电话股份有限公司 Method and apparatus for remote access to a local network
CN102448185A (en) * 2010-09-30 2012-05-09 ***通信集团公司 Remote access method and equipment
CN102083174A (en) * 2011-01-25 2011-06-01 电信科学技术研究院 Method and device for controlling local network access

Also Published As

Publication number Publication date
CN103379592B (en) 2016-12-28
CN103379592A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
US9456410B2 (en) Method for supporting PDN GW selection
US20220264258A1 (en) Communications Method and Apparatus, and Device
WO2010012174A1 (en) Management method, device and system for user to access network
KR20210134801A (en) Methods for restricted direct discovery
WO2022027492A1 (en) Communication method, device and system
WO2014146474A1 (en) Terminal registration method, terminal discovery method, terminal and device
WO2011054300A1 (en) Method and system for controling mtc terminal access
WO2011000315A1 (en) Method, network device and network system for group management
US9225726B2 (en) Methods for supporting user equipment accessing local IP services and apparatus therefor
WO2009115015A1 (en) A discovery and selection method for network, network system and communication device
WO2012097731A1 (en) Location management method for group-based machine type communication (mtc) devices and device therefor
WO2011050689A1 (en) Access control method and system for machine type communication terminal
WO2012100684A1 (en) Method and device for controlling access to local network
WO2013166913A1 (en) Uplink/downlink transmission method for small amount of data, and corresponding terminal and mobility management unit
WO2020233688A1 (en) Voice communication method and device thereof
WO2011134397A1 (en) Method, system and apparatus for identifying terminal
WO2015165149A1 (en) Configuration method, prose key management functional entity, terminal, system, and storage medium
WO2011047589A1 (en) Method and apparatus for establishing network connection, method and system for making policy and charging control (pcc) strategy
WO2014022984A1 (en) Information processing method and device
WO2010108352A1 (en) Method for sending access network policies and home access network discovery and support functions unit
WO2013060225A1 (en) System and method for acquiring user location through user bearer identifier
WO2016000172A1 (en) Network device and method for allocating access point names
WO2013163945A1 (en) Method for reporting machine type communication event and device thereof
WO2013170723A1 (en) Registration, discovery, access method, apparatus and system of communication terminals between terminals, and terminal discovery method and apparatus
WO2014008806A1 (en) Method and device for determining wireless local area network neighboring user equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13782197

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13782197

Country of ref document: EP

Kind code of ref document: A1