[go: up one dir, main page]

CN118301787B - 5GLAN adaptive networking method, device, terminal equipment and storage medium - Google Patents

5GLAN adaptive networking method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN118301787B
CN118301787B CN202410190969.3A CN202410190969A CN118301787B CN 118301787 B CN118301787 B CN 118301787B CN 202410190969 A CN202410190969 A CN 202410190969A CN 118301787 B CN118301787 B CN 118301787B
Authority
CN
China
Prior art keywords
base station
session
core network
standard
terminal device
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
CN202410190969.3A
Other languages
Chinese (zh)
Other versions
CN118301787A (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.)
Guangzhou Tongze Kangwei Technology Co ltd
Original Assignee
Guangzhou Tongze Kangwei Technology Co 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 Guangzhou Tongze Kangwei Technology Co ltd filed Critical Guangzhou Tongze Kangwei Technology Co ltd
Priority to CN202410190969.3A priority Critical patent/CN118301787B/en
Publication of CN118301787A publication Critical patent/CN118301787A/en
Application granted granted Critical
Publication of CN118301787B publication Critical patent/CN118301787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point

Landscapes

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

Abstract

The invention discloses a 5GLAN self-adaptive networking method, a device, terminal equipment and a storage medium, wherein the method comprises the steps of detecting communication protocols of 5G base stations related to a 5G core network and communication protocols of terminal equipment under the 5G base stations, wherein the communication protocols comprise an R15 standard protocol and an R16 standard protocol, the communication protocols of the 5G core network are R16 standards, when the communication protocols of the 5G core network and the terminal equipment under the 5G base stations are different, the terminal equipment under the 5G base station establishes a first session based on the R15 standard, reads network configuration information of a preset router according to the first session, and establishes communication connection with a preset router according to the network configuration information, and each preset router accesses the 5G core network through a switch. By implementing the invention, the cost of accessing the terminal equipment into the 5G core network can be reduced when the communication protocols of the terminal equipment under the 5G core network and the 5G base station are different.

Description

