Communication method and communication device

By recording connection establishment failure information in the terminal device and reducing duplicate recording according to the timer processing method, the problems of memory usage and power consumption of terminal devices are solved, and the accuracy of network optimization and communication performance are improved.

CN116368937BActive Publication Date: 2025-08-12HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080106303.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-22
Publication Date
2025-08-12
Estimated Expiration
2040-10-22

AI Technical Summary

Technical Problem

In the prior art, the information reported by the terminal device after the connection establishment fails to be established has little effect on network optimization processing, and it leads to a large memory usage and power consumption of the terminal device.

Method used

The terminal device records the failure information after the connection is established and starts the timer. It determines the processing method based on whether the timer is running, reduces repeated recording or updates of failure information, and reports detailed failure information only after the timer timeout or after the position changes.

Benefits of technology

It reduces the probability that the terminal device records similar connection establishment failure information at the same or similar locations, reduces memory usage and power consumption, and at the same time, network equipment can more accurately optimize network configuration and improve communication performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116368937B_ABST
    Figure CN116368937B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a communication method and a communication apparatus, the method comprising: a terminal device determining that a connection establishment failure has occurred between the terminal device and a first cell, recording first connection establishment failure information, and starting a timer; the terminal device determining, based on whether the timer is running, a method for handling the connection establishment failure information; and the terminal device sending a connection establishment failure report, the connection establishment failure report being used to indicate that a connection establishment failure has occurred between the terminal device and the first cell. This method can reduce memory usage and power consumption of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and more specifically, to a communication method and a communication device. Background Art

[0002] In a mobile communication system, a terminal device in a non-connected state can establish a connection between the terminal device and a network device by initiating a connection establishment request. For example, a terminal device in an idle state can establish an RRC connection by initiating a radio resource control (RRC) establishment request (or RRC connection establishment request), and an inactive state terminal device can establish an RRC connection by initiating an RRC establishment recovery request (or RRC connection recovery request). Various reasons may cause the terminal device to fail to successfully establish a connection with the network device, that is, the connection establishment fails. The terminal device will send a connection establishment failure report after re-establishing a connection with the network. The connection establishment failure report includes relevant information about the most recent connection establishment failure. The network device can analyze the cause of the failure, optimize the network configuration, etc. based on the connection establishment failure report from the terminal device. However, the way in which the terminal device reports relevant information about the connection establishment failure in the current mechanism may not be very effective in network optimization processing, and a reasonable feedback mechanism for connection establishment failure needs to be considered. Summary of the Invention

[0003] The embodiments of the present application provide a communication method and a communication device that can reduce the memory usage and power consumption of a terminal device.

[0004] In a first aspect, a communication method is provided. The method can be executed by a terminal device or a component (such as a chip or circuit) configured in (or used for) a terminal device. The following description takes the method executed by a terminal device as an example.

[0005] The method includes: determining that a connection establishment failure has occurred between a terminal device and a first cell, recording first connection establishment failure information and starting a timer; determining how to handle the connection establishment failure information based on whether the timer is running; and sending a connection establishment failure report, which is used to indicate that a connection establishment failure has occurred between the terminal device and the first cell.

[0006] According to the above solution, the processing method for the connection establishment failure information is determined according to whether the timer is running, which can reduce the memory usage and power consumption of the terminal device.

[0007] In combination with the first aspect, in certain implementations of the first aspect, the method for handling the connection establishment failure information is determined based on whether the timer is running, including: stopping recording the connection establishment failure information while the timer is running; or, during the timer running, determining that the connection establishment failure between the terminal device and the first cell occurs again, updating the number of connection establishment failure indication information in the first connection establishment failure information, wherein the connection establishment failure report includes the first connection establishment failure information.

[0008] According to the above scheme, during the operation of the timer, the terminal device stops recording the connection establishment failure information; or, during the operation of the timer, if the connection establishment failure between the terminal device and the first cell occurs again, the terminal device only updates the number of connection establishment failure indication information in the first connection establishment failure information, which can reduce the probability of the terminal device recording similar connection establishment failure information at the same location or a similar location, and reduce the memory usage and power consumption of the terminal device.

[0009] In combination with the first aspect, in certain implementations of the first aspect, the method for handling the first connection establishment failure information is determined based on whether the timer is running, including: during the running of the timer, determining that the connection establishment failure between the terminal device and the first cell occurs again, recording the second connection establishment failure information and deleting the third connection establishment failure information, wherein the third connection establishment failure information is the first connection information or the connection establishment failure information recorded after the first connection establishment failure information, and the connection establishment failure report includes the second connection establishment failure information.

[0010] According to the above scheme, during the operation of the timer, if the connection establishment failure between the terminal device and the first cell fails again, the second connection establishment failure information is recorded and the third connection establishment failure information is deleted. That is to say, during the operation of the timer, the terminal device only saves one connection establishment failure information, which can reduce the probability of the terminal device recording similar connection establishment failure information at the same location or a similar location, and reduce the memory usage and power consumption of the terminal device.

[0011] In conjunction with the first aspect, in certain implementations of the first aspect, the method further includes: after the timer expires, determining that a connection establishment failure between the terminal device and the first cell has occurred again, recording fourth connection establishment failure information, and starting the timer. The connection establishment failure report includes the fourth connection establishment failure information.

[0012] According to the above scheme, after the timer times out, if the connection establishment failure between the terminal device and the first cell fails again, the fourth connection establishment failure information is recorded, and the connection failure information recorded before the timer times out is stopped, so that the terminal device can record the connection establishment failure information with a period of time interval. After the terminal device establishes a connection with the network, the terminal device can provide the network device with more relevant information about the connection establishment failure, so that the network device can more accurately optimize the network configuration, thereby improving network performance.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: during the running of the timer, the terminal device moves to the second cell, or the terminal device successfully establishes a connection with the first cell, stopping the timer.

[0014] According to the above scheme, the timer is used by the terminal device to determine how to handle the failure information of establishing a connection with the first cell. When the terminal device moves to the second cell or successfully establishes a connection with the first cell, stopping the timer can reduce unnecessary power consumption of the terminal device.

[0015] In combination with the first aspect, in certain implementations of the first aspect, before starting the timer, the method further includes: determining that a moving speed of the terminal device is less than or equal to a first threshold value.

[0016] According to the above solution, if the terminal device moves at a low speed, the locations where the terminal device fails to establish a connection twice may be the same or close, and the connection establishment failure information (for example, measurement information of the first cell, etc.) may also be similar. The probability of the terminal device recording similar connection establishment failure information can be reduced by starting a timer. This reduces the memory usage and power consumption of the terminal device.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: receiving first indication information from a first network device, the first indication information being used to indicate the running duration of the timer, the first network device being a network device that manages the first cell.

[0018] In a second aspect, a communication method is provided. The method can be executed by a network device or a component (such as a chip or circuit) configured in (or used for) a first network device. The following description takes the method executed by a network device as an example.

[0019] The method includes: sending first indication information to a terminal device, where the first indication information is used to indicate the running duration of a timer, and the timer is used by the terminal device to determine a processing method for connection establishment failure information.

[0020] A first indication message is sent to the terminal device, where the first indication message is used to indicate the running duration of a timer, and the timer is used by the terminal device to determine how to handle connection establishment failure information.

[0021] On the third aspect, a communication method is provided, which can be executed by a terminal device or a component (such as a chip or circuit) configured in (or used for) a terminal device. The following description takes the execution of the method by a terminal device as an example.

[0022] The method includes: determining that a connection establishment failure occurs between a terminal device and a first cell at a first location, and recording first connection establishment failure information; determining that a connection establishment failure occurs between the terminal device and the first cell again at a second location, and determining whether to record second connection establishment failure information based on the first location and the second location; and sending a connection establishment failure report, wherein the connection establishment failure report is used to indicate that a connection establishment failure occurs between the terminal device and the first cell.

[0023] According to the above solution, whether to record the connection failure information again or update the connection failure information is determined based on the location of the terminal device when the connection failure information is recorded. This can reduce the probability of the terminal device recording the same or similar connection failure information, and reduce the memory usage and power consumption of the terminal device.

[0024] In conjunction with the third aspect, in certain implementations of the third aspect, determining whether to record the second connection establishment failure information based on the first and second location information includes: determining that the distance between the first and second locations is greater than or equal to a first threshold value, and recording the second connection establishment failure information; and / or determining that the distance between the first and second locations is less than the first threshold value, and not recording the second connection establishment failure information. In conjunction with the third aspect, in certain implementations of the third aspect, determining whether to record the second connection establishment failure information based on the first and second location information includes: determining that the distance between the first and second locations is less than or equal to the first threshold value, recording the second connection establishment failure information, and deleting the first connection establishment failure information.

[0025] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: starting a timer after determining that a connection establishment failure between the terminal device and the first cell occurs at the first location.

[0026] In combination with the third aspect, in certain implementations of the third aspect, determining whether to record the second connection establishment failure information is based on the first location and the second location information, including: determining that the distance between the first location and the second location is less than or equal to the first threshold value, and when the timer has not timed out, updating the connection establishment failure number indication information in the first connection establishment failure information.

[0027] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: receiving first indication information from a first network device, the first indication information being used to indicate the first threshold value, and the first network device being a network device that manages the first cell.

[0028] In a fourth aspect, a communication method is provided. The method can be executed by a network device or a component (such as a chip or circuit) configured in (or used for) a first network device. The following description will be given using the example of the method being executed by a network device.

[0029] The method includes: sending first indication information to a terminal device, where the first indication information is used to indicate the first threshold value, and the first threshold value is used by the terminal device to determine whether to record connection establishment failure information.

