Method, device and equipment for establishing connection

By sending information to the wireless access network side equipment without valid AS security parameters, the connection status operation instructions are obtained, and the problem of lack of a method in the prior art in which the terminal only establishes connection with the wireless access network side equipment is solved, and efficient connection management is achieved.

CN114071787BActive Publication Date: 2025-05-16VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010763629.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-31
Publication Date
2025-05-16
Estimated Expiration
2040-07-31

AI Technical Summary

Technical Problem

There is a lack of a method in the prior art for establishing connections to terminals only with wireless access network devices, especially in the absence of valid AS security parameters.

Method used

A method of establishing a connection is provided, and the terminal sends the first information to the wireless access network side device without valid AS security parameters to obtain an indication of the connection status operation. After receiving the information, the wireless access network side device decides whether to send or refuse to send the information to the core network side device.

Benefits of technology

It realizes that the terminal only establishes connection with the wireless access network side equipment, avoids always establishing connection with the core network side equipment, and improves connection efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114071787B_ABST
    Figure CN114071787B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and equipment for establishing a connection, which belongs to the field of communication technology. The method includes: a first terminal sends a first message to a wireless access network side device without a valid AS security parameter, and the first message is used to obtain an indication of a connection state operation through the wireless access network side device, so that the terminal can only establish a connection with the wireless access network side device, without always establishing a connection with the core network side device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a method, device and equipment for establishing a connection. Background Art

[0002] In the prior art, a shared channel is established between the core network (CN) and the radio access network (RAN) for multicast services, and the air interface uses multicast or unicast to send multicast service data. Therefore, the terminal (UE) does not need to establish a per UE connection with the core network, but only needs to establish a connection with the RAN. The current prior art lacks a connection establishment method for this scenario. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, apparatus and device for establishing a connection, which can solve the problem of how to achieve that a terminal only establishes a connection with a wireless access network side device.

[0004] In order to solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, a method for establishing a connection is provided, which is applied to a first terminal, and the method includes:

[0006] In the absence of a valid AS security parameter, sending first information to a wireless access network side device;

[0007] The first information is used to obtain an indication of a connection status operation through the wireless access network side device.

[0008] In a second aspect, a device for establishing a connection is provided, which is applied to a first terminal, and the device includes:

[0009] A first sending module, configured to send first information to a wireless access network side device in the absence of a valid AS security parameter;

[0010] The first information is used to obtain an indication of a connection status operation through the wireless access network side device.

[0011] In a third aspect, a method for establishing a connection is provided, which is applied to a second terminal, and the method includes:

[0012] In the absence of a valid AS security parameter, sending fourth information to the first terminal;

[0013] The fourth information is used to obtain an indication of a connection status operation through the first terminal.

[0014] In a fourth aspect, a device for establishing a connection is provided, which is applied to a second terminal, and the device includes:

[0015] A fourth sending module, in the absence of a valid AS security parameter, sending fourth information to the first terminal;

[0016] The fourth information is used to obtain an indication of a connection status operation through the first terminal.

[0017] In a fifth aspect, a method for establishing a connection is provided, which is applied to a wireless access network side device, and the method includes at least one of the following:

[0018] receiving first information from a first terminal, and sending or refusing to send the first information to a core network side device, wherein the first information is used by the core network side device to send third information to the wireless access network side device or refuse to send the third information based on the first information;

[0019] Receive first information from a first terminal, and send or refuse to send the first information to a core network side device, wherein the first information is used by the core network side device to send fifth information to the wireless access network side device or refuse to send the fifth information based on the first information.

[0020] In a sixth aspect, a device for establishing a connection is provided, which is applied to a wireless access network side device, and the device includes:

[0021] a fifth receiving module, configured to receive first information from a first terminal, and send or refuse to send the first information to a core network side device, wherein the first information is used by the core network side device to send third information to the wireless access network side device or refuse to send the third information based on the first information;

[0022] The sixth receiving module is used to receive the first information from the first terminal, and send or refuse to send the first information to the core network side device, wherein the first information is used by the core network side device to send the fifth information to the wireless access network side device or refuse to send the fifth information based on the first information.

[0023] In a seventh aspect, a method for establishing a connection is provided, which is applied to a core network side device, and the method includes:

[0024] Receiving first information from a first terminal from a wireless access network side device, or receiving first information including fourth information from a second terminal from the wireless access network side device;

[0025] Based on the first information, send third information to the wireless access network side device or refuse to send the third information, wherein the third information is used by the wireless access network side device to send second information to the first terminal based on the third information; or

[0026] Based on the fourth information, fifth information is sent to the wireless access network side device or the fifth information is refused to be sent, and the fifth information is used by the wireless access network side device to send second information to the first terminal based on the fifth information.

[0027] In an eighth aspect, a device for establishing a connection is provided, which is applied to a core network side device, and the device includes:

[0028] an eighth receiving module, configured to receive first information from the first terminal from the wireless access network side device, or to receive first information including fourth information from the second terminal from the wireless access network side device;

[0029] a sixth sending module, configured to send third information to the wireless access network side device or refuse to send the third information based on the first information, wherein the third information is used by the wireless access network side device to send second information to the first terminal based on the third information; or

[0030] The seventh sending module is used to send fifth information to the wireless access network side device or refuse to send the fifth information based on the fourth information, and the fifth information is used by the wireless access network side device to send second information to the first terminal based on the fifth information.

[0031] In the ninth aspect, a terminal is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for establishing a connection as described in the first aspect, or implements the steps of the method for establishing a connection as described in the third aspect.

[0032] In the tenth aspect, a wireless access network side device is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for establishing a connection as described in the fifth aspect.

[0033] In the eleventh aspect, a core network side device is provided, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for establishing a connection as described in the seventh aspect.

[0034] In the twelfth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method for establishing a connection as described in the first aspect are implemented, or the steps of the method for establishing a connection as described in the third aspect are implemented, or the steps of the method for establishing a connection as described in the fifth aspect are implemented, or the steps of the method for establishing a connection as described in the seventh aspect are implemented.

[0035] In the thirteenth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a terminal program or instruction to implement the method described in the first aspect, or to implement the method described in the second aspect; or to run a wireless access network side device program or instruction to implement the method described in the third aspect; or to run a core network side device program or instruction or to implement the method described in the seventh aspect.

[0036] In an embodiment of the present application, after the terminal establishes a connection with the wireless access network side device, the terminal sends a first message to the wireless access network side device, and obtains a connection status operation through the wireless access network side device, so that the terminal can only establish a connection with the wireless access network side device without always establishing a connection with the core network side device. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1a One of the flowcharts of the method for establishing a connection provided in an embodiment of the present application;

[0038] Figure 1b A schematic diagram of a relay scenario provided in an embodiment of the present application;

[0039] Figure 2 A second flow chart of a method for establishing a connection provided in an embodiment of the present application;

[0040] Figure 3 A third flow chart of a method for establishing a connection provided in an embodiment of the present application;

[0041] Figure 4 A fourth flowchart of a method for establishing a connection provided in an embodiment of the present application;

[0042] Figure 5 One of the schematic diagrams of the structure of the device for establishing a connection provided in an embodiment of the present application;

[0043] Figure 6 A second schematic diagram of the structure of the device for establishing a connection provided in an embodiment of the present application;

[0044] Figure 7 A third schematic diagram of the structure of the device for establishing a connection provided in an embodiment of the present application;

[0045] Figure 8 A fourth schematic diagram of the structure of the device for establishing a connection provided in an embodiment of the present application;