5GLAN self-adaptive networking method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of network communications technologies, and in particular, to a 5GLAN adaptive networking method, an apparatus, a terminal device, and a storage medium.
Background
The 5G full-connection factory is an advanced factory which fully utilizes a new generation of information communication technology represented by 5G, creates a novel industrial Internet infrastructure, forms information (I T) Operation (OT) deep fusion, fully utilizes data elements and innovates application high-efficiency energy. 5GLAN as an alternative to two-layer lan for 5G full-connection factories, more and more factories began to apply 5GLAN technology with the freezing of 3gpp r16 standards and the development of various large vendors.
The 5GLAN technology is a technology for seamlessly replacing the original two-layer networking of the factory by using the 5G technology, but because 5GLAN is defined in the 3GPP R16 standard, in the scene of 5GLAN networking, a base station, a 5G core network and 5G terminal equipment are required to support the R16 standard to realize 5GLAN networking. The base station and the core network supporting the 5G R15 standard are established in large quantity, and the transformation from the R15 standard to the R16 standard is carried out on the basis of the existing established base station and the core network at great cost.
Disclosure of Invention
The embodiment of the invention provides a 5GLAN self-adaptive networking method, a device, terminal equipment and a storage medium, which can reduce the cost of accessing the terminal equipment into a 5G core network when the communication protocols of the 5G core network and the terminal equipment under a 5G base station are different.
An embodiment of the present invention provides a 5GLAN adaptive networking method, including:
Detecting communication protocols of all 5G base stations associated with a 5G core network and communication protocols of all terminal equipment under all 5G base stations, wherein the communication protocols comprise an R15 standard protocol and an R16 standard protocol, and the communication protocol of the 5G core network is an R16 standard;
When the communication protocols of the 5G core network and the terminal equipment under the 5G base station are different, the terminal equipment under the 5G base station establishes a first session based on an R15 standard, reads network configuration information of a preset router according to the first session, and establishes communication connection with a preset router according to the network configuration information, wherein each preset router accesses the 5G core network through a switch.
Further, the method further comprises the following steps:
and when the communication protocols of the 5G core network, the 5G base station and the terminal equipment under the 5G base station are identical, the terminal equipment under the 5G base station is directly accessed to the 5G core network.
Further, when the communication protocols of the 5G core network and the terminal equipment under the 5G base station are different, the terminal equipment under the 5G base station establishes a first session based on the R15 standard, including:
When the communication protocols of the 5G core network and the 5G base station are the same, and the communication protocols of the terminal equipment under the 5G base station and the 5G core network are different, the terminal equipment under the 5G base station establishes a first session based on R15 standard;
When the communication protocols of the 5G core network and the 5G base station are different, and the communication protocols of the terminal equipment under the 5G base station and the 5G core network are different, the terminal equipment under the 5G base station establishes a first session based on the R15 standard.
Further, the method further comprises the following steps:
When the communication protocols of the 5G core network and the 5G base station are different, and the communication protocols of the terminal equipment under the 5G base station and the 5G core network are the same, the terminal equipment under the 5G base station establishes a second session based on the R16 standard;
If the second session is established successfully, networking is carried out according to the second session and a 5G core network;
If the second session is failed to be established, a first session is established based on an R15 standard, network configuration information of a preset router is read according to the first session, and communication connection is established with the preset router according to the network configuration information.
Further, the terminal device under the 5G base station establishes a second session based on the R16 standard, including:
The terminal equipment under the 5G base station initiates a second session establishment request for establishing PDU session of Ethernet type by R16 standard to the 5G base station, so that the 5G base station responds to the second session establishment request to establish a second session, and sends the second session to the terminal equipment.
Further, the terminal device under the 5G base station establishes a first session based on R15 standard, including:
The terminal equipment under the 5G base station initiates a first session establishment request for establishing an IP type PDU session according to the R15 standard to the 5G base station, so that the 5G base station responds to the first session establishment request to establish the first session, and sends the first session to the terminal equipment.
Further, the network configuration information comprises a router address and a network identifier of the router;
The reading the network configuration information of the preset router according to the first session, and establishing communication connection with a preset router according to the network configuration information, including:
Reading a router address of a preset router and a network identifier of the router according to the first session;
and establishing a network tunnel according to the router address and the network identifier of the router and a router of a preset router.
On the basis of the method item embodiments, the invention correspondingly provides device item embodiments;
The embodiment of the invention correspondingly provides a 5GLAN self-adaptive networking device, which comprises a detection module and a networking module;
the detection module is used for detecting the communication protocol of each 5G base station associated with the 5G core network and the communication protocol of each terminal device under each 5G base station, wherein the communication protocol comprises an R15 standard protocol and an R16 standard protocol, and the communication protocol of the 5G core network is the R16 standard;
The networking module is used for establishing a first session based on R15 standard by the terminal equipment under the 5G base station when the communication protocols of the terminal equipment under the 5G core network and the 5G base station are different, reading network configuration information of a preset router according to the first session, and establishing communication connection with a preset router according to the network configuration information, wherein each preset router accesses the 5G core network through a switch.
Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor executes the computer program to implement a 5GLAN adaptive networking method according to the embodiment of the present invention.
Another embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, where when the computer program runs, the device where the storage medium is controlled to execute a 5GLAN adaptive networking method according to the foregoing embodiment of the present invention.
The invention has the following beneficial effects:
the invention provides a 5GLAN self-adaptive networking method, a device, a terminal device and a storage medium, wherein the self-adaptive networking method judges the relation between a 5G core network and a 5G base station and between the 5G core network and the communication protocols of the terminal device under the 5G base station by detecting the communication protocols of each 5G base station associated with the 5G core network and the communication protocols of each terminal device under each 5G base station, when the communication protocols of the 5G core network and the terminal device under the 5G base station are different, after a first session is established based on the original R15 standard when the communication protocols of the 5G core network and the terminal device under the 5G base station are different, the terminal device is enabled to access the preset router after acquiring network configuration information of the preset router according to the established first session, and then the terminal device under the 5G base station and the terminal device are accessed into the 5G core network through a switch based on the preset router, and only the communication between the terminal device and the 5G core network can be completed by connecting the 5G base station and the 5G core network through the external preset router, so that the communication cost of the terminal device and the terminal device under the 5G core network and the 5G core network can be reduced.
Drawings
Fig. 1 is a schematic flow chart of a 5GLAN adaptive networking method according to an embodiment of the present invention.
Fig. 2 is a topology diagram of a conventional R16 standard 5G core network networking with a 5G base station and a 5G terminal device.
Fig. 3 is a topology diagram of a 5GLAN adaptive networking method according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a 5GLAN adaptive networking device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For better understanding of the technical content of the present invention, the terms related to the present invention are explained as follows:
(1) 5G:5th Generat i on, fifth generation mobile communication systems;
(2) 5GLAN, using 5G technology to compose a two-layer LAN network;
(3) 4G, fourth generation mobile communication system.
(4) CPE, customer Premise Equipment (CPE), managed equipment in the network;
(5) User Equ i pment, user terminal;
(6) NAT, network ADDRESS TRANS L AT I on, network address translation;
(7) I CMP, I nternet Contro l Message Protoco l, I nternet control message protocol;
(8) TCP TRANSMI SS I on Contro l Protoco l, transmission control protocol;
(9) UDP User Datagram Protoco l, user datagram protocol;
(10) VXLAN Vi rtua l eXtens i b l e Loca l Area Network, virtual extended LAN.
Fig. 2 is a topology diagram of a conventional R16 standard 5G core network, a 5G base station and a 5G terminal device according to the present invention. The existing R16 standard 5G core network establishes communication connection with the enterprise private network through a convergence switch, the 5G core network establishes communication connection with the R16 standard 5G base station and the R15 standard 5G base station, 5G terminal equipment (CPE) is respectively connected under each 5G base station, and the factory equipment is connected with the 5G terminal equipment. In the topology diagram provided in fig. 2, since the 5G terminal device 1 is R16 standard, and the 5G base station connected to the device is also R16 standard, the communication protocols of the two are consistent with those of the 5G core network, so that only the 5G terminal device 1 can utilize the characteristics of 5GLAN to realize the ethernet two-layer interworking between the factory device and the private network of the enterprise. For the rest 5G terminal equipment 2, 5G terminal equipment 3 and 5G terminal equipment 4, the 5G core network and the enterprise private network cannot be directly accessed by utilizing the characteristic of 5GLAN, and in order to solve the problem that networking cannot be performed due to inconsistent communication protocols, the invention provides a 5GLAN self-adaptive networking method.
As shown in fig. 1, a 5GLAN adaptive networking method according to an embodiment of the present invention includes:
step S1, detecting communication protocols of all 5G base stations associated with a 5G core network and communication protocols of all terminal equipment under all 5G base stations, wherein the communication protocols comprise an R15 standard protocol and an R16 standard protocol, and the communication protocol of the 5G core network is the R16 standard;
And S2, when the communication protocols of the 5G core network and the terminal equipment under the 5G base station are different, the terminal equipment under the 5G base station establishes a first session based on an R15 standard, reads network configuration information of a preset router according to the first session, and establishes communication connection with a preset router according to the network configuration information, wherein each preset router accesses the 5G core network through a switch.
For step S1, detecting the communication protocol of each 5G base station associated with the 5G core network and the communication protocol of the 5G terminal equipment hung under each 5G base station, in the invention, the communication protocol mainly refers to R16 standard or R15 standard, and the communication protocol of the 5G core network is R16 standard. And carrying out self-adaptive networking for each 5G terminal equipment according to the detected communication protocol of each 5G base station and the communication protocol of the 5G terminal equipment hung under each 5G base station.
In a preferred embodiment, the method further comprises that the terminal equipment under the 5G base station directly accesses the 5G core network when the communication protocols of the 5G core network, the 5G base station and the terminal equipment under the 5G base station are identical.
Specifically, when the 5G terminal device 1, the 5G base station and the 5G core network are all R16 standard, the 5G terminal device 1 may directly perform networking with the 5G base station and the 5G core network based on the characteristics of 5GLAN, so as to implement communication with the 5G core network and the private network of the enterprise.
For step S2, as shown in fig. 3, the present invention introduces an access router (i.e. the preset router) for, when detecting that the 5G terminal device cannot directly access the 5G core network and the enterprise private network based on the characteristic of 5GLAN, establishing network connection with the access router, and accessing the aggregation switch through the access router, thereby enabling the 5G terminal device to access the 5G core network and the enterprise private network. It should be noted that, the number of access routers may be one or more, fig. 3 is only an illustration, and in the embodiment of the present invention, the number of access routers is not limited, when there are multiple access routers, the multiple access routers respectively establish two-layer connection with the aggregation switch to implement communication, and when the 5G terminal device establishes a connection with the access router, a nearby access router may be selected for access.
In a preferred embodiment, when the communication protocols of the 5G core network and the 5G base station lower terminal equipment are different, the first session is established based on R15 standard by the 5G base station lower terminal equipment, wherein the first session is established based on R15 standard by the 5G base station lower terminal equipment when the communication protocols of the 5G core network and the 5G base station are the same and the communication protocols of the 5G base station lower terminal equipment and the 5G core network are different, and the first session is established based on R15 standard by the 5G base station lower terminal equipment when the communication protocols of the 5G core network and the 5G base station lower terminal equipment and the 5G core network are different.
Specifically, when the 5G core network and the 5G base station are both R16 standards, since the 5G terminal device 2 still uses the R15 standard, the 5G terminal device 2 cannot directly access the 5G core network and the private enterprise network by using the characteristic of 5 GLAN. When the 5G core network is R16 standard and the 5G base station is R15 standard and the 5G terminal device 4 is R15 standard, the 5G terminal device 4 cannot directly access the 5G core network and the private network by using the characteristic of 5 GLAN. At this time, the R15 standard 5G terminal 2 and 5G terminal 4 need to access the private network and the 5G core network through the access router.
In a preferred embodiment, the terminal equipment under the 5G base station establishes a first session based on the R15 standard, and the method comprises the steps that the terminal equipment under the 5G base station initiates a first session establishment request for establishing a PDU session of an IP type according to the R15 standard to the 5G base station, so that the 5G base station responds to the first session establishment request to establish the first session, and sends the first session to the terminal equipment.
Specifically, the 5G terminal device 2 initiates a request (i.e., the first session establishment request) for establishing an IP type PDU session according to the R15 standard to the 5G base station, so that the 5G base station responds to the request and establishes an IP type PDU session (i.e., the first session) according to the R15 standard and sends the PDU session to the 5G terminal device 2. The 5G terminal device 2 reads the network configuration information preconfigured in the access router according to the first session, and establishes network connection with the access router according to the network configuration information. The manner in which the 5G terminal device 4 establishes network connection with the access router is the same as that of the 5G terminal device 2, and will not be described here again.
When the R15 standard 5G terminal device initiates a request to the R16 standard 5G base station, a session request of the R15 standard is also initiated, so when the 5G terminal device is the R15 standard, the R15 standard or the R16 standard receives an access request of the R15 standard from the 5G base station.
In a preferred embodiment, the network configuration information includes a router address and a network identifier of the router, the reading the network configuration information of the preset router according to the first session, and establishing communication with a preset router according to the network configuration information, including reading the router address of the preset router and the network identifier of the router according to the first session, and establishing a network tunnel with the router of the preset router according to the router address and the network identifier of the router.
Specifically, the network configuration information of the access router comprises a router address and VXLAN VN I (namely the network identifier), and the 5G terminal equipment can establish a VXLAN tunnel with the access router according to the obtained router address and VXLAN VN I to realize network communication.
In a preferred embodiment, the method further comprises the steps that when the communication protocols of the 5G core network and the 5G base station are different, and the communication protocols of the terminal equipment under the 5G base station and the 5G core network are the same, the terminal equipment under the 5G base station establishes a second session based on an R16 standard, networking is conducted according to the second session and the 5G core network if the second session is established successfully, a first session is established based on an R15 standard if the second session is established successfully, network configuration information of a preset router is read according to the first session, and communication connection is established with the preset router according to the network configuration information.
In a preferred embodiment, the terminal equipment under the 5G base station establishes a second session based on the R16 standard, and the method comprises the steps that the terminal equipment under the 5G base station initiates a second session establishment request for establishing PDU session of the Ethernet type in the R16 standard to the 5G base station, so that the 5G base station responds to the second session establishment request to establish the second session, and the second session is sent to the terminal equipment.
Specifically, when the 5G terminal device 3 is R16 standard, the 5G core network is R16 standard, and the 5G base station is R15 standard, the 5G terminal device 3 first initiates a registration request (i.e. the second session establishment request) for establishing an Ethernet type PDU session with R16 standard to the 5G base station, and if the 5G base station can establish the Ethernet type PDU session with R16 standard, the 5G terminal device directly accesses the 5GLAN network based on the established R16 standard session. If the establishment of the PDU session of the Ethernet type fails in the R16 standard, the 5G terminal device 3 establishes a PUD session of the IP type (i.e. the first session described above) based on the R15 standard, then reads the pre-configured router address and VN I of the VXLAN in the access router according to the established first session, establishes a VXLAN tunnel with the access router according to the router address and VN I of the VXLAN, and accesses the aggregation switch through the access router to achieve communication with the private network of the enterprise and the 5G core network.
On the basis of the method item embodiments, the invention correspondingly provides the device item embodiments.
As shown in fig. 4, an embodiment of the present invention provides a 5GLAN adaptive networking device, which includes a detection module and a networking module;
the detection module is used for detecting the communication protocol of each 5G base station associated with the 5G core network and the communication protocol of each terminal device under each 5G base station, wherein the communication protocol comprises an R15 standard protocol and an R16 standard protocol, and the communication protocol of the 5G core network is the R16 standard;
The networking module is used for establishing a first session based on R15 standard by the terminal equipment under the 5G base station when the communication protocols of the terminal equipment under the 5G core network and the 5G base station are different, reading network configuration information of a preset router according to the first session, and establishing communication connection with a preset router according to the network configuration information, wherein each preset router accesses the 5G core network through a switch.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It will be clear to those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
On the basis of the method item embodiment, the invention correspondingly provides a terminal equipment item embodiment.
An embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements a 5GLAN adaptive networking method according to any one of the present invention when the processor executes the computer program.
The terminal device may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor, a memory.
The Processor may be a central processing unit (Centra l Process I ng Un I t, CPU), or other general purpose Processor, digital signal Processor (DI GITA L SI GNA L Processor, DSP), application specific integrated circuit (APP L I CAT I on SPEC I F I C I NTEGRATED CI rcu it, AS IC), off-the-shelf programmable gate array (FiEl d-Programmab L E GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program, and the processor may implement various functions of the terminal device by running or executing the computer program stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area which may store an operating system, an application program required for at least one function, etc., and a storage data area which may store data created according to the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SMART MED I A CARD, SMC), secure digital (Secure Di g ita l, SD) card, flash memory card (F L ASH CARD), at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
Based on the method item embodiments, the invention correspondingly provides storage medium item embodiments.
An embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, where when the computer program runs, the device where the storage medium is controlled to execute a 5GLAN adaptive networking method according to any one of the present invention.
The storage medium is a computer readable storage medium, and the computer program is stored in the computer readable storage medium, and when executed by a processor, the computer program can implement the steps of the above-mentioned method embodiments. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM, read-On l yMemory), a random access memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (9)