[0030] In a fifth aspect, a communication device is provided. In one design, the device may include a module that executes the method / operation / step / action described in the first aspect. The module may be a hardware circuit, software, or a combination of a hardware circuit and software. In one design, the device includes: a processing unit for determining that a connection establishment failure has occurred between a terminal device and a first cell, recording first connection establishment failure information, and starting a timer; the processing unit is further used to determine how to handle the connection establishment failure information based on whether the timer is running; and a transceiver unit for sending a connection establishment failure report, wherein the connection establishment failure report is used to indicate that a connection establishment failure has occurred between the terminal device and the first cell.

[0031] In combination with the fifth aspect, in certain implementations of the fifth aspect, the processing unit is specifically used to stop recording the connection establishment failure information during the operation of the timer; or, the processing unit is specifically used to determine that the connection establishment failure between the terminal device and the first cell occurs again during the operation of the timer, and update the number of connection establishment failure indication information in the first connection establishment failure information, wherein the connection establishment failure report includes the first connection establishment failure information.

[0032] In combination with the fifth aspect, in certain implementations of the fifth aspect, the processing unit is specifically used to determine, during the operation of the timer, that a connection establishment failure between the terminal device and the first cell has occurred again, record second connection establishment failure information, and delete third connection establishment failure information, wherein the third connection establishment failure information is the first connection establishment failure information or connection establishment failure information recorded after the first connection establishment failure information, and the connection establishment failure report includes the second connection establishment failure information.

[0033] In combination with the fifth aspect, in certain implementations of the fifth aspect, the processing unit is also used to determine, after the timer expires, that a connection establishment failure between the terminal device and the first cell has occurred again, record fourth connection establishment failure information, and start the timer, wherein the connection establishment failure report includes the fourth connection establishment failure information.

[0034] In combination with the fifth aspect, in certain implementations of the fifth aspect, during the running of the timer, the terminal device moves to the second cell, or the terminal device successfully establishes a connection with the first cell, and the processing unit is further used to stop the timer.

[0035] In combination with the fifth aspect, in certain implementations of the fifth aspect, before starting the timer, the apparatus further includes: determining that the moving speed of the terminal device is less than or equal to a first threshold value.

[0036] In combination with the fifth aspect, in certain implementations of the fifth aspect, the transceiver unit is further used to receive first indication information from a first network device, where the first indication information is used to indicate the running duration of the timer, and the first network device is a network device that manages the first cell.

[0037] In a sixth aspect, a communication device is provided. In one design, the device may include a module corresponding to each of the methods / operations / steps / actions described in the second aspect. The module may be a hardware circuit, software, or a combination of hardware circuits and software. In one design, the device includes: a processing unit for determining the running duration of a timer, the timer being used by the terminal device to determine how to handle connection establishment failure information; and a transceiver unit for sending a first indication message to the terminal device, the first indication message being used to indicate the running duration of the timer.

[0038] In a seventh aspect, a communication device is provided. In one design, the device may include a module corresponding to each of the methods / operations / steps / actions described in the third aspect. The module may be a hardware circuit, software, or a combination of a hardware circuit and software. In one design, the device includes: a processing unit, configured to determine that a connection establishment failure occurs between the terminal device and a first cell at a first location, and record first connection establishment failure information; the processing unit is further configured to determine that a connection establishment failure occurs between the terminal device and the first cell again at a second location, and determine whether to record second connection establishment failure information based on the first location and the second location; and a transceiver unit, configured to send a connection establishment failure report, wherein the connection establishment failure report is used to indicate that a connection establishment failure occurs between the terminal device and the first cell.

[0039] In conjunction with the seventh aspect, in certain implementations of the seventh aspect, the processing unit is specifically configured to determine that the distance between the first location and the second location is greater than or equal to a first threshold value, and record the second connection establishment failure information; and / or, the processing unit is specifically configured to determine that the distance between the first location and the second location is less than the first threshold value, and not record the second connection establishment failure information. In conjunction with the seventh aspect, in certain implementations of the seventh aspect, the transceiver unit is further configured to receive first indication information from a first network device, the first indication information being configured to indicate the first threshold value, the first network device being a network device that manages the first cell.

[0040] In combination with the seventh aspect, in certain implementations of the seventh aspect, the processing unit is specifically used to record the second connection establishment failure information and delete the first connection establishment failure information when the distance between the first position and the second position is less than or equal to the first threshold value.

[0041] In combination with the seventh aspect, in certain implementations of the seventh aspect, the processing unit is further used to start a timer after determining that a connection establishment failure between the terminal device and the first cell occurs at the first location.

[0042] In combination with the seventh aspect, in certain implementations of the seventh aspect, the processing unit is specifically used to update the connection establishment failure count indication information in the first connection establishment failure information when the distance between the first position and the second position is less than or equal to the first threshold value and the timer has not timed out.

[0043] In an eighth aspect, a communication device is provided. In one design, the device may include a module corresponding to each of the methods / operations / steps / actions described in the fourth aspect. The module may be a hardware circuit, software, or a combination of hardware circuits and software. In one design, the device includes: a processing unit for determining a first threshold value, the first threshold value being used by the terminal device to determine whether to record connection establishment failure information; and a transceiver unit for sending first indication information to the terminal device, the first indication information being used to indicate the first threshold value.

[0044] In a ninth aspect, a communication device is provided, comprising a processor. The processor may implement the method of the first aspect or the third aspect and any possible implementation of the first aspect or the third aspect. Optionally, the communication device further comprises a memory, the processor is coupled to the memory, and may be used to execute instructions in the memory to implement the method of the first aspect or the third aspect and any possible implementation of the first aspect or the third aspect. Optionally, the communication device further comprises a communication interface, the processor being coupled to the communication interface. In an embodiment of the present application, the communication interface may be a transceiver, a pin, a circuit, a bus, a module, or other types of communication interfaces, without limitation.

[0045] In one implementation, the communication device is a terminal device. When the communication device is a terminal device, the communication interface may be a transceiver, or an input / output interface.

[0046] In another implementation, the communication device is a chip configured in a terminal device. When the communication device is a chip configured in a terminal device, the communication interface may be an input / output interface.

[0047] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0048] In a tenth aspect, a communication device is provided, comprising a processor. The processor can implement the method described in the second aspect or the fourth aspect, as well as any possible implementation thereof. Optionally, the communication device further comprises a memory, the processor being coupled to the memory and configured to execute instructions in the memory to implement the method described in the second aspect or the fourth aspect, as well as any possible implementation thereof. Optionally, the communication device further comprises a communication interface, the processor being coupled to the communication interface.

[0049] In one implementation, the communication device is a network device. When the communication device is a network device, the communication interface may be a transceiver or an input / output interface.

[0050] In another implementation, the communication device is a chip configured in a network device. When the communication device is a chip configured in the first network device, the communication interface may be an input / output interface.

[0051] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0052] In an eleventh aspect, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method of any possible implementation of the first to fourth aspects and any possible implementation of the first to fourth aspects.

[0053] In a specific implementation, the processor may be one or more chips, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, or various logic circuits. The input signal received by the input circuit may be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit may be, for example, but not limited to, output to and transmitted by a transmitter. The input circuit and the output circuit may be the same circuit, which functions as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0054] In the twelfth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instructions), which, when run, enables the computer to execute the method in the above-mentioned first to fourth aspects and any possible implementation of the first to fourth aspects.

[0055] In the thirteenth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute the method in the above-mentioned first to fourth aspects and any possible implementation of the first to fourth aspects.

[0056] In a fourteenth aspect, a communication system is provided, comprising the aforementioned terminal device and network device. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 is a schematic diagram of a wireless communication system 100 applicable to an embodiment of the present application;

[0058] Figure 2 is a schematic flow chart of a communication method applicable to an embodiment of the present application;

[0059] Figure 3 is another schematic flow chart of a communication method applicable to an embodiment of the present application;

[0060] Figure 4 is a schematic block diagram of an example of a communication device of the present application;

[0061] Figure 5 is a schematic structural diagram of a terminal device applicable to an embodiment of the present application;

[0062] Figure 6 It is a schematic structural diagram of a network device applicable to an embodiment of the present application. DETAILED DESCRIPTION

[0063] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, universal mobile telecommunication system (UMTS), world-wide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) communication system, new radio (NR) access technology, vehicle-to-other-device (V2X) communication, Internet of Vehicles, machine type communication (MTC), or Internet of Things (IoT), etc. V2X may include vehicle to network (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), and / or vehicle to pedestrian (V2P), etc.

[0064] Figure 1 FIG. 1 is a schematic diagram of a wireless communication system 100 applicable to an embodiment of the present application.

[0065] like Figure 1 As shown, the wireless communication system 100 may include at least one network device, such as Figure 1 The wireless communication system 100 may also include at least one terminal device, such as Figure 1 The terminal device 120 shown in FIG. 1 may be a terminal device in an idle state or an inactive state, and the terminal device may establish a connection with a network device by initiating a connection establishment request.

[0066] The terminal device in the embodiments of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device, a vehicle-mounted device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved public land mobile communication network (PLMN), etc.

[0067] Wearable devices, also known as wearable smart devices, are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include those that are fully functional, large in size, and can achieve full or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0068] It should be understood that the embodiments of the present application do not limit the specific form of the terminal device.

[0069] The network device in the embodiment of the present application may be a device with wireless transceiver functions. The device includes but is not limited to: a base station, an evolved node B (eNB), a radio network controller (RNC), a node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., home evolved node B, or home node B, HNB), a baseband unit (BBU), an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP) or a transmission and reception point (TRP), etc. It can also be an access network (RAN) device in a 5G (such as NR) system, such as a next-generation base station (gNB), a TRP or a TP, or one or a group of antenna panels (including multiple antenna panels) of a base station in a 5G system.