[0046] Fig. 9 A schematic diagram of the communication device structure provided in an embodiment of the present application;

[0047] Fig.10A schematic diagram of the terminal structure provided in an embodiment of the present application;

[0048] Fig.11 A schematic diagram of the structure of a wireless access network device provided in an embodiment of the present application;

[0049] Fig.12 A schematic diagram of the core network side device structure provided for an embodiment of the present application. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0051] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0052] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. However, the following description describes a New Radio (NR) system for illustrative purposes, and the NR terminology is used in most of the following descriptions, although these technologies can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.

[0053] In the embodiments of the present application, the terminal may also be referred to as a terminal device or a user terminal (User Equipment, UE), and the terminal may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device (VUE), a pedestrian terminal (PUE) and other terminal-side devices, and the wearable device includes: a bracelet, a headset, glasses, etc. It should be noted that the specific type of the terminal is not limited in the embodiments of the present application. The wireless access network side device 12 can be a base station, wherein the base station can be referred to as a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node, a transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.

[0054] In order to better understand the solution provided by this application, the following contents are first described:

[0055] In the LTE system, the Multimedia Broadcast Multicast Service (MBMS) can be sent in two ways: MBMS Single Frequency Network (Multimedia Broadcast multicast service Single Frequency Network) and single cell-point to multi-point (SC-PTM).

[0056] MBSFN mode: Multiple cells in the same MBSFN area send the same multicast service at the same time. From the UE side, it is equivalent to receiving the same data through multiple paths. It is sent through the Physical Multicast Channel (PMCH) in the MBSFN subframe. The control information (control channel parameters and service channel parameters, scheduling information, etc.) and data information of the MBMS service are sent in a broadcast manner, so that both idle UEs and connected UEs can receive MBMS services, and the MBMS data information is only sent in MBSFN subframes. Among them, the control information related to the multicast service is sent through the system information (such as SIB13) and the broadcast control channel (Multicast Control Channel,) MCCH, and the data is sent through the broadcast traffic channel (Multicast Traffic Channel, MTCH).

[0057] SC-PTM: Sent through the Physical Downlink Shared Channel (PDSCH) scheduled by the Physical Downlink Control Channel (PDCCH). Control information is sent through system information (such as SIB20) and the Single Cell Multicast Control Channel (SC-MCCH), and data is sent through the Single Cell Multicast Traffic Channel (SC-MTCH). SC-MCCH is sent through the PDSCH scheduled by the Single Cell Radio Network Temporary Identity (SC-RNTI) PDCCH, and SC-MTCH is sent through the PDSCH scheduled by the Group Radio Network Temporary Identity (G-RNTI) PDCCH.

[0058] The following describes in detail the method for establishing a connection provided by the embodiment of the present application through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0059] See also Figure 1a , an embodiment of the present application provides a method for establishing a connection, applied to a first terminal, the method comprising:

[0060] Step 101: In the absence of valid AS security parameters, first information is sent to a wireless access network side device, where the first information is used to obtain an indication of a connection state operation through the wireless access network side device.

[0061] In an embodiment of the present application, the situation where there are no valid AS security parameters may refer to: the first terminal requests to establish a radio resource control (Radio Resource Control, RRC) connection with the wireless access network side device, and the wireless access network side device agrees to establish the RRC connection, and the first terminal enters the connected state from the idle state but the access layer AS security has not yet been activated.

[0062] As an example, the terminal may carry the first information through an RRCSetupComplete message and send the first information to the radio access network device.

[0063] In an embodiment of the present application, after the terminal establishes a connection with the wireless access network side device, the terminal sends first information to the wireless access network side device, and obtains an indication of a connection state operation through the wireless access network side device. In this way, when the terminal only establishes a connection with the wireless access network side device, the terminal can obtain an indication of a connection state operation through the wireless access network side device, and perform connection state-related operations based on the indication, thereby enabling the terminal to only establish a connection with the wireless access network side device without always establishing a connection with the core network side device.

[0064] In some implementations, the first information is non-NAS information, which can be achieved through a signaling process without connecting to a core network side device.

[0065] In some implementations, the core network management state of the first terminal is an idle state, which can be achieved locally without connecting to the core network side device.

[0066] In some embodiments, the first information is generated based on the non-access stratum (NAS) security parameters of the above-mentioned first terminal, so that the first information can be sent by the wireless access network side device to the core network side device, and the core network side device verifies the first terminal based on the first information.

[0067] Furthermore, in some implementations, after sending the first information to the wireless access network side device, the method further includes: receiving second information sent by the wireless access network side device; and performing connection status related operations according to the second information.

[0068] In the embodiment of the present application, performing connection state related operations according to the second information includes at least one of the following:

[0069] (1) Entering a wireless non-connection state, or releasing a wireless connection; as an example, the wireless non-connection state may be an idle state.

[0070] (2) Maintain or switch to a wireless connection state, or maintain a wireless connection;

[0071] (3) Convert to core network connection state, or execute core network connection establishment process.

[0072] Optionally, in some implementations, if the first terminal does not receive the second information within a time specified by the protocol or configured by the network, a default operation is performed.

[0073] As an example, the first terminal starts a first timer when it starts sending the first information to the wireless access network device or when it finishes sending the first information to the wireless access network device or after sending the first information to the wireless access network device. The duration of the first timer may be agreed upon by the protocol or configured on the network side.

[0074] If second information is received while the first timer is running, the first timer is stopped.

[0075] If the first timer times out, a default operation is performed.

[0076] In the embodiment of the present application, the default operation includes one of the following:

[0077] Enter wireless non-connection state, or release wireless connection;

[0078] Maintain or switch to wireless connection state, or maintain wireless connection;

[0079] Convert to core network connection state, or execute core network connection establishment process.

[0080] Alternatively, see Figure 1b , the figure shows a relay scenario, in which the first terminal is a relay terminal of the second terminal, that is, the first terminal is a relay UE (for example, a layer 2 relay terminal, layer 2 relay UE), and the second terminal is a remote UE.

[0081] For this scenario, the method further includes:

[0082] (1) receiving fourth information sent by the second terminal;

[0083] (2) Sending first information to the wireless access network side device.

[0084] In an embodiment of the present application, the first information is the fourth information, or the first information is generated based on the NAS security parameter of the first terminal and the fourth information. Optionally, the fourth information is generated based on the NAS security parameter of the second terminal.

[0085] Further, after sending the first information to the wireless access network side device, the method further includes:

[0086] (3) receiving second information sent by the wireless access network side device;

[0087] (4) sending sixth information to the second terminal according to the second information, where the sixth information is used to instruct the second terminal to perform a connection state-related operation;

[0088] In the embodiment of the present application, the first terminal receives the fourth information from the second terminal, and optionally sends the fourth information as the first information to the wireless access network side device, or generates the first information based on the NAS security parameter of the first terminal and the fourth information and sends it to the wireless access network side device, and then sends the sixth information for instructing the second terminal to perform connection state related operations to the second terminal according to the second information returned by the wireless access network side device. In this way, for the relay scenario, it is also possible to achieve that the terminal (such as a remote terminal) only establishes a connection with the wireless access network side device.

[0089] See also Figure 2 , an embodiment of the present application provides a method for establishing a connection, which is applied to a second terminal, and the method includes:

[0090] Step 201: In the absence of valid AS security parameters, fourth information is sent to a first terminal, where the fourth information is used to obtain an indication of a connection state operation through the first terminal.

[0091] In the embodiments of the present application, Figure 1b In the scenario shown, the first terminal is a relay terminal of the second terminal, that is, the first terminal is a relay UE and the second terminal is a remote UE.