1.一种5GLAN自适应组网方法,其特征在于,包括:1. A 5GLAN adaptive networking method, characterized by comprising: 检测5G核心网关联的各5G基站的通信协议以及各5G基站下的各终端设备的通信协议;其中,所述通信协议包括R15标准协议以及R16标准协议;所述5G核心网的通信协议为R16标准;Detect the communication protocols of each 5G base station associated with the 5G core network and the communication protocols of each terminal device under each 5G base station; wherein the communication protocols include R15 standard protocols and R16 standard protocols; the communication protocol of the 5G core network is R16 standard; 在5G核心网与5G基站下终端设备的通信协议不同时,5G基站下终端设备基于R15标准建立第一会话,根据所述第一会话读取预设路由器的网络配置信息,并根据所述网络配置信息与一预设路由器建立通信连接;其中,各预设路由器通过交换机接入5G核心网;When the communication protocols of the 5G core network and the terminal device under the 5G base station are different, the terminal device under the 5G base station establishes a first session based on the R15 standard, reads the network configuration information of the preset router according to the first session, and establishes a communication connection with a preset router according to the network configuration information; wherein each preset router is connected to the 5G core network through a switch; 在5G核心网与5G基站的通信协议不同,且5G基站下终端设备与5G核心网的通信协议相同时,5G基站下终端设备基于R16标准建立第二会话;When the communication protocols of the 5G core network and the 5G base station are different, and the communication protocols of the terminal device under the 5G base station and the 5G core network are the same, the terminal device under the 5G base station establishes a second session based on the R16 standard; 若所述第二会话建立成功,则根据所述第二会话与5G核心网进行组网;If the second session is established successfully, networking with the 5G core network is performed according to the second session; 若所述第二会话建立失败,则基于R15标准建立第一会话,根据所述第一会话读取一预设路由器的网络配置信息,并根据所述网络配置信息与预设路由器建立通信连接。If the establishment of the second session fails, a first session is established based on the R15 standard, network configuration information of a preset router is read according to the first session, and a communication connection is established with the preset router according to the network configuration information. 2.如权利要求1所述的一种5GLAN自适应组网方法,其特征在于,还包括:2. A 5GLAN adaptive networking method according to claim 1, characterized in that it also includes: 在5G核心网、5G基站和5G基站下终端设备的通信协议均相同时,5G基站下终端设备直接接入5G核心网。When the communication protocols of the 5G core network, 5G base station and the terminal equipment under the 5G base station are the same, the terminal equipment under the 5G base station directly accesses the 5G core network. 3.如权利要求1所述的一种5GLAN自适应组网方法,其特征在于,所述在5G核心网与5G基站下终端设备的通信协议不同时,5G基站下终端设备基于R15标准建立第一会话,包括:3. A 5GLAN adaptive networking method according to claim 1, characterized in that when the communication protocols of the 5G core network and the terminal device under the 5G base station are different, the terminal device under the 5G base station establishes a first session based on the R15 standard, including: 在5G核心网与5G基站的通信协议相同,且5G基站下终端设备与5G核心网的通信协议不同时,5G基站下终端设备基于R15标准建立第一会话;When the communication protocols of the 5G core network and the 5G base station are the same, and the communication protocols of the terminal device under the 5G base station and the 5G core network are different, the terminal device under the 5G base station establishes a first session based on the R15 standard; 在5G核心网与5G基站的通信协议不同,且5G基站下终端设备与5G核心网的通信协议不同时,5G基站下终端设备基于R15标准建立第一会话。When the communication protocols between the 5G core network and the 5G base station are different, and the communication protocols between the terminal device under the 5G base station and the 5G core network are different, the terminal device under the 5G base station establishes a first session based on the R15 standard. 4.如权利要求3所述的一种5GLAN自适应组网方法,其特征在于,所述5G基站下终端设备基于R16标准建立第二会话,包括:4. A 5GLAN adaptive networking method according to claim 3, characterized in that the terminal device under the 5G base station establishes a second session based on the R16 standard, including: 5G基站下终端设备向5G基站发起以R16标准建立Ethernet类型的PDU会话的第二会话建立请求,以使5G基站响应所述第二会话建立请求建立第二会话,并将所述第二会话发送至终端设备。The terminal device under the 5G base station initiates a second session establishment request to the 5G base station to establish an Ethernet type PDU session based on the R16 standard, so that the 5G base station responds to the second session establishment request to establish a second session and sends the second session to the terminal device. 5.如权利要求1或3任意一项所述的一种5GLAN自适应组网方法,其特征在于,所述5G基站下终端设备基于R15标准建立第一会话,包括:5. A 5GLAN adaptive networking method according to any one of claims 1 or 3, characterized in that the terminal device under the 5G base station establishes a first session based on the R15 standard, including: 5G基站下终端设备向5G基站发起以R15标准建立IP类型的PDU会话的第一会话建立请求,以使5G基站响应所述第一会话建立请求建立第一会话,并将所述第一会话发送至终端设备。The terminal device under the 5G base station initiates a first session establishment request to the 5G base station to establish an IP type PDU session based on the R15 standard, so that the 5G base station responds to the first session establishment request to establish a first session and sends the first session to the terminal device. 6.如权利要求1所述的一种5GLAN自适应组网方法,其特征在于,所述网络配置信息包括路由器地址以及路由器的网络标识;6. A 5GLAN adaptive networking method according to claim 1, characterized in that the network configuration information includes a router address and a network identifier of the router; 所述根据所述第一会话读取预设路由器的网络配置信息,并根据所述网络配置信息与一预设路由器建立通信连接,包括:The step of reading network configuration information of a preset router according to the first session and establishing a communication connection with a preset router according to the network configuration information includes: 根据所述第一会话读取预设路由器的路由器地址以及路由器的网络标识;Reading a router address and a network identifier of a preset router according to the first session; 根据路由器地址以及路由器的网络标识与预设路由器的路由器建立网络隧道。A network tunnel is established with the router of the preset router according to the router address and the network identification of the router. 7.一种5GLAN自适应组网装置,其特征在于,包括:检测模块以及组网模块;7. A 5GLAN adaptive networking device, characterized by comprising: a detection module and a networking module; 所述检测模块,用于检测5G核心网关联的各5G基站的通信协议以及各5G基站下的各终端设备的通信协议;其中,所述通信协议包括R15标准协议以及R16标准协议;所述5G核心网的通信协议为R16标准;The detection module is used to detect the communication protocol of each 5G base station associated with the 5G core network and the communication protocol of each terminal device under each 5G base station; wherein the communication protocol includes the R15 standard protocol and the R16 standard protocol; the communication protocol of the 5G core network is the R16 standard; 所述组网模块,用于在5G核心网与5G基站下终端设备的通信协议不同时,5G基站下终端设备基于R15标准建立第一会话,根据所述第一会话读取预设路由器的网络配置信息,并根据所述网络配置信息与一预设路由器建立通信连接;其中,各预设路由器通过交换机接入5G核心网;在5G核心网与5G基站的通信协议不同,且5G基站下终端设备与5G核心网的通信协议相同时,5G基站下终端设备基于R16标准建立第二会话;若所述第二会话建立成功,则根据所述第二会话与5G核心网进行组网;若所述第二会话建立失败,则基于R15标准建立第一会话,根据所述第一会话读取一预设路由器的网络配置信息,并根据所述网络配置信息与预设路由器建立通信连接。The networking module is used for establishing a first session based on the R15 standard for the terminal device under the 5G base station when the communication protocols between the 5G core network and the terminal device under the 5G base station are different, reading the network configuration information of the preset router according to the first session, and establishing a communication connection with a preset router according to the network configuration information; wherein each preset router is connected to the 5G core network through a switch; when the communication protocols between the 5G core network and the 5G base station are different, and the communication protocols between the terminal device under the 5G base station and the 5G core network are the same, the terminal device under the 5G base station establishes a second session based on the R16 standard; if the second session is successfully established, networking is performed with the 5G core network according to the second session; if the second session fails to be established, establishing a first session based on the R15 standard, reading the network configuration information of a preset router according to the first session, and establishing a communication connection with the preset router according to the network configuration information. 8.一种终端设备,其特征在于,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至6中任意一项所述的一种5GLAN自适应组网方法。8. A terminal device, characterized in that it comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements a 5GLAN adaptive networking method as described in any one of claims 1 to 6. 9.一种计算机可读存储介质,其特征在于,所述存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述存储介质所在设备执行如权利要求1至6中任意一项所述的一种5GLAN自适应组网方法。9. A computer-readable storage medium, characterized in that the storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute a 5GLAN adaptive networking method as described in any one of claims 1 to 6.
CN202410190969.3A 2024-02-21 2024-02-21 5GLAN adaptive networking method, device, terminal equipment and storage medium Active CN118301787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410190969.3A CN118301787B (en) 2024-02-21 2024-02-21 5GLAN adaptive networking method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410190969.3A CN118301787B (en) 2024-02-21 2024-02-21 5GLAN adaptive networking method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN118301787A CN118301787A (en) 2024-07-05
CN118301787B true CN118301787B (en) 2024-12-31