[0070] In some deployments, the gNB may include a centralized unit (CU) and a DU. The gNB may also include an active antenna unit (AAU). The CU implements some gNB functions, while the DU implements some gNB functions. For example, the CU is responsible for processing non-real-time protocols and services, and implementing the functions of the radio resource control (RRC) and packet data convergence protocol (PDCP) layers. The DU is responsible for processing physical layer protocols and real-time services, and implementing the functions of the radio link control (RLC), media access control (MAC), and physical (PHY) layers. The AAU implements some physical layer processing functions, RF processing, and active antenna-related functions. Because RRC layer information ultimately becomes PHY layer information, or is converted from PHY layer information, in this architecture, higher-layer signaling, such as RRC layer signaling, can also be considered to be sent by the DU, or by the DU+AAU. It is understood that the CU may further include a CU control plane (CU-control plane, CU-CP) and a CU user plane (CU-user plane, CU-UP). The CU-CP may be responsible for control plane functions, such as implementing RRC layer and PDCP layer control plane functions (PDCP-C). The CU-UP may be responsible for user plane functions, such as implementing SDAP layer and PDCP layer user plane functions (PDCP-U). The CU-CP and CU-UP communicate via the E1 interface. The CU-CP may communicate with the core network on behalf of the gNB via the NG interface and communicate with the DU via the F1-C interface. The CU-UP may communicate with the DU via the F1-U interface. In another implementation, the CU-UP may implement the functions of the PDCP-C, but the present application is not limited thereto. In addition, the CU may be classified as a network device in the access network (radio access network, RAN), or as a network device in the core network (core network, CN), but the present application does not limit this.

[0071] Network equipment provides services for a cell, and terminal devices communicate with the network equipment within the cell using transmission resources (e.g., frequency domain resources, or spectrum resources) allocated by the network equipment. The cell can belong to a macro base station (e.g., a macro eNB or macro gNB) or a base station corresponding to a small cell. Small cells can include metro cells, micro cells, pico cells, or femto cells. These small cells have small coverage and low transmit power, making them suitable for providing high-speed data transmission services.

[0072] In a mobile communication system, a terminal device in a non-connected state can re-establish a connection with a network device through a random access process. Specifically, the terminal device can re-establish a connection with the network device using a 4-step random access process or a 2-step random access process.

[0073] If the terminal device adopts the 4-step random access process, the terminal device may determine that a connection establishment failure (CEF) has occurred in any of the following scenarios. It is understandable that the terminal device adopts the 4-step random access process here, which may include the terminal device directly adopting the 4-step random access process, or the terminal device first adopts the 2-step random access process to re-establish a connection with the network device and then falls back to the 4-step random access process.

[0074] Scenario 1: The number of times the terminal device sends message 1 (msg1 or MSG1) during the random access process reaches the maximum number of times or the power of the terminal device sending msg1 reaches the maximum transmission power, and no random access response message from the network device, that is, message 2 (msg2 or MSG2), is received.

[0075] Scenario 2: The terminal device receives msg2 and sends message 3 (msg3 or MSG3), but does not receive message 4 (msg4 or MSG4) from the network device, or receives msg4, but the contention resolution identifier in msg4 is not that of the terminal device, that is, the contention resolution fails, or the terminal device receives msg2 but cannot successfully send msg3. The terminal device resends msg1, and eventually the terminal device sends msg1 to the maximum number of times or the power of the terminal device to send msg1 reaches the maximum transmission power.

[0076] In scenario 3, the conflict is resolved successfully in msg4, but the RRC connection is still not established successfully.

[0077] Similar to the 4-step random access process, if the terminal device uses the 2-step random access process to re-establish a connection with the network device, in any of the following scenarios, the terminal device can determine that a connection establishment failure has occurred.

[0078] The terminal device sends message A (msgA or MSGA) the maximum number of times, the power of the terminal device sending msgA reaches the maximum transmission power, the message B (msgB or MSGB) from the network device is not received, the conflict resolution fails, or the conflict resolution succeeds but the RRC connection is still not successfully established.

[0079] In the above-mentioned 4-step random access process and 2-step random access process, the terminal can determine that CEF has occurred according to different scenarios in which the connection establishment failure occurs. It will be understood that the above is an example of a possible scenario in which the terminal device determines that a connection establishment failure has occurred. The terminal device can also determine that a connection establishment failure has occurred according to other scenarios or situations, and this application does not limit this.

[0080] After the terminal device determines that a connection establishment failure has occurred, the terminal device sends a connection establishment failure report to the network device. After the network device obtains the terminal device connection establishment failure report, it can analyze the problem and optimize the network configuration, etc. For example, the network device determines that the terminal device connection establishment failure may be due to the mismatch between the uplink coverage range and the downlink coverage range of the network device, or the downlink coverage is poor, etc., so the coverage can be optimized. However, multiple connection establishment failures may occur before the terminal device successfully establishes a connection with the network. If the terminal device only sends relevant information about the connection establishment failure once (such as the most recent connection establishment failure), the network device may not be able to accurately determine the cause of the failure, and thus cannot reasonably optimize the network configuration. On the other hand, if the terminal device records the relevant information about the connection establishment failure after each connection establishment failure, and reports it to the network after the connection is successfully established, the terminal device will consume more power and bring about the problem of high signaling overhead.

[0081] The present application provides a communication method, in which a terminal device determines that a connection establishment failure between the terminal device and a first cell occurs, records the first connection establishment failure information, and starts a timer. In addition, the terminal device determines how to handle the recorded connection establishment failure information (such as the first connection establishment failure information) based on whether the timer is running. After the terminal device establishes a connection with the network, the recorded connection establishment failure information between the terminal device and the first cell is sent to the network. Through this method, the probability of the terminal device recording similar connection establishment failure information at the same location or a similar location can be reduced, and the memory usage and power consumption of the terminal device can also be reduced. After the first network device that manages the first cell obtains the connection establishment failure information with the first cell from the terminal device, it can more accurately optimize the network device and improve the communication performance of the network.

[0082] In the embodiments of this application, " / " can indicate that the associated objects are in an "or" relationship. For example, A / B can mean A or B. "And / or" can be used to describe the existence of three relationships between associated objects. For example, "A and / or B" can mean: A exists alone, A and B exists simultaneously, or B exists alone. A and B can be singular or plural. To facilitate the description of the technical solutions of the embodiments of this application, the words "first" and "second" may be used in the embodiments of this application to distinguish between technical features with the same or similar functions. The words "first" and "second" do not limit the number or order of execution, and the words "first" and "second" do not necessarily mean different. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for easier understanding. In the embodiments of the present application, at least one (kind) can also be described as one (kind) or multiple (kinds), and multiple (kinds) can be two (kinds), three (kinds), four (kinds) or more (kinds), and this application does not limit it.

[0083] It should be understood that in the embodiments of the present application, the terminal device and / or the network device may perform some or all of the steps in the embodiments of the present application. These steps or operations are merely examples, and the embodiments of the present application may also perform other operations or variations of various operations. In addition, the various steps may be performed in a different order than those presented in the embodiments of the present application, and it is possible that not all of the operations in the embodiments of the present application need to be performed.

[0084] Figure 2 This is a schematic flowchart of the communication method provided in the embodiment of the present application.

[0085] S210, the terminal device determines that a connection establishment failure occurs between the terminal device and the first cell, records first connection establishment failure information, and starts a timer.

[0086] For example, a terminal device in a non-connected state may initiate connection establishment with the first cell due to business needs. However, due to the random access msg1 / msgA transmission times reaching the maximum transmission times or the power reaching the maximum transmission power or receiving msg2 / msgB from the network device or other reasons mentioned above, it is determined that the connection establishment between the terminal device and the first cell failed (for example, the first connection establishment failed). The terminal device records the failure information related to this connection establishment failure, that is, the first connection establishment failure information. And, after the terminal device determines that the connection establishment failure between the terminal device and the first cell occurs, the terminal device starts a timer.

[0087] As an example, the connection establishment failure information may include the cell identifier of the cell where the connection establishment failed (i.e., the identifier of the first cell). The cell identifier may include the cell global identifier (CGI), physical cell identifier (PCI) and frequency of the cell, cell identifier (cell identifier, cell ID), non-public network identifier (NPN ID), non-terrestrial network identifier (NTN ID) or at least one of other cell identifiers. The CGI may include a public land mobile network (PLMN ID) and a cell ID. Optionally, the cell identifier may also include a tracking area code (TAC) and / or identification information of a network device to which the cell belongs, such as a global network device identifier. Optionally, the cell identifier may be the cell identifier of the cell corresponding to the cell accessed by the terminal device, or it may be the cell identifier of the first cell in the information of at least one cell sent by the cell accessed by the terminal device. For example, the cell accessed by the terminal device sends PLMN1+CELL ID 1+TAC1, PLMN2+CELL D2+TAC2, and the cell accessed by the terminal device is PLMN2+CELL ID2+TAC2. The cell identifier recorded by the terminal device can be PLMN ID1+CELLID1+TAC1, and / or PLMN ID2+CELL ID2+TAC2.

[0088] The connection establishment failure information may also include at least one of the following information: the measurement result of the cell where the connection establishment failed (such as measResult), the location information when the connection establishment failed (such as locationInfo), the measurement result of the neighboring cell when the connection establishment failed (such as measResultNeighCells), the random access information during the connection establishment failure (such as perRAInfoList), and the time information after the connection establishment failure (such as timeSinceFailure). The measurement result includes the identification information of the synchronization signal / physical broadcast channel block (synchronization signal block, SSB) or the channel state information reference signal (channel-state information reference signal, CSI-RS), or the identification information of the SSB / CSI-RS and the measurement value based on the SSB / CSI-RS. The measurement value can be at least one of reference signal receiving power (RSRP), reference signal receiving quality (RSRQ), signal noise ratio (SNR), and signal to interference plus noise ratio (SINR).

[0089] Optionally, the connection establishment failure information may further include the total number of connection establishment failures within the timer running time.

