5GLAN adaptive networking method, device, terminal equipment and storage medium
By detecting the communication protocol between the 5G core network and 5G base station, using the R15 standard to establish a session and read the network configuration information, seamless access to the terminal equipment under the 5G core network and 5G base station is achieved, and the 5G core network and 5G base station are solved. The problem of inconsistent communication protocol of terminal equipment reduces access costs.
Patent Information
- Application Number
- CN202410190969.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-21
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-02-21
AI Technical Summary
The existing 5G R15 standard base station and core network require a lot of cost when upgrading to the R16 standard, resulting in inconsistent communication protocols between the 5G core network and the terminal equipment under the 5G base station, resulting in the terminal equipment being unable to directly access the 5G core network.
By detecting the communication protocol between the 5G core network and the 5G base station, a session is established based on the R15 standard, the network configuration information of the preset router is read, and a communication connection is established with the 5G core network through the preset router to achieve access to the terminal device.
This reduces the cost of terminal equipment accessing 5G core network, avoids protocol upgrades to 5G base stations and terminal equipment, and realizes seamless access to the communication protocols of 5G core network and terminal equipment under 5G base stations.
Smart Images

Figure CN118301787B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network communication technology, and in particular to a 5GLAN adaptive networking method, device, terminal equipment and storage medium. Background Art
[0002] The 5G fully connected factory is to make full use of the new generation of information and communication technologies represented by 5G to build a new industrial Internet infrastructure, forming an advanced factory with deep integration of information (IT) and operation (OT), full use of data elements, and efficient empowerment of innovative applications. 5GLAN is a solution to replace the second-layer LAN for 5G fully connected factories. With the freezing of the 3GPP R16 standard and the research and development of major manufacturers, more and more factories are beginning to apply 5GLAN technology.
[0003] 5GLAN technology is a technology that uses 5G technology to seamlessly replace the original factory two-layer networking. However, since 5GLAN is defined in the 3GPP R16 standard, in the 5GLAN networking scenario, the base station, 5G core network, and 5G terminal equipment must all support the R16 standard to achieve 5GLAN networking. Currently, a large number of base stations and core networks that support the 5G R15 standard have been built. It costs a lot to transform the existing base stations and core networks from the R15 standard to the R16 standard. Summary of the invention
[0004] The embodiments of the present invention provide a 5GLAN adaptive networking method, apparatus, terminal equipment and storage medium, which can reduce the cost of terminal equipment accessing the 5G core network when the communication protocols of the terminal equipment under the 5G core network and the 5G base station are different.
[0005] An embodiment of the present invention provides a 5GLAN adaptive networking method, including:
[0006] 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;
[0007] When the communication protocols between 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.
[0008] Furthermore, it also includes:
[0009] When the communication protocols of the 5G core network, 5G base station and terminal devices under the 5G base station are the same, the terminal devices under the 5G base station directly access the 5G core network.
[0010] Furthermore, 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:
[0011] 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;
[0012] 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.
[0013] Furthermore, it also includes:
[0014] 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;
[0015] If the second session is established successfully, networking with the 5G core network is performed according to the second session;
[0016] 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.
[0017] Furthermore, the terminal device under the 5G base station establishes a second session based on the R16 standard, including:
[0018] 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.
[0019] Furthermore, the terminal device under the 5G base station establishes a first session based on the R15 standard, including:
[0020] 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.
[0021] Furthermore, the network configuration information includes a router address and a network identifier of the router;
[0022] 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:
[0023] Reading a router address and a network identifier of a preset router according to the first session;
[0024] A network tunnel is established with the router of the preset router according to the router address and the network identification of the router.
[0025] Based on the above method embodiment, the present invention provides a corresponding device embodiment;
[0026] An embodiment of the present invention provides a 5GLAN adaptive networking device, including: a detection module and a networking module;
[0027] 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;
[0028] 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 of 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.
[0029] 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, and when the processor executes the computer program, a 5GLAN adaptive networking method described in the above-mentioned embodiment of the invention is implemented.
[0030] Another embodiment of the present invention provides a storage medium, which 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 described in the above-mentioned invention embodiment.
[0031] The following beneficial effects are achieved by implementing the present invention:
[0032] The present invention provides a 5GLAN adaptive networking method, device, terminal equipment and storage medium. The adaptive networking method determines the relationship between the communication protocols of the 5G core network and the 5G base station and the terminal equipment 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 equipment under each 5G base station. When the communication protocols of the 5G core network and the terminal equipment under the 5G base station are different, after establishing a first session based on the original R15 standard when the communication protocols of the 5G core network and the terminal equipment under the 5G base station are different, the terminal equipment obtains the network configuration information of a preset router according to the established first session, accesses the preset router, and then accesses the 5G core network through a switch based on the preset router. There is no need to upgrade the protocols of the 5G base station and the terminal equipment. The communication between the terminal equipment and the 5G core network can be completed by connecting the 5G base station and the terminal equipment that do not meet the R16 standard through an external preset router and the switch of the 5G core network, thereby reducing the cost of the terminal equipment accessing the 5G core network when the communication protocols of the terminal equipment under the 5G core network and the 5G base station are different. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a flow chart of a 5GLAN adaptive networking method provided by one embodiment of the present invention.
[0034] Figure 2 It is a topology diagram of the existing R16 standard 5G core network, 5G base stations and 5G terminal devices.
[0035] Figure 3 This is a topology diagram of a 5GLAN adaptive networking method provided by an embodiment of the present invention.
[0036] Figure 4 It is a structural diagram of a 5GLAN adaptive networking device provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] In order to better understand the technical content of the present invention, the terms involved in the present invention are explained as follows:
[0039] (1) 5G: 5th Generation, the fifth generation of mobile communication system;
[0040] (2) 5GLAN: Using 5G technology, terminals are organized into a Layer 2 LAN network;
[0041] (3) 4G: The fourth generation of mobile communication system.
[0042] (4) CPE: customer premise equipment, managed equipment in the network;
[0043] (5) UE: User Equipment, user terminal;
[0044] (6) NAT: Network Address Translation;
[0045] (7) ICMP: Internet Control Message Protocol, Internet Control Message Protocol;
[0046] (8) TCP: Transmission Control Protocol;
[0047] (9) UDP: User Datagram Protocol, User Datagram Protocol;
[0048] (10) VXLAN: Virtual eXtensible Local Area Network, virtual extended local area network.
[0049] like Figure 2 As shown, it is a topology diagram of an existing R16 standard 5G core network provided by the present invention, which is networked with a 5G base station and a 5G terminal device. The existing R16 standard 5G core network establishes a communication connection with the enterprise private network through a convergence switch; the 5G core network establishes a communication connection with the R16 standard 5G base station and the R15 standard 5G base station, and each 5G base station is connected to a 5G terminal device (CPE), and the factory equipment is connected to the 5G terminal device. Figure 2 In the provided topology diagram, since 5G terminal device 1 is of R16 standard and the 5G base station connected to the device is also of R16 standard, the communication protocols of the two are consistent with the 5G core network. Therefore, only 5G terminal device 1 can use the 5GLAN feature to achieve Ethernet Layer 2 intercommunication between factory equipment and enterprise private network. For the remaining 5G terminal devices 2, 5G terminal devices 3 and 5G terminal devices 4, they cannot use the 5GLAN feature to directly access the 5G core network and enterprise private network. In order to solve the problem of being unable to form a network due to inconsistent communication protocols, the present invention proposes a 5GLAN adaptive networking method.
[0050] like Figure 1 As shown, a 5GLAN adaptive networking method provided by an embodiment of the present invention includes:
[0051] Step S1: 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;
[0052] Step S2: When the communication protocols between 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.
[0053] For step S1, the communication protocols of each 5G base station associated with the 5G core network and the communication protocols of the 5G terminal devices connected to each 5G base station are detected; in the present invention, the communication protocol mainly refers to the R16 standard or the R15 standard, and the communication protocol of the 5G core network is the R16 standard. Adaptive networking is performed for each 5G terminal device based on the detected communication protocols of each 5G base station and the communication protocols of the 5G terminal devices connected to each 5G base station.
[0054] In a preferred embodiment, it also includes: when the communication protocols of the 5G core network, the 5G base station and the terminal device under the 5G base station are the same, the terminal device under the 5G base station directly accesses the 5G core network.
[0055] Specifically, when the 5G terminal device 1, the 5G base station and the 5G core network are all R16 standards, the 5G terminal device 1 can directly form a network with the 5G base station and the 5G core network based on the characteristics of 5GLAN, and realize communication with the 5G core network and the enterprise private network.
[0056] For step S2, Figure 3 As shown, the present invention introduces an access router (i.e., the above-mentioned preset router) for establishing a network connection with the access router when it is detected that the 5G terminal device cannot directly access the 5G core network and the enterprise private network based on the 5GLAN characteristics, and then accessing the aggregation switch through the access router, so that the 5G terminal device can access the 5G core network and the enterprise private network. It should be noted that the access router can be one or more. Figure 3This is only an example. In the embodiments of the present invention, the number of access routers is not limited. When there are multiple access routers, the multiple access routers respectively establish a Layer 2 connection with the aggregation switch to achieve communication. When the 5G terminal device establishes a connection with the access router, the nearest access router can be selected for access.
[0057] In a preferred embodiment, when the communication protocols of the terminal device under the 5G core network and the 5G base station are different, the terminal device 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 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; 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 different, the terminal device under the 5G base station establishes a first session based on the R15 standard.
[0058] Specifically, when the 5G core network and 5G base station are both R16 standard, since 5G terminal device 2 still uses R15 standard, 5G terminal device 2 cannot directly use 5GLAN feature to access 5G core network and enterprise private network. When the 5G core network is R16 standard, the 5G base station is R15 standard, and 5G terminal device 4 is R15 standard, 5G terminal device 4 cannot directly use 5GLAN feature to access 5G core network and enterprise private network. At this time, 5G terminal device 2 and 5G terminal device 4 of R15 standard need to access enterprise private network and 5G core network through access router.
[0059] In a preferred embodiment, the terminal device under the 5G base station establishes a first session based on the R15 standard, including: 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.
[0060] Specifically, 5G terminal device 2 initiates a request to the 5G base station to establish an IP type PDU session according to the R15 standard (i.e., the above-mentioned first session establishment request), so that the 5G base station responds to the request, establishes an IP type PDU session according to the R15 standard (i.e., the above-mentioned first session) and then sends it to 5G terminal device 2. 5G terminal device 2 reads the pre-configured network configuration information in the access router according to the first session, and establishes a network connection with the access router according to the network configuration information. The way in which 5G terminal device 4 establishes a network connection with the access router is the same as that of 5G terminal device 2, which will not be repeated here.
[0061] It should be noted that when a 5G terminal device of the R15 standard initiates a request to a 5G base station of the R16 standard, it also initiates a session request of the R15 standard. Therefore, when the 5G terminal device is of the R15 standard, whether the 5G base station is of the R15 standard or the R16 standard, it will receive an access request of the R15 standard.
[0062] In a preferred embodiment, the network configuration information includes a router address and a network identifier of the router; reading the 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 the router address of the preset router and the network identifier of the router according to the first session; establishing a network tunnel with the router of the preset router according to the router address and the network identifier of the router.
[0063] Specifically, the network configuration information of the access router includes the router address and the VN I of the VXLAN (that is, the above-mentioned network identifier); the 5G terminal device can establish a VXLAN tunnel with the access router based on the obtained router address and the VN I of the VXLAN to achieve network communication.
[0064] In a preferred embodiment, it also includes: 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; 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.
[0065] In a preferred embodiment, the terminal device under the 5G base station establishes a second session based on the R16 standard, including: 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.
[0066] Specifically, when the 5G terminal device 3 is of R16 standard, the 5G core network is of R16 standard, and the 5G base station is of R15 standard, the 5G terminal device 3 first initiates a registration request to the 5G base station to establish an Ethernet type PDU session in accordance with the R16 standard (i.e., the above-mentioned second session establishment request). If the 5G base station can establish an Ethernet type PDU session in accordance with the R16 standard, it directly accesses the 5GLAN network based on the established R16 standard session. If the establishment of an Ethernet type PDU session in accordance with the R16 standard fails, the 5G terminal device 3 establishes an IP type PDU session (i.e., the above-mentioned first session) based on the R15 standard, and 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 enterprise private network and the 5G core network.
[0067] Based on the above method embodiment, the present invention provides a corresponding device embodiment.
[0068] like Figure 4 As shown, an embodiment of the present invention provides a 5GLAN adaptive networking device, including: a detection module and a networking module;
[0069] 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;
[0070] 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 of 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.
[0071] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0072] Those skilled in the art can clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0073] Based on the above method item embodiments, the present invention provides corresponding terminal device item embodiments.
[0074] 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, wherein when the processor executes the computer program, a 5GLAN adaptive networking method described in any one of the embodiments of the present invention is implemented.
[0075] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0076] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0077] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0078] Based on the above method item embodiments, the present invention provides a corresponding storage medium item embodiment.
[0079] An embodiment of the present invention provides a storage medium, which 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 described in any one of the present invention.
[0080] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-On l yMemory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0081] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A 5GLAN adaptive networking method, characterized in that: include: 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; 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; 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; If the second session is successfully established, networking is performed with the 5G core network according to the second session; 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. A 5GLAN adaptive networking method as claimed in claim 1, characterized in that: Also includes: When the communication protocols of the 5G core network, 5G base station and terminal devices under the 5G base station are the same, the terminal devices under the 5G base station directly access the 5G core network.
3. A 5GLAN adaptive networking method as claimed in 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: 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; 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. A 5GLAN adaptive networking method as claimed in claim 3, characterized in that: The terminal device under the 5G base station establishes a second session based on the R16 standard, including: 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. 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: 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. A 5GLAN adaptive networking method as claimed in 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. A 5GLAN adaptive networking device, characterized in that: include: Detection module and networking module; 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; 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. A terminal device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and 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. 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.