Family

ID=91683548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410190969.3A Active CN118301787B (en) 2024-02-21 2024-02-21 5GLAN adaptive networking method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118301787B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124618A (en) * 2021-12-06 2022-03-01 新华三技术有限公司成都分公司 Message transmission method and electronic equipment
CN114467287A (en) * 2020-07-03 2022-05-10 华为技术有限公司 A communication method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756441B (en) * 2017-08-22 2021-08-10 成都鼎桥通信技术有限公司 Multi-protocol compatible processing method and device
CN110620716B (en) * 2018-06-19 2021-10-01 华为技术有限公司 Data transmission method, related device and system
CN114500164B (en) * 2020-11-11 2025-01-21 中国移动通信有限公司研究院 VLAN implementation method, core network equipment and terminal
CN114501680B (en) * 2020-11-11 2024-11-08 中国移动通信有限公司研究院 Local area network implementation method, core network equipment and terminal
CN115426723B (en) * 2022-10-28 2023-03-24 新华三技术有限公司 VPN tunnel establishment method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114467287A (en) * 2020-07-03 2022-05-10 华为技术有限公司 A communication method and device
CN114124618A (en) * 2021-12-06 2022-03-01 新华三技术有限公司成都分公司 Message transmission method and electronic equipment

Also Published As