[0092] The above-mentioned situation without valid AS security parameters may refer to: the second terminal requests to establish an RRC connection with the wireless access network side device through the first terminal, and the wireless access network side device agrees to establish the RRC connection, and the second terminal enters the connected state from the idle state, but the AS security scenario is not activated.

[0093] As an example, the first terminal may carry the fourth information through an RRCSetupComplete message and send the fourth information from the second terminal to the radio access network device.

[0094] In some implementations, the core network management state of the second terminal is an idle state, and this method can be implemented locally without connecting to the core network side device.

[0095] In some embodiments, the fourth information is generated based on the NAS security parameters of the above-mentioned second terminal, so that the second terminal can send the fourth information to the wireless access network side device through the first terminal (it can be understood that, in combination with the description of the aforementioned first terminal side method, it can be determined that the first terminal can send the fourth information as the first information to the wireless access network side device or generate the first information based on the NAS security parameters of the first terminal and the fourth information and send it to the wireless access network side device), and then the wireless access network side device sends the fourth information to the core network side device (for example, the wireless access network device sends the fourth information to the core network device of the second terminal), and the core network side device verifies the second terminal based on the fourth information.

[0096] It is further explained that the first information can be generated based on the NAS security parameters of the first terminal and the fourth information. In this case, when the wireless access network device receives the first information, as an example, the wireless access device can send the fourth information included in the first information to the core network device of the second terminal, and the core network device of the second terminal verifies the second terminal based on the fourth information; the wireless access device can send the information in the first information except the fourth information to the core network device of the first terminal, and the core network device of the first terminal verifies the first terminal based on the received information. It should be noted that the core network device of the second terminal and the core network device of the first terminal can be the same core network device or different core network devices.

[0097] Furthermore, after sending the fourth information to the first terminal, the method further includes: receiving sixth information sent by the first terminal; and performing connection status related operations according to the sixth information.

[0098] In the embodiment of the present application, performing connection state related operations includes at least one of the following:

[0099] (1) Entering a wireless non-connected state between devices, or releasing a wireless connection between devices; as an example, the wireless non-connected state may be an idle state.

[0100] (2) Maintain or convert to a wireless connection state between devices, or maintain a wireless connection between devices;

[0101] (3) Transition to core network connection state, or execute core network connection establishment process

[0102] Optionally, in some implementations, if the second terminal does not receive the sixth information within a time specified by the protocol or configured by the network, a default operation is performed.

[0103] In the embodiment of the present application, the default operation is any one of the following:

[0104] Enter the wireless non-connected state between devices, or release the wireless connection between devices;

[0105] Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices;

[0106] Convert to core network connection state, or execute core network connection establishment process.

[0107] As an example, the inter-device connection may refer to a PC5 connection. For example, releasing the inter-device wireless connection may be understood as releasing the inter-device PC5 connection; maintaining the inter-device wireless connection may be understood as maintaining the inter-device PC5 connection.

[0108] See also Figure 3 The embodiment of the present application provides a method for establishing a connection, which is applied to a wireless access network side device, and the method includes at least one of the following:

[0109] Step 301: receiving first information from a first terminal, and sending or refusing to send the first information to a core network side device, where the first information is used by the core network side device to send or refuse to send third information to a wireless access network side device based on the first information;

[0110] Step 302: Receive first information from the first terminal, and send or refuse to send the first information to the core network side device, where the first information is used by the core network side device to send fifth information to the wireless access network side device or refuse to send the fifth information based on the first information.

[0111] It should be noted that, in combination with the description of the first terminal side method flow and the second terminal side method flow, it can be seen that the method of the embodiment of the present application can also be used to establish a connection in a relay scenario. The above step 301 is for the execution process of the wireless access network side device in a non-relay scenario, and the above step 302 is for the execution process of the wireless access network side device in a relay scenario.

[0112] In an embodiment of the present application, after receiving the first information from the first terminal, the wireless access network side device can choose to send the first information to the core network side device, or can refuse to send the first information, that is, not send the first information to the core network side device.

[0113] In some implementations, the first information is non-NAS information, for example, the first information is AS layer information. This method can achieve that the first terminal is not connected to the core network side device through a signaling process.

[0114] Furthermore, in some embodiments, the method further comprises:

[0115] Receive the third information sent by the core network side device, and / or receive the fifth information sent by the core network side device, and send the second information to the terminal based on the third information and / or the fifth information, where the second information is used to indicate the connection status operation.

[0116] In the embodiment of the present application, the core network side device includes a core network side device of the first terminal and a core network side device of the second terminal, and the core network side devices of the two may be the same or different. In the actual implementation process, the wireless access network side device may only receive the third information from the core network side device, or may only receive the fifth information from the core network side device, or may receive the third information and the fifth information from the core network side device. The wireless access network side device sends the second information for indicating the connection state operation to the first terminal according to the third information and / or the fifth information.

[0117] Specifically:

[0118] If the wireless access network side device receives third information from the core network side device, and the third information indicates that the first terminal enters a wireless non-connected state or releases a wireless connection, the wireless access network side device determines second information according to the third information, and sends the second information to the first terminal, and the second information indicates that the first terminal enters a wireless non-connected state or releases the wireless connection;

[0119] If the wireless access network side device receives third information from the core network side device, and the third information indicates that the first terminal maintains or switches to a wireless connection state, or maintains a wireless connection, the wireless access network side device determines second information according to the third information, and sends the second information to the first terminal, and the second information indicates that the first terminal maintains or switches to a wireless connection state, or maintains a wireless connection;

[0120] If the wireless access network side device receives third information from the core network side device, and the third information indicates that the first terminal is switched to the core network connection state or performs the core network connection establishment process, the wireless access network side device determines second information according to the third information, and sends the second information to the first terminal, and the second information indicates that the first terminal is switched to the core network connection state or performs the core network connection establishment process;

[0121] The process of the wireless access network side device sending the second information to the terminal according to the fifth information is the same as the above-mentioned process of sending the second information to the terminal according to the third information, and will not be repeated herein.

[0122] It should be noted that if the wireless access network device receives the third information and the fifth information, it is necessary to send the second information according to the third information and the fifth information. As an example, the third information indicates that the first terminal maintains or switches to a wireless connection state, and the fifth information indicates that the first terminal enters a wireless non-connection state, or releases the wireless connection, then the wireless access network device sends the second information, and the second information indicates that the first terminal enters a wireless non-connection state, or releases the wireless connection. As another example, the third information indicates that the first terminal maintains or switches to a wireless connection state, and the fifth information indicates that the first terminal maintains or switches to a wireless connection state, then the wireless access network device sends the second information, and the second information indicates that the first terminal maintains or switches to a wireless connection state, or maintains a wireless connection.

[0123] Optionally, in some implementations, if the wireless access network side device does not receive the third information and / or the fifth information within a time agreed upon in the protocol or configured in the network, a default operation is performed.

[0124] As an example, the wireless access network device starts a second timer when it starts sending the first information to the core network device or when it finishes sending the first information to the core network device or after sending the first information to the core network device. The duration of the second timer may be agreed upon by the protocol or configured on the network side.

[0125] During the running of the second timer, if the third information and / or the fifth information is received, the second timer is stopped.

[0126] If the second timer times out, a default operation is performed.

[0127] As another example, the wireless access network device starts a third timer when it starts sending the first information to the core network device or when it finishes sending the first information to the core network device or after sending the first information to the core network device. The duration of the second timer may be agreed upon by the protocol or configured on the network side.