[0090] It should be understood that the content of the above connection establishment failure information is only an example and the present application is not limited thereto.

[0091] It should be noted that the terminal device can record the first connection establishment failure information and start the timer after the terminal device determines that the connection establishment failure between the terminal device and the first cell has occurred. This application does not limit the order of recording the first connection establishment failure information and starting the timer.

[0092] Optionally, the running duration of the timer is specified by a protocol, or the terminal device receives configuration information from a first network device, and the configuration information is used to configure the running duration of the timer, wherein the first network device is a network device that manages the first cell, or the first cell belongs to the first network device, or the first cell is under the coverage of the first network device. The embodiment of the present application does not limit the duration of the timer and the method for setting the duration.

[0093] As an example and not limitation, the configuration information of the timer is carried in the system message of the first cell.

[0094] For example, the configuration information of the timer is carried in a master information block (MIB) or a system information block (SIB) 1 of the first cell or other system messages.

[0095] S220: The terminal device determines how to handle the connection establishment failure information based on whether the timer is running.

[0096] The terminal device can determine how to handle the connection establishment failure information based on whether the timer is running, which can reduce the number of repeated or similar connection establishment failure reports recorded by the terminal device, reduce the memory usage and power consumption of the terminal device, and specifically, may include but is not limited to one or more of the following implementation methods.

[0097] Method 1: During the timer running, the connection establishment failure information is stopped from being recorded, and the first connection establishment failure information is retained.

[0098] After the terminal device starts the timer in S210, it stops recording the connection establishment failure information during the operation of the timer. That is, within a period of time after recording the first connection establishment failure information (i.e., during the operation of the timer), the terminal device does not record the connection establishment failure information even if the connection establishment with the first cell fails. That is to say, during the operation of the timer, the first connection establishment failure information is saved and will not be updated. Through this method one, the probability of the terminal device recording similar connection establishment failure information at the same location or a similar location can be reduced, and the memory usage and power consumption of the terminal device can be reduced.

[0099] Method 2: During the operation of the timer, if the terminal device determines that the connection establishment failure between the terminal device and the first cell occurs again, the terminal device updates the connection establishment failure count indication information in the first connection establishment failure information.

[0100] After the terminal device starts the timer in S210, during the operation of the timer, the terminal device only records some relevant information of the connection establishment failure that occurs during the operation of the timer, for example, the number of connection establishment failures, and does not record relevant information of other connection failure processes, etc., but the present application is not limited to this.

[0101] For example, after the terminal device starts the timer in S210, during the operation of the timer, if the terminal device again initiates the connection establishment with the first cell and determines that a failure occurs again, the terminal device updates the connection establishment failure count indication information in the first connection establishment failure information, and does not record or update other related information of the connection establishment failure. For example, the information recorded by the terminal device is the failure information corresponding to the first connection establishment failure and the connection establishment failure count indication information 2. After the timer times out, the connection establishment failure count indication information indicates the number of connection establishment failures that occurred during the operation of the timer. Through this second method, the probability of the terminal device recording similar connection establishment failure information at the same location or a similar location can be reduced, the memory usage and power consumption of the terminal device can be reduced, and the network device can also determine the number of connection establishment failures during the operation of the timer, determine the extent of the problem, and thus determine reasonable network configuration optimization.

[0102] Method three: During the operation of the timer, if the terminal device determines that the connection establishment failure between the terminal device and the first cell has occurred again, the terminal device records the second connection establishment failure information and deletes the third connection establishment failure information. The third connection establishment failure information is the first connection establishment failure information or the connection establishment failure information recorded after the first connection establishment failure information. It can be seen that in method three, during the operation of the timer, if the connection establishment failure between the terminal device and the first cell occurs, the first connection establishment failure information will be updated, and the second connection establishment failure information is the last updated connection establishment failure information. That is, the first connection establishment failure information is updated to the connection establishment failure information corresponding to the second connection establishment failure.

[0103] That is, during the operation of the timer, if the terminal device determines that the connection establishment failure between the terminal device and the first cell has occurred again, the terminal device deletes the previously recorded connection establishment failure information, i.e., the third connection establishment failure information, and records the connection establishment failure information that occurred this time, i.e., the second connection establishment failure information. The third connection establishment failure information may be the first connection establishment failure information. For example, if this connection establishment failure is the first connection establishment failure that occurs after the timer is started, the terminal device records the second connection establishment failure information and deletes the first connection establishment failure information. Alternatively, if one or more connection establishment failures occur after the first connection establishment failure information is recorded, the third connection establishment failure information is recorded after the connection establishment failure that occurred before the current connection establishment failure.

[0104] It should be noted that the present application does not limit the order in which the terminal device executes recording of the connection establishment failure information and deletion of the third connection establishment failure information.

[0105] Optionally, the second connection establishment failure information includes connection establishment failure count indication information, where the connection establishment failure count indication information indicates the total number of connection establishment failures that occurred during the timer operation before the second connection establishment failure information is recorded.

[0106] For example, the terminal device determines that the first connection establishment failure with the first cell occurs, which is recorded as CEF1. The terminal device records the first connection establishment failure information corresponding to CEF1 and starts the timer. The terminal device can record the number of connection establishment failures as 1. If during the operation of the timer, the terminal device determines that CEF2 with the first cell occurs, the terminal device records the connection establishment failure information corresponding to CEF2 and deletes the first connection establishment failure information corresponding to CEF1. The terminal device updates the number of connection establishment failures to 2. At this time, the terminal device continues to run the timer. If during the operation of the timer, the terminal device also has CEF3 with the first cell, the terminal device records the connection establishment failure information corresponding to CEF3 and deletes the connection establishment failure information corresponding to CEF2. The terminal device updates the number of connection establishment failures to 3. If the connection establishment failure occurs again, the same processing method is adopted until the running timer times out (or is called timer expiration, that is, the timer stops after reaching the running length).

[0107] It should be noted that the above-mentioned connection establishment failure refers to the connection establishment failure determined by the terminal device in the same cell (such as the first cell), and the above-mentioned timer is started when the terminal device determines that the first connection establishment failure has occurred. If the connection establishment failure occurs in a different cell, the connection establishment failure information can be recorded without considering the timer limitation.

[0108] In this method three, each time the terminal device fails to establish a connection with the first cell during the operation of the timer, the previously recorded connection establishment failure information is deleted and new connection establishment failure information is recorded. This can reduce the probability of the terminal device recording similar connection establishment failure information at the same or similar locations, and can reduce the memory usage and power consumption of the terminal device. Through method three, the network device can also obtain the connection establishment failure information corresponding to the latest connection establishment failure during the operation of the timer, so that the network device can determine the latest connection establishment failure problem and thus determine a reasonable optimization mechanism.

[0109] Optionally, after the timer times out, if the terminal device determines that the connection establishment failure between the terminal device and the first cell occurs again, the terminal device records the fourth connection establishment failure information and starts the timer again.

[0110] Optionally, the running time of the timer started again by the terminal device may be the same as or different from the running time of the timer started last time.

[0111] For example, the terminal device may adjust the running time of the next started timer according to a certain ratio based on the number of connection establishment failures that occurred during the last timer operation, but the present application is not limited to this.

[0112] Optionally, when the terminal device determines that a connection establishment failure has occurred with the first cell and starts a timer, the terminal device may enter the uplink coverage measurement process of the first cell. After the timer expires, the terminal device may initiate a connection establishment request or a connection recovery request to test the uplink coverage of the terminal device's location. For example, the request reason may be "connection establishment failure", "uplink failure", or "uplink coverage test".

[0113] That is to say, after the terminal device determines that the connection establishment with the first cell has failed, it records the connection establishment failure information and starts the timer. After the timer expires, if the terminal device has no connection establishment request triggered by the service, the terminal device can actively trigger the connection establishment process to test the uplink coverage of the terminal device at the current location of the first cell. If the first network device that manages the first cell receives the connection establishment request of the terminal device, the first network device can send a response message (such as a rejection message, a release message or other response message) to the terminal device. If the terminal device receives the above response message, the terminal device stops the uplink coverage test process of the first cell; if the terminal device does not receive the above response message, the terminal device determines that the connection establishment with the first cell has failed again, the terminal device records the corresponding connection establishment failure information, and starts the timer again. Optionally, the uplink coverage test process of the first cell can be entered again, but the present application is not limited to this.

[0114] In the case where the terminal device fails to connect to the first cell during the operation of the timer, in the above-mentioned method 1, the terminal device does not record new connection establishment failure information. In the above-mentioned method 2, the terminal device updates part of the connection establishment failure information recorded after the previous connection establishment failure (such as updating the number of connection establishment failures). In the above-mentioned method 3, the terminal device records the connection establishment failure information corresponding to this connection establishment failure (optionally, the connection establishment failure information includes the number of connection establishment failures during the timer operation) and deletes the connection establishment failure information recorded last time. This can reduce the terminal device from recording similar connection establishment failure information at the same or similar locations, and can reduce the terminal device's memory usage and power consumption. Optionally, after the timer times out, if the terminal device determines that the connection establishment failure between the terminal device and the first cell occurs again, the terminal device records a fourth connection establishment failure information. This enables the terminal device to record connection establishment failure information with a time interval. After the terminal device establishes a connection with the network, the terminal device can provide the network device with relatively comprehensive information related to the connection establishment failure, so that the network device can more accurately optimize the network configuration, thereby improving network performance.

[0115] Optionally, during the timer running, if the terminal device moves to the second cell, or the terminal device successfully establishes a connection with the first cell, the timer is stopped.

[0116] The content of the connection establishment failure information can refer to the above description and will not be repeated here. As a specific example, the format of the connection establishment failure information (CEF information, CEF info) can be as shown in Table 1, but the present application is not limited thereto.

[0117] Table 1

[0118]

[0119] Optionally, the terminal device maintains a connection establishment failure information list (CEF info list) related to the failure to establish a connection with the first cell. A CEF info list may include at least one CEF info. When a connection establishment failure occurs with the first cell, the terminal device records, updates, or deletes the connection establishment failure information related to the failure to establish a connection with the first cell in the CEF info list.

[0120] For example, when a terminal device fails to establish a connection with a first cell (recorded as CEF1), the terminal device generates a connection establishment failure information list (CEF info list) related to the connection establishment failure of the first cell, and records the connection establishment failure information related to this connection establishment failure (such as CEF1 info) in the list and starts a timer. If the terminal device fails to establish a connection with the first cell again during the operation of the timer (recorded as CEF2), the terminal device can determine the method for processing the connection establishment failure information according to the above-mentioned method one, method two, or method three. For example, the terminal device adopts the above-mentioned method two, and the terminal device will update the number of connection establishment failure indication information in CEF1 info. For example, the number of connection establishment failures K in the CEF1 info can be updated from 1 to 2. It can be understood that other parameters in CEF1 info remain unchanged. For example, the terminal device adopts the above-mentioned method three, records CEF2 info and deletes CEF1 info, that is, the terminal device records CEF2 info in the CEF info list and deletes CEF1 info in the CEF info list. It should be understood that if the CEF info includes information K indicating the number of connection establishment failures, then the number K can be set to 2 at this time. After the timer expires, if the connection establishment failure between the terminal device and the first cell fails again (recorded as CEF3), the terminal device records CEF3 info in the CEFinfo list, that is, CEF3 info is added on the basis of CEF2 info. A similar processing method is adopted thereafter. The CEF info list can be as shown in Table 2. The CEF info list includes n CEF info, 1≤n≤N, and N is the maximum number of connection establishment failure information that the terminal device can record, but the present application is not limited to this.

[0121] Table 2

[0122]

[0123] Optionally, before the terminal device S210 starts the timer, the terminal device determines that the moving speed of the terminal device is less than or equal to the threshold value A.

[0124] That is to say, after the terminal device fails to establish a connection with the first cell, if the moving speed of the terminal device is less than or equal to the threshold value A, the terminal device starts the timer; if the moving speed of the terminal device is greater than the threshold value A, the terminal device does not start the timer. If the moving speed of the terminal device is relatively low, it is highly likely that the locations where the terminal device fails to establish a connection twice are the same or similar, and the connection establishment failure information (for example, measurement information of the first cell, etc.) may also be similar. The probability of the terminal device recording similar connection establishment failure information can be reduced by starting the timer. If the moving speed of the terminal device is relatively high, the locations where the terminal device fails to establish a connection twice may be far apart, and the relevant information of the connection establishment failure may be different. Therefore, the terminal device may not start the timer, thereby recording the relevant information of each connection establishment failure. Through this solution, in addition to reasonably reducing the memory usage and power consumption of the terminal device, the network device can also more accurately optimize the network configuration, thereby improving network performance.

[0125] Optionally, the threshold value A may be specified by a protocol, or the threshold value A may be configured by the first network device for the terminal device.

[0126] Optionally, the terminal device may also record the value of the threshold value A and / or the running time of the timer, so that the network device can determine whether the threshold value A / the running time of the timer needs to be adjusted.

[0127] For example, the terminal device may record the value of threshold A and / or the timer's running duration in the CEF info list or CEF info. It should be understood that the timer's running duration here may be the maximum duration the timer can run and / or the length of time the timer has been running. For example, if the maximum running time of a timer is 10 seconds and it stops after running for 4 seconds, the timer's running duration recorded by the terminal device may be 10 seconds, 4 seconds, or both.

[0128] S230, the terminal device sends a connection establishment failure report, where the connection establishment failure report is used to indicate that a connection establishment failure occurs between the terminal device and the first cell.

[0129] After processing the first connection establishment failure information in accordance with S220, the terminal device may determine / generate a connection establishment failure report based on the finally recorded connection establishment failure information related to the connection establishment failure of the first cell. Optionally, the connection establishment failure report may include part or all of the connection establishment failure information, for example, if the CEF info list includes two CEF infos, the connection establishment failure report may include any one CEF info or two CEF infos.

[0130] After the terminal device establishes a connection with the second network device, the terminal device sends a connection establishment failure report to the second network device. Correspondingly, the second network device receives the connection establishment failure report from the terminal device. The second network device and the first network device can be the same network device or different network devices.

[0131] For example, the terminal device establishes a connection with the first network device after receiving a reconnection establishment request in the first cell. Alternatively, the terminal device establishes a connection with the first network device after moving to another cell managed by the first network device. Alternatively, the terminal device establishes a connection with the first network device after moving to the coverage area of another network device. This application does not limit this.

[0132] Before the terminal device establishes a connection with the second network device, at least one connection establishment failure occurs with the first cell, and the terminal device records at least one connection establishment failure information according to method 1, method 2, or method 3. After the terminal device establishes a connection with the second network device, the terminal device sends the multiple at least one connection establishment failure information to the second network device via a connection establishment report, but the present application is not limited to this.

[0133] Optionally, at least one piece of connection establishment failure information related to the connection establishment failure of the first cell recorded by the terminal device may be included in the same connection establishment failure report or different connection establishment failure reports.

[0134] In one embodiment, the terminal device sends a connection establishment failure report, which includes the first connection establishment failure information and the fourth connection establishment failure information. For example, the terminal device adopts method 1 in S220 to not record the connection establishment failure information while the timer is running, and retains the first connection establishment failure information. After the timer expires, the connection establishment failure between the terminal device and the first cell occurs again, and the terminal device records the fourth connection establishment failure information. The terminal device then successfully establishes a connection with the second network device when initiating the next connection establishment.

[0135] Optionally, the first connection establishment failure information and the fourth connection establishment failure information are arranged in sequence in the connection establishment failure report according to a time sequence in which they are recorded.

[0136] For example, if the first connection establishment failure information is recorded before the fourth connection establishment failure information, the first connection establishment failure information is arranged before the fourth connection establishment failure information in the connection establishment failure report. However, the present application is not limited thereto.

[0137] In another implementation, the terminal device sends at least one connection establishment failure report, and the first connection establishment failure information and the second connection establishment failure information may be included in different connection establishment failure reports.

[0138] Optionally, the terminal device may send corresponding connection establishment failure reports in the time sequence in which multiple pieces of connection establishment failure information related to the failure of the terminal device to establish a connection with the first cell are recorded.

[0139] For example, the terminal device sequentially records the first connection establishment failure information and the fourth connection establishment failure information corresponding to the connection establishment failure according to the chronological order of the connection establishment failures. The terminal device may first send a first connection establishment failure report to the second network device, where the first connection establishment failure report includes the first connection establishment failure information, and then send a second connection establishment failure report to the second network device, where the second connection establishment failure report includes the fourth connection establishment failure information. However, the present application is not limited thereto.

[0140] For example, multiple connection establishment failure information related to the connection establishment failure of the first cell recorded by the terminal device may be included in the same connection establishment failure report. The report may include the above-mentioned CEF info list related to the connection establishment failure of the first cell recorded by the terminal device, and the CEF info list includes multiple connection establishment failure information related to the connection establishment failure of the first cell recorded by the terminal device. For example, the CEF info list is shown in Table 2. In the case that the first network device and the second network device are different network devices, the second network device may, but is not limited to, transmit the connection establishment failure report to the first network device in the following two ways.

[0141] Method A: If the first network device and the second network device establish a communication interface between the network devices (for example, an X2 interface or an Xn interface, etc.), after the second network device receives a connection establishment failure report from the terminal device, it sends the connection establishment report to the first network device through the communication interface between the second network device and the first network device.

[0142] As an example but not limitation, the connection establishment failure report is carried in a failure indication (FAILURE INDICATION or RLF INDICATION) message, a handover report (HANDOVER REPORT) message, an access and mobility indication (ACCESS AND MOBILITY INDICATION) message or other message sent by the second network device to the first network device.

[0143] Method B: If the first network device and the second network device have not established a communication interface between the network devices, the second network device can send the connection establishment report to the core network device through the communication interface between the second network device and the core network device (for example, the S1 interface or the NG interface), and the core network device will forward it to the first network device.

[0144] As an example but not limitation, the connection establishment failure report is carried in an uplink RAN configuration transfer (UPLINK RAN CONFIGURATION TRANSFER) message, a downlink RAN configuration transfer (DOWNLIKN RAN CONFIGURATION TRANSFER) message, a base station configuration transfer (eNB CONFIGURATION TRANSFER) message, a core network equipment configuration transfer (MME CONFIGURATION TRANSFER) message or other messages.

[0145] Optionally, the first network device has a CU and DU separated architecture, and after the core network device receives the connection establishment failure report between the terminal device and the first cell, the core network device sends the connection establishment failure report to the CU of the first network device. Optionally, the CU of the first network device forwards the connection establishment failure report to the DU to which the first cell under the first network device belongs. Optionally, the CU of the first network device may include a CU-CP and a CU-UP, and the CU-CP of the first network device may forward the connection establishment report to the CU-UP after receiving the connection establishment report sent by the core network device. As an example and not a limitation, the connection establishment failure report is carried in an access and mobility indication (ACCESS AND MOBILITY INDICATION) message or other message sent by the CU (or CU-CP) of the first network device to the DU (or CU-UP) of the first network device.

[0146] After receiving the connection establishment failure report, the first network device can optimize the network configuration according to the connection establishment failure information to improve the communication performance of the network, but the present application is not limited thereto.

[0147] For example, the first network device can analyze the reasons for the connection establishment failure based on the connection establishment failure information between the terminal device and the first cell. For example, if the connection establishment fails due to a mismatch between the downlink coverage and the uplink coverage, the network device can adjust the coverage to improve the success rate of the terminal device accessing the network. For another example, the terminal device can feedback the timer running time and / or threshold value A to the network. After the first network device obtains the timer running time and / or threshold value A, it can adjust the frequency of the terminal device recording the connection establishment failure by adjusting the timer running time and / or threshold value A, so that the network device can better optimize the network configuration based on the connection establishment failure information and improve the communication performance of the network device, but the present application is not limited to this. It is understandable that the first network device can adjust or optimize one or more parameters.

[0148] Optionally, the terminal device sends first indication information to the second network device, where the first indication information is used to indicate the running duration of the timer, and the second network device forwards the first indication information to the first network device (or the second network device forwards the first indication information to the first network device through the core network device). The first indication information may be included in the connection establishment failure report, or carried in the same message as the connection establishment failure report, or carried in a different message from the connection establishment failure report, which is not limited in this application.

[0149] Optionally, the first indication information may also include a time interval between consecutive failures in establishing a connection between the terminal device and the first cell each time the timer runs.

[0150] After receiving the first indication information, the first network device can adjust and optimize the running time of the timer of the configured terminal device, but the present application is not limited to this.

[0151] Optionally, the terminal device sends the threshold value A to the second network device. The second network device forwards the threshold value A to the first network device (or the second network device forwards the threshold value A to the first network device through the core network device). The threshold value A may be included in the connection establishment failure report, or carried in the same message as the connection establishment failure report, or carried in a different message from the connection establishment failure report, which is not limited in this application.

[0152] After receiving the threshold value A, the first network device may determine whether the threshold value A needs to be adjusted.

[0153] For example, the running time of the timer and the threshold value A may be included in the CEF info list in the connection establishment failure report. The CEF info list may be as shown in Table 3, but the present application is not limited thereto.

[0154] Table 3

[0155]

[0156] It should be understood that the number of connection establishment failure information in the connection establishment failure report may be less than or equal to the number of connection establishment failure information recorded by the terminal device. For example, if the terminal device records two connection establishment failure information, the connection establishment failure report may include one of the connection establishment failure information, or may include both connection establishment failure information, but the present application is not limited thereto.

[0157] It is understood that the above embodiment uses a timer as an example for control, but is not limited to the use of a timer. For example, the terminal device compares the time interval between the time of the previous connection establishment failure and the time of the next connection establishment failure, and determines the processing method of the connection establishment failure information based on whether the time interval is less than or equal to the time threshold, but the application is not limited to this. The specific processing method can be referred to the description above and will not be repeated here.

[0158] The above is an introduction to the processing method of determining the connection establishment failure information by the terminal device according to whether the timer is running in the embodiment of the present application. Figure 3 The present invention introduces a communication method proposed in an embodiment of the present application, in which a terminal device determines a method for handling connection establishment failure information by using location information of a connection establishment failure.

[0159] Figure 3 This is another schematic flowchart of the communication method 300 provided in an embodiment of the present application.

[0160] It should be noted that, unless otherwise defined or stated, Figure 3 In the embodiment shown Figure 2 The same or similar parts in the embodiments shown can be referred to Figure 2 For the sake of brevity, the description in the illustrated embodiment will not be repeated here.

[0161] S310, the terminal device determines that a connection establishment failure between the terminal device and the first cell occurs at a first location, and records first connection establishment failure information.

[0162] Optionally, the first connection establishment failure information includes first location information, where the first location information is used to indicate the first location. Optionally, the number of connection establishment failures recorded by the terminal device is 1.

[0163] It can be understood that the location of the terminal device can be determined / obtained based on the positioning function of the terminal device.

[0164] S320, the terminal device determines that the connection establishment failure between the terminal device and the first cell occurs again, and determines whether to record second connection establishment failure information based on the first position and the second position.

[0165] The specific implementation manner in which the terminal device determines whether to record the second connection establishment failure information according to the first location and the second location may include but is not limited to the following implementation manners.

[0166] In implementation mode 1, the terminal device determines that the distance between the first location and the second location is greater than or equal to a threshold value B, and the terminal device records the second connection establishment failure information. Optionally, the terminal device updates the recorded number of connection establishment failures to 2.

[0167] Optionally, the second connection establishment failure information includes second location information, and the second location information is used to indicate the second location.

[0168] For example, after the terminal device determines that a connection establishment failure has occurred again with the first cell, it obtains a second location of the terminal device at the time of the recurrence of the connection establishment failure, compares the distance between the second location and the first location indicated in the first location, and if the distance between the first location and the second location is greater than or equal to a threshold value B, the terminal device records the second connection establishment failure information. This solution enables the connection establishment failure information recorded by the terminal device to be recorded when the terminal device is at a different location or at locations that are somewhat different, thereby reducing the probability of the terminal device recording the same or similar connection establishment failure information and reducing the memory usage and power consumption of the terminal device.

[0169] In this embodiment 1, if the terminal device fails to establish a connection with the first cell at a third location after failing to establish a connection at the second location, the terminal device compares the distance between the second location corresponding to the most recently recorded second connection establishment failure information and the third location with the threshold value B to determine whether to record the third connection establishment failure information.

[0170] In implementation mode 2, the terminal device determines that the distance between the first location and the second location is less than or equal to the threshold value B, and the terminal device does not record the second connection establishment failure information. Optionally, the terminal device updates the number of connection establishment failures recorded to 2.

[0171] In this way, the probability of the terminal device recording the same or similar connection establishment failure information can be reduced, and the memory usage and power consumption of the terminal device can be reduced.

[0172] In this embodiment 2, if the terminal device fails to establish a connection with the first cell at a third location after failing to establish a connection at the second location, the terminal device compares the distance between the first location corresponding to the most recently recorded first connection establishment failure information and the third location with the threshold value B to determine whether to record the third connection establishment failure information.

[0173] In this second embodiment, as a possible implementation, the terminal device determines that the distance between the first location and the third location is less than or equal to the threshold value B. The terminal device does not record the third connection establishment failure information. The terminal device may update the connection establishment failure count indication information in the first connection establishment failure information. For example, the terminal device updates the recorded number of connection establishment failures to 3.

[0174] For example, if the terminal device determines that the distance between the first location and the second location is less than a threshold value B, and if the terminal device re-initiates connection establishment with the first cell and determines that a failure has occurred again, the terminal device does not record the second connection establishment failure information, and only updates the connection establishment failure count indication information in the first connection establishment failure information, but the present application is not limited to this. In this way, the probability of the terminal device recording the same or similar connection establishment failure information can be reduced, and the memory usage and power consumption of the terminal device can be reduced.

[0175] Optionally, after the terminal device determines that the connection establishment with the first cell has failed, the terminal device may enter the uplink coverage measurement process of the first cell. If the distance between the current location of the terminal device and the first location is greater than or equal to the threshold value C, the terminal device may initiate a connection establishment request or a connection recovery request to test the uplink coverage of the location of the terminal device. For example, the reason for the request may be "connection establishment failure", "uplink failure", or "uplink coverage test". It is understandable that threshold C and threshold B may be the same or different.

[0176] That is to say, the terminal device determines that a connection establishment failure occurs with the first cell and records the first location; if the terminal device moves and a connection establishment failure occurs with the first cell again, if the distance between the current location of the terminal device and the first location is greater than or equal to the threshold value C, and the terminal device has no connection establishment request triggered by the service, the terminal device can actively trigger the connection establishment process to test the uplink coverage of the terminal device at the current location of the first cell. If the first network device that manages the first cell receives the connection establishment request of the terminal device, the first network device can send a response message (such as a rejection message, a release message or other response message) to the terminal device. If the terminal device receives the above response message, the terminal device stops the uplink coverage test process of the first cell; if the terminal device does not receive the above response message, the terminal device determines that a connection establishment failure occurs with the first cell again, the terminal device records the corresponding connection establishment failure information, and records the location information corresponding to the current location of the terminal device (optionally, the terminal device can delete the first location information) for the next entry into the location judgment mechanism of the uplink coverage test process of the first cell.

[0177] In implementation mode 3, the terminal device determines that the distance between the first position and the second position is less than or equal to a threshold value B, and the terminal device records the second connection establishment failure information and deletes the first connection establishment failure information.

[0178] In the case where the distance between the first position and the second position is less than or equal to the threshold value B, the terminal device only records the relevant information of the most recent connection establishment failure that occurred after the first position at a position less than the threshold value B from the first position. If the terminal device fails to establish a connection with the first cell at a third position after failing to establish a connection at the second position, the terminal device compares the distance between the first position and the third position with the threshold value B to determine whether to record the third connection establishment failure information. If the distance between the first position and the third position is less than the threshold value B, the terminal device records the third connection establishment failure information and deletes the second connection establishment failure information. If the distance between the first position and the third position is greater than or equal to the threshold value B, the terminal device records the third connection establishment failure information and does not delete the second connection establishment failure information, but the present application is not limited to this.

[0179] In implementation mode 4, the terminal device determines that the distance between the first location and the second location is less than or equal to a threshold value B, and while the timer is running, the terminal device updates the connection establishment failure count indication information in the first connection establishment failure information.

[0180] In one possible embodiment of the fourth embodiment, Figure 2 In the second method of the embodiment shown, in S310, after the terminal device records the first connection establishment failure information, the terminal device starts the timer. In S320, after the terminal device fails to establish a connection with the first cell again, the terminal device determines that the distance between the first position and the second position is less than the threshold value B and while the timer is running, the terminal device updates the number of connection establishment failure indication information in the first connection establishment failure information. If the timer times out, the terminal device does not update the number of connection establishment failure indication information in the first connection establishment failure information, but the present application is not limited to this. In this method, if the terminal device fails to establish a connection at the second position and then fails to establish a connection with the first cell again at the third position, the terminal device compares the distance between the first position and the third position with the threshold value B to determine whether to record the third connection establishment failure information.

[0181] In implementation mode 5, the terminal device determines that the distance between the first location and the second location is less than or equal to a threshold value B, and while the timer is running, the terminal device records the second connection establishment failure information and deletes the first connection establishment failure information.

[0182] In one possible embodiment of the fifth embodiment, Figure 2In the illustrated embodiment, in method three, in S310, after the terminal device records the first connection establishment failure information, the terminal device starts a timer. In S320, after the terminal device fails to establish a connection with the first cell again, the terminal device determines that the distance between the first position and the second position is less than the threshold value B and while the timer is running, the terminal device records the second connection establishment failure information and deletes the first connection establishment failure information. If the timer times out, the number of connection establishment failure indication information in the first connection establishment failure information is updated. If the timer times out, the terminal device records the third connection establishment failure information and does not delete the second connection establishment failure information, but the present application is not limited to this.

[0183] Optionally, the threshold value B is specified by a protocol, or the terminal device receives configuration information from the first network device (ie, the network device that manages the first cell), and the configuration information is used to configure the threshold value B.

[0184] Optionally, the terminal device may record the value of the threshold B in the connection establishment failure information, so that the network device can determine whether the value of the threshold needs to be adjusted.

[0185] As an example and not limitation, the configuration information is carried in a system message of the first cell.

[0186] For example, the configuration information is carried in the MIB or SIB1 or other system messages of the first cell.

[0187] S330, the terminal device sends a connection establishment failure report, where the connection establishment failure report is used to indicate that a connection establishment failure occurs between the terminal device and the first cell.

[0188] The terminal device determines / generates a connection establishment failure report based on the recorded connection establishment failure information related to the connection establishment failure of the first cell. Optionally, the connection establishment failure report may include part or all of the connection establishment failure information. The specific implementation of S330 can be referred to Figure 2 The specific implementation of S230 in the illustrated embodiment will not be described in detail here for the sake of brevity.

[0189] According to the above scheme, whether to record the connection establishment failure information again or update the connection establishment failure information is determined based on the location of the terminal device when the connection establishment failure information is recorded, which can reduce the probability of the terminal device recording the same or similar connection establishment failure information and reduce the memory usage and power consumption of the terminal device.

[0190] An embodiment of the present application also provides a communication method, which includes: after the terminal device determines that a connection establishment failure occurs with the first cell, determining whether to record connection establishment failure information related to the current connection establishment failure based on whether the cause of the current connection establishment failure is consistent with the cause of the previous connection establishment failure.

[0191] For example, if a terminal device determines that a connection establishment failure occurs with a first cell because the number of msg1 transmissions reaches the maximum number of transmissions, the terminal device does not record the connection establishment failure information related to the current connection establishment failure based on the reason for the previous connection establishment failure between the terminal device and the first cell. If the reason is also because the number of msg1 transmissions reaches the maximum number of transmissions, the terminal device may update the connection establishment failure count indication information in the last recorded connection establishment failure information. If the last failure occurred because msg2 was not received, the terminal device may record the connection establishment failure information related to the current connection establishment failure. However, the present application is not limited to this.

[0192] Optionally, this embodiment can be used with Figure 2 、 Figure 3 The illustrated embodiments are combined respectively, for example, the terminal device determines that the reason for the failure to establish a connection with the first cell this time is the same as the reason for the failure to establish a connection with the first cell last time, and the timer is running and / or the location distance of the terminal device when failure occurs twice is less than the threshold value B, the terminal device does not record the connection establishment failure information this time or updates the connection establishment failure information of the last connection establishment failure information, or the terminal device records the connection establishment failure information this time and deletes the connection establishment failure information recorded last time. Alternatively, the terminal device determines that the reason for the failure to establish a connection with the first cell this time is different from the reason for the failure to establish a connection with the first cell last time, even if the timer is running and / or the location distance of the terminal device when failure occurs twice is less than the threshold value B, the terminal device also records the connection establishment failure information this time. This enables the terminal device to record the connection establishment failure information caused by different reasons, so that it can more accurately optimize the network configuration after sending it to the first network device. However, the present application is not limited to this.

[0193] Above, combined Figure 2 、 Figure 3 The method provided in the embodiment of the present application is described in detail. Figures 4 to 6 The apparatus provided in the embodiments of the present application is described in detail. In order to implement the various functions of the method provided in the embodiments of the present application, each network element may include a hardware structure and / or a software module, and the aforementioned functions may be implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a particular one of the aforementioned functions is implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0194] Figure 4 : is a schematic block diagram of a communication device provided in an embodiment of the present application. Figure 4As shown, the communication device 400 may include a processing unit 410 and a transceiver unit 420 .

[0195] In one possible design, the communication device 400 may correspond to the terminal device in the above method embodiment, or a component (such as a chip or circuit, etc.) configured in (or used for) the terminal device, or other devices, modules, circuits or units that can implement the method of the terminal device.

[0196] It should be understood that the communication device 400 may correspond to the steps or processes implemented by the terminal device in the methods 200 and 300 of the embodiments of the present application, and the communication device 400 may include a device for executing Figure 2 、 Figure 3 The units of the method executed by the terminal device in the methods 200 and 300 are respectively Figure 2 、 Figure 3 The corresponding processes of methods 200 and 300 in FIG.

[0197] In some possible implementations, the transceiver unit 420 in the communication device 400 may be an input / output interface or circuit of a chip, and the processing unit 410 in the communication device 400 may be a processor in the chip.

[0198] Optionally, the processing unit 410 can be used to process instructions or data to implement corresponding operations.

[0199] Optionally, the communication device 400 may further include a storage unit 430, which may be used to store instructions or data, and the processing unit 410 may read / execute the instructions or data stored in the storage unit to enable the communication device to perform corresponding operations. In a possible implementation, the transceiver unit 420 in the communication device 400 may be a processor that can correspond to Figure 5 The transceiver 510 in the terminal device 500 shown in FIG. 4 , the storage unit 430 may correspond to Figure 5 The memory in the terminal device 500 shown in FIG.

[0200] The communication device executes Figure 2 In the method 200 shown, exemplarily, the processing unit is used to determine that a connection establishment failure has occurred between the terminal device and the first cell, record the first connection establishment failure information and start a timer; the processing unit is also used to determine how to handle the connection establishment failure information based on whether the timer is running; the transceiver unit is used to send a connection establishment failure report, which is used to indicate that a connection establishment failure has occurred between the terminal device and the first cell.

[0201] In one embodiment, the processing unit is specifically configured to stop recording connection establishment failure information during the timer operation;

[0202] In another embodiment, the processing unit is specifically used to determine that the connection establishment failure between the terminal device and the first cell occurs again during the operation of the timer, and update the connection establishment failure number indication information in the first connection establishment failure information, wherein the connection establishment failure report includes the first connection establishment failure information.

[0203] In another embodiment, the processing unit is specifically used to determine that the connection establishment failure between the terminal device and the first cell occurs again during the operation of the timer, record the second connection establishment failure information and delete the third connection establishment failure information, wherein the third connection establishment failure information is the first connection information or the connection establishment failure information recorded after the first connection establishment failure information, and the connection establishment failure report includes the second connection establishment failure information.

[0204] Optionally, the processing unit is also used to determine that the connection establishment failure between the terminal device and the first cell occurs again after the timer times out, record the fourth connection establishment failure information and start the timer, wherein the connection establishment failure report includes the fourth connection establishment failure information.

[0205] Optionally, during the running of the timer, the terminal device moves to the second cell, or the terminal device successfully establishes a connection with the first cell, and the processing unit is further used to stop the timer.

[0206] Optionally, the processing unit is further configured to start the timer when it is determined that the moving speed of the terminal device is less than or equal to a first threshold value.

[0207] Optionally, the transceiver unit is further used to receive first indication information from a first network device, where the first indication information is used to indicate the running duration of the timer, and the first network device is a network device that manages the first cell.

[0208] The communication device executes Figure 3 In the method 300 shown, exemplarily, the processing unit is used to determine that a connection establishment failure occurs between the terminal device and the first cell at a first location, and record first connection establishment failure information; the processing unit is also used to determine that a connection establishment failure occurs between the terminal device and the first cell again at a second location, and determine whether to record second connection establishment failure information based on the first location and the second location; the transceiver unit is used to send a connection establishment failure report, and the connection establishment failure report is used to indicate that a connection establishment failure occurs between the terminal device and the first cell.

[0209] Optionally, the processing unit is specifically used to determine that the distance between the first position and the second position is greater than or equal to a first threshold value, and record the second connection establishment failure information; and / or, the processing unit is specifically used to determine that the distance between the first position and the second position is less than the first threshold value, and not record the second connection establishment failure information.

[0210] Optionally, the transceiver unit is further used to receive first indication information from a first network device, where the first indication information is used to indicate the first threshold value, and the first network device is a network device that manages the first cell.

[0211] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0212] It should also be understood that when the communication device 400 is a terminal device, the transceiver unit 420 in the communication device 400 can be implemented through a communication interface (such as a transceiver, a transceiver circuit, a pin or an input / output interface), for example, corresponding to Figure 5 The transceiver 510 in the terminal device 500 shown in FIG. 4 may be implemented by the processing unit 410 in the communication device 400 by at least one processor, for example, corresponding to Figure 5 The processor 520 in the terminal device 500 shown in FIG. 4 and the processing unit 410 in the communication device 400 can be implemented by at least one logic circuit.

[0213] In another possible design, the communication device 400 may correspond to the network device in the above method embodiment, for example, or a component (such as a chip or circuit, etc.) configured in (or used for) the network device, or other devices, modules, circuits or units capable of implementing the method of the network device.

[0214] It should be understood that the communication device 400 may correspond to the steps or processes implemented by the network devices in the methods 200 and 300 of the embodiments of the present application. The communication device 400 may include a device for executing Figure 2 、 Figure 3 The units of the method performed by the network device in the methods 200 and 300 are respectively Figure 2 、 Figure 3 The corresponding processes of methods 200 and 300 in FIG.

[0215] In some possible implementations, the transceiver unit in the communication device 400 is an input / output interface or circuit in a chip, and the processing unit 410 in the communication device 400 may be a processor in the chip.

[0216] Optionally, the processing unit 410 can be used to process instructions or data to implement corresponding operations.

[0217] Optionally, the communication device 400 may further include a storage unit 430, which may be used to store instructions or data, and the processing unit may read / execute the instructions or data stored in the storage unit 430 to enable the communication device to perform corresponding operations. In a possible implementation, the storage unit 430 in the communication device 400 may correspond to Figure 6 The memory in the network device 600 shown in FIG.

[0218] The communication device executes Figure 2 In the method 200 shown, exemplarily, the processing unit is used to determine the running duration of the timer, and the timer is used by the terminal device to determine the processing method of the connection establishment failure information; the transceiver unit sends a first indication information to the terminal device, and the first indication information is used to indicate the running duration of the timer.

[0219] The communication device executes Figure 3 In the method 300 shown, exemplarily, the processing unit is used to determine a first threshold value, which is used by the terminal device to determine whether to record connection establishment failure information; the transceiver unit is used to send first indication information to the terminal device, and the first indication information is used to indicate the first threshold value.

[0220] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0221] It should also be understood that when the communication device 400 is a network device, the transceiver unit 420 in the communication device 400 can be implemented through a communication interface (such as a transceiver, a transceiver circuit, a pin or an input / output interface), for example, corresponding to Figure 6 The transceiver 610 in the network device 600 shown in FIG. 4 may be implemented by the processing unit 410 in the communication device 400 by at least one processor, for example, corresponding to Figure 6 The processor 620 in the network device 600 shown in FIG. 4 and the processing unit 410 in the communication apparatus 400 may be implemented by at least one logic circuit.

[0222] Figure 5 This is a schematic diagram of the structure of the terminal device 400 provided in the embodiment of the present application. The terminal device 500 can be applied to Figure 1The system shown in FIG. 10 performs the functions of the terminal device in the above-described method embodiment. As shown in the figure, the terminal device 500 includes a processor 520 and a transceiver 510. Optionally, the terminal device 500 also includes a memory. The processor 520, the transceiver 510, and the memory can communicate with each other via internal connection paths to transmit control and / or data signals. The memory is used to store computer programs, and the processor 520 is used to execute the computer programs in the memory to control the transceiver 510 to transmit and receive signals.

[0223] The processor 520 and the memory can be combined into a processing device, and the processor 520 is used to execute the program code stored in the memory to implement the above functions. In specific implementation, the memory can also be integrated into the processor 520, or independent of the processor 520. The processor 520 can be combined with the memory Figure 4 The processing units in .

[0224] The transceiver 510 can be used with Figure 4 The transceiver 510 may include a receiver (or receiver, receiving circuit) and a transmitter (or transmitter, transmitting circuit). The receiver is used to receive signals, and the transmitter is used to transmit signals.

[0225] It should be understood that Figure 5 The terminal device 500 shown can realize Figure 2 、 Figure 3 The illustrated method embodiment involves processes in a terminal device. The operations and / or functions of the various modules in the terminal device 500 are respectively for implementing the corresponding processes in the aforementioned method embodiment. For details, please refer to the description in the aforementioned method embodiment. To avoid repetition, detailed description is appropriately omitted here.

[0226] The processor 520 can be used to execute the actions implemented within the terminal device described in the previous method embodiments, while the transceiver 510 can be used to execute the actions of the terminal device sending to or receiving from the network device described in the previous method embodiments. For details, please refer to the description of the previous method embodiments, which will not be repeated here.

[0227] Optionally, the terminal device 500 may further include a power supply for providing power to various devices or circuits in the terminal device.

[0228] In addition, in order to make the functions of the terminal device more complete, the terminal device 500 may also include one or more of an input unit, a display unit, an audio circuit, a camera and a sensor, etc. The audio circuit may also include a speaker, a microphone, etc.

[0229] Figure 6This is a schematic diagram of the structure of a network device provided in an embodiment of the present application. The network device 600 can be applied to Figure 1 In the system shown, the functions of the network device in the above-described method embodiment are implemented. For example, a schematic diagram of the relevant structure of the network device can be provided. As shown, the network device 600 includes a processor 620 and a transceiver 610. Optionally, the network device 600 also includes a memory. The processor 620, the transceiver 610, and the memory can communicate with each other via internal connection paths to transmit control and / or data signals. The memory is used to store computer programs, and the processor 620 is used to execute the computer programs in the memory to control the transceiver 610 to transmit and receive signals.

[0230] It should be understood that Figure 6 The network device 600 shown is capable of implementing Figure 2 、 Figure 3 The illustrated method embodiment involves various processes of the network device. The operations and / or functions of the various modules in the network device 600 are respectively for implementing the corresponding processes in the above method embodiment. For details, please refer to the description of the above method embodiment. To avoid repetition, detailed description is appropriately omitted here.

[0231] It should be understood that Figure 6 The network device 600 shown may be an eNB or a gNB. Optionally, the network device includes CU, DU, and AAU network devices, etc. Optionally, the CU may be specifically divided into a CU-CP and a CU-UP. This application does not limit the specific architecture of the network device.

[0232] An embodiment of the present application further provides a processing device, including a processor and a (communication) interface; the processor is used to execute the method in any of the above method embodiments.

[0233] It should be understood that the above-mentioned processing device may be one or more chips. For example, the processing device may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0234] In an embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in an embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.

[0235] According to the method provided in the embodiment of the present application, the present application also provides a computer program product, which includes: computer program code (or instructions), when the computer program code is executed by one or more processors, the device including the processor executes Figure 2 、 Figure 3 The method in the embodiment shown.

[0236] The technical solutions provided in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium.

[0237] According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium, which stores program code (or instructions). When the program code is executed by one or more processors, the device including the processor executes Figure 2 、 Figure 3 The method in the embodiment shown.

[0238] According to the method provided in the embodiment of the present application, the present application also provides a system, which includes the one or more network devices mentioned above. The system may further include the one or more terminal devices mentioned above.

[0239] The network devices in the above-mentioned various apparatus embodiments completely correspond to the network devices or terminal devices in the terminal devices and method embodiments, and the corresponding steps are performed by the corresponding modules or units. For example, the communication unit (transceiver) performs the receiving or sending steps in the method embodiments, and other steps except sending and receiving can be performed by the processing unit (processor). The functions of the specific units can be referred to the corresponding method embodiments. Among them, there can be one or more processors.

[0240] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0241] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0242] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0243] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0244] In the embodiments of the present application, under the premise that there is no logical contradiction, the embodiments may reference each other, for example, the methods and / or terms between method embodiments may reference each other, for example, the functions and / or terms between device embodiments may reference each other, for example, the functions and / or terms between device embodiments and method embodiments may reference each other.

[0245] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A communication method, characterized in that: include: Determining that a connection establishment failure occurs between the terminal device and the first cell at the first location of the terminal device, and recording first connection establishment failure information; determining that a connection establishment failure between the terminal device and the first cell occurs again at a second location of the terminal device, and determining whether to record second connection establishment failure information according to the first location and the second location; Sending a connection establishment failure report, where the connection establishment failure report is used to indicate that a connection establishment failure has occurred between the terminal device and the first cell; Determining whether to record second connection establishment failure information according to the first position and the second position includes one of the following: determining that the distance between the first location and the second location is greater than a first threshold, and recording information about a failure to establish the second connection; and / or determining that the distance between the first location and the second location is less than the first threshold, and not recording information about a failure to establish the second connection; or, Determining that the distance between the first location and the second location is less than or equal to a first threshold, recording second connection establishment failure information, and deleting the first connection establishment failure information; or, Determining that the distance between the first location and the second location is less than or equal to a first threshold value, and if the timer has not expired, updating the connection establishment failure count indication information in the first connection establishment failure information; or, Determine that the distance between the first location and the second location is less than or equal to a first threshold value, and before the timer times out, record second connection establishment failure information, and delete the first connection establishment failure information.

2. The method according to claim 1, characterized in that The method further comprises: After determining that a connection establishment failure between the terminal device and the first cell occurs at the first location, the timer is started.

3. The method according to claim 2, characterized in that The method further comprises: Receive duration information of the timer from the first network device.

4. The method according to claim 1 or 3, characterized in that The method further comprises: First indication information is received from a first network device, where the first indication information is used to indicate the first threshold value, and the first network device is a network device that manages the first cell.

5. A communication device, characterized in that: The method comprises at least one unit for implementing the communication method according to any one of claims 1 to 4.

6. A communication device, characterized in that: comprising at least one processor coupled to a memory; The memory is used to store programs or instructions; The at least one processor is configured to execute the program or instruction so as to enable the apparatus to implement the method according to any one of claims 1 to 4.

7. A computer-readable storage medium comprising a computer program, which, when executed by one or more processors, causes an apparatus comprising the processor to perform the method according to any one of claims 1 to 4.

8. A computer program product, characterized in that The computer program product comprises a computer program, which enables a computer to perform the method according to any one of claims 1 to 4 when the computer program is executed.

9. A chip, characterized in that: comprising at least one processor and a communication interface; The communication interface is used to receive signals input to the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method according to any one of claims 1 to 4 through logic circuits or executing code instructions.

10. A communication system comprising a communication device for executing the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Systems and methods for controlling logging and reporting under constraints

    CN104904260A

  • Method and device with application of cell connection establishment failure report

    CN105764065A