Publication number Publication date
CN118301787A (en) 2024-07-05

Similar Documents

Publication Publication Date Title
CN112468383B (en) Communication method and gateway, management method and device in hybrid cloud environment
CN106598560A (en) iSCSI-based operating system image deployment and diskless startup method
CN103631652A (en) Method and system for achieving virtual machine migration
CN112333017A (en) Service configuration method, device, equipment and storage medium
CN113612702B (en) A method, system, device and storage medium for realizing bare metal inspection process
WO2021169291A1 (en) Route advertising method, network elements, system, and device
CN112491603A (en) Equipment configuration method, device, equipment and storage medium
US10097375B2 (en) Electronic device and transmission method thereof
CN114025009B (en) Method, system, proxy server and device for forwarding request
CN118301787B (en) 5GLAN adaptive networking method, device, terminal equipment and storage medium
CN111130978B (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium
CN111314477A (en) P2P communication method, system, home gateway, electronic device and storage medium
CN114584974A (en) Network distribution method, device, equipment and medium for Internet of things equipment
CN116915585B (en) Software-defined wide area network networking method, device, electronic equipment and storage medium
CN116938878B (en) Address allocation method, cloud control console, internet of things terminal and special gateway
CN112804144B (en) An information configuration method and network device
US11947971B2 (en) Remote resource configuration mechanism
WO2024104360A1 (en) Network access method and apparatus, device, storage medium, and program
CN114760242B (en) Migration method and device of virtual router, electronic equipment and storage medium
EP4149062A1 (en) Deployment method and apparatus for virtualized network service
EP4503571A1 (en) Address configuration method and electronic device
US20240311205A1 (en) Private network and edge application provisioning management system, method and computer readable medium thereof
CN118631732A (en) Communication method, device and medium based on hybrid cloud
CN119583447A (en) Strategy following method and device and electronic equipment
CN116546658A (en) Terminal user tracing method and device, computer storage medium and electronic 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