[0128] During the running of the third timer, if the third information or / and the fifth information is received, the third timer is not stopped.

[0129] If the third timer times out, the wireless access network device sends the second information according to the received third information and / or fifth information. If the third timer times out and the wireless access network device does not receive the third information and the fifth information, a default operation is performed.

[0130] In some implementations, the default operation is: sending or refusing to send second information to the terminal, where the second information indicates a connection status operation.

[0131] Optionally, in some embodiments, after receiving the first information from the first terminal and sending or refusing to send the first information to the core network side device, the method further includes: sending second information to the first terminal, where the second information is used to indicate a connection status operation.

[0132] In an embodiment of the present application, the wireless access network side device can directly send second information for indicating the connection status operation to the first terminal after sending the first information to the core network side device, that is, the wireless access network side device does not need to receive the third information and / or the fifth information from the core network side device.

[0133] In another example, the wireless access network device may refuse to send the first information to the core network device. In this case, the wireless access network device may send the second information to the terminal device, or may not send the second information to the terminal. For the case where the wireless access network device sends the second information to the terminal device, as an example, if the wireless access network device does not support the terminal device to only establish a wireless connection (for example, an air interface wireless connection or an RRC connection), the second information may be sent, and the second information indicates a release operation, or the second information may be sent, and the second information indicates a core network connection operation (such as indicating a core network connection operation of the first terminal). As another example, if the wireless access network device supports the terminal device to only establish a wireless connection (for example, an air interface wireless connection or an RRC connection), the second information may be sent, and the second information indicates a connection operation.

[0134] Furthermore, the second information may specifically include at least one of the following:

[0135] (1) indicating a release operation; illustratively, when the second information indicates a release operation, the terminal device enters or switches to a wireless non-connected state, or releases the wireless connection;

[0136] (2) Indicating a connection operation; illustratively, when the second information indicates a connection operation, the terminal device maintains or switches to a wireless connection state, or maintains a wireless connection.

[0137] (3) Indicating a core network connection operation of the first terminal; illustratively, when the second information indicates a core network connection operation of the first terminal, the terminal device switches to a core network connection state, or performs a core network connection establishment process.

[0138] (4) Indicating a release operation of a connection between devices; illustratively, when the second information indicates a release operation of a connection between devices, the terminal (such as the second terminal) enters a wireless non-connected state between devices, or releases the wireless connection between devices.

[0139] (5) Indicating a connection operation of a connection between devices; illustratively, when the second information indicates a connection operation of a connection between devices, the terminal (such as the second terminal) maintains or switches to a wireless connection state between devices, or maintains the wireless connection between devices.

[0140] (6) Instructing the second terminal to perform a core network connection operation. Exemplarily, when instructing the second terminal to perform a core network connection operation, the terminal (such as the second terminal) switches to a core network connection state or performs a core network connection establishment process.

[0141] Optionally, the wireless access network side device may provide the terminal with radio bearer configuration information. The radio bearer configuration information may be used to receive multicast service data. Exemplarily, if the terminal (such as the first terminal) and the base station maintain a connection state, the base station provides the terminal with radio bearer configuration information, such as data radio bearer (such as Data Radio Bearer, DRB) configuration, and the configuration information may be used to receive multicast service data.

[0142] See also Figure 4 , an embodiment of the present application provides a method for establishing a connection, which is applied to a core network side device, and the method includes:

[0143] Step 401: Receive first information from a first terminal from a wireless access network side device, or receive first information including fourth information from a second terminal from a wireless access network side device; if first information from the first terminal is received, execute step 402; if first information including fourth information from the second terminal is received, execute step 403.

[0144] Step 402: Based on the first information, send third information to the wireless access network side device or refuse to send the third information, the third information is used for the wireless access network side device to send second information to the first terminal based on the third information;

[0145] Step 403: Based on the fourth information, fifth information is sent to the wireless access network side device or the fifth information is refused to be sent, and the fifth information is used by the wireless access network side device to send second information to the first terminal based on the fifth information.

[0146] In the embodiment of the present application, in combination with the description of the aforementioned first terminal side method flow and the second terminal side method flow, it can be known that the method of the embodiment of the present application can also be used to establish a connection in a relay scenario. The above steps 401 and 402 are for the execution process of the wireless access network side device in a non-relay scenario, and the above steps 401 and 403 are for the execution process of the wireless access network side device in a relay scenario. It can be understood that the above-mentioned first information containing the fourth information from the second terminal means that: the first terminal can send the fourth information as the first information to the wireless access network side device or generate the first information based on the NAS security parameters of the first terminal and the fourth information and send it to the wireless access network side device, and then the wireless access network side device sends the first information to the core network side device).

[0147] In some implementations, the first information is non-NAS information, and the fourth information is non-NAS information, that is, the first terminal and the second terminal are not connected to the core network side device through a signaling process.

[0148] In some implementations, the core network management state of the first terminal is idle, and / or the core network management state of the second terminal is idle, that is, the first terminal and the second terminal are not connected to the core network side device through local implementation.

[0149] Further, after the above step 402, the method further includes: verifying the first information based on the NAS security parameter of the first terminal, or verifying the first information based on the NAS security parameter of the first terminal and the NAS security parameter of the second terminal, and sending or refusing to send the third information according to the verification result; or,

[0150] After the above step 403, the method further includes: verifying the fourth information based on the NAS security parameter of the second terminal, and sending or refusing to send the fifth information according to the verification result.

[0151] In the embodiment of the present application, the first terminal and / or the second terminal is verified by the core network side device, specifically:

[0152] If the core network side device fails to verify the first terminal, sending third information to the wireless access network side device, the third information instructing the first terminal to enter a wireless non-connected state or release the wireless connection;

[0153] If the core network side device successfully verifies the first terminal, third information is sent to the wireless access network side device, where the third information instructs the first terminal to maintain or switch to a wireless connection state, or maintain a wireless connection;

[0154] If the core network side device successfully verifies the first terminal, third information is sent to the wireless access network side device, where the third information instructs the first terminal to switch to a core network connection state or to perform a core network connection establishment process;

[0155] The verification for the second terminal is similar to the verification for the first terminal, and will not be described in detail.

[0156] It should be noted that the method for establishing a connection provided in the embodiment of the present application can be executed by a device for establishing a connection, or a control module in the device for establishing a connection for executing the method for establishing a connection. In the embodiment of the present application, the method for establishing a connection is executed by a device for establishing a connection as an example to illustrate the device for establishing a connection provided in the embodiment of the present application.

[0157] See also Figure 5 The embodiment of the present application provides a device 500 for establishing a connection, which is applied to a first terminal, and the device 500 includes:

[0158] A first sending module 501 is used to send first information to a wireless access network side device when there is no valid AS security parameter;

[0159] The first information is used to obtain an indication of a connection status operation through the wireless access network side device.

[0160] In some implementations, the first information is non-NAS information.

[0161] In some implementations, the core network management state of the first terminal is an idle state.

[0162] In some implementations, the first information is generated based on a NAS security parameter of the first terminal.

[0163] In some embodiments, the device further comprises:

[0164] A first receiving module receives second information sent by the wireless access network side device;

[0165] The first execution module is used to execute connection status related operations according to the second information.

[0166] In some implementations, the first execution module is further configured to:

[0167] Enter wireless non-connection state, or release wireless connection;

[0168] Maintain or switch to wireless connection state, or maintain wireless connection;

[0169] Convert to core network connection state, or execute core network connection establishment process.

[0170] In some embodiments, the device further comprises:

[0171] The second execution module is used to execute a default operation if the second information is not received within a time specified by the protocol or configured by the network.

[0172] In some implementations, the default operation is one of the following:

[0173] Maintain or switch to wireless connection state;

[0174] Maintain or switch to wireless connection state, or maintain wireless connection;

[0175] Convert to core network connection state, or execute core network connection establishment process.

[0176] In some embodiments, the device further comprises:

[0177] A second receiving module, used to receive fourth information sent by the second terminal;

[0178] The second sending module is used to send the first information to the wireless access network side device.

[0179] In some implementations, the first information is the fourth information, or the first information is generated based on a NAS security parameter of the first terminal and the fourth information.

[0180] In some embodiments, the device further comprises:

[0181] A third receiving module, configured to receive second information sent by the wireless access network side device;

[0182] A third sending module, configured to send sixth information to the second terminal according to the second information;

[0183] The sixth information is used to instruct the second terminal to perform connection status related operations.

[0184] In some implementations, the fourth information is generated based on a NAS security parameter of the second terminal.

[0185] See also Figure 6 The embodiment of the present application provides a device 600 for establishing a connection, which is applied to a second terminal. The device 600 includes:

[0186] The fourth sending module 601 sends fourth information to the first terminal in the absence of a valid AS security parameter;

[0187] The fourth information is used to obtain an indication of a connection status operation through the first terminal.

[0188] In some implementations, the core network management state of the second terminal is an idle state.

[0189] In some implementations, the fourth information is generated based on a NAS security parameter of the second terminal.

[0190] In some embodiments, the device further comprises:

[0191] A fourth receiving module, configured to receive sixth information sent by the first terminal;

[0192] The third execution module is used to execute connection status related operations according to the sixth information.

[0193] In some implementations, the third execution module is further configured to perform at least one of the following:

[0194] Enter the wireless non-connected state between devices, or release the wireless connection between devices;

[0195] Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices;

[0196] Convert to core network connection state, or execute core network connection establishment process.

[0197] In some embodiments, the device further comprises:

[0198] The fourth execution module is used to execute a default operation if the sixth information is not received within the time agreed upon in the protocol or configured in the network.

[0199] In some implementations, the default operation is any one of the following:

[0200] Enter the wireless non-connected state between devices, or release the wireless connection between devices;

[0201] Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices;

[0202] Convert to core network connection state, or execute core network connection establishment process.

[0203] See also Figure 7 The embodiment of the present application provides a device 700 for establishing a connection, which is applied to a wireless access network side device, and the device 700 includes:

[0204] A fifth receiving module 701 is configured to receive first information from a first terminal, and send or refuse to send the first information to a core network side device, wherein the first information is used by the core network side device to send third information to the radio access network side device or refuse to send the third information based on the first information;

[0205] The sixth receiving module 702 is used to receive the first information from the first terminal, and send or refuse to send the first information to the core network side device, wherein the first information is used by the core network side device to send the fifth information to the wireless access network side device or refuse to send the fifth information based on the first information.

[0206] In some embodiments, the device further comprises:

[0207] The fifth sending module is used to send second information to the first terminal, where the second information is used to indicate a connection status operation.

[0208] In some implementations, the first information is non-NAS information.

[0209] In some embodiments, the device further comprises:

[0210] A seventh receiving module, configured to receive the third information sent by the core network side device, and / or receive the fifth information sent by the core network side device;

[0211] The sixth sending module is used to send second information to the first terminal according to the third information and / or the fifth information, where the second information is used to indicate a connection status operation.

[0212] In some embodiments, the device further comprises:

[0213] The fifth execution module is used to execute a default operation if the third information and / or the fifth information is not received within the time agreed upon in the protocol or configured in the network.

[0214] In some implementations, the default operation is: sending or refusing to send second information to the terminal, where the second information indicates a connection status operation.

[0215] In some embodiments, the second information includes at least one of the following:

[0216] Indicating a release operation, exemplarily, when the second information indicates a release operation, the terminal device enters or switches to a wireless non-connected state, or releases a wireless connection; as an example, the second information may be a RRCRelease message;

[0217] Indicates a connection operation; exemplarily, when the second information indicates a connection operation, the terminal device maintains or switches to a wireless connection state, or maintains a wireless connection.

[0218] Indicates the core network connection operation of the first terminal; exemplarily, when the second information indicates the core network connection operation of the first terminal, the terminal device is converted to the core network connection state, or executes the core network connection establishment process.

[0219] Indicates a release operation of the connection between devices; exemplarily, when the second information indicates a release operation of the connection between devices, the terminal (such as the second terminal) enters a wireless non-connected state between devices, or releases the wireless connection between devices.

[0220] Indicating a connection operation for connecting between devices; exemplarily, when the second information indicates a connection operation for connecting between devices, the terminal (such as the second terminal) maintains or switches to a wireless connection state between devices, or maintains a wireless connection between devices.

[0221] Instructing the core network connection operation of the second terminal. Exemplarily, when instructing the core network connection operation of the second terminal, the terminal (such as the second terminal) switches to the core network connection state, or performs a core network connection establishment process.

[0222] See also Figure 8 The embodiment of the present application provides a device 800 for establishing a connection, which is applied to a core network side device, and the device includes:

[0223] An eighth receiving module 801 is configured to receive first information from a first terminal from a wireless access network side device, or to receive first information including fourth information from a second terminal from the wireless access network side device;

[0224] a seventh sending module 802, configured to send third information to the wireless access network side device or refuse to send the third information based on the first information, wherein the third information is used by the wireless access network side device to send second information to the first terminal based on the third information; or

[0225] The eighth sending module 803 is used to send fifth information to the wireless access network side device or refuse to send the fifth information based on the fourth information, and the fifth information is used by the wireless access network side device to send second information to the first terminal based on the fifth information.

[0226] In some implementations, the first information is non-NAS information, and the fourth information is non-NAS information.

[0227] In some implementations, the core network management state of the first terminal is an idle state, and / or the core network management state of the second terminal is an idle state.

[0228] In some embodiments, the device further comprises:

[0229] a first verification module, configured to verify the first information based on a NAS security parameter of the first terminal, or to verify the first information based on a NAS security parameter of the first terminal and a NAS security parameter of the second terminal,

[0230] A ninth sending module, configured to send or refuse to send the third information according to the verification result;

[0231] A second verification module, configured to verify the fourth information based on a NAS security parameter of the second terminal;

[0232] The tenth sending module is used to send or refuse to send the fifth information according to the verification result.

[0233] In an embodiment of the present application, after the terminal establishes a connection with the wireless access network side device, the terminal sends a first message to the wireless access network side device, and obtains a connection status operation through the wireless access network side device, so that the terminal can only establish a connection with the wireless access network side device without always establishing a connection with the core network side device.

[0234] The device for establishing a connection in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may include but is not limited to the types of terminals listed above, and the non-mobile terminal may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0235] The device for establishing a connection in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0236] The device for establishing a connection provided in the embodiment of the present application can realize the connection between FIG. 1 and FIG. Figure 4 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0237] Optional, such as Fig. 9As shown, the embodiment of the present application also provides a communication device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. For example, when the communication device 900 is a terminal, the program or instruction is executed by the processor 901 to implement the various processes of the above-mentioned method embodiment for establishing a connection applied to the first terminal and the second terminal, and can achieve the same technical effect. When the communication device 900 is a wireless access network side device, the program or instruction is executed by the processor 901 to implement the various processes of the above-mentioned method embodiment for establishing a connection applied to the wireless access network side device, and can achieve the same technical effect. When the communication device 900 is a core network side device, the program or instruction is executed by the processor 901 to implement the various processes of the above-mentioned method embodiment for establishing a connection applied to the core network side device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0238] Fig.10 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0239] The terminal 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0240] Those skilled in the art will appreciate that the terminal 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0241] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0242] In the embodiment of the present application, the radio frequency unit 1001 receives downlink data from the wireless access network side device and sends it to the processor 1010 for processing; in addition, the uplink data is sent to the wireless access network side device. Generally, the radio frequency unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0243] The memory 1009 can be used to store software programs or instructions and various data. The memory 1009 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0244] The processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0245] The radio frequency unit 1000 is used to send the first information to the wireless access network side device in the absence of valid AS security parameters;

[0246] The first information is used to obtain an indication of a connection status operation through the wireless access network side device.

[0247] In an embodiment of the present application, after the terminal establishes a connection with the wireless access network side device, the terminal sends a first message to the wireless access network side device, and obtains a connection status operation through the wireless access network side device, so that the terminal can only establish a connection with the wireless access network side device without always establishing a connection with the core network side device.

[0248] Optionally, the first information is non-NAS information.

[0249] Optionally, the core network management state of the first terminal is idle state.

[0250] Optionally, the first information is generated based on a NAS security parameter of the first terminal.

[0251] Optionally, the radio frequency unit 1000 is configured to receive second information sent by the radio access network side device;

[0252] The processor 1010 is configured to perform connection status related operations according to the second information.

[0253] Optionally, the processor 1010 is configured to perform at least one of the following:

[0254] Enter wireless non-connection state, or release wireless connection;

[0255] Maintain or switch to wireless connection state, or maintain wireless connection;

[0256] Convert to core network connection state, or execute core network connection establishment process.

[0257] Optionally, the processor 1010 is configured to:

[0258] If the second information is not received within the time agreed upon in the protocol or configured in the network, a default operation is performed.

[0259] Optionally, the default operation is one of the following:

[0260] Maintain or switch to wireless connection state;

[0261] Maintain or switch to wireless connection state, or maintain wireless connection;

[0262] Convert to core network connection state, or execute core network connection establishment process.

[0263] Optionally, the radio frequency unit 1000 is configured to receive fourth information sent by the second terminal;

[0264] The processor 1010 is configured to send the first information to the radio access network side device.

[0265] Optionally, the first information is the fourth information, or the first information is generated based on the NAS security parameter of the first terminal and the fourth information.

[0266] Optionally, the radio frequency unit 1000 is configured to receive second information sent by the radio access network side device;

[0267] The radio frequency unit 1000 is configured to send sixth information to the second terminal according to the second information;

[0268] The sixth information is used to instruct the second terminal to perform connection status related operations.

[0269] Optionally, the fourth information is generated based on a NAS security parameter of the second terminal.

[0270] In some implementations, the radio frequency unit 1000 is configured to send fourth information to the first terminal in the absence of a valid AS security parameter;

[0271] The fourth information is used to obtain an indication of a connection status operation through the first terminal.

[0272] Optionally, the core network management state of the second terminal is idle state.

[0273] Optionally, the fourth information is generated based on a NAS security parameter of the second terminal.

[0274] Optionally, the radio frequency unit 1000 is configured to receive sixth information sent by the first terminal;

[0275] The processor 1010 is configured to perform connection status related operations according to the sixth information.

[0276] Optionally, the processor 1010 is configured to perform at least one of the following:

[0277] Enter the wireless non-connected state between devices, or release the wireless connection between devices;

[0278] Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices;

[0279] Convert to core network connection state, or execute core network connection establishment process.

[0280] Optionally, the processor 1010 is configured to:

[0281] If the sixth information is not received within the time agreed upon in the protocol or configured in the network, a default operation is performed.

[0282] Optionally, the default operation is any one of the following:

[0283] Enter the wireless non-connected state between devices, or release the wireless connection between devices;

[0284] Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices;

[0285] Convert to core network connection state, or execute core network connection establishment process.

[0286] Specifically, the embodiment of the present application also provides a wireless access network side device. Fig.11 As shown, the wireless access network side device 1100 includes: an antenna 111, a radio frequency device 112, and a baseband device 113. The antenna 111 is connected to the radio frequency device 112. In the uplink direction, the radio frequency device 112 receives information through the antenna 111 and sends the received information to the baseband device 113 for processing. In the downlink direction, the baseband device 113 processes the information to be sent and sends it to the radio frequency device 112. The radio frequency device 112 processes the received information and sends it out through the antenna 111.

[0287] The frequency band processing device may be located in the baseband device 113 . The method performed by the wireless access network side device in the above embodiment may be implemented in the baseband device 113 . The baseband device 113 includes a processor 114 and a memory 115 .

[0288] The baseband device 113 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.11 As shown, one of the chips is, for example, a processor 114, which is connected to a memory 115 to call a program in the memory 115 to execute the network device operations shown in the above method embodiment.

[0289] The baseband device 113 may further include a network interface 116 for exchanging information with the radio frequency device 112 . The interface may be, for example, a common public radio interface (CPRI).

[0290] Specifically, the wireless access network side device of the embodiment of the present invention further includes: instructions or programs stored in the memory 115 and executable on the processor 114, and the processor 114 calls the instructions or programs in the memory 115 to execute Figure 7 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0291] Specifically, the embodiment of the present application also provides a core network side device. Fig.12 As shown, the core network side device 1200 includes: an antenna 121, a radio frequency device 122, and a baseband device 123. The antenna 121 is connected to the radio frequency device 122. In the uplink direction, the radio frequency device 122 receives information through the antenna 121 and sends the received information to the baseband device 123 for processing. In the downlink direction, the baseband device 123 processes the information to be sent and sends it to the radio frequency device 122. The radio frequency device 122 processes the received information and sends it out through the antenna 121.

[0292] The frequency band processing device may be located in the baseband device 123 . The method performed by the wireless access network side device in the above embodiment may be implemented in the baseband device 123 . The baseband device 123 includes a processor 124 and a memory 125 .

[0293] The baseband device 123 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.12 As shown, one of the chips is, for example, a processor 124, which is connected to a memory 125 to call a program in the memory 125 to execute the network device operations shown in the above method embodiment.

[0294] The baseband device 123 may further include a network interface 126 for exchanging information with the radio frequency device 122 . The interface may be, for example, a common public radio interface (CPRI).

[0295] Specifically, the wireless access network side device of the embodiment of the present invention further includes: instructions or programs stored in the memory 125 and executable on the processor 124, and the processor 124 calls the instructions or programs in the memory 125 to execute. Figure 8 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0296] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned method embodiment for establishing a connection is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0297] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0298] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a terminal program or instruction to implement the method as described in the first aspect, or to implement the various processes of the above-mentioned method for establishing a connection embodiment; or to run a wireless access network side device program or instruction to implement the various processes of the above-mentioned method for establishing a connection embodiment; or to run a core network side device program or instruction or to implement the various processes of the above-mentioned method for establishing a connection, and can achieve the same technical effect, which will not be repeated here to avoid repetition.

[0299] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0300] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0301] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0302] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for establishing a connection, applied to a first terminal, characterized in that: The method comprises: In the absence of valid access layer AS security parameters, sending first information to a wireless access network side device; The first information is used to obtain an indication of a connection status operation from a core network side device through the radio access network side device; The core network management state of the first terminal is an idle state; The connection state operation includes at least one of the following: a release operation, a connection operation, a core network connection operation of the first terminal, a release operation of a connection between devices, a connection operation of a connection between devices, and a core network connection operation of the second terminal: The situation where there are no valid access layer AS security parameters refers to: the first terminal requests to establish a radio resource control RRC connection with the radio access network side device, and the radio access network side device agrees to establish the RRC connection, the first terminal enters a connected state from an idle state, and the AS security has not yet been activated.

2. The method according to claim 1, characterized in that The first information is non-non-access stratum NAS information.

3. The method according to claim 1, characterized in that The first information is generated based on a NAS security parameter of the first terminal.

4. The method according to claim 1, characterized in that: After sending the first information to the wireless access network side device, the method further includes: Receiving second information sent by the wireless access network side device; According to the second information, a connection status related operation is performed.

5. The method according to claim 4, characterized in that The performing a connection state related operation according to the second information includes at least one of the following: Enter wireless non-connection state, or release wireless connection; Maintain or switch to wireless connection state, or maintain wireless connection; Convert to core network connection state, or execute core network connection establishment process.

6. The method according to claim 1, characterized in that After sending the first information to the wireless access network side device, the method further includes: If the second information is not received within the time agreed upon in the protocol or configured in the network, a default operation is performed.

7. The method according to claim 6, characterized in that The default action is one of the following: Enter wireless non-connection state, or release wireless connection; Maintain or switch to wireless connection state, or maintain wireless connection; Convert to core network connection state, or execute core network connection establishment process.

8. The method according to claim 1, characterized in that The method further comprises: receiving fourth information sent by the second terminal; Send the first information to the wireless access network side device.

9. The method according to claim 8, characterized in that The first information is the fourth information, or the first information is generated based on the NAS security parameter of the first terminal and the fourth information.

10. The method according to claim 8, characterized in that After sending the first information to the wireless access network side device, the method further includes: Receiving second information sent by the wireless access network side device; sending sixth information to the second terminal according to the second information; The sixth information is used to instruct the second terminal to perform connection status related operations.

11. The method according to claim 8, characterized in that The fourth information is generated based on the NAS security parameters of the second terminal.

12. A device for establishing a connection, applied to a first terminal, characterized in that: The device comprises: A first sending module, configured to send first information to a wireless access network side device in the absence of a valid AS security parameter; The first information is used to obtain an indication of a connection status operation from a core network side device through the radio access network side device; The core network management state of the first terminal is an idle state; The connection state operation includes at least one of the following: a release operation, a connection operation, a core network connection operation of the first terminal, a release operation of an inter-device connection, a connection operation of an inter-device connection, and a core network connection operation of the second terminal; Among them, the situation without valid AS security parameters refers to: the first terminal requests to establish a wireless resource control RRC connection with the wireless access network side device, and the wireless access network side device agrees to establish the RRC connection, the first terminal enters the connected state from the idle state, and the AS security has not been activated.

13. The device according to claim 12, characterized in that The first information is non-NAS information.

14. The device according to claim 12, characterized in that The first information is generated based on a NAS security parameter of the first terminal.

15. The device according to claim 12, characterized in that The device also includes: A first receiving module receives second information sent by the wireless access network side device; The first execution module is used to execute connection status related operations according to the second information.

16. The device according to claim 15, characterized in that The first execution module is further configured to: Enter wireless non-connection state, or release wireless connection; Maintain or switch to wireless connection state, or maintain wireless connection; Convert to core network connection state, or execute core network connection establishment process.

17. The device according to claim 12, characterized in that The device also includes: The second execution module is used to execute a default operation if the second information is not received within a time specified by the protocol or configured by the network.

18. The device according to claim 17, characterized in that The default action is one of the following: Enter wireless non-connection state, or release wireless connection; Maintain or switch to wireless connection state, or maintain wireless connection; Convert to core network connection state, or execute core network connection establishment process.

19. The device according to claim 12, characterized in that The device also includes: A second receiving module, used to receive fourth information sent by the second terminal; The second sending module is used to send the first information to the wireless access network side device.

20. The device according to claim 19, characterized in that The first information is the fourth information, or the first information is generated based on the NAS security parameter of the first terminal and the fourth information.

21. The device according to claim 19, characterized in that The device also includes: A third receiving module, configured to receive second information sent by the wireless access network side device; A third sending module, configured to send sixth information to the second terminal according to the second information; The sixth information is used to instruct the second terminal to perform connection status related operations.

22. The device according to claim 19, characterized in that The fourth information is generated based on the NAS security parameters of the second terminal.

23. A method for establishing a connection, applied to a second terminal, characterized in that: The method comprises: In the absence of a valid AS security parameter, sending fourth information to the first terminal; The fourth information is used to obtain, through the first terminal, an indication of a connection status operation from a core network side device; The core network management state of the second terminal is an idle state; The connection state operation includes at least one of the following: a release operation of the connection between devices, a connection operation of the connection between devices, and a core network connection operation of the second terminal; The situation without valid AS security parameters refers to: the second terminal requests to establish an RRC connection with the wireless access network side device through the first terminal, and the wireless access network side device agrees to establish the RRC connection, the second terminal enters the connected state from the idle state, and the AS security scenario is not activated.

24. The method according to claim 23, characterized in that The fourth information is generated based on the NAS security parameters of the second terminal.

25. The method according to claim 23, characterized in that After sending fourth information to the first terminal, the method further includes: receiving sixth information sent by the first terminal; According to the sixth information, operations related to the connection status are performed.

26. The method according to claim 25, characterized in that The performing of connection state related operations includes at least one of the following: Enter the wireless non-connected state between devices, or release the wireless connection between devices; Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices; Convert to core network connection state, or execute core network connection establishment process.

27. The method according to claim 23, characterized in that After sending fourth information to the first terminal, the method further includes: If the sixth information is not received within the time agreed upon in the protocol or configured in the network, a default operation is performed.

28. The method according to claim 27, characterized in that The default action is any of the following: Enter the wireless non-connected state between devices, or release the wireless connection between devices; Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices; Convert to core network connection state, or execute core network connection establishment process.

29. A device for establishing a connection, applied to a second terminal, characterized in that: The device comprises: A fourth sending module, in the absence of a valid AS security parameter, sending fourth information to the first terminal; The fourth information is used to obtain, through the first terminal, an indication of a connection status operation from a core network side device; The core network management state of the second terminal is an idle state; The connection state operation includes at least one of the following: a release operation of the connection between devices, a connection operation of the connection between devices, and a core network connection operation of the second terminal; The situation without valid AS security parameters refers to: the second terminal requests to establish an RRC connection with the wireless access network side device through the first terminal, and the wireless access network side device agrees to establish the RRC connection, the second terminal enters the connected state from the idle state, and the AS security scenario is not activated.

30. The device according to claim 29, characterized in that The fourth information is generated based on the NAS security parameters of the second terminal.

31. The device according to claim 29, characterized in that The device also includes: A fourth receiving module, configured to receive sixth information sent by the first terminal; The third execution module is used to execute connection status related operations according to the sixth information.

32. The device according to claim 31, characterized in that The third execution module is further configured to: Enter the wireless non-connected state between devices, or release the wireless connection between devices; Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices; Convert to core network connection state, or execute core network connection establishment process.

33. The device according to claim 29, characterized in that The device also includes: The fourth execution module is used to execute a default operation if the sixth information is not received within the time agreed upon in the protocol or configured in the network.

34. The device according to claim 33, characterized in that The default action is any of the following: Enter the wireless non-connected state between devices, or release the wireless connection between devices; Maintain or switch to a wireless connection state between devices, or maintain a wireless connection between devices; Convert to core network connection state, or execute core network connection establishment process.

35. A method for establishing a connection, applied to a wireless access network side device, characterized in that: The method comprises at least one of the following: receiving first information from a first terminal, and sending or refusing to send the first information to a core network side device, wherein the first information is used by the core network side device to send third information to the wireless access network side device or refuse to send the third information based on the first information; receiving first information from a first terminal, and sending or refusing to send the first information to a core network side device, wherein the first information is used by the core network side device to send fifth information to the wireless access network side device or refuse to send the fifth information based on the first information; The first information is used to obtain an indication of a connection status operation from a core network side device through the radio access network side device; The core network management state of the first terminal is an idle state; The connection state operation includes at least one of the following: a release operation, a connection operation, a core network connection operation of the first terminal, a release operation of a connection between devices, a connection operation of a connection between devices, and a core network connection operation of the second terminal.

36. The method according to claim 35, characterized in that The method further comprises: Sending second information to the first terminal, where the second information is used to indicate a connection state operation.

37. The method according to claim 35, characterized in that The first information is non-NAS information.

38. The method according to claim 35, characterized in that The method further comprises: Receive the third information sent by the core network side device, and / or receive the fifth information sent by the core network side device, and send second information to the first terminal based on the third information and / or the fifth information, wherein the second information is used to indicate the connection status operation.

39. The method according to claim 35, characterized in that The method further comprises: If the third information and / or the fifth information is not received within the time agreed upon in the protocol or configured in the network, a default operation is performed.

40. The method according to claim 39, characterized in that The default operation is: sending or refusing to send second information to the terminal, where the second information indicates a connection status operation.

41. The method according to claim 36, 38 or 40, characterized in that The second information includes at least one of the following: Indicates a release operation; Indicates a connection operation; Instructing the first terminal to perform a core network connection operation; Indicates the release operation of the connection between devices; Indicates a connection operation between devices; Instruct the core network connection operation of the second terminal.

42. A device for establishing a connection, applied to a wireless access network side device, characterized in that: The device comprises: a fifth receiving module, configured to receive first information from a first terminal, and send or refuse to send the first information to a core network side device, wherein the first information is used by the core network side device to send third information to the wireless access network side device or refuse to send the third information based on the first information; a sixth receiving module, configured to receive first information from the first terminal, and send or refuse to send the first information to the core network side device, wherein the first information is used by the core network side device to send fifth information to the radio access network side device or refuse to send the fifth information based on the first information; The first information is used to obtain an indication of a connection status operation from a core network side device through the radio access network side device; The core network management state of the first terminal is an idle state; The connection state operation includes at least one of the following: a release operation, a connection operation, a core network connection operation of the first terminal, a release operation of a connection between devices, a connection operation of a connection between devices, and a core network connection operation of the second terminal.

43. The device according to claim 42, characterized in that The device also includes: The fifth sending module is used to send second information to the first terminal, where the second information is used to indicate a connection status operation.

44. The device according to claim 42, characterized in that The first information is non-NAS information.

45. The device according to claim 42, characterized in that The device also includes: A seventh receiving module, configured to receive the third information sent by the core network side device, and / or receive the fifth information sent by the core network side device; The sixth sending module is used to send second information to the first terminal according to the third information and / or the fifth information, where the second information is used to indicate a connection status operation.

46. ​​The device according to claim 42, characterized in that The device also includes: The fifth execution module is used to execute a default operation if the third information and / or the fifth information is not received within the time agreed upon in the protocol or configured in the network.

47. The device according to claim 46, characterized in that The default operation is: sending or refusing to send second information to the terminal, where the second information indicates a connection status operation.

48. The device according to claim 43, 45 or 47, characterized in that The second information includes at least one of the following: Indicates a release operation; Indicates a connection operation; Instructing the first terminal to perform a core network connection operation; Indicates the release operation of the connection between devices; Indicates a connection operation between devices; Instruct the core network connection operation of the second terminal.

49. A method for establishing a connection, applied to a core network side device, characterized in that: The method comprises: Receiving first information from a first terminal from a wireless access network side device, or receiving first information including fourth information from a second terminal from the wireless access network side device; Based on the first information, send third information to the wireless access network side device or refuse to send the third information, wherein the third information is used by the wireless access network side device to send second information to the first terminal based on the third information; or Based on the fourth information, send fifth information to the wireless access network side device or refuse to send the fifth information, wherein the fifth information is used by the wireless access network side device to send second information to the first terminal based on the fifth information; The first information is used to obtain an indication of a connection status operation from a core network side device through the radio access network side device; The core network management state of the first terminal is an idle state, and / or the core network management state of the second terminal is an idle state; The connection state operation includes at least one of the following: a release operation, a connection operation, a core network connection operation of the first terminal, a release operation of a connection between devices, a connection operation of a connection between devices, and a core network connection operation of the second terminal.

50. The method according to claim 49, characterized in that The first information is non-NAS information, and the fourth information is non-NAS information.

51. The method according to claim 49, characterized in that Also includes: verifying the first information based on the NAS security parameter of the first terminal, or verifying the first information based on the NAS security parameter of the first terminal and the NAS security parameter of the second terminal, and sending or refusing to send the third information according to the verification result; or, The fourth information is verified based on the NAS security parameter of the second terminal, and the fifth information is sent or refused to be sent according to the verification result.

52. A device for establishing a connection, applied to a core network side device, characterized in that: The device comprises: an eighth receiving module, configured to receive first information from the first terminal from the wireless access network side device, or to receive first information including fourth information from the second terminal from the wireless access network side device; a seventh sending module, configured to send third information to the wireless access network side device or refuse to send the third information based on the first information, wherein the third information is used by the wireless access network side device to send second information to the first terminal based on the third information; or an eighth sending module, configured to send fifth information to the wireless access network side device or refuse to send the fifth information based on the fourth information, wherein the fifth information is used by the wireless access network side device to send second information to the first terminal based on the fifth information; The first information is used to obtain an indication of a connection status operation from a core network side device through the radio access network side device; The core network management state of the first terminal is an idle state, and / or the core network management state of the second terminal is an idle state; The connection state operation includes at least one of the following: a release operation, a connection operation, a core network connection operation of the first terminal, a release operation of a connection between devices, a connection operation of a connection between devices, and a core network connection operation of the second terminal.

53. The device according to claim 52, characterized in that The first information is non-NAS information, and the fourth information is non-NAS information.

54. The device according to claim 52, characterized in that The device also includes: a first verification module, configured to verify the first information based on a NAS security parameter of the first terminal, or to verify the first information based on a NAS security parameter of the first terminal and a NAS security parameter of the second terminal, A ninth sending module, configured to send or refuse to send the third information according to the verification result; A second verification module, configured to verify the fourth information based on a NAS security parameter of the second terminal; The tenth sending module is used to send or refuse to send the fifth information according to the verification result.

55. A terminal, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the method for establishing a connection as described in any one of claims 1 to 11 are implemented, or the steps of the method for establishing a connection as described in any one of claims 23 to 28 are implemented.

56. A wireless access network side device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for establishing a connection as described in any one of claims 35 to 41.

57. A core network side device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method for establishing a connection as described in any one of claims 49 to 51.

58. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the steps of the method for establishing a connection as described in any one of claims 1 to 11, or implements the steps of the method for establishing a connection as described in any one of claims 23 to 28, or implements the steps of the method for establishing a connection as described in any one of claims 35 to 41, or implements the steps of the method for establishing a connection as described in any one of claims 49 to 51.