[go: up one dir, main page]

CN112655182B - Communication methods and devices - Google Patents

Communication methods and devices Download PDF

Info

Publication number
CN112655182B
CN112655182B CN201880097268.8A CN201880097268A CN112655182B CN 112655182 B CN112655182 B CN 112655182B CN 201880097268 A CN201880097268 A CN 201880097268A CN 112655182 B CN112655182 B CN 112655182B
Authority
CN
China
Prior art keywords
terminal device
network
service
core network
access
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201880097268.8A
Other languages
Chinese (zh)
Other versions
CN112655182A (en
Inventor
刘建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112655182A publication Critical patent/CN112655182A/en
Application granted granted Critical
Publication of CN112655182B publication Critical patent/CN112655182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Landscapes

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

Abstract

The embodiment of the application relates to a communication method and equipment, wherein the method comprises the following steps: the method comprises the steps that a terminal device obtains a first identifier accessed to a first network, wherein the first network is an unshared core network deployed by an operator, and the terminal device signs up with a Public Land Mobile Network (PLMN); the terminal device accesses the first network based on the first identification. The communication method and the device of the embodiment of the application can enable the terminal device signed with the PLMN to access the TAN.

Description

通信方法和设备Communication methods and devices

技术领域Technical field

本申请涉及通信领域,具体涉及一种通信方法和设备。This application relates to the field of communication, and specifically to a communication method and device.

背景技术Background technique

新无线(New Radio,NR)系统(或称5G系统、5G网络)引入了运营商部署的非公有的核心网。The New Radio (NR) system (also known as 5G system, 5G network) introduces a non-public core network deployed by operators.

通常情况下,终端设备会不停的移动。当公共陆地移动网络(Public Land MobileNetwork,PLMN)的终端设备进入运营商部署的非公有的核心网的覆盖范围内时,如何使与PLMN签约的终端设备接入运营商部署的非公有的核心网,目前还没有明确的规定。Normally, the terminal device is constantly moving. When the terminal equipment of the Public Land Mobile Network (PLMN) enters the coverage of the non-public core network deployed by the operator, how to enable the terminal equipment contracted with the PLMN to access the non-public core network deployed by the operator? , there is currently no clear regulation.

发明内容Contents of the invention

本申请实施例提供一种通信方法和设备,可以使与PLMN有签约的终端设备接入运营商部署的非公有的核心网。The embodiments of this application provide a communication method and device, which can enable terminal equipment contracted with a PLMN to access a non-public core network deployed by an operator.

第一方面,提供了一种通信方法,所述方法包括:终端设备获取接入第一网络的第一标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约;In a first aspect, a communication method is provided. The method includes: a terminal device obtains a first identifier for accessing a first network. The first network is a non-public core network deployed by an operator. The terminal device and The public land mobile network PLMN has a contract;

所述终端设备基于所述第一标识,接入所述第一网络。The terminal device accesses the first network based on the first identification.

第二方面,提供了一种通信方法,所述方法包括:核心网设备接收终端设备发送的第二请求消息,所述第二请求消息包括所述终端设备接入第一网络的第一标识和所述终端设备的标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约;In a second aspect, a communication method is provided. The method includes: a core network device receiving a second request message sent by a terminal device, where the second request message includes a first identifier for the terminal device to access the first network and The identification of the terminal device, the first network is a non-public core network deployed by an operator, and the terminal device has a contract with the public land mobile network PLMN;

所述核心网设备向所述终端设备发送第二请求响应消息,所述第二请求响应消息用于指示是否允许所述终端设备接入所述第一网络。The core network device sends a second request response message to the terminal device, where the second request response message is used to indicate whether the terminal device is allowed to access the first network.

第三方面,提供了一种通信方法,所述方法包括:第一设备接收终端设备发送的第一请求消息,所述第一请求消息用于请求接入第一网络的第一标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约关系;In a third aspect, a communication method is provided, the method including: a first device receiving a first request message sent by a terminal device, the first request message being used to request a first identification for accessing the first network, the The first network is a non-public core network deployed by the operator, and the terminal equipment has a contract relationship with the public land mobile network PLMN;

所述第一设备向所述终端设备发送第一请求响应消息,所述第一请求响应消息包括所述第一标识。The first device sends a first request response message to the terminal device, where the first request response message includes the first identification.

第四方面,提供了一种终端设备,用于执行上述第一方面或其各实现方式中的方法。A fourth aspect provides a terminal device for executing the method in the above first aspect or its respective implementations.

具体地,该终端设备包括用于执行上述第一方面或其各实现方式中的方法的功能模块。Specifically, the terminal device includes a functional module for executing the method in the above-mentioned first aspect or its respective implementations.

第五方面,提供了一种核心网设备,用于执行上述第二方面或其各实现方式中的方法。A fifth aspect provides a core network device for executing the method in the above second aspect or its respective implementations.

具体地,该核心网设备包括用于执行上述第二方面或其各实现方式中的方法的功能模块。Specifically, the core network device includes a functional module for executing the method in the above second aspect or its respective implementations.

第六方面,提供了一种通信设备,用于执行上述第三方面或其各实现方式中的方法。A sixth aspect provides a communication device for performing the method in the above third aspect or its respective implementations.

具体地,该通信设备包括用于执行上述第三方面或其各实现方式中的方法的功能模块。Specifically, the communication device includes a functional module for performing the method in the above third aspect or its respective implementations.

第七方面,提供了一种终端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第一方面或其各实现方式中的方法。In a seventh aspect, a terminal device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory to execute the method in the above first aspect or its implementations.

第八方面,提供了一种核心网设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第二方面或其各实现方式中的方法。In an eighth aspect, a core network device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, and execute the method in the above second aspect or its respective implementations.

第九方面,提供了一种通信设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第三方面或其各实现方式中的方法。In a ninth aspect, a communication device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, and execute the method in the above third aspect or its respective implementations.

第十方面,提供了一种芯片,用于实现上述第一方面至第三方面中的任一方面或其各实现方式中的方法。In a tenth aspect, a chip is provided for implementing any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.

具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行如上述第一方面至第三方面中的任一方面或其各实现方式中的方法。Specifically, the chip includes: a processor, configured to call and run a computer program from a memory, so that the device installed with the chip executes any one of the above-mentioned first to third aspects or implementations thereof. method.

第十一方面,提供了一种计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。An eleventh aspect provides a computer-readable storage medium for storing a computer program, the computer program causing a computer to execute any one of the above-mentioned first to third aspects or the method in each implementation thereof.

第十二方面,提供了一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。In a twelfth aspect, a computer program product is provided, including computer program instructions, which enable a computer to execute any one of the above-mentioned first to third aspects or the method in each implementation manner thereof.

第十三方面,提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面至第三方面中的任一方面或其各实现方式中的方法。A thirteenth aspect provides a computer program that, when run on a computer, causes the computer to execute any one of the above-mentioned first to third aspects or the method in each implementation thereof.

上述技术方案,当与PLMN有签约的终端设备进入运营商部署的非公有的核心网时,终端设备可以获得接入运营商部署的非公有的核心网的标识,从而可以基于获取的标识接入运营商部署的非公有的核心网。With the above technical solution, when a terminal device signed with a PLMN enters the non-public core network deployed by the operator, the terminal device can obtain the identification of the non-public core network deployed by the operator, and thus can access based on the obtained identification. Non-public core network deployed by operators.

附图说明Description of the drawings

图1是本申请实施例提供的一种通信系统架构的示意性图。Figure 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.

图2是本申请实施例提供的一种通信方法的示意性流程图。Figure 2 is a schematic flow chart of a communication method provided by an embodiment of the present application.

图3是本申请实施例提供的另一种通信方法的示意性流程图。Figure 3 is a schematic flow chart of another communication method provided by an embodiment of the present application.

图4是本申请实施例提供的另一种通信方法的示意性流程图。Figure 4 is a schematic flow chart of another communication method provided by an embodiment of the present application.

图5是本申请实施例提供的一种通信方法的具体示意性交互图。Figure 5 is a specific schematic interaction diagram of a communication method provided by an embodiment of the present application.

图6是根据本申请实施例的终端设备的示意性框图。Figure 6 is a schematic block diagram of a terminal device according to an embodiment of the present application.

图7是根据本申请实施例的核心网设备的示意性框图。Figure 7 is a schematic block diagram of core network equipment according to an embodiment of the present application.

图8是根据本申请实施例的通信设备的示意性框图。Figure 8 is a schematic block diagram of a communication device according to an embodiment of the present application.

图9是根据本申请实施例的通信设备的示意性框图。Figure 9 is a schematic block diagram of a communication device according to an embodiment of the present application.

图10是根据本申请实施例的芯片的示意性框图。Figure 10 is a schematic block diagram of a chip according to an embodiment of the present application.

图11是根据本申请实施例的通信系统的示意性框图。Figure 11 is a schematic block diagram of a communication system according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(GlobalSystem of Mobile communication,GSM)系统、码分多址(Code Division MultipleAccess,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long TermEvolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal MobileTelecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperabilityfor Microwave Access,WiMAX)通信系统或5G系统,或者后续版本的通信系统中。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (Code Division Multiple Access, CDMA) system, Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (Time Division Duplex, TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system or 5G system, or subsequent versions of communication systems.

图1示出了本申请实施例应用的无线通信系统100。该无线通信系统100可以包括接入网设备110。接入网设备110可以是与终端设备通信的设备。接入网设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。可选地,该接入网设备110可以是下一代无线接入网(Next Generation Radio Access Network,NGRAN),或者是NR系统中的基站(gNB),或者是云无线接入网络(Cloud Radio AccessNetwork,CRAN)中的无线控制器,或者接入网设备110可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。可选地,该接入网设备110也可以是LTE系统中的基站,例如,演进的通用路基无线接入网(EvolvedUniversal Terrestrial Radio Access Network,E-UTRAN)设备。Figure 1 shows a wireless communication system 100 applied in the embodiment of the present application. The wireless communication system 100 may include an access network device 110. The access network device 110 may be a device that communicates with terminal devices. The access network device 110 can provide communication coverage for a specific geographical area and can communicate with terminal devices located within the coverage area. Optionally, the access network device 110 may be a Next Generation Radio Access Network (NGRAN), a base station (gNB) in an NR system, or a Cloud Radio Access Network (Cloud Radio Access Network). , the wireless controller in CRAN) or the access network device 110 can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a network bridge, a router, or a network-side device in a 5G network Or network equipment in the future evolved Public Land Mobile Network (Public Land Mobile Network, PLMN), etc. Optionally, the access network device 110 may also be a base station in the LTE system, for example, an Evolved Universal Terrestrial Radio Access Network (E-UTRAN) device.

该无线通信系统100还包括位于接入网设备110覆盖范围内的至少一个终端设备120。终端设备120可以是移动的或固定的。可选地,作为在此使用的“终端设备”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless LocalArea Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端设备的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端设备可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal CommunicationsSystem,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历、北斗卫星导航系统(BeiDou Navigation Satellite System,BDS)以及全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端设备可以指接入终端、用户设备(UserEquipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless LocalLoop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端设备或者未来演进的PLMN中的终端设备等。The wireless communication system 100 also includes at least one terminal device 120 located within the coverage of the access network device 110. Terminal device 120 may be mobile or stationary. Optionally, "terminal equipment" as used herein includes but is not limited to connections via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cables , a direct cable connection; and/or another data connection/network; and/or via a wireless interface, e.g. for cellular networks, Wireless Local Area Network (WLAN), digital television networks such as DVB-H networks, satellite networks , an AM-FM broadcast transmitter; and/or a device of another terminal device configured to receive/transmit communication signals; and/or an Internet of Things (IoT) device. A terminal device configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine cellular radiotelephones with data processing, fax, and data communications capabilities; may include radiotelephones, pagers, Internet/Intranets PDA with access, Web browser, diary, calendar, BeiDou Navigation Satellite System (BDS) and Global Positioning System (GPS) receiver; as well as conventional laptops and/or handhelds Receiver or other electronic device including a radiotelephone transceiver. Terminal equipment may refer to access terminal, user equipment (User Equipment, UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or a device with wireless communication capabilities. Handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or terminal devices in future evolved PLMNs, etc.

该无线通信系统100还包括与接入网设备进行通信的核心网设备130。可选地,该核心网设备130可以是5G核心网设备,例如,接入与移动性管理功能(Access and MobilityManagement Function,AMF),负责接入和移动性管理,具有对用户进行认证、切换、位置更新等功能。又例如,会话管理功能(Session Management Function,SMF),负责会话管理,包括分组数据单元(Packet Data Unit,PDU)会话的建立、修改、释放等。又例如,用户面功能(User Plane Function,UPF),负责用户数据的转发。The wireless communication system 100 also includes a core network device 130 that communicates with access network devices. Optionally, the core network device 130 may be a 5G core network device, such as an Access and Mobility Management Function (AMF), which is responsible for access and mobility management, and has the functions of authenticating, switching, and Location updates and other functions. As another example, the session management function (Session Management Function, SMF) is responsible for session management, including the establishment, modification, and release of packet data unit (Packet Data Unit, PDU) sessions. Another example is the User Plane Function (UPF), which is responsible for forwarding user data.

可选地,终端设备之间可以进行终端直连(Device to Device,D2D)通信。Optionally, terminal devices can communicate through Device to Device (D2D).

图1示例性地示出了一个接入网设备、一个核心网设备和两个终端设备,可选地,该无线通信系统100可以包括多个接入网设备并且每个接入网设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。Figure 1 exemplarily shows an access network device, a core network device and two terminal devices. Optionally, the wireless communication system 100 may include multiple access network devices and the coverage of each access network device The scope may include other numbers of terminal devices, which are not limited in the embodiments of this application.

可选地,该无线通信系统100还可以包括移动管理实体(Mobile ManagementEntity,MME)、统一数据管理(Unified Data Management,UDM),认证服务器功能(Authentication Server Function,AUSF),UPF,信令网关(Signaling Gateway,SGW)等其他网络实体,本申请实施例对此不作限定。图1示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。Optionally, the wireless communication system 100 may also include a Mobile Management Entity (MME), a Unified Data Management (UDM), an Authentication Server Function (AUSF), a UPF, a signaling gateway ( Signaling Gateway, SGW) and other network entities are not limited in the embodiments of this application. Figure 1 exemplarily shows one network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. This application The embodiment does not limit this.

图2是根据本申请实施例的通信方法200的示意性流程图,其中,该方法可以由终端设备执行。该方法200包括以下内容中的至少部分内容。Figure 2 is a schematic flowchart of a communication method 200 according to an embodiment of the present application, where the method can be executed by a terminal device. The method 200 includes at least some of the following.

在210中,终端设备获取接入第一网络的第一标识。In 210, the terminal device obtains a first identification for accessing the first network.

其中,第一网络为运营商部署的非公有的核心网,终端设备与PLMN有签约。Among them, the first network is a non-public core network deployed by operators, and the terminal equipment has a contract with PLMN.

在220中,终端设备基于第一标识,接入第一网络。In 220, the terminal device accesses the first network based on the first identification.

图3是根据本申请实施例的通信方法300的示意性流程图,其中,该方法可以由核心网设备执行。该方法300包括以下内容中的至少部分内容。Figure 3 is a schematic flowchart of a communication method 300 according to an embodiment of the present application, where the method can be executed by a core network device. The method 300 includes at least some of the following.

在310中,核心网设备接收终端设备发送的第二请求消息。In 310, the core network device receives the second request message sent by the terminal device.

其中,第二请求消息可以包括终端设备接入第一网络的第一标识和终端设备的标识,第一网络为运营商部署的非公有的核心网,终端设备与PLMN有签约。The second request message may include a first identifier for the terminal device to access the first network and an identifier of the terminal device. The first network is a non-public core network deployed by an operator, and the terminal device has a contract with the PLMN.

在320中,核心网设备向终端设备发送第二请求响应消息。其中,第二请求响应消息用于指示是否允许终端设备接入第一网络。In 320, the core network device sends a second request response message to the terminal device. The second request response message is used to indicate whether the terminal device is allowed to access the first network.

图4是根据本申请实施例的通信方法400的示意性流程图,其中,该方法可以由第一设备执行。该方法400包括以下内容中的至少部分内容。Figure 4 is a schematic flowchart of a communication method 400 according to an embodiment of the present application, where the method can be executed by the first device. The method 400 includes at least some of the following.

在410中,第一设备接收终端设备发送的第一请求消息。In 410, the first device receives the first request message sent by the terminal device.

其中,第一请求消息用于请求接入第一网络的第一标识,第一网络为运营商部署的非公有的核心网,终端设备与PLMN有签约。The first request message is used to request a first identifier for accessing the first network. The first network is a non-public core network deployed by an operator, and the terminal device has a contract with the PLMN.

在420中,第一设备向终端设备发送第一请求响应消息,该第一请求响应消息包括第一标识。In 420, the first device sends a first request response message to the terminal device, where the first request response message includes the first identification.

下面将结合图2-图4进一步描述本申请实施例的通信方法。应理解,下文描述的内容即可以应用于方法200,也可以应用于方法300和400。The communication method according to the embodiment of the present application will be further described below with reference to Figures 2-4. It should be understood that the content described below can be applied to method 200 as well as methods 300 and 400 .

可选地,在本申请实施例中,第一网络例如可以是类型a网络(Type-a Network,TAN)。Optionally, in this embodiment of the present application, the first network may be, for example, a Type-a Network (Type-a Network, TAN).

NR系统引入了垂直产业局域网(Vertical Local Access Network,VLAN)。VLAN网络又可以称为非公有网络,提供非公有服务。VLAN网络可以为TAN和类型b网络(Type-bNetwork,TBN),其中,TAN可以接入PLMN,为接入TAN的UE提供PLMN服务,TBN不接入PLMN,无法为接入TBN的UE提供PLMN服务。其中,TAN在进行数据传输时,可以把数据传输到外部网络,也可以只在TAN内部进行数据传输。然而,TBN在进行数据传输时,只能在TBN内部进行数据传输,和外部没有任何联系。TAN的UPF与PLMN网络外部的数据网络(Data Network,DN)之间可以通过接口N6进行连接。然而,TBN的UPF不会连接到PLMN网络外部的DN。The NR system introduces a vertical industrial LAN (Vertical Local Access Network, VLAN). VLAN networks can also be called non-public networks and provide non-public services. VLAN networks can be TAN and Type-b Network (TBN). Among them, TAN can access PLMN and provide PLMN services for UEs accessing TAN. TBN does not access PLMN and cannot provide PLMN for UEs accessing TBN. Serve. Among them, when TAN transmits data, it can transmit data to the external network, or it can only transmit data within the TAN. However, when TBN transmits data, it can only transmit data within the TBN and has no connection with the outside. The UPF of the TAN can be connected to the Data Network (DN) outside the PLMN network through interface N6. However, the TBN's UPF will not connect to DNs outside the PLMN network.

需要说明的是,本申请实施例对TAN和TBN的名称并不限定,也就是说,它们也可以表述为其他名称。It should be noted that the embodiments of the present application do not limit the names of TAN and TBN, that is to say, they can also be expressed as other names.

可选地,第一标识为可以接入第一网络的ID。例如,第一标识可以是验证码。其中,一个终端设备可以对应至少一个第一标识,一个第一标识也可以对应至少一个终端设备。Optionally, the first identification is an ID that can access the first network. For example, the first identification may be a verification code. Among them, one terminal device can correspond to at least one first identifier, and one first identifier can also correspond to at least one terminal device.

终端设备获取接入第一网络的第一标识的方式有很多种,本申请实施例对此不作具体限定。There are many ways for a terminal device to obtain the first identifier for accessing the first network, and the embodiments of this application do not specifically limit this.

在一种实现方式中,终端设备获取接入第一网络的第一标识,可以包括:终端设备向第一设备发送第一请求消息,其中,该第一请求消息可以用于请求第一标识,请求消息可以包括终端设备的标识。第一设备接收到第一请求消息后,可以为终端设备分配第一标识。之后,第一设备可以向终端设备发送第一请求响应消息,该第一请求响应消息包括第一标识。在终端设备接收到第一请求响应消息之后,终端设备可以基于第一请求响应消息确定第一标识。In one implementation, the terminal device obtains the first identity for accessing the first network, which may include: the terminal device sends a first request message to the first device, where the first request message may be used to request the first identity, The request message may include the identification of the terminal device. After receiving the first request message, the first device may allocate a first identification to the terminal device. Afterwards, the first device may send a first request response message to the terminal device, where the first request response message includes the first identification. After the terminal device receives the first request response message, the terminal device may determine the first identification based on the first request response message.

可选地,终端设备的标识可以包括但不限于国际移动用户识别码(InternationalMobile Subscriber Identification Number,IMSI)、UE ID、国际移动设备识别码(International Mobile Equipment Identity,IMEI)。当终端设备为手机时,终端设备的标识也可以为终端设备的手机号。Optionally, the identification of the terminal device may include, but is not limited to, International Mobile Subscriber Identification Number (IMSI), UE ID, and International Mobile Equipment Identity (IMEI). When the terminal device is a mobile phone, the identifier of the terminal device may also be the mobile phone number of the terminal device.

可选地,第一设备可以是核心网设备、应用服务器或用户设备。Optionally, the first device may be a core network device, an application server or a user device.

可选地,第一设备接收到第一请求消息后,还可以确定第一标识的有效时长。例如,第一标识的有效时长为30s。此时,第一请求响应消息中可以包括第一标识的有效时长。Optionally, after receiving the first request message, the first device may also determine the validity period of the first identification. For example, the validity period of the first identifier is 30 seconds. At this time, the first request response message may include the validity period of the first identifier.

可选地,第一设备为终端设备分配第一标识后,可以保存终端设备上报的终端设备的标识和第一标识的对应关系。Optionally, after the first device allocates the first identifier to the terminal device, the first device may save the corresponding relationship between the identifier of the terminal device reported by the terminal device and the first identifier.

在另一种实现方式中,当第一设备为应用服务器时,终端设备可以通过应用内部的交互获取第一标识。In another implementation manner, when the first device is an application server, the terminal device can obtain the first identification through interaction within the application.

作为一种示例,终端设备可以在一个应用程序上申请第一标识,即终端设备可以向应用服务器发送数据包,应用服务器给终端设备分配第一标识后,可以通过数据包将第一标识传送给终端设备。As an example, the terminal device can apply for the first identification on an application program, that is, the terminal device can send a data packet to the application server. After the application server assigns the first identification to the terminal device, the first identification can be transmitted to the terminal device through the data packet. Terminal Equipment.

在另一种实现方式中,终端设备可以通过用户设备之间的沟通获取第一标识。In another implementation manner, the terminal device can obtain the first identification through communication between user devices.

比如,当第一标识为验证码时,第一用户设备可以告诉第二用户设备验证码,第二用户设备在获得验证码后,将验证码输入终端设备,从而终端设备可以获取到验证码。For example, when the first identifier is a verification code, the first user equipment can tell the second user equipment the verification code. After obtaining the verification code, the second user equipment enters the verification code into the terminal device, so that the terminal device can obtain the verification code.

可选地,本申请实施例的方法还可以包括:终端设备接收第一网络的接入网设备发送的广播消息,其中,该广播消息可以包括第一网络的标识。Optionally, the method in this embodiment of the present application may further include: the terminal device receiving a broadcast message sent by the access network device of the first network, where the broadcast message may include an identifier of the first network.

可选地,广播消息还可以包括允许与PLMN有签约的终端设备接入第一网络的指示信息。Optionally, the broadcast message may also include indication information allowing the terminal device that has signed a contract with the PLMN to access the first network.

终端设备读取到第一网络的标识后,与保存的第一网络的标识进行比较,若读取的第一网络的标识与保存的第一网络的标识相同,则终端设备可以确定当前所处的位置有第一网络的覆盖,则终端设备可以向第一网络发起注册。为了描述方便,下述描述将终端设备保存的第一网络的标识称为第一网络的标识1。After the terminal device reads the identifier of the first network, it compares it with the saved identifier of the first network. If the read identifier of the first network is the same as the saved identifier of the first network, the terminal device can determine where it is currently located. If the location is covered by the first network, the terminal device can initiate registration with the first network. For convenience of description, the following description will refer to the identity of the first network saved by the terminal device as the identity of the first network 1.

可选地,第一网络的标识1可以是通过第一标识获得的,即第一标识中可以包括第一网络的标识1。Optionally, the identity 1 of the first network may be obtained through the first identity, that is, the first identity may include the identity 1 of the first network.

可选地,第一网络的标识1可以是预配置在终端设备上的。Optionally, the identifier 1 of the first network may be pre-configured on the terminal device.

可选地,第一网络的标识1可以是终端设备从某个应用程序上获取的。Optionally, the identity 1 of the first network may be obtained by the terminal device from a certain application.

终端设备与第一网络的接入网设备建立连接后,若第一标识在有效时长内,则终端设备可以向核心网设备发送第二请求消息,其中,该第二请求消息可以包括第一标识和终端设备的标识。核心网设备接收到第二请求消息后,可以确定是否允许终端设备接入第一网络。之后,核心网设备可以向终端设备发送第二请求响应消息,该第二请求响应消息用于指示是否允许终端设备接入第一网络。After the terminal device establishes a connection with the access network device of the first network, if the first identifier is within the valid time period, the terminal device may send a second request message to the core network device, where the second request message may include the first identifier. and terminal device identification. After receiving the second request message, the core network device may determine whether to allow the terminal device to access the first network. Afterwards, the core network device may send a second request response message to the terminal device, where the second request response message is used to indicate whether the terminal device is allowed to access the first network.

若第二请求响应消息指示允许终端设备接入第一网络,则终端设备可以接入第一网络。If the second request response message indicates that the terminal device is allowed to access the first network, the terminal device may access the first network.

应理解,本申请实施例中的核心网设备为第一网络的核心网设备。It should be understood that the core network equipment in the embodiment of this application is the core network equipment of the first network.

可选地,第二请求消息可以是注册请求消息,也可以是携带会话建立请求消息的非接入层(Non-Access Stratum,NAS)消息。Optionally, the second request message may be a registration request message, or a Non-Access Stratum (NAS) message carrying a session establishment request message.

在一种可能的实施例中,核心网设备确定是否允许终端设备接入第一网络,可以包括:核心网设备根据第一标识和终端设备的标识,确定是否允许终端设备接入第一网络。In a possible embodiment, the core network device determines whether to allow the terminal device to access the first network, which may include: the core network device determines whether to allow the terminal device to access the first network based on the first identifier and the identifier of the terminal device.

具体而言,核心网设备可以确定终端设备是否与PLMN有签约。若终端设备与PLMN有签约,则核心网设备可以向第一设备发送校验请求消息,该校验请求消息可以包括第一终端设备标识和第一标识。第一设备基于第一终端设备标识和第一标识,对终端设备进行校验,得到校验结果后,可以向核心网设备发送校验响应消息,该校验响应消息包括校验结果。之后,核心网设备可以基于校验结果,确定是否允许终端设备接入第一网络。Specifically, the core network equipment can determine whether the terminal equipment has a contract with the PLMN. If the terminal device has a contract with the PLMN, the core network device may send a verification request message to the first device, and the verification request message may include the first terminal device identifier and the first identifier. The first device verifies the terminal device based on the first terminal device identifier and the first identifier. After obtaining the verification result, the first device may send a verification response message to the core network device, where the verification response message includes the verification result. Afterwards, the core network device may determine whether to allow the terminal device to access the first network based on the verification result.

核心网设备确定终端设备是否与PLMN有签约,作为一种示例,可以包括:终端设备向核心网设备发送第一指示信息,其中,该第一指示信息可以用于指示终端设备与PLMN有签约。核心网设备可以根据第一指示信息,确定终端设备与PLMN有签约。The core network device determines whether the terminal device has a contract with the PLMN. As an example, the terminal device may send first indication information to the core network device, where the first indication information may be used to indicate that the terminal device has a contract with the PLMN. The core network device may determine that the terminal device has a contract with the PLMN according to the first indication information.

可选地,第一指示信息可以承载于第二请求消息中。Optionally, the first indication information may be carried in the second request message.

可选地,第一指示信息可以通过至少一个比特指示终端设备是否与PLMN有签约。Optionally, the first indication information may indicate whether the terminal device has a contract with the PLMN through at least one bit.

示例性地,第一指示信息可以通过比特“0”指示终端设备与PLMN没有签约,通过比特“1”指示终端设备与PLMN有签约。For example, the first indication information may use bit "0" to indicate that the terminal device has not signed a contract with the PLMN, and use bit "1" to indicate that the terminal device has signed a contract with the PLMN.

再示例性地,第一指示信息的比特数可以为多个,若多个比特位相同,则表示终端设备与PLMN有签约,若多个比特位中至少有两个比特位不同,则表示终端设备与PLMN没有签约。例如,“000”表示终端设备与PLMN有签约,“010”表示终端设备与PLMN没有签约。As another example, the number of bits of the first indication information may be multiple. If multiple bits are the same, it indicates that the terminal device has a contract with the PLMN. If at least two of the multiple bits are different, it indicates that the terminal The equipment has no contract with the PLMN. For example, "000" indicates that the terminal device has a contract with the PLMN, and "010" indicates that the terminal device has not signed a contract with the PLMN.

应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本发明实施例,而非限制本申请实施例的范围。It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art better understand the embodiments of the present invention, but are not intended to limit the scope of the embodiments of the present application.

可选地,第一指示信息可以通过第一参数指示终端设备是否与PLMN有签约。Optionally, the first indication information may indicate whether the terminal device has a contract with the PLMN through the first parameter.

示例性地,若第一指示信息中包括第一参数,则表示终端设备与PLMN有签约;若第一指示信息中不包括第一参数,则表示终端设备与PLMN没有签约。For example, if the first indication information includes the first parameter, it means that the terminal device has a contract with the PLMN; if the first indication information does not include the first parameter, it means that the terminal device does not have a contract with the PLMN.

需要说明的是,本申请实施例对第一参数不做具体限定,任何可以指示终端设备是否与PLMN有签约的参数都包含在本申请的保护范围内。It should be noted that the embodiment of the present application does not specifically limit the first parameter, and any parameter that can indicate whether the terminal device has a contract with the PLMN is included in the protection scope of the present application.

可选地,第一指示信息可以是终端设备的标识信息。即核心网设备可以通过识别终端设备的标识,确定终端设备是否与PLMN有签约。Optionally, the first indication information may be identification information of the terminal device. That is, the core network equipment can determine whether the terminal equipment has a contract with the PLMN by identifying the identifier of the terminal equipment.

在一种可能的实施例中,第一设备基于第一终端设备标识和第一标识,对终端设备进行校验,可以包括:第一设备保存第二标识和终端设备的标识,其中,第二标识为终端设备接入第一网络的标识。之后,第一设备可以确定包括的第二标识和终端设备的标识,是否与核心网设备上报的第一终端设备的标识和第一标识一致。若一致,则第一设备可以允许终端设备接入第一网络;若不一致,则第一设备不允许终端设备接入第一网络。In a possible embodiment, the first device verifies the terminal device based on the first terminal device identifier and the first identifier, which may include: the first device saves the second identifier and the identifier of the terminal device, wherein the second The identifier is an identifier for the terminal device to access the first network. Afterwards, the first device may determine whether the included second identifier and the identifier of the terminal device are consistent with the identifier of the first terminal device and the first identifier reported by the core network device. If they are consistent, the first device may allow the terminal device to access the first network; if they are inconsistent, the first device may not allow the terminal device to access the first network.

例如,第一设备保存的第二标识为ID 1,终端设备的标识为ID 2,ID 1与ID 2对应,核心网设备上报的第一标识为ID 1’,第一终端设备的标识为ID 2’,则第一设备校验是否保存有核心网设备上报的ID 1’和ID 2’。若第一设备确定ID 1’与ID 1相同、ID 2’与ID2相同,即第一设备校验保存有核心网设备上报的ID 1’和ID 2’。则第一设备可以检测ID1’和ID 2’的对应关系是否与ID 1和ID 2的对应关系一直,若一致,则第一设备确定终端设备可以接入第一网络;若不一致,则第一设备确定终端设备不可以接入第一网络。For example, the second identity saved by the first device is ID 1, the identity of the terminal device is ID 2, ID 1 corresponds to ID 2, the first identity reported by the core network device is ID 1', and the identity of the first terminal device is ID 2', then the first device checks whether it saves the ID 1' and ID 2' reported by the core network device. If the first device determines that ID 1’ is the same as ID 1 and ID 2’ is the same as ID2, that is, the first device verifies and saves ID 1’ and ID 2’ reported by the core network device. Then the first device can detect whether the corresponding relationship between ID1' and ID 2' is consistent with the corresponding relationship between ID 1 and ID 2. If they are consistent, the first device determines that the terminal device can access the first network; if they are inconsistent, the first device The device determines that the terminal device cannot access the first network.

若第一设备确定终端设备可以接入第一网络,则本申请实施例的方法还可以包括:第一设备确定终端设备接入第一网络的有效时长和/或允许终端设备接入的第一业务,其中,第一业务为终端设备接入的第一网络的业务。例如,第一业务可以是上网、发短信。If the first device determines that the terminal device can access the first network, the method in the embodiment of the present application may further include: the first device determines a valid time period for the terminal device to access the first network and/or a first time limit for allowing the terminal device to access the first network. Service, wherein the first service is a service of the first network accessed by the terminal device. For example, the first service may be surfing the Internet and sending text messages.

可选地,校验响应消息中可以包括终端设备接入第一网络的有效时长和/或允许终端设备接入的第一业务。Optionally, the verification response message may include a valid time period for the terminal device to access the first network and/or a first service that the terminal device is allowed to access.

作为一种示例,第一设备可以根据当前时刻第一网络的业务量确定终端设备接入第一网络的有效时长。As an example, the first device may determine the effective time period for the terminal device to access the first network based on the traffic volume of the first network at the current moment.

例如,若当前时刻第一网络的业务量较大,则终端设备接入第一网络的有效时长可以较短,如1个小时;若当前时刻第一网络的业务量较小,则终端设备接入第一网络的有效时长可以较长,如2个小时。For example, if the business volume of the first network at the current moment is large, the effective time for the terminal device to access the first network may be shorter, such as 1 hour; if the business volume of the first network at the current moment is small, the terminal device may access the first network for a shorter period of time. The valid time for accessing the first network can be longer, such as 2 hours.

作为又一示例,第一设备可以基于预设值确定终端设备接入第一网络的有效时长。As another example, the first device may determine a valid time period for the terminal device to access the first network based on a preset value.

可选地,预设值可以是协议规定的。如协议规定终端设备接入第一网络的有效时长是2个小时。Optionally, the preset value may be protocol-specified. For example, the agreement stipulates that the valid time for terminal equipment to access the first network is 2 hours.

可选地,校验响应消息中包括的允许终端设备接入的第一业务可以是第一业务的服务类型和标识。Optionally, the first service included in the verification response message that the terminal device is allowed to access may be the service type and identification of the first service.

可选地,该标识例如可以是应用名称,数据网络名称(Data Network Name,DNN)、单一网络切片选择辅助信息(Single Network Slice Selection AssistanceInformation,S-NSSAI)。Optionally, the identifier may be, for example, an application name, a data network name (Data Network Name, DNN), or a single network slice selection assistance information (Single Network Slice Selection Assistance Information, S-NSSAI).

本申请实施例的方法还可以包括:核心网设备向PLMN的UDM调用签约请求服务,其中,该签约请求服务用于请求终端设备的签约信息;核心网设备接收UDM调用的签约请求响应服务,该签约请求响应服务包含第三指示信息,其中,第三指示信息可以用于指示允许终端设备接入的第二业务,第二业务为终端设备通过第一网络接入的PLMN的业务。例如,第二业务可以是语音通话、长期演进语音承载(Voice over Long-Term Evolution,VoLTE)等。The method in the embodiment of the present application may also include: the core network device calls the signing request service to the UDM of the PLMN, where the signing request service is used to request the signing information of the terminal device; the core network device receives the signing request response service called by the UDM, and the The subscription request response service includes third indication information, where the third indication information may be used to indicate a second service that the terminal device is allowed to access, and the second service is a service of the PLMN that the terminal device accesses through the first network. For example, the second service may be a voice call, a long-term evolution voice bearer (Voice over Long-Term Evolution, VoLTE), etc.

可选地,核心网设备可以从终端设备的标识中获取PLMN的标识,再基于PLMN的标识向PLMN的UDM调用签约请求服务。Optionally, the core network device may obtain the identity of the PLMN from the identity of the terminal device, and then call the UDM of the PLMN to request a subscription service based on the identity of the PLMN.

可选地,第三指示信息可以通过指示第二业务的服务类型和标识来指示允许终端设备接入的第二业务。Optionally, the third indication information may indicate the second service that the terminal device is allowed to access by indicating the service type and identification of the second service.

可选地,第二业务的服务标识例如可以是应用名称,DNN和S-NSSAI。Optionally, the service identifier of the second service may be, for example, application name, DNN and S-NSSAI.

在核心网设备获取到允许终端设备接入的第一业务和第二业务后,可选地,本申请实施例的方法还可以包括:终端设备接收核心网设备发送的第二指示信息,其中,该第二指示信息用于指示允许终端设备接入的第一业务和/或第二业务。After the core network device obtains the first service and the second service that allow the terminal device to access, optionally, the method in the embodiment of the present application may also include: the terminal device receives the second indication information sent by the core network device, wherein, The second indication information is used to indicate the first service and/or the second service that the terminal device is allowed to access.

可选地,第三指示信息可以承载于第二请求响应消息中。Optionally, the third indication information may be carried in the second request response message.

可选地,核心网设备向终端设备发送第二请求响应消息后,可以向终端设备发送NAS消息,第三指示信息可以承载于该NAS消息中。Optionally, after the core network device sends the second request response message to the terminal device, the core network device may send a NAS message to the terminal device, and the third indication information may be carried in the NAS message.

应理解,在本申请实施例中,“第一”、“第二”和“第三”仅仅为了区分不同的对象,但并不对本申请实施例的范围构成限制。It should be understood that in the embodiments of the present application, “first”, “second” and “third” are only used to distinguish different objects, but do not limit the scope of the embodiments of the present application.

还应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。It should also be understood that the term "and/or" in this article is only an association relationship describing related objects, indicating that there can be three relationships. For example, A and/or B can mean: A alone exists, and A and A exist simultaneously. B, there are three situations of B alone.

图5提供了本申请实施例的一个具体示意图。在图5中,第一网络为TAN,第一标识为第一ID,与PLMN有签约的终端设备为PLMN UE,PLMN UE的标识为IMSI,第一网络的接入网设备为无线接入网(Radio Access Network,RAN)-a,第一网络的核心网设备为AMF-a。Figure 5 provides a specific schematic diagram of an embodiment of the present application. In Figure 5, the first network is TAN, the first identifier is the first ID, the terminal device that has signed a contract with the PLMN is the PLMN UE, the identifier of the PLMN UE is the IMSI, and the access network device of the first network is the radio access network (Radio Access Network, RAN)-a, the core network equipment of the first network is AMF-a.

在510中,PLMN UE向第一设备发送请求接入TAN的第一ID的第一请求消息。其中,第一请求消息中包括IMSI。In 510, the PLMN UE sends a first request message requesting access to the first ID of the TAN to the first device. The first request message includes IMSI.

第一设备接收到第一请求消息后,为PLMN UE分配第一ID和第一ID的有效时长,并保存第一ID与IMSI的对应关系。After receiving the first request message, the first device allocates the first ID and the validity period of the first ID to the PLMN UE, and saves the corresponding relationship between the first ID and the IMSI.

在520中,第一设备向PLMN UE发送第一请求响应消息,该第一请求响应消息包括第一ID、第一ID的有效时长。In 520, the first device sends a first request response message to the PLMN UE, where the first request response message includes the first ID and the validity period of the first ID.

在530中,RAN-a广播TAN ID。In 530, RAN-a broadcasts the TAN ID.

可选地,RAN-a还可以广播允许PLMN UE接入TAN的指示。Optionally, RAN-a may also broadcast an indication allowing the PLMN UE to access the TAN.

在540中,若第一ID仍在有效时长内,PLMN UE向AMF-a发送第二请求消息。In 540, if the first ID is still within the validity period, the PLMN UE sends a second request message to AMF-a.

其中,第二请求消息中可以包括IMSI、第一ID、指示UE为PLMN UE的指示信息。The second request message may include the IMSI, the first ID, and indication information indicating that the UE is a PLMN UE.

可选地,第二请求消息可以是注册请求消息,也可以是携带PDU会话建立请求消息的NAS消息。Optionally, the second request message may be a registration request message, or may be a NAS message carrying a PDU session establishment request message.

若AMF-a识别出该UE为PLMN UE,则AMF-a对PLMN UE的接入进行校验,并从IMSI中获取PLMN ID。If AMF-a recognizes that the UE is a PLMN UE, AMF-a verifies the access of the PLMN UE and obtains the PLMN ID from the IMSI.

在541中,AMF-a基于PLMN ID向该PLMN的UDM调用签约请求服务,并且UDM向核心网设备调用签约请求响应服务。In 541, AMF-a calls the subscription request service to the UDM of the PLMN based on the PLMN ID, and the UDM calls the subscription request response service to the core network device.

可选地,签约请求响应服务可以指示允许PLMN UE通过TAN接入PLMN服务和该服务的ID+DNN+S-NSSAI。Optionally, the subscription request response service may indicate that the PLMN UE is allowed to access the PLMN service through the TAN and the ID+DNN+S-NSSAI of the service.

在550中,AMF-a向第一设备发送校验请求消息,该校验请求消息包括IMSI和第一ID。In 550, AMF-a sends a verification request message to the first device, where the verification request message includes the IMSI and the first ID.

第一设备接收到校验请求消息后,校验PLMN UE是否可以接入TAN,若PLMN UE可以接入TAN,则第一设备确定PLMN UE可以接入TAN的有效时长以及可以接入的TAN的服务类型和ID。After receiving the verification request message, the first device verifies whether the PLMN UE can access the TAN. If the PLMN UE can access the TAN, the first device determines the validity period for which the PLMN UE can access the TAN and the length of the TAN that can be accessed. Service type and ID.

在560中,第一设备向AMF-a发送校验响应消息,其中,校验响应消息包括IMSI、第一ID、可以接入TAN的有效时长以及允许PLMN UE接入的TAN的服务类型和ID。In 560, the first device sends a verification response message to AMF-a, where the verification response message includes the IMSI, the first ID, the validity period for which the TAN can be accessed, and the service type and ID of the TAN that the PLMN UE is allowed to access. .

在570中,AMF-a向PLMN UE发送第二请求响应消息。In 570, AMF-a sends a second request response message to the PLMN UE.

其中,第二请求响应消息包括第一ID、校验结果、可以接入TAN的有效时长、允许PLMN UE接入的TAN的服务类型和ID以及允许PLMN UE通过TAN接入的PLMN的服务类型和ID。The second request response message includes the first ID, the verification result, the validity period for accessing the TAN, the service type and ID of the TAN that the PLMN UE is allowed to access, and the service type and ID of the PLMN that the PLMN UE is allowed to access through the TAN. ID.

本申请实施例,当与PLMN有签约的终端设备进入运营商部署的非公有的核心网时,终端设备可以获得接入运营商部署的非公有的核心网的标识,从而可以基于获取的标识接入运营商部署的非公有的核心网。In the embodiment of this application, when a terminal device that has a contract with a PLMN enters the non-public core network deployed by the operator, the terminal device can obtain the identification of the non-public core network deployed by the operator, and thus can access the network based on the obtained identification. into the non-public core network deployed by the operator.

应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.

上文中详细描述了根据本申请实施例的通信方法,下面将结合图6至图9,描述根据本申请实施例的装置,方法实施例所描述的技术特征适用于以下装置实施例。The communication method according to the embodiment of the present application is described in detail above. The device according to the embodiment of the present application will be described below with reference to Figures 6 to 9. The technical features described in the method embodiment are applicable to the following device embodiments.

图6示出了本申请实施例的终端设备600的示意性框图。如图6所示,该终端设备600包括:Figure 6 shows a schematic block diagram of the terminal device 600 according to the embodiment of the present application. As shown in Figure 6, the terminal device 600 includes:

处理单元610,用于获取接入第一网络的第一标识,第一网络为运营商部署的非公有的核心网,该终端设备600与PLMN有签约。The processing unit 610 is configured to obtain a first identifier for accessing a first network. The first network is a non-public core network deployed by an operator. The terminal device 600 has a contract with the PLMN.

该处理单元610还用于,基于第一标识,接入该第一网络。The processing unit 610 is also configured to access the first network based on the first identification.

可选地,在本申请实施例中,该终端设备600还包括:通信单元620,用于向第一设备发送第一请求消息,该第一请求消息用于请求第一标识,该请求消息包括该终端设备600的标识;Optionally, in this embodiment of the present application, the terminal device 600 further includes: a communication unit 620, configured to send a first request message to the first device. The first request message is used to request the first identity. The request message includes The identification of the terminal device 600;

该通信单元620还用于,接收第一设备发送的第一请求响应消息,该第一请求响应消息包括第一标识。The communication unit 620 is also configured to receive a first request response message sent by the first device, where the first request response message includes a first identifier.

可选地,在本申请实施例中,第一请求响应消息还包括第一标识的有效时长。Optionally, in this embodiment of the present application, the first request response message also includes the validity period of the first identification.

可选地,在本申请实施例中,第一设备为核心网设备、应用服务器或用户设备。Optionally, in this embodiment of the present application, the first device is a core network device, an application server or a user device.

可选地,在本申请实施例中,该终端设备600还包括:通信单元620,用于向核心网设备发送第二请求消息,该第二请求消息包括第一标识和该终端设备600的标识;Optionally, in this embodiment of the present application, the terminal device 600 further includes: a communication unit 620, configured to send a second request message to the core network device, where the second request message includes the first identifier and the identifier of the terminal device 600. ;

该通信单元620还用于,接收核心网设备发送的第二请求响应消息,该第二请求响应消息用于指示是否允许该终端设备600接入第一网络。The communication unit 620 is also configured to receive a second request response message sent by the core network device, where the second request response message is used to indicate whether the terminal device 600 is allowed to access the first network.

可选地,在本申请实施例中,第二请求消息还包括第一指示信息,该第一指示信息用于指示该终端设备600与PLMN有签约。Optionally, in this embodiment of the present application, the second request message also includes first indication information, and the first indication information is used to indicate that the terminal device 600 has a contract with the PLMN.

可选地,在本申请实施例中,第二请求响应消息包括该终端设备600接入所述第一网络的有效时长。Optionally, in this embodiment of the present application, the second request response message includes a valid time period for the terminal device 600 to access the first network.

可选地,在本申请实施例中,该终端设备600还包括:通信单元620,用于接收核心网设备发送的第二指示信息,该第二指示信息用于指示允许该终端设备600接入的第一业务和/或第二业务,其中,第一业务为该终端设备600接入的第一网络的业务,第二业务为该终端设备600通过第一网络接入的PLMN的业务。Optionally, in this embodiment of the present application, the terminal device 600 further includes: a communication unit 620, configured to receive second indication information sent by the core network device, where the second indication information is used to indicate that the terminal device 600 is allowed to access. The first service and/or the second service, wherein the first service is a service of the first network that the terminal device 600 accesses, and the second service is a service of the PLMN that the terminal device 600 accesses through the first network.

可选地,在本申请实施例中,核心网设备为第一网络的核心网设备。Optionally, in this embodiment of the present application, the core network device is the core network device of the first network.

应理解,该终端设备600可对应于方法200中的终端设备,可以实现该方法200中的终端设备的相应操作,为了简洁,在此不再赘述。It should be understood that the terminal device 600 may correspond to the terminal device in the method 200, and may implement corresponding operations of the terminal device in the method 200. For the sake of brevity, details will not be described again.

图7示出了本申请实施例的核心网设备700的示意性框图。如图7所示,该核心网设备700包括:Figure 7 shows a schematic block diagram of the core network device 700 according to the embodiment of the present application. As shown in Figure 7, the core network equipment 700 includes:

通信单元710,用于接收终端设备发送的第二请求消息,该第二请求消息包括终端设备接入第一网络的第一标识和终端设备的标识,第一网络为运营商部署的非公有的核心网,终端设备与PLMN有签约。The communication unit 710 is configured to receive a second request message sent by the terminal device. The second request message includes a first identification of the terminal device for accessing the first network and an identification of the terminal device. The first network is a non-public network deployed by the operator. The core network and terminal equipment are contracted with PLMN.

该通信单元710还用于,向终端设备发送第二请求响应消息,该第二请求响应消息用于指示是否允许终端设备接入第一网络。The communication unit 710 is also configured to send a second request response message to the terminal device, where the second request response message is used to indicate whether the terminal device is allowed to access the first network.

可选地,在本申请实施例中,该核心网设备700还包括:处理单元720,用于根据第一标识和终端设备的标识,确定是否允许终端设备接入第一网络。Optionally, in this embodiment of the present application, the core network device 700 further includes: a processing unit 720, configured to determine whether to allow the terminal device to access the first network based on the first identification and the identification of the terminal device.

可选地,在本申请实施例中,该通信单元710具体用于:向第一设备发送校验请求消息,该校验请求消息包括第一终端设备标识和第一标识;Optionally, in this embodiment of the present application, the communication unit 710 is specifically configured to: send a verification request message to the first device, where the verification request message includes the first terminal device identification and the first identification;

接收第一设备发送的校验响应消息,该校验响应消息包括是否允许终端设备接入第一网络的校验结果;Receive a verification response message sent by the first device, where the verification response message includes a verification result of whether the terminal device is allowed to access the first network;

该处理单元720具体用于:基于校验结果,确定是否允许终端设备接入第一网络。The processing unit 720 is specifically configured to: based on the verification result, determine whether the terminal device is allowed to access the first network.

可选地,在本申请实施例中,该校验响应消息还包括终端设备接入第一网络的有效时长和/或允许终端设备接入的第一业务,其中,第一业务为终端设备接入的第一网络的业务。Optionally, in this embodiment of the present application, the verification response message also includes a valid time period for the terminal device to access the first network and/or a first service that the terminal device is allowed to access, where the first service is the terminal device access. Enter the first network business.

可选地,在本申请实施例中,第一设备为核心网设备、应用服务器或用户设备。Optionally, in this embodiment of the present application, the first device is a core network device, an application server or a user device.

可选地,在本申请实施例中,该核心网设备700还包括:处理单元720,用于确定终端设备是否与PLMN有签约。Optionally, in this embodiment of the present application, the core network device 700 further includes: a processing unit 720, configured to determine whether the terminal device has a contract with the PLMN.

可选地,在本申请实施例中,该处理单元720具体用于:基于第一指示信息,确定终端设备是否与PLMN有签约,该第一指示信息用于指示终端设备与PLMN有签约。Optionally, in this embodiment of the present application, the processing unit 720 is specifically configured to: determine whether the terminal device has a contract with the PLMN based on the first indication information, where the first indication information is used to indicate that the terminal device has a contract with the PLMN.

可选地,在本申请实施例中,该第一指示信息为终端设备的标识信息。Optionally, in this embodiment of the present application, the first indication information is identification information of the terminal device.

可选地,在本申请实施例中,该核心网设备700还包括:处理单元720,用于向PLMN的UDM调用签约请求服务,该签约请求服务用于请求终端设备的签约信息;Optionally, in this embodiment of the present application, the core network device 700 also includes: a processing unit 720, configured to call a subscription request service to the UDM of the PLMN, where the subscription request service is used to request subscription information of the terminal device;

该通信单元710还用于:接收UDM调用的签约请求响应服务,该签约请求响应服务包含第三指示信息,该第三指示信息用于指示允许终端设备接入的第二业务,第二业务为终端设备通过第一网络接入的PLMN的业务。The communication unit 710 is also configured to: receive a subscription request response service called by UDM. The subscription request response service includes third indication information. The third indication information is used to indicate a second service that is allowed to be accessed by the terminal device. The second service is The terminal equipment accesses PLMN services through the first network.

可选地,在本申请实施例中,该通信单元710还用于:向终端设备发送第二指示信息,该第二指示信息用于指示允许终端设备接入的第一业务和/或第二业务,其中,第一业务为终端设备接入的第一网络的业务,第二业务为终端设备通过第一网络接入的PLMN的业务。Optionally, in this embodiment of the present application, the communication unit 710 is also configured to: send second indication information to the terminal device, where the second indication information is used to indicate the first service and/or the second service that the terminal device is allowed to access. Services, wherein the first service is a service of a first network that the terminal device accesses, and the second service is a service of a PLMN that the terminal device accesses through the first network.

可选地,在本申请实施例中,该第二请求响应消息包括终端设备接入第一网络的有效时长。Optionally, in this embodiment of the present application, the second request response message includes a valid time period for the terminal device to access the first network.

可选地,在本申请实施例中,该核心网设备700为第一网络的核心网设备。Optionally, in this embodiment of the present application, the core network device 700 is the core network device of the first network.

应理解,该核心网设备700可对应于方法400中的核心网设备,可以实现该方法400中的核心网设备的相应操作,为了简洁,在此不再赘述。It should be understood that the core network device 700 may correspond to the core network device in the method 400, and may implement corresponding operations of the core network device in the method 400. For the sake of brevity, details will not be repeated here.

图8示出了本申请实施例的通信设备800的示意性框图,该通信设备800为本申请实施例的第一设备。如图8所示,该通信设备800包括:FIG. 8 shows a schematic block diagram of a communication device 800 according to an embodiment of the present application. The communication device 800 is the first device in an embodiment of the present application. As shown in Figure 8, the communication device 800 includes:

通信单元810,用于接收终端设备发送的第一请求消息,该第一请求消息用于请求接入第一网络的第一标识,第一网络为运营商部署的非公有的核心网,终端设备与PLMN有签约。The communication unit 810 is configured to receive a first request message sent by the terminal device. The first request message is used to request a first identification of access to the first network. The first network is a non-public core network deployed by the operator. The terminal device There is a contract with PLMN.

该通信单元810还用于,向终端设备发送第一请求响应消息,该第一请求响应消息包括第一标识。The communication unit 810 is also configured to send a first request response message to the terminal device, where the first request response message includes the first identification.

可选地,在本申请实施例中,该第一请求响应消息还包括第一标识的有效时长。Optionally, in this embodiment of the present application, the first request response message also includes the validity period of the first identification.

可选地,在本申请实施例中,该通信单元810还用于:接收核心网设备发送的校验请求消息,该校验请求消息包括第一终端设备标识和第一标识;Optionally, in this embodiment of the present application, the communication unit 810 is also configured to: receive a verification request message sent by the core network device, where the verification request message includes a first terminal device identifier and a first identifier;

该通信设备810还包括:处理单元820,用于基于第一终端设备标识和第一标识,对终端设备进行校验,得到校验结果;The communication device 810 also includes: a processing unit 820, configured to verify the terminal device based on the first terminal device identifier and the first identifier to obtain a verification result;

该处理单元820还用于,基于校验结果,确定是否允许终端设备接入第一网络。The processing unit 820 is also configured to determine, based on the verification result, whether to allow the terminal device to access the first network.

可选地,在本申请实施例中,该第一请求消息包括终端设备的标识,该处理单元820还用于:保存第二标识和终端设备的标识,其中,第二标识为终端设备接入第一网络的标识。Optionally, in this embodiment of the present application, the first request message includes the identity of the terminal device, and the processing unit 820 is further configured to: save the second identity and the identity of the terminal device, where the second identity is the terminal device access The logo of First Network.

可选地,在本申请实施例中,该处理单元820具体用于:确定保存的第二标识和终端设备的标识,是否与核心网设备上报的第一终端设备标识和第一标识一致;Optionally, in this embodiment of the present application, the processing unit 820 is specifically configured to: determine whether the saved second identity and the identity of the terminal device are consistent with the first identity of the terminal device and the first identity reported by the core network device;

若一致,允许终端设备接入第一网络;若不一致,不允许终端设备接入第一网络。If they are consistent, the terminal device is allowed to access the first network; if they are inconsistent, the terminal device is not allowed to access the first network.

可选地,在本申请实施例中,若该处理单元820确定允许终端设备接入第一网络,该处理单元820还用于:确定终端设备接入第一网络的有效时长。Optionally, in this embodiment of the present application, if the processing unit 820 determines that the terminal device is allowed to access the first network, the processing unit 820 is further configured to determine a valid time period for the terminal device to access the first network.

可选地,在本申请实施例中,该通信单元810还用于:向核心网设备发送校验响应消息,该校验响应消息包括校验结果和终端设备接入第一网络的有效时长。Optionally, in this embodiment of the present application, the communication unit 810 is also configured to send a verification response message to the core network device, where the verification response message includes the verification result and the valid time period for the terminal device to access the first network.

可选地,在本申请实施例中,该校验响应消息还包括允许终端设备接入的第一业务,其中,第一业务为终端设备接入的第一网络的业务。Optionally, in this embodiment of the present application, the verification response message also includes a first service that the terminal device is allowed to access, where the first service is a service of the first network that the terminal device accesses.

可选地,在本申请实施例中,该核心网设备为第一网络的核心网设备。Optionally, in this embodiment of the present application, the core network device is the core network device of the first network.

可选地,在本申请实施例中,该第一设备为核心网设备、应用服务器或用户设备。Optionally, in this embodiment of the present application, the first device is a core network device, an application server or a user device.

应理解,该通信设备800可对应于方法500中的通信设备,可以实现该方法500中的通信设备的相应操作,为了简洁,在此不再赘述。It should be understood that the communication device 800 may correspond to the communication device in the method 500, and may implement corresponding operations of the communication device in the method 500. For the sake of brevity, details will not be described again.

图9是本申请实施例提供的一种通信设备900示意性结构图。图9所示的通信设备900包括处理器910,处理器910可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Figure 9 is a schematic structural diagram of a communication device 900 provided by an embodiment of the present application. The communication device 900 shown in Figure 9 includes a processor 910. The processor 910 can call and run a computer program from the memory to implement the method in the embodiment of the present application.

可选地,如图9所示,通信设备900还可以包括存储器920。其中,处理器910可以从存储器920中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in Figure 9, the communication device 900 may further include a memory 920. The processor 910 can call and run the computer program from the memory 920 to implement the method in the embodiment of the present application.

其中,存储器920可以是独立于处理器910的一个单独的器件,也可以集成在处理器910中。The memory 920 may be a separate device independent of the processor 910 , or may be integrated into the processor 910 .

可选地,如图9所示,通信设备900还可以包括收发器930,处理器910可以控制该收发器930与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in Figure 9, the communication device 900 may also include a transceiver 930, and the processor 910 may control the transceiver 930 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other devices. Information or data sent by the device.

其中,收发器930可以包括发射机和接收机。收发器930还可以进一步包括天线,天线的数量可以为一个或多个。Among them, the transceiver 930 may include a transmitter and a receiver. The transceiver 930 may further include an antenna, and the number of antennas may be one or more.

可选地,该通信设备900具体可为本申请实施例的终端设备,并且该通信设备900可以实现本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 900 may specifically be a terminal device according to the embodiment of the present application, and the communication device 900 may implement the corresponding processes implemented by the terminal device in the various methods of the embodiment of the present application. For the sake of brevity, details will not be repeated here. .

可选地,该通信设备900具体可为本申请实施例的核心网设备,并且该通信设备900可以实现本申请实施例的各个方法中由核心网设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 900 may specifically be the core network device in the embodiment of the present application, and the communication device 900 may implement the corresponding processes implemented by the core network device in the various methods of the embodiment of the present application. For the sake of brevity, they are not mentioned here. Again.

可选地,该通信设备900具体可为本申请实施例的第一设备,并且该通信设备900可以实现本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 900 may specifically be the first device in the embodiment of the present application, and the communication device 900 may implement the corresponding processes implemented by the first device in the various methods of the embodiment of the present application. For the sake of brevity, no details are provided here. Again.

图10是本申请实施例的芯片的示意性结构图。图10所示的芯片1000包括处理器1010,处理器1010可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Figure 10 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 1000 shown in Figure 10 includes a processor 1010. The processor 1010 can call and run a computer program from the memory to implement the method in the embodiment of the present application.

可选地,如图10所示,芯片1000还可以包括存储器1020。其中,处理器1010可以从存储器1020中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 10 , the chip 1000 may also include a memory 1020 . The processor 1010 can call and run the computer program from the memory 1020 to implement the method in the embodiment of the present application.

其中,存储器1020可以是独立于处理器1010的一个单独的器件,也可以集成在处理器1010中。The memory 1020 may be a separate device independent of the processor 1010, or may be integrated into the processor 1010.

可选地,该芯片1000还可以包括输入接口1030。其中,处理器1010可以控制该输入接口1030与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 1000 may also include an input interface 1030. The processor 1010 can control the input interface 1030 to communicate with other devices or chips. Specifically, it can obtain information or data sent by other devices or chips.

可选地,该芯片1000还可以包括输出接口1040。其中,处理器1010可以控制该输出接口1040与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 1000 may also include an output interface 1040. The processor 1010 can control the output interface 1040 to communicate with other devices or chips. Specifically, it can output information or data to other devices or chips.

可选地,该芯片可应用于本申请实施例中的终端设备,并且该芯片可以实现本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the terminal device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the terminal device in each method of the embodiment of the present application. For the sake of brevity, details will not be described again.

可选地,该芯片可应用于本申请实施例中的核心网设备,并且该芯片可以实现本申请实施例的各个方法中由核心网设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the core network equipment in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the core network equipment in the various methods of the embodiment of the present application. For the sake of brevity, details will not be described here.

可选地,该芯片可应用于本申请实施例中的第一设备,并且该芯片可以实现本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip can be applied to the first device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the first device in the various methods of the embodiment of the present application. For the sake of brevity, the details will not be described again.

应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.

应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in the embodiment of the present application may be an integrated circuit chip and has signal processing capabilities. During the implementation process, each step of the above method embodiment can be completed through an integrated logic circuit of hardware in the processor or instructions in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable processors. Logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logical block diagram disclosed in the embodiment of this application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of illustration, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) and direct memory bus random access memory (DirectRambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above memory is illustrative but not restrictive. For example, the memory in the embodiment of the present application can also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, memories in embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

图11是本申请实施例提供的一种通信系统1100的示意性框图。如图11所示,该通信系统1100包括终端设备1110、核心网设备1120和第一设备1130。Figure 11 is a schematic block diagram of a communication system 1100 provided by an embodiment of the present application. As shown in Figure 11, the communication system 1100 includes a terminal device 1110, a core network device 1120 and a first device 1130.

其中,该终端设备1110可以用于实现上述方法中由终端设备实现的相应的功能,该核心网设备1120可以用于实现上述方法中由核心网设备实现的相应的功能,以及该第一设备1130可以用于实现上述方法中由第一设备实现的相应的功能,为了简洁,在此不再赘述。Among them, the terminal device 1110 can be used to implement the corresponding functions implemented by the terminal device in the above method, the core network device 1120 can be used to implement the corresponding functions implemented by the core network device in the above method, and the first device 1130 It can be used to implement the corresponding functions implemented by the first device in the above method, which will not be described again for the sake of simplicity.

本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。Embodiments of the present application also provide a computer-readable storage medium for storing computer programs.

可选地,该计算机可读存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the terminal device in each method of the embodiment of the present application. For the sake of simplicity, here No longer.

可选地,该计算机可读存储介质可应用于本申请实施例中的核心网设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由核心网设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the core network equipment in the embodiment of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the core network equipment in the various methods of the embodiment of the present application. For the sake of simplicity, I won’t go into details here.

可选地,该计算机可读存储介质可应用于本申请实施例中的第一设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the first device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding processes implemented by the first device in the various methods of the embodiment of the present application. For the sake of simplicity, I won’t go into details here.

本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。An embodiment of the present application also provides a computer program product, including computer program instructions.

可选地,该计算机程序产品可应用于本申请实施例中的终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the terminal device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiment of the present application. For the sake of brevity, they are not mentioned here. Again.

可选地,该计算机程序产品可应用于本申请实施例中的核心网设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由核心网设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the core network equipment in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the core network equipment in the various methods of the embodiment of the present application. For simplicity, in This will not be described again.

可选地,该计算机程序产品可应用于本申请实施例中的第一设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the first device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the first device in the various methods of the embodiment of the present application. For simplicity, in This will not be described again.

本申请实施例还提供了一种计算机程序。An embodiment of the present application also provides a computer program.

可选地,该计算机程序可应用于本申请实施例中的终端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the terminal device in the embodiment of the present application. When the computer program is run on the computer, it causes the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiment of the present application. For the sake of simplicity , which will not be described in detail here.

可选的,该计算机程序可应用于本申请实施例中的核心网设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由核心网设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the core network equipment in the embodiments of the present application. When the computer program is run on the computer, it causes the computer to execute the corresponding processes implemented by the core network equipment in the various methods of the embodiments of the present application. For the sake of brevity, no further details will be given here.

可选的,该计算机程序可应用于本申请实施例中的第一设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program can be applied to the first device in the embodiment of the present application. When the computer program is run on the computer, it causes the computer to execute the corresponding processes implemented by the first device in each method of the embodiment of the present application. For the sake of brevity, no further details will be given here.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,)ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory,) ROM, random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims (34)

1.一种通信方法,其特征在于,所述方法包括:1. A communication method, characterized in that the method includes: 终端设备获取接入第一网络的第一标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约;The terminal device obtains a first identifier for accessing a first network, the first network is a non-public core network deployed by an operator, and the terminal device has a contract with the public land mobile network PLMN; 所述终端设备基于所述第一标识,接入所述第一网络;The terminal device accesses the first network based on the first identification; 其中,所述终端设备获取接入第一网络的第一标识,包括:Wherein, the terminal device obtains the first identifier for accessing the first network, including: 所述终端设备向第一设备发送第一请求消息,所述第一请求消息用于请求所述第一标识,所述第一请求消息包括所述终端设备的标识;The terminal device sends a first request message to the first device, the first request message is used to request the first identification, and the first request message includes the identification of the terminal device; 所述终端设备接收所述第一设备发送的第一请求响应消息,所述第一请求响应消息包括所述第一标识,其中,所述第一请求响应消息还包括所述第一标识的有效时长;The terminal device receives a first request response message sent by the first device. The first request response message includes the first identification, wherein the first request response message also includes a valid value of the first identification. duration; 其中,所述第一设备为应用服务器;Wherein, the first device is an application server; 其中,所述终端设备基于所述第一标识,接入所述第一网络,包括:Wherein, the terminal device accesses the first network based on the first identification, including: 所述终端设备向核心网设备发送第二请求消息,所述第二请求消息包括所述第一标识和所述终端设备的标识;The terminal device sends a second request message to the core network device, where the second request message includes the first identifier and the identifier of the terminal device; 所述终端设备接收所述核心网设备发送的第二请求响应消息,所述第二请求响应消息用于指示是否允许所述终端设备接入所述第一网络。The terminal device receives a second request response message sent by the core network device, and the second request response message is used to indicate whether the terminal device is allowed to access the first network. 2.根据权利要求1所述的方法,其特征在于,所述第二请求消息还包括第一指示信息,所述第一指示信息用于指示所述终端设备与PLMN有签约。2. The method according to claim 1, characterized in that the second request message further includes first indication information, and the first indication information is used to indicate that the terminal device has a contract with the PLMN. 3.根据权利要求1所述的方法,其特征在于,所述第二请求响应消息包括所述终端设备接入所述第一网络的有效时长。3. The method according to claim 1, wherein the second request response message includes a valid time period for the terminal device to access the first network. 4.根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:4. The method according to any one of claims 1 to 3, characterized in that the method further comprises: 所述终端设备接收核心网设备发送的第二指示信息,所述第二指示信息用于指示允许所述终端设备接入的第一业务和/或第二业务,其中,所述第一业务为所述终端设备接入的所述第一网络的业务,所述第二业务为所述终端设备通过所述第一网络接入的PLMN的业务。The terminal device receives second indication information sent by the core network device, and the second indication information is used to indicate the first service and/or the second service that the terminal device is allowed to access, wherein the first service is The service of the first network that the terminal device accesses, and the second service is the service of the PLMN that the terminal device accesses through the first network. 5.根据权利要求1至3中任一项所述的方法,其特征在于,所述核心网设备为所述第一网络的核心网设备。5. The method according to any one of claims 1 to 3, characterized in that the core network device is the core network device of the first network. 6.一种通信方法,其特征在于,所述方法包括:6. A communication method, characterized in that the method includes: 核心网设备接收终端设备发送的第二请求消息,所述第二请求消息包括所述终端设备接入第一网络的第一标识和所述终端设备的标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约;The core network device receives a second request message sent by the terminal device. The second request message includes a first identifier for the terminal device to access the first network and an identifier of the terminal device. The first network is deployed by the operator. A non-public core network, and the terminal equipment has a contract with the public land mobile network PLMN; 所述核心网设备向所述终端设备发送第二请求响应消息,所述第二请求响应消息用于指示是否允许所述终端设备接入所述第一网络;The core network device sends a second request response message to the terminal device, where the second request response message is used to indicate whether the terminal device is allowed to access the first network; 其中,在所述核心网设备向所述终端设备发送第二请求响应消息之前,所述方法还包括:Wherein, before the core network device sends the second request response message to the terminal device, the method further includes: 所述核心网设备根据所述第一标识和所述终端设备的标识,确定是否允许所述终端设备接入所述第一网络;The core network device determines whether to allow the terminal device to access the first network based on the first identifier and the identifier of the terminal device; 所述核心网设备根据所述第一标识和所述终端设备的标识,确定是否允许所述终端设备接入所述第一网络,包括:The core network device determines whether to allow the terminal device to access the first network based on the first identifier and the identifier of the terminal device, including: 所述核心网设备向第一设备发送校验请求消息,所述校验请求消息包括第一终端设备标识和所述第一标识;The core network device sends a verification request message to the first device, where the verification request message includes a first terminal device identifier and the first identifier; 所述核心网设备接收所述第一设备发送的校验响应消息,所述校验响应消息包括是否允许所述终端设备接入所述第一网络的校验结果;The core network device receives a verification response message sent by the first device, where the verification response message includes a verification result of whether the terminal device is allowed to access the first network; 所述核心网设备基于所述校验结果,确定是否允许所述终端设备接入所述第一网络,The core network device determines whether to allow the terminal device to access the first network based on the verification result, 其中,所述第一设备为应用服务器。Wherein, the first device is an application server. 7.根据权利要求6所述的方法,其特征在于,所述校验响应消息还包括所述终端设备接入所述第一网络的有效时长和/或允许所述终端设备接入的第一业务,其中,所述第一业务为所述终端设备接入的所述第一网络的业务。7. The method according to claim 6, wherein the verification response message further includes a valid time period for the terminal device to access the first network and/or a first time period for allowing the terminal device to access the first network. Service, wherein the first service is a service of the first network accessed by the terminal device. 8.根据权利要求6所述的方法,其特征在于,所述方法还包括:8. The method according to claim 6, characterized in that, the method further comprises: 所述核心网设备确定所述终端设备是否与PLMN有签约。The core network device determines whether the terminal device has a contract with the PLMN. 9.根据权利要求8所述的方法,其特征在于,所述核心网设备确定所述终端设备是否与PLMN有签约,包括:9. The method according to claim 8, characterized in that the core network device determines whether the terminal device has a contract with the PLMN, including: 所述核心网设备基于第一指示信息,确定所述终端设备是否与PLMN有签约,所述第一指示信息用于指示所述终端设备与PLMN有签约。The core network device determines whether the terminal device has a contract with the PLMN based on the first indication information, and the first indication information is used to indicate that the terminal device has a contract with the PLMN. 10.根据权利要求9所述的方法,其特征在于,所述第一指示信息为所述终端设备的标识信息。10. The method according to claim 9, wherein the first indication information is identification information of the terminal device. 11.根据权利要求6至10中任一项所述的方法,其特征在于,所述方法还包括:11. The method according to any one of claims 6 to 10, characterized in that the method further comprises: 所述核心网设备向PLMN的统一数据管理UDM调用签约请求服务,所述签约请求服务用于请求所述终端设备的签约信息;The core network device calls the subscription request service to the unified data management UDM of the PLMN, and the subscription request service is used to request the subscription information of the terminal device; 所述核心网设备接收所述UDM调用的签约请求响应服务,所述签约请求响应服务包含第三指示信息,所述第三指示信息用于指示允许所述终端设备接入的第二业务,所述第二业务为所述终端设备通过所述第一网络接入的PLMN的业务。The core network device receives the subscription request response service called by the UDM, and the subscription request response service includes third indication information, and the third indication information is used to indicate the second service that the terminal device is allowed to access, so The second service is a service of the PLMN accessed by the terminal device through the first network. 12.根据权利要求6至10中任一项所述的方法,其特征在于,所述方法还包括:12. The method according to any one of claims 6 to 10, characterized in that the method further comprises: 所述核心网设备向所述终端设备发送第二指示信息,所述第二指示信息用于指示允许所述终端设备接入的第一业务和/或第二业务,其中,所述第一业务为所述终端设备接入的所述第一网络的业务,所述第二业务为所述终端设备通过所述第一网络接入的PLMN的业务。The core network device sends second indication information to the terminal device, the second indication information is used to indicate the first service and/or the second service that the terminal device is allowed to access, wherein the first service The second service is a service of the first network that the terminal device accesses through the first network, and the second service is a service of the PLMN that the terminal device accesses through the first network. 13.根据权利要求6至10中任一项所述的方法,其特征在于,所述第二请求响应消息包括所述终端设备接入所述第一网络的有效时长。13. The method according to any one of claims 6 to 10, characterized in that the second request response message includes a valid time period for the terminal device to access the first network. 14.根据权利要求6至10中任一项所述的方法,其特征在于,所述核心网设备为所述第一网络的核心网设备。14. The method according to any one of claims 6 to 10, characterized in that the core network device is the core network device of the first network. 15.一种终端设备,其特征在于,包括:15. A terminal device, characterized in that it includes: 处理单元,用于获取接入第一网络的第一标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约;A processing unit configured to obtain a first identification for accessing a first network, where the first network is a non-public core network deployed by an operator, and the terminal device has a contract with the public land mobile network PLMN; 所述处理单元还用于,基于所述第一标识,接入所述第一网络;The processing unit is also configured to access the first network based on the first identification; 其中,所述终端设备还包括:Wherein, the terminal equipment also includes: 通信单元,用于向第一设备发送第一请求消息,所述第一请求消息用于请求所述第一标识,所述第一请求消息包括所述终端设备的标识;A communication unit configured to send a first request message to the first device, the first request message being used to request the first identification, and the first request message including the identification of the terminal device; 所述通信单元还用于,接收所述第一设备发送的第一请求响应消息,所述第一请求响应消息包括所述第一标识,其中,所述第一请求响应消息还包括所述第一标识的有效时长;The communication unit is further configured to receive a first request response message sent by the first device, where the first request response message includes the first identification, wherein the first request response message also includes the third The validity period of a logo; 其中,所述第一设备为应用服务器;Wherein, the first device is an application server; 其中,所述通信单元,还用于向核心网设备发送第二请求消息,所述第二请求消息包括所述第一标识和所述终端设备的标识;Wherein, the communication unit is further configured to send a second request message to the core network device, where the second request message includes the first identifier and the identifier of the terminal device; 所述通信单元还用于,接收所述核心网设备发送的第二请求响应消息,所述第二请求响应消息用于指示是否允许所述终端设备接入所述第一网络。The communication unit is further configured to receive a second request response message sent by the core network device, where the second request response message is used to indicate whether the terminal device is allowed to access the first network. 16.根据权利要求15所述的终端设备,其特征在于,所述第二请求消息还包括第一指示信息,所述第一指示信息用于指示所述终端设备与PLMN有签约。16. The terminal device according to claim 15, wherein the second request message further includes first indication information, and the first indication information is used to indicate that the terminal device has a contract with the PLMN. 17.根据权利要求15所述的终端设备,其特征在于,所述第二请求响应消息包括所述终端设备接入所述第一网络的有效时长。17. The terminal device according to claim 15, wherein the second request response message includes a valid time period for the terminal device to access the first network. 18.根据权利要求15至17中任一项所述的终端设备,其特征在于,所述终端设备还包括:18. The terminal device according to any one of claims 15 to 17, characterized in that the terminal device further includes: 通信单元,用于接收核心网设备发送的第二指示信息,所述第二指示信息用于指示允许所述终端设备接入的第一业务和/或第二业务,其中,所述第一业务为所述终端设备接入的所述第一网络的业务,所述第二业务为所述终端设备通过所述第一网络接入的PLMN的业务。A communication unit, configured to receive second indication information sent by the core network device, where the second indication information is used to indicate the first service and/or the second service that the terminal device is allowed to access, wherein the first service The second service is a service of the first network that the terminal device accesses through the first network, and the second service is a service of the PLMN that the terminal device accesses through the first network. 19.根据权利要求15至17中任一项所述的终端设备,其特征在于,所述核心网设备为所述第一网络的核心网设备。19. The terminal device according to any one of claims 15 to 17, characterized in that the core network device is the core network device of the first network. 20.一种核心网设备,其特征在于,包括:20. A core network equipment, characterized by including: 通信单元,用于接收终端设备发送的第二请求消息,所述第二请求消息包括所述终端设备接入第一网络的第一标识和所述终端设备的标识,所述第一网络为运营商部署的非公有的核心网,所述终端设备与公共陆地移动网络PLMN有签约;A communication unit configured to receive a second request message sent by a terminal device. The second request message includes a first identifier for the terminal device to access a first network and an identifier of the terminal device. The first network is an operator. A non-public core network deployed by a commercial provider, and the terminal equipment has a contract with the public land mobile network PLMN; 所述通信单元还用于,向所述终端设备发送第二请求响应消息,所述第二请求响应消息用于指示是否允许所述终端设备接入所述第一网络;The communication unit is further configured to send a second request response message to the terminal device, where the second request response message is used to indicate whether the terminal device is allowed to access the first network; 其中,所述核心网设备还包括:Among them, the core network equipment also includes: 处理单元,用于根据所述第一标识和所述终端设备的标识,确定是否允许所述终端设备接入所述第一网络;A processing unit configured to determine whether to allow the terminal device to access the first network based on the first identifier and the identifier of the terminal device; 所述通信单元具体用于:The communication unit is specifically used for: 向第一设备发送校验请求消息,所述校验请求消息包括第一终端设备标识和所述第一标识;Send a verification request message to the first device, where the verification request message includes a first terminal device identifier and the first identifier; 接收所述第一设备发送的校验响应消息,所述校验响应消息包括是否允许所述终端设备接入所述第一网络的校验结果;Receive a verification response message sent by the first device, where the verification response message includes a verification result of whether the terminal device is allowed to access the first network; 所述处理单元具体用于:The processing unit is specifically used for: 基于所述校验结果,确定是否允许所述终端设备接入所述第一网络,Based on the verification result, determine whether the terminal device is allowed to access the first network, 其中,所述第一设备为应用服务器。Wherein, the first device is an application server. 21.根据权利要求20所述的核心网设备,其特征在于,所述校验响应消息还包括所述终端设备接入所述第一网络的有效时长和/或允许所述终端设备接入的第一业务,其中,所述第一业务为所述终端设备接入的所述第一网络的业务。21. The core network device according to claim 20, wherein the verification response message further includes a valid time period for the terminal device to access the first network and/or a time limit for allowing the terminal device to access the first network. A first service, wherein the first service is a service of the first network accessed by the terminal device. 22.根据权利要求20所述的核心网设备,其特征在于,所述核心网设备还包括:22. The core network equipment according to claim 20, characterized in that the core network equipment further includes: 处理单元,用于确定所述终端设备是否与PLMN有签约。A processing unit, configured to determine whether the terminal device has a contract with the PLMN. 23.根据权利要求22所述的核心网设备,其特征在于,所述处理单元具体用于:23. The core network equipment according to claim 22, characterized in that the processing unit is specifically used to: 基于第一指示信息,确定所述终端设备是否与PLMN有签约,所述第一指示信息用于指示所述终端设备与PLMN有签约。Based on the first indication information, it is determined whether the terminal equipment has a contract with the PLMN, and the first indication information is used to indicate that the terminal equipment has a contract with the PLMN. 24.根据权利要求23所述的核心网设备,其特征在于,所述第一指示信息为所述终端设备的标识信息。24. The core network device according to claim 23, wherein the first indication information is the identification information of the terminal device. 25.根据权利要求20至24中任一项所述的核心网设备,其特征在于,所述核心网设备还包括:25. The core network equipment according to any one of claims 20 to 24, characterized in that the core network equipment further includes: 处理单元,用于向PLMN的统一数据管理UDM调用签约请求服务,所述签约请求服务用于请求所述终端设备的签约信息;A processing unit configured to call a subscription request service to the unified data management UDM of the PLMN, where the subscription request service is used to request subscription information of the terminal device; 所述通信单元还用于:The communication unit is also used for: 接收所述UDM调用的签约请求响应服务,所述签约请求响应服务包含第三指示信息,所述第三指示信息用于指示允许所述终端设备接入的第二业务,所述第二业务为所述终端设备通过所述第一网络接入的PLMN的业务。Receive a subscription request response service called by the UDM. The subscription request response service includes third indication information. The third indication information is used to indicate a second service that is allowed to be accessed by the terminal device. The second service is The terminal device accesses PLMN services through the first network. 26.根据权利要求20至24中任一项所述的核心网设备,其特征在于,所述通信单元还用于:26. The core network device according to any one of claims 20 to 24, characterized in that the communication unit is also used for: 向所述终端设备发送第二指示信息,所述第二指示信息用于指示允许所述终端设备接入的第一业务和/或第二业务,其中,所述第一业务为所述终端设备接入的所述第一网络的业务,所述第二业务为所述终端设备通过所述第一网络接入的PLMN的业务。Send second indication information to the terminal device, where the second indication information is used to indicate a first service and/or a second service that the terminal device is allowed to access, wherein the first service is A service of the first network accessed, and the second service is a service of the PLMN accessed by the terminal device through the first network. 27.根据权利要求20至24中任一项所述的核心网设备,其特征在于,所述第二请求响应消息包括所述终端设备接入所述第一网络的有效时长。27. The core network device according to any one of claims 20 to 24, wherein the second request response message includes a valid time period for the terminal device to access the first network. 28.根据权利要求20至24中任一项所述的核心网设备,其特征在于,所述核心网设备为所述第一网络的核心网设备。28. The core network device according to any one of claims 20 to 24, characterized in that the core network device is the core network device of the first network. 29.一种终端设备,其特征在于,包括:处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至5中任一项所述的方法。29. A terminal device, characterized in that it includes: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute the steps of claims 1 to 29. The method described in any one of 5. 30.一种核心网设备,其特征在于,包括:处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求6至14中任一项所述的方法。30. A core network device, characterized in that it includes: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute as claimed in claim 6 The method described in any one of to 14. 31.一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至5中任一项所述的方法。31. A chip, characterized in that it includes: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the method according to any one of claims 1 to 5. 32.一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求6至14中任一项所述的方法。32. A chip, characterized by comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the method according to any one of claims 6 to 14. 33.一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至5中任一项所述的方法。33. A computer-readable storage medium, characterized in that it is used to store a computer program, the computer program causing the computer to execute the method according to any one of claims 1 to 5. 34.一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求6至14中任一项所述的方法。34. A computer-readable storage medium, characterized in that it is used to store a computer program, the computer program causing the computer to execute the method according to any one of claims 6 to 14.
CN201880097268.8A 2018-10-31 2018-10-31 Communication methods and devices Active CN112655182B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/112924 WO2020087327A1 (en) 2018-10-31 2018-10-31 Communication method and device

Publications (2)

Publication Number Publication Date
CN112655182A CN112655182A (en) 2021-04-13
CN112655182B true CN112655182B (en) 2023-09-15

Family

ID=70461930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097268.8A Active CN112655182B (en) 2018-10-31 2018-10-31 Communication methods and devices

Country Status (2)

Country Link
CN (1) CN112655182B (en)
WO (1) WO2020087327A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230045025A (en) * 2020-07-31 2023-04-04 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Device access authentication method, terminal device and cloud platform
CN115915047A (en) * 2021-08-04 2023-04-04 展讯通信(上海)有限公司 Communication method, electronic device, and storage medium
CN113676996B (en) * 2021-08-11 2024-06-21 成都中科微信息技术研究院有限公司 Satellite terminal registration method, system and terminal based on DVB and 5G fusion networking
CN114268949A (en) * 2021-11-16 2022-04-01 浙江大学 Network building method of 5G local area network
CN116456353A (en) * 2022-01-06 2023-07-18 维沃移动通信有限公司 Managed network access processing method and device, terminal and network side equipment
CN116528349A (en) * 2022-01-24 2023-08-01 华为技术有限公司 Method and device for acquiring contract information
CN120111624A (en) * 2023-12-04 2025-06-06 华为技术有限公司 Communication method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893426A (en) * 2005-07-08 2007-01-10 中国电信股份有限公司 Method and system for realizing pass-through of fier-wall at personal network video signals
CN101299870A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Control method, system and apparatus for accessing private base station
CN104980993A (en) * 2015-06-19 2015-10-14 广东欧珀移动通信有限公司 Network access method, mobile communication terminal, network server and network access system
WO2016193783A1 (en) * 2015-05-29 2016-12-08 Nokia Technologies Oy Method and apparatus for implementing network-controlled peer-to-peer connectivity
WO2017034195A1 (en) * 2015-08-26 2017-03-02 엘지전자 주식회사 Method for obtaining operator network identification number of visited network
WO2017067337A1 (en) * 2015-10-23 2017-04-27 中兴通讯股份有限公司 Method and apparatus for controlling monitoring service of proximity-based service
WO2017082532A1 (en) * 2015-11-09 2017-05-18 엘지전자 주식회사 Method for acquiring business operator network identification number of visited network
CN107534929A (en) * 2015-09-18 2018-01-02 华为技术有限公司 Core network selection method, device and system
CN107623909A (en) * 2017-09-30 2018-01-23 广东欧珀移动通信有限公司 Configuration information acquisition and processing method, device and system
CN108605282A (en) * 2016-02-10 2018-09-28 高通股份有限公司 Technology for providing network insertion
CN108632815A (en) * 2017-03-24 2018-10-09 华为技术有限公司 Communication method and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009740B (en) * 2007-01-17 2012-05-30 广州市高科通信技术股份有限公司 System and method for realizing simultaneous access of data and voice by using double PPPOE (Point-to-Point protocol over Ethernet)
GB2472842B (en) * 2009-08-21 2012-06-27 Samsung Electronics Co Ltd A network entity, a wireless communication unit and methods for access to a remote private IP network and supporting therof
CN102209124B (en) * 2011-06-08 2014-03-12 杭州华三通信技术有限公司 Method for communication between private network and public network and network address translation equipment
CN103166864B (en) * 2013-03-26 2016-01-20 杭州华三通信技术有限公司 A kind of private network vlan information management method and equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1893426A (en) * 2005-07-08 2007-01-10 中国电信股份有限公司 Method and system for realizing pass-through of fier-wall at personal network video signals
CN101299870A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Control method, system and apparatus for accessing private base station
WO2016193783A1 (en) * 2015-05-29 2016-12-08 Nokia Technologies Oy Method and apparatus for implementing network-controlled peer-to-peer connectivity
CN104980993A (en) * 2015-06-19 2015-10-14 广东欧珀移动通信有限公司 Network access method, mobile communication terminal, network server and network access system
WO2017034195A1 (en) * 2015-08-26 2017-03-02 엘지전자 주식회사 Method for obtaining operator network identification number of visited network
CN107534929A (en) * 2015-09-18 2018-01-02 华为技术有限公司 Core network selection method, device and system
WO2017067337A1 (en) * 2015-10-23 2017-04-27 中兴通讯股份有限公司 Method and apparatus for controlling monitoring service of proximity-based service
WO2017082532A1 (en) * 2015-11-09 2017-05-18 엘지전자 주식회사 Method for acquiring business operator network identification number of visited network
CN108605282A (en) * 2016-02-10 2018-09-28 高通股份有限公司 Technology for providing network insertion
CN108632815A (en) * 2017-03-24 2018-10-09 华为技术有限公司 Communication method and equipment
CN107623909A (en) * 2017-09-30 2018-01-23 广东欧珀移动通信有限公司 Configuration information acquisition and processing method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Nokia, Nokia Shanghai Bell.S2-188992 "Access Control for 5G Vertical and LAN Services".3GPP tsg_sa\wg2_arch.2018,(tsgs2_128bis_sophia_antipolis),第1-3页. *
Solution for supporting Non-standalone NPN;Interdigital Inc;《3GPP tsg_sa\wg2_arch》;20181019;第3-4页 *

Also Published As

Publication number Publication date
CN112655182A (en) 2021-04-13
WO2020087327A1 (en) 2020-05-07

Similar Documents

Publication Publication Date Title
CN112655182B (en) Communication methods and devices
US20220330361A1 (en) Method for establishing connection and obtaining relay service code and communications apparatus
CN111787590B (en) Session management method, terminal device and network device
CN113316148B (en) Method and device for network slice authentication
CN112673687B (en) Registration method, terminal equipment and network equipment
CN113498615B (en) Communication method, terminal device and network device
US20220124521A1 (en) Method and device for information transmission
CN112655244B (en) Service processing method, device and storage medium
CN113692777B (en) Redirection method and device, terminal equipment and network equipment
CN112888043B (en) Communication method, terminal device, network device, chip and storage medium
US11877326B2 (en) Wireless communication method and communication device
CN111757551B (en) Communication method in Internet of vehicles, terminal equipment and network equipment
CN113574936B (en) Wireless communication method, terminal equipment and network equipment
WO2021030965A1 (en) Method and apparatus for relay selection, and terminal device
CN112205060B (en) Wireless communication method, access network equipment, terminal equipment and core network equipment
CN111757417A (en) Network access method and equipment
CN113015230B (en) Wireless communication method and terminal device
WO2021088007A1 (en) Wireless communication method, terminal device, and network device
CN115037705B (en) Communication method and device
WO2020087546A1 (en) Network information transmission method and obtaining method, network device, and terminal device
CN112956241B (en) A service request method, electronic device and storage medium
CN112400304B (en) Information transmission method and device and network equipment
CN115707061A (en) Relay selection method and device
CN116074847A (en) A signal transmission method and device, terminal equipment
CN111787621B (en) Bearer configuration method and device, and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant