WO2023098352A1 - Disconnection detection method, disconnection detection device, and storage medium - Google Patents

Disconnection detection method, disconnection detection device, and storage medium Download PDF

Info

Publication number
WO2023098352A1
WO2023098352A1 PCT/CN2022/127857 CN2022127857W WO2023098352A1 WO 2023098352 A1 WO2023098352 A1 WO 2023098352A1 CN 2022127857 W CN2022127857 W CN 2022127857W WO 2023098352 A1 WO2023098352 A1 WO 2023098352A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network
interface
core network
release
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/127857
Other languages
French (fr)
Chinese (zh)
Inventor
李志安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2023098352A1 publication Critical patent/WO2023098352A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present disclosure relates to the field of mobile Internet, and in particular to an off-network detection method, an off-network detection device and a storage medium.
  • Abnormal disconnection of terminals has a great impact on user perception.
  • Accurate identification of abnormal terminal disconnection helps to optimize the network and improve user perception. Therefore, identifying abnormal terminal disconnection has always been paid attention to.
  • the main purpose of the embodiments of the present disclosure is to provide an off-network detection method, an off-network detection device, and a storage medium.
  • an embodiment of the present disclosure provides an off-network detection method, including: receiving a related signaling link establishment request from the terminal within a preset time before the core network initiates an abnormal terminal context release for the terminal In the case of , it is determined that the terminal is disconnected from the network.
  • an embodiment of the present disclosure further provides an off-network detection device, the off-network detection device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and used to implement A data bus connecting and communicating between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the off-network detection methods provided in this disclosure are implemented.
  • an embodiment of the present disclosure further provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors , so as to realize the steps of any offline detection method provided in the present disclosure.
  • FIG. 1 is a schematic flow diagram of an off-network detection method provided by an embodiment of the present disclosure
  • Fig. 2 is a schematic flow chart of the sub-steps of the off-grid detection method in Fig. 1;
  • FIG. 3a and FIG. 3b are schematic network diagrams of a terminal context release process provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of applying the off-network detection method provided by the present disclosure in a 4G network according to Embodiment 1 of the present disclosure;
  • FIG. 5 is a schematic flowchart of applying the off-network detection method provided by the present disclosure in a 5G network according to Embodiment 2 of the present disclosure.
  • Fig. 6 is a schematic structural block diagram of an off-network detection device provided by an embodiment of the present disclosure.
  • the main reason for the abnormal disconnection of the terminal is the abnormality of the wireless link, so the abnormal disconnection of the terminal and the abnormality of the wireless link are often interchangeable.
  • the 2G or 3G network is mainly for voice services, the terminal transmits continuously, and the terminal transmits continuously within a scheduling time.
  • the quality of the uplink message can be used to accurately determine whether the terminal has been disconnected from the network.
  • 4G, including the current 5G, is oriented to For packet data services, the time allocated for one scheduling is very short, which has caused the base station in 2G and 3G networks to detect off-network based on the quality of uplink transmission to fail in 4G and 5G.
  • the relevant network optimization methods for 4G and 5G are all limited to the interior of the wireless network, and are limited by the base station, the function realization of the terminal and whether it is enabled or not. Therefore, there is an urgent need for an abnormal off-network detection method that does not depend on base stations and terminals.
  • the 2G or 3G network is mainly for voice services, and the terminal transmits continuously.
  • the quality of the received uplink message can be detected on the base station side to accurately determine whether the terminal is off-net. Even for data services, the time allocated for one scheduling is relatively long, and the terminal sends continuously within one scheduling time. Therefore, the quality of uplink packets can also be used to accurately determine whether the terminal is offline. Therefore, in the 2/3G era, it is relatively easy to identify abnormal terminal disconnection.
  • the terminal judges whether it is in an out-of-sync state by periodically detecting the quality of the downlink signal.
  • 3GPP 36.213 4.2.1 defines that the terminal must perform periodic signal measurement, and report to the upper layer based on the signal quality whether it is in-sync (in-sync) or out-of-sync (out-of-sync) indication. If the number of consecutive out-of-synchronization status indications exceeds N310, it will enter the out-of-synchronization confirmation state.
  • the base station configures three counters or timers N310, T310, and N311 to control the degree of difficulty for the terminal to detect air interface link failure.
  • N310 represents the maximum number of continuous "out-of-synchronization state" indications
  • T310 represents the duration of confirming the out-of-synchronization state
  • N311 represents the maximum number of continuous "synchronization state” indications exiting the failed state.
  • SIB2 system message 2
  • the terminal After the wireless link fails, the terminal will initiate a cell selection process to search for a new camping cell again. If a new resident cell is found within T311 and the security context is activated before the radio link failure occurs, the terminal will initiate an RRC (Radio Resource Control) reconstruction process to try to restore communication with the base station. If no new cell is found after the T311 timer expires, or the RRC re-establishment fails, or the security context is not activated when the link fails, the terminal will release the RRC connection and enter the idle (IDLE) state.
  • the base station finds that the network quality is poor according to the frequency and density of the RRC re-establishment process, which is a means to optimize the wireless network. However, whether to initiate the RRC re-establishment process is limited by the time to find the new resident cell, and the new resident cell may be inconsistent with the cell where the radio link failed, which affects the judgment of poor network quality.
  • SON Self Organization Network, self-organizing network
  • RLF Radio Link Failure
  • the RRC re-establishment completion signaling, the RRC connection establishment completion signaling, and the RRC reconfiguration completion signaling all include the rlf-InfoAvailable flag bit.
  • the base station can initiate the ueInformationRequest/ueInformationResponse process to collect the signal information from the UE when the radio link fails, as auxiliary information for network optimization, thus providing a basis for network optimization based on radio link failure Rich information.
  • this function is optional.
  • the terminal may not support the collection and reporting of wireless link information, the base station may not support the extraction of wireless link information, or the wireless link information may not be processed after extraction.
  • the above network optimization methods are all limited to the interior of the wireless network, and are limited by the base station, the function realization of the terminal and whether it is enabled or not. If this function is not supported in the 5G NR R15 protocol, this function cannot be used. Therefore, there is an urgent need to provide a method for detecting terminal off-network that does not depend on the base station and the network.
  • Embodiments of the present disclosure provide an off-network detection method, an off-network detection device, and a storage medium.
  • the offline detection method can be applied to mobile terminals, and the mobile terminals can be electronic devices such as mobile phones, tablet computers, notebook computers, desktop computers, personal digital assistants and wearable devices.
  • FIG. 1 is a schematic flow chart of an off-network detection method provided by an embodiment of the present disclosure.
  • the off-network detection method can be applied to off-network detection equipment.
  • the offline detection method includes step S101.
  • Step S101 if the core network receives a related signaling link establishment request from the terminal within a preset time before the release of the abnormal terminal context initiated by the terminal, determine that the terminal is offline.
  • the air interface link of the mobile Internet (including 4G LTE, 5G NR) is established on demand.
  • a new RRC connection establishment request will be initiated. If the terminal T311 does not find a new resident cell after the timeout, or releases the RRC connection after RRC re-establishment fails, enters the IDLE state, and does not notify the base station, the base station is still in the RRC connection state, and the core network call control network element still considers that During communication. At this time, if the terminal has uplink data to send but finds that there is no RRC connection, the terminal will initiate an RRC establishment process to resume communication.
  • the terminal communication link includes two parts, one part is the RRC connection between the terminal and the base station, and the other part is the terminal signaling-related link between the base station and the core network and an optional media plane tunnel connection.
  • the last signaling rrcConnectionSetupComplete of the RRC connection establishment process between the terminal and the base station includes the NAS (Non-Access Stratum) signaling sent by the terminal to the core network call control network element, and the base station forwards this NAS signaling to the core network call control network element. Control network elements to establish terminal-related signaling links.
  • NAS Non-Access Stratum
  • the present disclosure realizes the discovery of air interface link failure or terminal off-network based on the signaling between the base station and the core network.
  • step S101 includes: sub-step S1011 to sub-step S1013.
  • Sub-step S1011 collect the signaling data of each interface around the core network call control network element, analyze the signaling data to generate XDR; wherein, the XDR includes at least: the record of the release of the terminal context initiated by the core network, the terminal identification, A record of the terminal's signaling link establishment request.
  • XDR Extended Data Record
  • CDR Call Data Record
  • TDR Transaction Data Record
  • SDR Service Data Record
  • TDR is a basic session process record, which is used to describe a basic signaling process between two signaling points.
  • the CDR is a signaling process that represents a relay call connection process.
  • SDR is a record of the whole service process, which is used to describe the complete signaling coordination process that occurs when a user uses a network service.
  • Each interface around the core network call control network element includes: a first interface and a second interface, the first interface is the interface between the core network call control network element and the base station, and the second interface is the core network call control network element.
  • An interface between a network element and other network elements of the core network, and the second interface carries a terminal identifier.
  • the core network call control network element is an MME (Mobility Management Entity), and its surrounding interfaces include: the S1MME interface between the MME and the base station, and the S11 interface between the MME and the XGW.
  • XDR such as the XDR definition in China Mobile's unified DPI specification.
  • the core network call control network element is AMF (Access and Mobility Management Function).
  • the surrounding interfaces include: N2 interface between AMF and base station, N11 interface between AMF and SMF (Session Management Function), N12 interface between AMF and AUSF (Authentication Server Function), among them, N11 interface carries terminal logo. Collect the original signaling data on each interface and analyze the signaling to extract key information to generate XDR, such as the definition of XDR in China Mobile's 5G Internet Log Retention System Specification.
  • the interface between the core network call control network element and the base station generally does not carry a permanent identifier of the terminal, such as IMSI (International Mobile Subscriber Identity).
  • IMSI International Mobile Subscriber Identity
  • the interface between the core network call control network element and other core network elements, such as the S11 or N11 interface may carry the permanent user identification of the terminal.
  • the tunnel identifier TEID tunnel Endpoint Identifier
  • the terminal permanent user identifier of the S11/N11 interface belonging to the same session is used to backfill to XDR.
  • the signaling data of each interface around the core network call control network element can be collected, and the signaling data can be analyzed according to the technical specifications of the industry to generate XDR.
  • XDR extracts the key information of each piece of information belonging to the same signaling interaction process and saves it in the form of records.
  • Sub-step S1012 screen out abnormal terminal context release records initiated by the core network.
  • UE Context Release includes three situations: a context release request initiated by the terminal, a context release initiated by the base station, and a context release initiated by the core network.
  • FIG. 3 it is a schematic diagram of a UE context release process initiated by a base station and a core network in an LTE network.
  • FIG. 3a shows that the base station eNB (evolved NodeB) sends a terminal context release request to the core network MME (Mobility Management Entity).
  • Figure 3b shows the MME (Mobility Management Entity) of the core network sending a terminal context release command to the base station eNB.
  • the terminal context release process initiated by the base station includes two parts a and b, that is, first the base station sends a terminal context release request to the core network, and then the core network sends a terminal context release command to the base station.
  • the process of releasing the terminal context initiated by the core network only includes part b, and the core network directly sends a terminal context release command to the base station.
  • the screening method is: according to the record of the terminal context release initiated by the core network including the reason for initiating the terminal context release, to exclude the terminal context release initiated by the core network due to normal service requirements.
  • the UE CONTEXT RELEASE COMMAND signaling sent by the core network contains the Cause field indicating the reason for initiating the context release.
  • the Cause carried by the terminal context on the release source base station side is Successful Handover (successful handover), Handover Canceled (cancel handover).
  • successful handover successful handover
  • Handover Canceled cancel handover
  • there is a corresponding call flow switching process cooperation which is a normal business requirement. Therefore, after excluding the case where the core network initiates the release of the terminal context based on normal services based on the reasons, the remaining records are the abnormal terminal context release records.
  • the release of the terminal context initiated by the core network is an abnormal terminal context release. Further, it is also necessary to judge whether the same terminal has a signaling link establishment request.
  • Sub-step S1013 according to the release time of each abnormal terminal context release record and the terminal identification of the targeted terminal, when within the preset time before the release time, it is determined that there is an error message from the same terminal When the relevant signaling link establishment request is made, it can be determined that the terminal is disconnected from the network.
  • search forward Starting from the time when the core network initiates the release of the abnormal terminal context, search forward for a preset period of time. If there is a related signaling link establishment request for the same terminal sent by the base station within this preset period of time, it means that the terminal has previously A disconnection has occurred.
  • the base station determines the base station where the terminal is abnormally disconnected from the network, and according to the cell information contained in the terminal-related signaling link establishment request sent by the base station to the core network, determine the disconnection The terminal re-connects to the new camping cell of the network.
  • the preset time is generally not If it exceeds 100 milliseconds, the value is determined according to different services of the network, which is not limited in the present disclosure.
  • the preset time may be set to 30 milliseconds.
  • the off-network detection method provided by the present disclosure can detect the off-network situation based on the signaling between the base station and the core network, so it is not limited by the functions of the base station, network and terminal, has good versatility, and can be used in a wide range. It has been used for a long time to detect the scene where the terminal is abnormally disconnected from the network in the wireless network, which improves the efficiency of finding poor wireless network quality, and can provide basis and auxiliary information for wireless network optimization and user experience improvement.
  • the present disclosure also provides an embodiment of applying the method to a network.
  • the method of the present disclosure is applied to detect off-network conditions in a 4G LTE network, and the entire processing flow is divided into four steps.
  • the core network call control network element is MME (Mobility Management Entity).
  • Step 1 collect the original signaling of each interface around the MME, and extract key information to generate an XDR.
  • the interfaces around the MME include the S1MME interface between the MME and the base station, the S11 interface between the MME and the XGW, and the S6a interface between the MME and the HSS.
  • Step 1 can be completed based on a common signaling monitoring and collection platform.
  • XDR extracts the key information of each piece of information belonging to the same signaling interaction process and saves it in the form of records.
  • the call process of 4G S1MME interface includes:
  • the XDR record corresponding to the 4G network is as follows:
  • Step 2 Backfill the permanent identifier of the terminal for XDR.
  • the interface between the MME and the base station generally does not carry a permanent identifier of the terminal, such as IMSI (International Mobile Subscriber Identity).
  • IMSI International Mobile Subscriber Identity
  • the interface between the MME and other network elements of the core network, such as the S11 interface can carry the permanent user identification of the terminal.
  • the tunnel identifier TEID tunnel Endpoint Identifier
  • TEID tunnel Endpoint Identifier
  • the terminal permanent identification determined from some XDRs within the same call can be extended to all XDRs of the same call. Since the collection part of the signaling monitoring platform usually includes the backfill function of the terminal permanent identification, the synthesis server of the signaling monitoring platform completes the second step.
  • Step 3 Analyze the XDR, and filter out records of abnormal terminal context release initiated by the core network.
  • the abnormal terminal context release records that need to be generated for abnormal services initiated by the core network are selected.
  • the release of the terminal context can be initiated by the base station or by the core network.
  • the terminal context release initiated by the base station is that the base station first sends a request message to the core, and then the core network sends a terminal context release signaling to the base station.
  • the release of the terminal context initiated by the core network means that the core network directly sends the signaling of the release of the terminal context to the base station.
  • the cause field included in the UE CONTEXT RELEASE COMMAND signaling sent by the core network gives the reason for initiating the release. For some reasons, for example, when the handover between stations is completed, the cause carried by the terminal context on the release source base station side is Successful Handover, the handover between stations fails, and the terminal context on the target base station side is released as Handover Canceled, and the corresponding process cooperation is required for normal business. Excluding the case of releasing the terminal context required by the normal business of the core network according to the cause value, the remaining release records required by the abnormal business.
  • Step 4 Judging whether the core network has received a related signaling link establishment request from the same terminal within a preset time before initiating the context release of the abnormal terminal, so as to determine whether the terminal is disconnected from the network.
  • the time interval between the two is very short.
  • the preset time can be set to 30ms .
  • the base station sends the terminal-related signaling link establishment request to carry the NAS signaling received from the terminal, generally Service Request, 4G TAU (Tracking Area Updating), 4G ATTACH request. Therefore, the base station where the terminal is abnormally disconnected from the network can be determined according to the base station corresponding to the abnormal terminal context release record initiated by the core network, and the cell corresponding to the terminal-related signaling link establishment request sent by the base station is the terminal re-accessing the network new residence area.
  • 4G TAU Track Area Updating
  • the off-network detection method provided by the embodiments of the present disclosure can detect the off-network situation of the 4G network based on the signaling between the base station and the core network, and is not limited by the functions of the base station, network, and terminal, and has good versatility. It can be used in a wide range and for a long time to detect the scene where the terminal is abnormally disconnected from the network in the wireless network. It can improve the efficiency of finding poor wireless network quality, and provide basis and auxiliary information for wireless network optimization and user experience improvement.
  • the method disclosed in the present disclosure is applied to detect off-network conditions in a 5G NR network, and the entire processing flow is divided into four steps.
  • the core network call control network element is AMF (Access and Mobility Management Function).
  • Step 1 Collect the original signaling of each interface around the AMF, and extract key information to generate XDR.
  • the interfaces around the AMF include the N2 interface between the AMF and the base station, and the N11 interface between the AMF and the SMF (Session Management Function). N12 interface between AMF and AUSF (Authentication Server Function). Collect the original signaling on each interface and analyze the signaling to generate XDR, such as the XDR definition in China Mobile's 5G Internet Log Retention System Specification.
  • XDR extracts the key information of each piece of information belonging to the same signaling interaction process and saves it in the form of records.
  • the call process of 5G N1N2 interface includes:
  • the collection platform for signaling monitoring can complete this step.
  • the generated XDR records are as follows:
  • Step 2 Backfill the permanent identifier of the terminal for XDR.
  • the interface between the AMF and the base station generally does not carry the permanent identification of the terminal, such as IMSI (International Mobile Subscriber Identity).
  • the interface between the call control network element of the core network and other network elements of the core network, such as the N11 interface may carry the permanent user identification of the terminal.
  • the tunnel identifier TEID tunnel Endpoint Identifier
  • Each XDR in the N2 interface is identified according to the NgAPID and other labels to combine the XDRs belonging to the same call.
  • the terminal permanent identification determined from some XDRs within the same call can be extended to all XDRs of the same call.
  • the collection part of the signaling monitoring platform usually includes the backfill function of the permanent identification of the terminal. Usually done by compositing servers.
  • Step 3 Analyze the XDR, and filter out records of abnormal terminal context release initiated by the core network.
  • the release of the terminal context can be initiated by the base station or by the core network.
  • the terminal context release initiated by the base station is that the base station first sends a request message to the core, and then the core network sends a terminal context release signaling to the base station.
  • the release of the terminal context initiated by the core network means that the core network directly sends the signaling of the release of the terminal context to the base station.
  • the cause field included in the UE CONTEXT RELEASE COMMAND signaling sent by the core network gives the reason for initiating the release. For some reasons, such as the completion of inter-station handover, release the Cause carried by the terminal context on the source base station side is Successful Handover, if the inter-station handover fails, release the terminal context Handover Canceled on the target base station side. According to the cause value, the remaining abnormal release records are excluded when the core network normally releases the terminal context.
  • Step 4 Judging whether the core network has received a related signaling link establishment request from the same terminal within a preset time before initiating the context release of the abnormal terminal, so as to determine whether the terminal is disconnected from the network.
  • the core network Since the core network detects the existence of the legacy terminal context and initiates the abnormal release after receiving the terminal-related signaling link establishment request sent by the base station, this time should be very short and should not exceed 100ms. It is recommended to choose 30ms.
  • the base station sends the terminal-related signaling link establishment request to carry the NAS signaling received from the terminal, which is generally Service Request, 5G Registration.
  • the base station corresponding to releasing the terminal context is the base station where the terminal is abnormally disconnected from the network, and the cell where the base station sends the terminal-related signaling link establishment request is the new resident cell where the terminal reconnects to the network.
  • the off-network detection method provided by the embodiments of the present disclosure can detect the off-network situation of the 5G network based on the signaling between the base station and the core network, and is not limited by the functions of the base station, network, and terminal, and has good versatility. It can be used in a wide range and for a long time to detect the scene where the terminal is abnormally disconnected from the network in the wireless network. It can improve the efficiency of finding poor wireless network quality, and provide basis and auxiliary information for wireless network optimization and user experience improvement.
  • FIG. 6 is a schematic structural block diagram of an off-network detection device provided by an embodiment of the present disclosure.
  • the offline detection device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected through a bus 303, such as an I2C (Inter-integrated Circuit) bus.
  • a bus 303 such as an I2C (Inter-integrated Circuit) bus.
  • the processor 301 is used to provide computing and control capabilities to support the operation of the entire offline detection device.
  • the processor 301 can be a central processing unit (Central Processing Unit, CPU), and the processor 301 can also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 302 can be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
  • the structure shown in Figure 6 is only a block diagram of a partial structure related to the embodiment of the present disclosure, and does not constitute a limitation on the off-network detection device to which the embodiment of the present disclosure is applied.
  • the server may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • the processor is configured to run a computer program stored in the memory, and implement any one of the off-network detection methods provided in the embodiments of the present disclosure when the computer program is executed.
  • the processor is configured to run a computer program stored in a memory, and implement the following steps when executing the computer program:
  • the core network If the core network receives a related signaling link establishment request from the terminal within a preset time before initiating an abnormal terminal context release for the terminal, it determines that the terminal is disconnected from the network.
  • the processor when the processor implements the offline detection method, it is configured to: obtain the abnormal terminal context release record initiated by the core network; according to the release time of each abnormal terminal context release record and For the terminal identifier of the terminal, when it is determined that there is a related signaling link establishment request from the same terminal within the preset time before the release time, it is determined that the terminal is offline.
  • the processor when it obtains the abnormal terminal context release record initiated by the core network, it is used to: collect signaling data of interfaces around the call control network element of the core network, and analyze the signaling data. Make the data generate XDR; wherein, the XDR includes at least: the record of the terminal context release initiated by the core network, the terminal identifier, and the record of the relevant signaling link establishment request of the terminal; Initiated exception terminal context release records.
  • the processor when the processor screens out abnormal terminal context release records initiated by the core network according to the XDR, the processor is configured to: include in the record of the terminal context release initiated by the core network An indication of the reason for initiating the release of the terminal context; when it is determined that the cause indication is not either Successful Handover or Handover Cancelled, the release of the terminal context initiated by the core network is an abnormal terminal context release.
  • the surrounding interfaces include: a first interface and a second interface, the first interface is the interface between the core network call control network element and the base station, and the second interface is the interface between the core network The interface between the call control network element and other network elements of the core network, and the second interface carries the terminal identifier; when the processor implements parsing the signaling data to generate XDR, it is used to implement: according to the parsing The XDR is generated from the analysis result obtained from the signaling data of the first interface and the terminal identifier obtained from the parameters of the second interface.
  • the processor when the processor implements the off-network detection method, it is used to implement: for a 4G network, the core network call control network element is an MME, and the first interface is between the MME and the base station The S1MME interface; the second interface is an S11 interface between the MME and the XGW, where the S11 interface carries the terminal identifier.
  • the processor when the processor implements the off-network detection method, it is used to implement: for a 5G network, the core network call control network element is an AMF, and the first interface is the AMF and the base station An N2 interface between them; the second interface is an N11 interface between the AMF and the SMF, where the N11 interface carries the terminal identifier.
  • the core network call control network element is an AMF
  • the first interface is the AMF and the base station An N2 interface between them
  • the second interface is an N11 interface between the AMF and the SMF, where the N11 interface carries the terminal identifier.
  • the processor when the processor implements the offline detection method, it is configured to implement: after determining that the terminal is offline, according to the abnormal terminal context release initiated by the core network for the terminal, The base station information of the base station is determined to determine the base station that has been disconnected from the network; according to the cell information corresponding to the relevant signaling link establishment request from the terminal, the new camping cell of the terminal re-accessing the network is determined.
  • An embodiment of the present disclosure also provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following: The steps of any one of the off-network detection methods provided in the description of the embodiments of the present disclosure.
  • the storage medium may be an internal storage unit of the off-network detection device described in the foregoing embodiments, such as a hard disk or a memory of the off-network detection device.
  • the storage medium can also be an external storage device of the off-network detection device, such as a plug-in hard disk equipped on the off-network detection device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
  • Embodiments of the present disclosure provide an off-network detection method, an off-network detection device, and a storage medium.
  • the off-network detection method provided by the embodiments of the present disclosure does not rely on the data provided by the base station to find out the poor quality of the off-network in the wireless network.
  • Based on the signaling between the base station and the core network to detect the off-network situation so it is not limited by the functions of the base station, network and terminal, has good versatility, and can be used in a wide range and for a long time to detect terminal occurrences in the wireless network
  • the scene of abnormal disconnection improves the efficiency of finding poor wireless network quality, and can provide basis and auxiliary information for wireless network optimization and user experience improvement.
  • the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof.
  • the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute.
  • Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Landscapes

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

Abstract

Embodiments of the present disclosure relate to the field of mobile Internets, and provide a disconnection detection method, a disconnection detection device, and a storage medium. The method comprises: in the case that a core network receives a related signaling link establishment request from a terminal within a preset time before the abnormal terminal context release initiated by the terminal, determining that the terminal is disconnected from the network.

Description

脱网检测方法、脱网检测设备及存储介质Off-network detection method, off-network detection device and storage medium

相关申请的交叉引用Cross References to Related Applications

本公开要求享有2021年12月03日提交的名称为“脱网检测方法、脱网检测设备及存储介质”的中国专利申请CN202111470425.5的优先权,其全部内容通过引用并入本公开中。This disclosure claims priority to the Chinese patent application CN202111470425.5 filed on December 03, 2021, entitled "Off-network detection method, off-network detection device and storage medium", the entire content of which is incorporated into this disclosure by reference.

技术领域technical field

本公开涉及移动互联网领域,尤其涉及一种脱网检测方法、脱网检测设备及存储介质。The present disclosure relates to the field of mobile Internet, and in particular to an off-network detection method, an off-network detection device and a storage medium.

背景技术Background technique

终端异常脱网对用户感知影响很大。准确识别出终端异常脱网有助于优化网络,提升用户感知,因此识别终端异常脱网一直倍受重视。Abnormal disconnection of terminals has a great impact on user perception. Accurate identification of abnormal terminal disconnection helps to optimize the network and improve user perception. Therefore, identifying abnormal terminal disconnection has always been paid attention to.

发明内容Contents of the invention

本公开实施例的主要目的在于提供一种脱网检测方法、脱网检测设备及存储介质。The main purpose of the embodiments of the present disclosure is to provide an off-network detection method, an off-network detection device, and a storage medium.

第一方面,本公开实施例提供一种脱网检测方法,包括:在核心网在针对终端发起异常终端上下文释放之前的预设时间内,收到来自所述终端的相关信令链路建立请求的情况下,确定所述终端发生了脱网。In the first aspect, an embodiment of the present disclosure provides an off-network detection method, including: receiving a related signaling link establishment request from the terminal within a preset time before the core network initiates an abnormal terminal context release for the terminal In the case of , it is determined that the terminal is disconnected from the network.

第二方面,本公开实施例还提供一种脱网检测设备,所述脱网检测设备包括处理器、存储器、存储在所述存储器上并可被所述处理器执行的计算机程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,其中所述计算机程序被所述处理器执行时,实现如本公开说明书提供的任一项脱网检测方法的步骤。In a second aspect, an embodiment of the present disclosure further provides an off-network detection device, the off-network detection device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and used to implement A data bus connecting and communicating between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the off-network detection methods provided in this disclosure are implemented.

第三方面,本公开实施例还提供一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如本公开说明书提供的任一项脱网检测方法的步骤。In a third aspect, an embodiment of the present disclosure further provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors , so as to realize the steps of any offline detection method provided in the present disclosure.

附图说明Description of drawings

为了更清楚地说明本公开实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present disclosure more clearly, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present disclosure. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.

图1为本公开实施例提供的一种脱网检测方法的流程示意图;FIG. 1 is a schematic flow diagram of an off-network detection method provided by an embodiment of the present disclosure;

图2为图1中的脱网检测方法的子步骤流程示意图;Fig. 2 is a schematic flow chart of the sub-steps of the off-grid detection method in Fig. 1;

图3a和图3b为本公开实施例提供的终端上下文释放流程的网络示意图;FIG. 3a and FIG. 3b are schematic network diagrams of a terminal context release process provided by an embodiment of the present disclosure;

图4为本公开实施例一提供的在4G网络中应用本公开提供的脱网检测方法的流程示意图;FIG. 4 is a schematic flowchart of applying the off-network detection method provided by the present disclosure in a 4G network according to Embodiment 1 of the present disclosure;

图5为本公开实施例二提供的在5G网络中应用本公开提供的脱网检测方法的流程示意图;以及FIG. 5 is a schematic flowchart of applying the off-network detection method provided by the present disclosure in a 5G network according to Embodiment 2 of the present disclosure; and

图6为本公开实施例提供的一种脱网检测设备的结构示意框图。Fig. 6 is a schematic structural block diagram of an off-network detection device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are part of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure.

附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flow charts shown in the drawings are just illustrations, and do not necessarily include all contents and operations/steps, nor must they be performed in the order described. For example, some operations/steps can be decomposed, combined or partly combined, so the actual order of execution may be changed according to the actual situation.

应当理解,在此本公开说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本公开。如在本公开说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise.

终端异常脱网的主要原因是无线链路存在异常,因此终端异常脱网和无线链路异常在很多时候是可以互换的。由于2G或者3G网络主要面向语音业务,终端发送是连续的,在一次调度时间内终端连续发送,可以使用上行报文质量来准确判断终端是否发生了脱网,而4G开始包括当前的5G是面向分组数据业务,一次调度分配的时间很短,导致了2G、3G网络中的基站根据检测上行传输质量来检测脱网的方法在4G、5G中失效了。而相关的关于4G、5G的网络优化方法都局限于无线网络内部,受限于基站,终端的功能实现以及是否启用。因此急需一种不依赖于基站和终端的异常脱网检测方法。The main reason for the abnormal disconnection of the terminal is the abnormality of the wireless link, so the abnormal disconnection of the terminal and the abnormality of the wireless link are often interchangeable. Since the 2G or 3G network is mainly for voice services, the terminal transmits continuously, and the terminal transmits continuously within a scheduling time. The quality of the uplink message can be used to accurately determine whether the terminal has been disconnected from the network. 4G, including the current 5G, is oriented to For packet data services, the time allocated for one scheduling is very short, which has caused the base station in 2G and 3G networks to detect off-network based on the quality of uplink transmission to fail in 4G and 5G. The relevant network optimization methods for 4G and 5G are all limited to the interior of the wireless network, and are limited by the base station, the function realization of the terminal and whether it is enabled or not. Therefore, there is an urgent need for an abnormal off-network detection method that does not depend on base stations and terminals.

2G或者3G网络主要面向语音业务,终端发送是连续的,可以在基站侧通过检测收到的上行报文质量来准确地判断终端是否脱网。即使是数据业务,一次调度分配的时间也比较长,在一次调度时间内终端连续发送,因此也可以使用上行报文质量来准确判断终端是否发生了脱网。因此在2/3G时代,识别终端异常脱网相对比较容易。The 2G or 3G network is mainly for voice services, and the terminal transmits continuously. The quality of the received uplink message can be detected on the base station side to accurately determine whether the terminal is off-net. Even for data services, the time allocated for one scheduling is relatively long, and the terminal sends continuously within one scheduling time. Therefore, the quality of uplink packets can also be used to accurately determine whether the terminal is offline. Therefore, in the 2/3G era, it is relatively easy to identify abnormal terminal disconnection.

然而从4G开始包括当前的5G是面向分组数据业务,一次调度分配的时间很短,4G LTE(Long Time Evolution长期演进技术)网络中一次调度持续时间只有1ms,另外还需要依据实际数据包的缓存情况来决定是否调度,长时间不调度也是正常的,这导致了2/3G网络中基站检测上行传输质量脱网检测方法失效了。However, since 4G, including the current 5G, is oriented to packet data services, the time for one scheduling allocation is very short, and the duration of one scheduling in 4G LTE (Long Time Evolution) network is only 1ms, and it also needs to be based on the actual data packet cache It is normal to not schedule for a long time, which leads to the failure of the off-network detection method for the base station to detect the uplink transmission quality in the 2/3G network.

4G LTE(Long Time Evolution长期演进技术)和5G NR(New Radio新无线)中终端通过周期检测下行信号质量的方法来判断是否处于失步状态。3GPP 36.213 4.2.1定义了终端必须进行周期的信号测量,基于信号质量向上层上报是处于同步状态(in-sync)指示或者失步状态(out-of-sync)指示。如果连续出现的失步状态指示的次数超过N310,就进入失步确认状态。开启定期器T310,在T310有效期间,连续出现的同步状态指示的次数超过N311,认为前面的失步是误判。如果T310定时器超时后,也没有出现连续N311个同步状态指示,就认为前面失步状态的判断是正确,记录无线链路失败(或者终端脱网)的信号信息。基站通过配置N310,T310,N311三个计数器或者定时器来控制终端检测空口链路失败的难易程度。这三个计数器或者定时器的含义是:N310表示连续“失步状态”指示的最大数目,T310表示确认失步状态的时长,N311表示退出失败状态最大连续“同步状态”指示的数目。基站这些参数的配置通过广播发送给终端,例如,LTE网络中的SIB2(系统消息2)中包括:In 4G LTE (Long Time Evolution) and 5G NR (New Radio), the terminal judges whether it is in an out-of-sync state by periodically detecting the quality of the downlink signal. 3GPP 36.213 4.2.1 defines that the terminal must perform periodic signal measurement, and report to the upper layer based on the signal quality whether it is in-sync (in-sync) or out-of-sync (out-of-sync) indication. If the number of consecutive out-of-synchronization status indications exceeds N310, it will enter the out-of-synchronization confirmation state. Turn on the timer T310, and during the effective period of T310, if the number of consecutive synchronization status indications exceeds N311, it is considered that the previous out-of-synchronization is a misjudgment. If after the T310 timer expires, there are no continuous N311 synchronization state indications, it is considered that the previous out-of-synchronization state judgment is correct, and the signal information of wireless link failure (or terminal off-network) is recorded. The base station configures three counters or timers N310, T310, and N311 to control the degree of difficulty for the terminal to detect air interface link failure. The meanings of these three counters or timers are: N310 represents the maximum number of continuous "out-of-synchronization state" indications, T310 represents the duration of confirming the out-of-synchronization state, and N311 represents the maximum number of continuous "synchronization state" indications exiting the failed state. The configuration of these parameters of the base station is broadcast to the terminal, for example, SIB2 (system message 2) in the LTE network includes:

“ue-TimersAndConstants"ue-TimersAndConstants

T300=7(ms2000)T300=7(ms2000)

T301=7(ms2000)T301=7(ms2000)

T310=5(ms1000)T310=5(ms1000)

N310=7(n20)N310=7(n20)

T311=2(ms5000)T311=2(ms5000)

N311=0(n1)”N311=0(n1)"

终端在发生无线链路失败后会发起小区选择流程重新搜索新的驻留小区。如果在T311时间内找到新的驻留小区,并且在发生无线链路失败前激活了安全上下文,终端会发起RRC(Radio Resource Control)重建的流程来尝试恢复与基站的通信。如在T311定时器超时后还没有找到新的驻留小区,或者RRC重建立失败,或者发生链路失败时没有激活安全上下文,终端会释放RRC连接进入空闲(IDLE)状态。基站依据RRC重建立流程的频次和密度发现网络质差点是优化无线网络的一种手段。但是否发起RRC重建立流程受重新找到新驻留小区的时间限制,并且新驻留小区与发生无线链路失败的小区可能不一致,影响网络质差点的判断。After the wireless link fails, the terminal will initiate a cell selection process to search for a new camping cell again. If a new resident cell is found within T311 and the security context is activated before the radio link failure occurs, the terminal will initiate an RRC (Radio Resource Control) reconstruction process to try to restore communication with the base station. If no new cell is found after the T311 timer expires, or the RRC re-establishment fails, or the security context is not activated when the link fails, the terminal will release the RRC connection and enter the idle (IDLE) state. The base station finds that the network quality is poor according to the frequency and density of the RRC re-establishment process, which is a means to optimize the wireless network. However, whether to initiate the RRC re-establishment process is limited by the time to find the new resident cell, and the new resident cell may be inconsistent with the cell where the radio link failed, which affects the judgment of poor network quality.

随着网络规模扩大网络的维护成本越来越高,为了降低网络维护成本,SON(Self Organization Network,自组织网络)越来越成熟。SON中包含了无线链路失败(RLF:Radio Link Failure),也就是终端脱网时的信号上报作为无线网络优化的参考信息。终端发生无线链路失败(或称为脱网)后,终端再次接入网络的时候,会给基站发送一个指示位。With the expansion of the network scale, the maintenance cost of the network is getting higher and higher. In order to reduce the maintenance cost of the network, SON (Self Organization Network, self-organizing network) is becoming more and more mature. SON includes radio link failure (RLF: Radio Link Failure), that is, the signal report when the terminal is off-line as reference information for wireless network optimization. After the terminal fails in the wireless link (or called off-network), when the terminal accesses the network again, it will send an indication bit to the base station.

RRC重建立完成信令、RRC连接建立完成信令、RRC重配完成信令都包含rlf-InfoAvailable标志位。基站在发现rlf-InfoAvailable标志位后,可以发起ueInformationRequest/ueInformationResponse流程从UE中收取发生无线链路失败时的信号信息,以作为网络优化的辅助信息,从而为基于无线链路失败的网络优化提供了丰富的信息。但该功能是可选的,终端可能不支持无线链路信息的采集和上报,基站可能不支持无线链路信息的提取,或者无线链路信息提取后不处理等都有可能发生。The RRC re-establishment completion signaling, the RRC connection establishment completion signaling, and the RRC reconfiguration completion signaling all include the rlf-InfoAvailable flag bit. After discovering the rlf-InfoAvailable flag, the base station can initiate the ueInformationRequest/ueInformationResponse process to collect the signal information from the UE when the radio link fails, as auxiliary information for network optimization, thus providing a basis for network optimization based on radio link failure Rich information. However, this function is optional. The terminal may not support the collection and reporting of wireless link information, the base station may not support the extraction of wireless link information, or the wireless link information may not be processed after extraction.

以上的网络优化方法都局限于无线网络内部,受限于基站,终端的功能实现以及是否启用。如5G NR R15版本的协议中还不支持这个功能,这个功能就无法使用。因此急需要提供一个不依赖于基站和网络的终端脱网的检测方法。The above network optimization methods are all limited to the interior of the wireless network, and are limited by the base station, the function realization of the terminal and whether it is enabled or not. If this function is not supported in the 5G NR R15 protocol, this function cannot be used. Therefore, there is an urgent need to provide a method for detecting terminal off-network that does not depend on the base station and the network.

本公开实施例提供一种脱网检测方法、脱网检测设备及存储介质。其中,该脱网检测方法可应用于移动终端中,该移动终端可以手机、平板电脑、笔记本电脑、台式电脑、个人数字助理和穿戴式设备等电子设备。Embodiments of the present disclosure provide an off-network detection method, an off-network detection device, and a storage medium. Wherein, the offline detection method can be applied to mobile terminals, and the mobile terminals can be electronic devices such as mobile phones, tablet computers, notebook computers, desktop computers, personal digital assistants and wearable devices.

下面结合附图,对本公开的一些实施例作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

请参照图1,图1为本公开实施例提供的一种脱网检测方法的流程示意图。该脱网检测方法可以应用于脱网检测设备中。Please refer to FIG. 1 . FIG. 1 is a schematic flow chart of an off-network detection method provided by an embodiment of the present disclosure. The off-network detection method can be applied to off-network detection equipment.

如图1所示,该脱网检测方法包括步骤S101。As shown in FIG. 1 , the offline detection method includes step S101.

步骤S101、若核心网在针对终端发起的异常终端上下文释放之前的预设时间内,收到来自所述终端的相关信令链路建立请求时,确定所述终端发生了脱网。Step S101, if the core network receives a related signaling link establishment request from the terminal within a preset time before the release of the abnormal terminal context initiated by the terminal, determine that the terminal is offline.

移动互联网(包括4G LTE,5G NR)的空口链路是按需建立的,当有数据要发送但空口链路没有RRC连接,会发起新的RRC连接建立请求。终端T311超时后若没有搜索到新的驻留小区,或者RRC重建立失败后释放RRC连接,进入IDLE状态,并没有通知到基站,基站仍然处于RRC连接状态,核心网呼叫控制网元仍然认为在通信过程中。这时候如果终端有上行数据需要发送但发现无RRC连接,终端会发起RRC建立流程来恢复通信。终端通信链路包括两部分,一部分是终端与基站之间的RRC连接,另一部分是基站与核心网之间终端信令相关链路及可选的媒体面隧道连接。终端与基站之间的RRC连接建立流程的最后一条信令rrcConnectionSetupComplete包含了终端发送给核心网呼叫控制网元的NAS(Non-Access Stratum)信令,基站将这条NAS信令转发给核心网呼叫控制网元以建立终端相关信令链路。The air interface link of the mobile Internet (including 4G LTE, 5G NR) is established on demand. When there is data to be sent but the air interface link has no RRC connection, a new RRC connection establishment request will be initiated. If the terminal T311 does not find a new resident cell after the timeout, or releases the RRC connection after RRC re-establishment fails, enters the IDLE state, and does not notify the base station, the base station is still in the RRC connection state, and the core network call control network element still considers that During communication. At this time, if the terminal has uplink data to send but finds that there is no RRC connection, the terminal will initiate an RRC establishment process to resume communication. The terminal communication link includes two parts, one part is the RRC connection between the terminal and the base station, and the other part is the terminal signaling-related link between the base station and the core network and an optional media plane tunnel connection. The last signaling rrcConnectionSetupComplete of the RRC connection establishment process between the terminal and the base station includes the NAS (Non-Access Stratum) signaling sent by the terminal to the core network call control network element, and the base station forwards this NAS signaling to the core network call control network element. Control network elements to establish terminal-related signaling links.

当终端没有通知网络就释放呼叫,终端和网络维护的状态会出现不一致,核心网收到基站转发过来的NAS信令请求建立终端相关信令链接时会发现对应的终端仍然在通信过程中,因而会发起异常终端上下文释放。因此,如果在异常终端上下文释放之前的短时间内,网络侧收到了基站发送的来自同一个终端的相关信令链路建立连接请求,说明在之前发生了未通知网络侧的呼叫释放,也即表明之前终端发生了脱网。本公开正是基于这一点来实现基于基站与核心网的信令来发现空口链路失败或者终端脱网情况。When the terminal releases the call without notifying the network, the maintenance status of the terminal and the network will be inconsistent. When the core network receives the NAS signaling request forwarded by the base station to establish a terminal-related signaling link, it will find that the corresponding terminal is still in the communication process. An abnormal terminal context release will be initiated. Therefore, if the network side receives a related signaling link establishment request sent by the base station from the same terminal within a short period of time before the release of the abnormal terminal context, it means that a call release that was not notified to the network side occurred before, that is, It indicates that the terminal was disconnected from the network before. Based on this point, the present disclosure realizes the discovery of air interface link failure or terminal off-network based on the signaling between the base station and the core network.

通过判断核心网在针对终端发起异常终端上下文释放之前的预设时间内,是否收到来自所述终端的相关信令链路建立请求,若收到来自所述终端的相关信令链路建立请求时,即可确定该终端发生了脱网。By judging whether the core network has received a relevant signaling link establishment request from the terminal within the preset time before initiating an abnormal terminal context release for the terminal, if the relevant signaling link establishment request from the terminal is received , it can be determined that the terminal has gone offline.

在一实施例中,参照图2,步骤S101包括:子步骤S1011至子步骤S1013。In one embodiment, referring to FIG. 2 , step S101 includes: sub-step S1011 to sub-step S1013.

子步骤S1011,采集核心网呼叫控制网元周围各接口的信令数据,解析所述信令数据生成XDR;其中,所述XDR至少包括:由核心网发起的终端上下文释放的记录、终端标 识、终端的信令链路建立请求的记录。Sub-step S1011, collect the signaling data of each interface around the core network call control network element, analyze the signaling data to generate XDR; wherein, the XDR includes at least: the record of the release of the terminal context initiated by the core network, the terminal identification, A record of the terminal's signaling link establishment request.

XDR(Extended Data Record)包括:CDR(Call Data Record)呼叫详细记录、TDR(Transaction Data Record)事务详细记录和SDR(Service Data Record)业务详细记录。其中,TDR为基本会话过程记录,用以描述在两个信令点之间的一次基本信令过程。CDR为信令过程表示一次中继呼叫接续过程。SDR为全程业务过程记录,用以描述用户使用一次网络业务时所发生的完整信令配合过程。XDR (Extended Data Record) includes: CDR (Call Data Record) call detail record, TDR (Transaction Data Record) transaction detail record and SDR (Service Data Record) business detail record. Wherein, TDR is a basic session process record, which is used to describe a basic signaling process between two signaling points. The CDR is a signaling process that represents a relay call connection process. SDR is a record of the whole service process, which is used to describe the complete signaling coordination process that occurs when a user uses a network service.

核心网呼叫控制网元周围各接口包括:第一接口和第二接口,所述第一接口为核心网呼叫控制网元与基站之间的接口,所述第二接口为所述核心网呼叫控制网元与核心网其他网元之间的接口,且所述第二接口携带了终端标识。Each interface around the core network call control network element includes: a first interface and a second interface, the first interface is the interface between the core network call control network element and the base station, and the second interface is the core network call control network element. An interface between a network element and other network elements of the core network, and the second interface carries a terminal identifier.

示例性地,对于4G LTE网络,核心网呼叫控制网元就是MME(Mobility Management Entity),其周围各接口包括:MME与基站之间的S1MME接口,MME与XGW之间的S11接口。MME与HSS之间的S6a接口,其中,S11接口携带了终端标识。采集各个接口上的原始信令数据并解析信令生成XDR,如中国移动统一DPI规范中的XDR定义。Exemplarily, for a 4G LTE network, the core network call control network element is an MME (Mobility Management Entity), and its surrounding interfaces include: the S1MME interface between the MME and the base station, and the S11 interface between the MME and the XGW. The S6a interface between the MME and the HSS, wherein the S11 interface carries the terminal identifier. Collect the original signaling data on each interface and analyze the signaling to generate XDR, such as the XDR definition in China Mobile's unified DPI specification.

示例性地,对于5G NR网络,核心网呼叫控制网元就是AMF(Access and Mobility Management Function)。其周围各接口包括:AMF与基站之间的N2接口,AMF与SMF(Session Management Function)之间的N11接口,AMF与AUSF(Authentication Server Function)之间的N12接口,其中,N11接口携带了终端标识。采集各个接口上的原始信令数据并解析信令抽取关键信息生成XDR,如中国移动5G上网日志留存系统规范中的XDR定义。Exemplarily, for a 5G NR network, the core network call control network element is AMF (Access and Mobility Management Function). The surrounding interfaces include: N2 interface between AMF and base station, N11 interface between AMF and SMF (Session Management Function), N12 interface between AMF and AUSF (Authentication Server Function), among them, N11 interface carries terminal logo. Collect the original signaling data on each interface and analyze the signaling to extract key information to generate XDR, such as the definition of XDR in China Mobile's 5G Internet Log Retention System Specification.

核心网呼叫控制网元与基站之间的接口一般是不携带终端的永久标识,如IMSI(International Mobile Subscriber Identity)。但核心网呼叫控制网元与核心网其他网元的接口,如S11或者N11接口,可以携带终端的用户永久标识。通过两个接口之间同有的一些通信参数,如基站和XGW之间媒体面的隧道标识TEID(Tunnel Endpoint Identifier),将属于同一次会话的S11/N11口的终端永久用户标识用于回填到XDR中。The interface between the core network call control network element and the base station generally does not carry a permanent identifier of the terminal, such as IMSI (International Mobile Subscriber Identity). However, the interface between the core network call control network element and other core network elements, such as the S11 or N11 interface, may carry the permanent user identification of the terminal. Through some common communication parameters between the two interfaces, such as the tunnel identifier TEID (Tunnel Endpoint Identifier) on the media plane between the base station and XGW, the terminal permanent user identifier of the S11/N11 interface belonging to the same session is used to backfill to XDR.

基于相关的信令监控技术即可实现采集核心网呼叫控制网元周围各接口的信令数据,并根据业内技术规范解析信令数据生成XDR。XDR将属于同一信令交互流程各条信息的关键信息抽取出来,以记录形式保存下来。Based on the relevant signaling monitoring technology, the signaling data of each interface around the core network call control network element can be collected, and the signaling data can be analyzed according to the technical specifications of the industry to generate XDR. XDR extracts the key information of each piece of information belonging to the same signaling interaction process and saves it in the form of records.

子步骤S1012、根据所述XDR,筛选出由所述核心网发起的异常终端上下文释放记录。Sub-step S1012, according to the XDR, screen out abnormal terminal context release records initiated by the core network.

终端上下文释放(UE Context Release)包括三种情况:由终端发起的上下文释放请求、由基站发起的上下文释放以及由核心网发起的上下文释放。如图3所示,是LTE网络中由基站和核心网发起的终端上下文释放流程的示意图。UE Context Release includes three situations: a context release request initiated by the terminal, a context release initiated by the base station, and a context release initiated by the core network. As shown in FIG. 3 , it is a schematic diagram of a UE context release process initiated by a base station and a core network in an LTE network.

其中,图3a是基站eNB(evolved NodeB)向核心网MME(Mobility Management Entity)发送终端上下文释放请求。图3b是核心网MME(Mobility Management Entity)向基站eNB发送终端上下文释放的命令。由基站发起的终端上下文释放流程包括a和b两个部分,也即首先由基站向核心网发送终端上下文释放请求,再由核心网向基站发送终端上下文释放的命令。而由核心网发起的终端上下文释放的过程只包括b部分,由核心网直接给基站发送终端上下文释放的命令。Among them, Fig. 3a shows that the base station eNB (evolved NodeB) sends a terminal context release request to the core network MME (Mobility Management Entity). Figure 3b shows the MME (Mobility Management Entity) of the core network sending a terminal context release command to the base station eNB. The terminal context release process initiated by the base station includes two parts a and b, that is, first the base station sends a terminal context release request to the core network, and then the core network sends a terminal context release command to the base station. However, the process of releasing the terminal context initiated by the core network only includes part b, and the core network directly sends a terminal context release command to the base station.

首先根据对XDR的分析,从记录中筛选出所有由核心网发起的终端上下文释放的记录,并进一步从中筛选出异常的终端上下文释放记录。筛选办法为:根据所述核心网发起的终端上下文释放的记录中包含发起所述终端上下文释放的原因,来排除由于正常业务需求的情况下由核心网发起的终端上下文释放。First, according to the analysis of XDR, all records of terminal context release initiated by the core network are screened out from the records, and abnormal terminal context release records are further screened out. The screening method is: according to the record of the terminal context release initiated by the core network including the reason for initiating the terminal context release, to exclude the terminal context release initiated by the core network due to normal service requirements.

核心网发送的终端上下文释放信令UE CONTEXT RELEASE COMMAND信令的包含Cause字段给出了发起上下文释放的原因。The UE CONTEXT RELEASE COMMAND signaling sent by the core network contains the Cause field indicating the reason for initiating the context release.

Figure PCTCN2022127857-appb-000001
Figure PCTCN2022127857-appb-000001

某些业务原因,例如站间切换完成,释放源基站侧的终端上下文携带的Cause就是Successful Handover(成功切换),Handover Cancelled(取消切换)。对于这些应用场景,有对应的呼叫流程切换流程配合,是正常业务需要。因此首先根据原因排除核心网基于正常业务发起释放终端上下文的情况后,剩余的记录就是异常终端上下文释放记录。For some business reasons, such as the completion of inter-station handover, the Cause carried by the terminal context on the release source base station side is Successful Handover (successful handover), Handover Canceled (cancel handover). For these application scenarios, there is a corresponding call flow switching process cooperation, which is a normal business requirement. Therefore, after excluding the case where the core network initiates the release of the terminal context based on normal services based on the reasons, the remaining records are the abnormal terminal context release records.

由于当前核心网发起的大部分业务对应的上下文释放的原因是Successful Handover或Handover Cancelled,虽然还存在少数其他和核心网发起的终端上下文释放的场景,通过排除法来排除大部分的正常上下文释放记录用于下一步的判断。Since the reason for the context release corresponding to most services initiated by the core network is Successful Handover or Handover Cancelled, although there are still a few other scenarios where the context release of the terminal is initiated by the core network, most of the normal context release records are excluded through the exclusion method for the next step of judgment.

当确定所述发起所述终端上下文释放的原因不是Successful Handover或Handover Cancelled中的任一个时,所述核心网发起的终端上下文释放为异常终端上下文释放。进一步地,还需要对同一终端是否有信令链路建立请求进行判断。When it is determined that the reason for initiating the release of the terminal context is not any one of Successful Handover or Handover Cancelled, the release of the terminal context initiated by the core network is an abnormal terminal context release. Further, it is also necessary to judge whether the same terminal has a signaling link establishment request.

子步骤S1013、根据每一条所述异常终端上下文释放记录的释放时间以及所针对的终端的终端标识,当在所述释放时间之前的所述预设时间内,确定存在来自同一个所述终端的相关信令链路建立请求时,即可确定所述终端发生了脱网。Sub-step S1013, according to the release time of each abnormal terminal context release record and the terminal identification of the targeted terminal, when within the preset time before the release time, it is determined that there is an error message from the same terminal When the relevant signaling link establishment request is made, it can be determined that the terminal is disconnected from the network.

从核心网发起异常终端上下文释放的时间出发,向前搜索一段预设时间,在这一段预设时间内若存在基站发送的针对同一终端的相关信令链路建立请求时,即说明该终端之前发生了脱网。Starting from the time when the core network initiates the release of the abnormal terminal context, search forward for a preset period of time. If there is a related signaling link establishment request for the same terminal sent by the base station within this preset period of time, it means that the terminal has previously A disconnection has occurred.

进一步地,可根据异常终端上下文释放记录中对应的基站信息,确定发生了终端异常脱网的基站,根据基站发送给核心网的终端相关信令链路建立请求中包含的小区信息,确定脱网终端重新接入网络的新驻留小区。Further, according to the corresponding base station information in the abnormal terminal context release record, determine the base station where the terminal is abnormally disconnected from the network, and according to the cell information contained in the terminal-related signaling link establishment request sent by the base station to the core network, determine the disconnection The terminal re-connects to the new camping cell of the network.

由于核心网是收到基站发送的终端相关信令链路建立请求后检测到针对同一终端存在遗留终端上下文才发起的异常释放,中间相隔的时间应该很短,因此,所述预设时间一般不超过100毫秒,数值根据网络的业务的不同确定,本公开对此不作限定。Since the core network detects that there is a legacy terminal context for the same terminal after receiving the terminal-related signaling link establishment request sent by the base station, the abnormal release is initiated, and the interval between them should be very short. Therefore, the preset time is generally not If it exceeds 100 milliseconds, the value is determined according to different services of the network, which is not limited in the present disclosure.

示例性地,可将预设时间设置为30毫秒。Exemplarily, the preset time may be set to 30 milliseconds.

通过本公开提供的脱网检测方法,可以基于基站与核心网之间的信令来检测脱网情况,因此不受基站、网络和终端功能的限制,具有很好的通用性,可大范围,长时间地用于检测无线网络中发生终端异常脱网的场景,提高了发现无线网络质差的效率,能够为无线网络优化,提升用户体验提供依据和辅助信息。The off-network detection method provided by the present disclosure can detect the off-network situation based on the signaling between the base station and the core network, so it is not limited by the functions of the base station, network and terminal, has good versatility, and can be used in a wide range. It has been used for a long time to detect the scene where the terminal is abnormally disconnected from the network in the wireless network, which improves the efficiency of finding poor wireless network quality, and can provide basis and auxiliary information for wireless network optimization and user experience improvement.

为了更好地说明本公开提供的脱网检测方法,本公开还提供了将所述方法应用于网络的实施例。In order to better illustrate the off-network detection method provided by the present disclosure, the present disclosure also provides an embodiment of applying the method to a network.

实施例一Embodiment one

如图4所示,在4G LTE网络中应用本公开的方法检测脱网情况,整个处理流程分为四个步骤。As shown in FIG. 4, the method of the present disclosure is applied to detect off-network conditions in a 4G LTE network, and the entire processing flow is divided into four steps.

对于4G LTE网络,核心网呼叫控制网元就是MME(Mobility Management Entity)。For 4G LTE networks, the core network call control network element is MME (Mobility Management Entity).

步骤一、采集MME周围各接口的原始信令,抽取关键信息生成XDR。Step 1: collect the original signaling of each interface around the MME, and extract key information to generate an XDR.

MME周围各接口包括MME与基站之间的S1MME接口,MME与XGW之间的S11接口,MME与HSS之间的S6a接口。采集各个接口上的原始信令数据并解析信令生成XDR,如中国移动统一DPI规范中的XDR定义。基于通用的信令监控采集平台可完成步骤一。The interfaces around the MME include the S1MME interface between the MME and the base station, the S11 interface between the MME and the XGW, and the S6a interface between the MME and the HSS. Collect the original signaling data on each interface and analyze the signaling to generate XDR, such as the XDR definition in China Mobile's unified DPI specification. Step 1 can be completed based on a common signaling monitoring and collection platform.

XDR将属于同一信令交互流程各条信息的关键信息抽取出来,以记录形式保存下来,如4G S1MME接口呼叫流程包括:XDR extracts the key information of each piece of information belonging to the same signaling interaction process and saves it in the form of records. For example, the call process of 4G S1MME interface includes:

1:Attach1: Attach

2:Sevice request2: Service request

3:Extended service request3: Extended service request

4:Paging4: Paging

5:TAU5: TAU

6:Detach6: Detach

7:PDN connectivity7: PDN connectivity

8:PDN disconnection8: PDN disconnection

9:EPS bearer resource allocation9: EPS bearer resource allocation

10:EPS bearer resource modification10: EPS bearer resource modification

11:EPS bearer context deactivation11: EPS bearer context deactivation

12:EPS bearer context modification12: EPS bearer context modification

13:Dedicated EPS bearer context activation13: Dedicated EPS bearer context activation

14:X2 handover14: X2 handover

15:S1 handover in15: S1 handover in

16:S1 handover out16: S1 handover out

17:S1 handover cancel17: S1 handover cancel

18:Initial context setup18: Initial context setup

19:UE context modification19: UE context modification

20:UE context release20: UE context release

21:E-RAB release21: E-RAB release

22:Reset22: Reset

23:Error indication23: Error indication

4G网络对应的XDR记录如下:The XDR record corresponding to the 4G network is as follows:

Figure PCTCN2022127857-appb-000002
Figure PCTCN2022127857-appb-000002

Figure PCTCN2022127857-appb-000003
Figure PCTCN2022127857-appb-000003

Figure PCTCN2022127857-appb-000004
Figure PCTCN2022127857-appb-000004

步骤二、为XDR回填终端的永久标识。Step 2: Backfill the permanent identifier of the terminal for XDR.

MME与基站之间的接口一般是不携带终端的永久标识,如IMSI(International Mobile Subscriber Identity)。但MME与核心网其他网元之间的接口,如S11接口可以携带终端的用户永久标识。通过两个接口之间同有的一些通信参数,如基站和XGW之间媒体面的隧道标识TEID(Tunnel Endpoint Identifier),将属于同一次会话的S11口的终端永久用户标识回填到S1接口的XDR中。S1接口内各XDR依据S1APID等标识别将属于同一呼叫的XDR组合在一起。依据同一呼叫内部分XDR确定的终端永久标识可以扩展到同一呼叫的所有XDR。由于信令监控平台的采集部分通常包含了终端永久标识的回填功能,由信令监控平台的合成服务器来完成步骤二。The interface between the MME and the base station generally does not carry a permanent identifier of the terminal, such as IMSI (International Mobile Subscriber Identity). However, the interface between the MME and other network elements of the core network, such as the S11 interface, can carry the permanent user identification of the terminal. Through some common communication parameters between the two interfaces, such as the tunnel identifier TEID (Tunnel Endpoint Identifier) on the media plane between the base station and XGW, backfill the terminal permanent user identifier of the S11 interface belonging to the same session to the XDR of the S1 interface middle. Each XDR in the S1 interface is identified according to the S1APID and other labels to combine the XDRs belonging to the same call. The terminal permanent identification determined from some XDRs within the same call can be extended to all XDRs of the same call. Since the collection part of the signaling monitoring platform usually includes the backfill function of the terminal permanent identification, the synthesis server of the signaling monitoring platform completes the second step.

步骤三、分析XDR,筛选出由核心网发起的异常终端上下文释放的记录。Step 3: Analyze the XDR, and filter out records of abnormal terminal context release initiated by the core network.

根据分析XDR,从中挑选核心网发起的非正常业务需要产生的异常终端上下文释放记录。According to the analysis of XDR, the abnormal terminal context release records that need to be generated for abnormal services initiated by the core network are selected.

释放终端上下文可以由基站发起,也可以由核心网发起。基站发起的终端上下文释放是基站先发送一个请求消息给核心,然后核心网再给基站发送一个终端上下文释放信令。而核心网发起的终端上下文释放就是核心网直接给基站发送终端上下文释放的信令。The release of the terminal context can be initiated by the base station or by the core network. The terminal context release initiated by the base station is that the base station first sends a request message to the core, and then the core network sends a terminal context release signaling to the base station. The release of the terminal context initiated by the core network means that the core network directly sends the signaling of the release of the terminal context to the base station.

核心网发送的终端上下文释放信令UE CONTEXT RELEASE COMMAND信令的包含cause字段给出了发起释放原因。某些原因,如站间切换完成,释放源基站侧的终端上下文携带的Cause原因就是Successful Handover,站间切换失败,释放目标基站侧的终端上下文 Handover Cancelled,有对应的流程配合就是正常业务需要。根据原因值排除核心网正常业务需要的释放终端上下文的情况剩余的非正常业务需要的释放记录。The cause field included in the UE CONTEXT RELEASE COMMAND signaling sent by the core network gives the reason for initiating the release. For some reasons, for example, when the handover between stations is completed, the cause carried by the terminal context on the release source base station side is Successful Handover, the handover between stations fails, and the terminal context on the target base station side is released as Handover Canceled, and the corresponding process cooperation is required for normal business. Excluding the case of releasing the terminal context required by the normal business of the core network according to the cause value, the remaining release records required by the abnormal business.

步骤四、判断核心网在发起异常终端上下文释放之前的预设时间内是否收到来自同一终端的相关信令链路建立请求,来确定所述终端是否发生了脱网。Step 4: Judging whether the core network has received a related signaling link establishment request from the same terminal within a preset time before initiating the context release of the abnormal terminal, so as to determine whether the terminal is disconnected from the network.

筛选出核心网在发起异常终端上下文释放之前的预设时间内,收到了来自基站发起的同一个终端的相关信令链路建立请求的记录,即可判断为终端发生了异常脱网。It can be judged that the terminal is abnormally disconnected from the network by filtering out the record that the core network has received the related signaling link establishment request from the same terminal initiated by the base station within the preset time before initiating the context release of the abnormal terminal.

考虑到核心网是收到基站发送的终端相关信令链路建立请求后检测到存在遗留终端上下文才发起的异常释放,两者时间间隔很短,示例性地,可将预设时间设为30ms。Considering that the abnormal release is initiated by the core network after it detects the existence of the legacy terminal context after receiving the terminal-related signaling link establishment request sent by the base station, the time interval between the two is very short. For example, the preset time can be set to 30ms .

基站发送终端相关信令链路建立请求携带从终端收到的NAS信令一般为Service Request,4G TAU(Tracking Area Updating),4G ATTACH request。因此可根据由核心网发起的异常终端上下文释放记录中所对应的基站确定发生了终端异常脱网的基站,而基站发送的终端相关信令链路建立请求所对应的小区为终端重新接入网络的新驻留小区。The base station sends the terminal-related signaling link establishment request to carry the NAS signaling received from the terminal, generally Service Request, 4G TAU (Tracking Area Updating), 4G ATTACH request. Therefore, the base station where the terminal is abnormally disconnected from the network can be determined according to the base station corresponding to the abnormal terminal context release record initiated by the core network, and the cell corresponding to the terminal-related signaling link establishment request sent by the base station is the terminal re-accessing the network new residence area.

本公开实施例提供的脱网检测方法,可以基于基站与核心网之间的信令来检测4G网络的脱网情况,且不受基站、网络和终端功能的限制,具有很好的通用性,可大范围,长时间地用于检测无线网络中发生终端异常脱网的场景。能够提高发现无线网络质差的效率,为无线网络优化和提升用户体验提供依据和辅助信息。The off-network detection method provided by the embodiments of the present disclosure can detect the off-network situation of the 4G network based on the signaling between the base station and the core network, and is not limited by the functions of the base station, network, and terminal, and has good versatility. It can be used in a wide range and for a long time to detect the scene where the terminal is abnormally disconnected from the network in the wireless network. It can improve the efficiency of finding poor wireless network quality, and provide basis and auxiliary information for wireless network optimization and user experience improvement.

实施例二Embodiment two

如图5所示,在5G NR网络中应用本公开的方法检测脱网情况,整个处理流程分为四个步骤。As shown in Figure 5, the method disclosed in the present disclosure is applied to detect off-network conditions in a 5G NR network, and the entire processing flow is divided into four steps.

对于5G NR网络,核心网呼叫控制网元就是AMF(Access and Mobility Management Function)。For 5G NR networks, the core network call control network element is AMF (Access and Mobility Management Function).

步骤一、采集AMF周围各接口的原始信令,抽取关键信息生成XDR。Step 1: Collect the original signaling of each interface around the AMF, and extract key information to generate XDR.

AMF周围的接口包括AMF与基站之间的N2接口,AMF与SMF(Session Management Function)之间的N11接口。AMF与AUSF(Authentication Server Function)之间的N12接口。采集各个接口上的原始信令并解析信令生成XDR,如中国移动5G上网日志留存系统规范中的XDR定义。The interfaces around the AMF include the N2 interface between the AMF and the base station, and the N11 interface between the AMF and the SMF (Session Management Function). N12 interface between AMF and AUSF (Authentication Server Function). Collect the original signaling on each interface and analyze the signaling to generate XDR, such as the XDR definition in China Mobile's 5G Internet Log Retention System Specification.

XDR将属于同一信令交互流程各条信息的关键信息抽取出来,以记录形式保存下来,如5G N1N2接口呼叫流程包括:XDR extracts the key information of each piece of information belonging to the same signaling interaction process and saves it in the form of records. For example, the call process of 5G N1N2 interface includes:

RegistrationRegistration

De-registrationDe-registration

Service RequestService Request

PagingPaging

NotificationNotification

Primary AuthenticationPrimary Authentication

Security ActivationSecurity Activation

Identification AcquisitionIdentification Acquisition

UE Configuration UpdateUE Configuration Update

5GMM Status5GMM Status

PDU Session EstablishmentPDU Session Establishment

Secondary AuthenticationSecondary Authentication

PDU Session ModificationPDU Session Modification

PDU Session ReleasePDU Session Release

5GSM Status5GSM Status

N2 HO OutN2 HO Out

N2 HO InN2 HO In

N2 HO CancelN2 HO Cancel

Xn HOXn HO

Initial Context SetupInitial Context Setup

UE Context ModificationUE Context Modification

UE Context ReleaseUE Context Release

PDU Session Resource SetupPDU Session Resource Setup

PDU Session Resource ModifyPDU Session Resource Modify

通常信令监控的采集平台都可以完成这一步的工作。Usually, the collection platform for signaling monitoring can complete this step.

PDU Session Resource ReleasePDU Session Resource Release

PDU Session Resource NotifyPDU Session Resource Notify

PDU Session Resource Modify IndicationPDU Session Resource Modify Indication

SMSSMS

UE Capability Info IndicationUE Capability Info Indication

生成的XDR记录如下:The generated XDR records are as follows:

Figure PCTCN2022127857-appb-000005
Figure PCTCN2022127857-appb-000005

Figure PCTCN2022127857-appb-000006
Figure PCTCN2022127857-appb-000006

Figure PCTCN2022127857-appb-000007
Figure PCTCN2022127857-appb-000007

Figure PCTCN2022127857-appb-000008
Figure PCTCN2022127857-appb-000008

Figure PCTCN2022127857-appb-000009
Figure PCTCN2022127857-appb-000009

步骤二、为XDR回填终端的永久标识。Step 2: Backfill the permanent identifier of the terminal for XDR.

AMF与基站之间的接口一般是不携带终端的永久标识,如IMSI(International Mobile Subscriber Identity)。但核心网呼叫控制网元与核心网其他网元之间的接口,如N11接口,可以携带终端的用户永久标识。通过两个接口之间同有的一些通信参数,如基站和XGW之间媒体面的隧道标识TEID(Tunnel Endpoint Identifier),将属于同一次会话的N11口的终端永久用户标识回填到S1/N2接口的XDR中。N2接口内各XDR依据NgAPID等标识别将属于同一呼叫的XDR组合在一起。依据同一呼叫内部分XDR确定的终端永久标识可以扩展到同一呼叫的所有XDR。信令监控平台的采集部分通常包含了终端永久标识的回填功能。通常由合成服务器来完成。The interface between the AMF and the base station generally does not carry the permanent identification of the terminal, such as IMSI (International Mobile Subscriber Identity). However, the interface between the call control network element of the core network and other network elements of the core network, such as the N11 interface, may carry the permanent user identification of the terminal. Through some common communication parameters between the two interfaces, such as the tunnel identifier TEID (Tunnel Endpoint Identifier) on the media plane between the base station and XGW, backfill the terminal permanent user identifier of the N11 interface belonging to the same session to the S1/N2 interface in the XDR. Each XDR in the N2 interface is identified according to the NgAPID and other labels to combine the XDRs belonging to the same call. The terminal permanent identification determined from some XDRs within the same call can be extended to all XDRs of the same call. The collection part of the signaling monitoring platform usually includes the backfill function of the permanent identification of the terminal. Usually done by compositing servers.

步骤三、分析XDR,筛选出由核心网发起的异常终端上下文释放的记录。Step 3: Analyze the XDR, and filter out records of abnormal terminal context release initiated by the core network.

释放终端上下文可以由基站发起,也可以由核心网发起。基站发起的终端上下文释放是基站先发送一个请求消息给核心,然后核心网再給基站发送一个终端上下文释放信令。而核心网发起的终端上下文释放就是核心网直接給基站发送终端上下文释放的信令。The release of the terminal context can be initiated by the base station or by the core network. The terminal context release initiated by the base station is that the base station first sends a request message to the core, and then the core network sends a terminal context release signaling to the base station. The release of the terminal context initiated by the core network means that the core network directly sends the signaling of the release of the terminal context to the base station.

核心网发送的终端上下文释放信令UE CONTEXT RELEASE COMMAND信令的包含cause字段给出了发起释放原因。如某些原因,如站间切换完成,释放源基站侧的终端上下文携带的Cause原因就是Successful Handover,站间切换失败,释放目标基站侧的终端上下文Handover Cancelled。根据原因值排除核心网正常释放终端上下文的情况剩余的异常释放记录。The cause field included in the UE CONTEXT RELEASE COMMAND signaling sent by the core network gives the reason for initiating the release. For some reasons, such as the completion of inter-station handover, release the Cause carried by the terminal context on the source base station side is Successful Handover, if the inter-station handover fails, release the terminal context Handover Canceled on the target base station side. According to the cause value, the remaining abnormal release records are excluded when the core network normally releases the terminal context.

步骤四、判断核心网在发起异常终端上下文释放之前的预设时间内是否收到来自同一终端的相关信令链路建立请求,来确定所述终端是否发生了脱网。Step 4: Judging whether the core network has received a related signaling link establishment request from the same terminal within a preset time before initiating the context release of the abnormal terminal, so as to determine whether the terminal is disconnected from the network.

由于核心网是收到基站发送的终端相关信令链路建立请求后检测到存在遗留终端上下文才发起的异常释放,这个时间应该很短,不应该超过100ms,建议选择为30ms。Since the core network detects the existence of the legacy terminal context and initiates the abnormal release after receiving the terminal-related signaling link establishment request sent by the base station, this time should be very short and should not exceed 100ms. It is recommended to choose 30ms.

基站发送终端相关信令链路建立请求携带从终端收到的NAS信令一般为Service Request,5G的Registration。其中释放终端上下文对应的基站为发生终端异常脱网基站,基站发送终端相关信令链路建立请求的小区为终端重新接入网络的新驻留小区。The base station sends the terminal-related signaling link establishment request to carry the NAS signaling received from the terminal, which is generally Service Request, 5G Registration. The base station corresponding to releasing the terminal context is the base station where the terminal is abnormally disconnected from the network, and the cell where the base station sends the terminal-related signaling link establishment request is the new resident cell where the terminal reconnects to the network.

本公开实施例提供的脱网检测方法,可以基于基站与核心网之间的信令来检测5G网络的脱网情况,且不受基站、网络和终端功能的限制,具有很好的通用性,可大范围,长时间地用于检测无线网络中发生终端异常脱网的场景。能够提高发现无线网络质差的效率,为无线网络优化和提升用户体验提供依据和辅助信息。The off-network detection method provided by the embodiments of the present disclosure can detect the off-network situation of the 5G network based on the signaling between the base station and the core network, and is not limited by the functions of the base station, network, and terminal, and has good versatility. It can be used in a wide range and for a long time to detect the scene where the terminal is abnormally disconnected from the network in the wireless network. It can improve the efficiency of finding poor wireless network quality, and provide basis and auxiliary information for wireless network optimization and user experience improvement.

请参阅图6,图6为本公开实施例提供的一种脱网检测设备的结构示意性框图。Please refer to FIG. 6 . FIG. 6 is a schematic structural block diagram of an off-network detection device provided by an embodiment of the present disclosure.

如图6所示,脱网检测设备300包括处理器301和存储器302,处理器301和存储器302通过总线303连接,该总线比如为I2C(Inter-integrated Circuit)总线。As shown in FIG. 6 , the offline detection device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected through a bus 303, such as an I2C (Inter-integrated Circuit) bus.

处理器301用于提供计算和控制能力,支撑整个脱网检测设备的运行。处理器301可以是中央处理单元(Central Processing Unit,CPU),该处理器301还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 301 is used to provide computing and control capabilities to support the operation of the entire offline detection device. The processor 301 can be a central processing unit (Central Processing Unit, CPU), and the processor 301 can also be other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) ), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein, the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。The memory 302 can be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.

本领域技术人员可以理解,图6中示出的结构,仅仅是与本公开实施例方案相关的部分结构的框图,并不构成对本公开实施例方案所应用于其上的脱网检测设备的限定,服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 6 is only a block diagram of a partial structure related to the embodiment of the present disclosure, and does not constitute a limitation on the off-network detection device to which the embodiment of the present disclosure is applied. , the server may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

其中,所述处理器用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现本公开实施例提供的任意一种所述的脱网检测方法。Wherein, the processor is configured to run a computer program stored in the memory, and implement any one of the off-network detection methods provided in the embodiments of the present disclosure when the computer program is executed.

在一实施例中,所述处理器用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现如下步骤:In one embodiment, the processor is configured to run a computer program stored in a memory, and implement the following steps when executing the computer program:

若核心网在针对终端发起异常终端上下文释放之前的预设时间内,收到来自所述终端的相关信令链路建立请求时,确定所述终端发生了脱网。If the core network receives a related signaling link establishment request from the terminal within a preset time before initiating an abnormal terminal context release for the terminal, it determines that the terminal is disconnected from the network.

在一实施例中,所述处理器在实现脱网检测方法时,用于实现;获取由所述核心网发起的异常终端上下文释放记录;根据每一条所述异常终端上下文释放记录的释放时间以及所针对的终端的终端标识,当在所述释放时间之前的所述预设时间内,确定存在来自同一个所述终端的相关信令链路建立请求时,确定所述终端发生了脱网。In one embodiment, when the processor implements the offline detection method, it is configured to: obtain the abnormal terminal context release record initiated by the core network; according to the release time of each abnormal terminal context release record and For the terminal identifier of the terminal, when it is determined that there is a related signaling link establishment request from the same terminal within the preset time before the release time, it is determined that the terminal is offline.

在一实施例中,所述处理器在实现获取由所述核心网发起的异常终端上下文释放记录时,用于实现:采集核心网呼叫控制网元周围各接口的信令数据,解析所述信令数据生成XDR;其中,所述XDR至少包括:由核心网发起的终端上下文释放的记录、终端标识、终端的相关信令链路建立请求的记录;根据所述XDR筛选出由所述核心网发起的异常终端上下文释放记录。In an embodiment, when the processor obtains the abnormal terminal context release record initiated by the core network, it is used to: collect signaling data of interfaces around the call control network element of the core network, and analyze the signaling data. Make the data generate XDR; wherein, the XDR includes at least: the record of the terminal context release initiated by the core network, the terminal identifier, and the record of the relevant signaling link establishment request of the terminal; Initiated exception terminal context release records.

在一实施例中,所述处理器在实现根据所述XDR筛选出由所述核心网发起的异常终端上下文释放记录时,用于实现:根据所述核心网发起的终端上下文释放的记录中包含的发起所述终端上下文释放的原因指示;当确定所述原因指示不是Successful Handover或Handover Cancelled中的任一个时,所述核心网发起的终端上下文释放为异常终端上下文释放。In an embodiment, when the processor screens out abnormal terminal context release records initiated by the core network according to the XDR, the processor is configured to: include in the record of the terminal context release initiated by the core network An indication of the reason for initiating the release of the terminal context; when it is determined that the cause indication is not either Successful Handover or Handover Cancelled, the release of the terminal context initiated by the core network is an abnormal terminal context release.

在一实施例中,所述周围各接口包括:第一接口和第二接口,所述第一接口为核心网呼叫控制网元与基站之间的接口,所述第二接口为所述核心网呼叫控制网元与核心网其他 网元之间的接口,且所述第二接口携带了所述终端标识;所述处理器在实现解析所述信令数据生成XDR时,用于实现:根据解析所述第一接口的信令数据得到的解析结果以及所述第二接口的参数得到的终端标识,生成所述XDR。In one embodiment, the surrounding interfaces include: a first interface and a second interface, the first interface is the interface between the core network call control network element and the base station, and the second interface is the interface between the core network The interface between the call control network element and other network elements of the core network, and the second interface carries the terminal identifier; when the processor implements parsing the signaling data to generate XDR, it is used to implement: according to the parsing The XDR is generated from the analysis result obtained from the signaling data of the first interface and the terminal identifier obtained from the parameters of the second interface.

在一实施例中,所述处理器在实现脱网检测方法时,用于实现:对于4G网络,所述核心网呼叫控制网元为MME,所述第一接口为MME与所述基站之间的S1MME接口;所述第二接口为所述MME与XGW之间的S11接口,其中,所述S11接口携带了所述终端标识。In an embodiment, when the processor implements the off-network detection method, it is used to implement: for a 4G network, the core network call control network element is an MME, and the first interface is between the MME and the base station The S1MME interface; the second interface is an S11 interface between the MME and the XGW, where the S11 interface carries the terminal identifier.

在一实施例中,所述处理器在实现脱网检测方法时,用于实现:对于5G网络,所述核心网呼叫控制网元为AMF,所述第一接口为所述AMF与所述基站之间的N2接口;所述第二接口为所述AMF与SMF之间的N11接口,其中,所述N11接口携带了所述终端标识。In an embodiment, when the processor implements the off-network detection method, it is used to implement: for a 5G network, the core network call control network element is an AMF, and the first interface is the AMF and the base station An N2 interface between them; the second interface is an N11 interface between the AMF and the SMF, where the N11 interface carries the terminal identifier.

在一实施例中,所述处理器在实现脱网检测方法时,用于实现:在确定所述终端发生了脱网之后,根据所述核心网针对所述终端发起的异常终端上下文释放所对应的基站信息,确定发生了脱网的基站;根据来自所述终端的相关信令链路建立请求所对应的小区信息,确定所述终端重新接入网络的新驻留小区。In an embodiment, when the processor implements the offline detection method, it is configured to implement: after determining that the terminal is offline, according to the abnormal terminal context release initiated by the core network for the terminal, The base station information of the base station is determined to determine the base station that has been disconnected from the network; according to the cell information corresponding to the relevant signaling link establishment request from the terminal, the new camping cell of the terminal re-accessing the network is determined.

需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的脱网检测设备的工作过程,可以参考前述脱网检测方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and brevity of description, the working process of the above-described offline detection device can refer to the corresponding process in the aforementioned embodiment of the offline detection method. No longer.

本公开实施例还提供一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如本公开实施例说明书提供的任一项脱网检测方法的步骤。An embodiment of the present disclosure also provides a storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following: The steps of any one of the off-network detection methods provided in the description of the embodiments of the present disclosure.

其中,所述存储介质可以是前述实施例所述的脱网检测设备的内部存储单元,例如所述脱网检测设备的硬盘或内存。所述存储介质也可以是所述脱网检测设备的外部存储设备,例如所述脱网检测设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the storage medium may be an internal storage unit of the off-network detection device described in the foregoing embodiments, such as a hard disk or a memory of the off-network detection device. The storage medium can also be an external storage device of the off-network detection device, such as a plug-in hard disk equipped on the off-network detection device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.

本公开实施例提供一种脱网检测方法、脱网检测设备及存储介质,本公开实施例提供的脱网检测方法,不依赖于基站提供的数据来发现无线网络中发生脱网的质差点,基于基站与核心网之间的信令来检测脱网情况,因此不受基站、网络和终端功能的限制,具有很好的通用性,可大范围,长时间地用于检测无线网络中发生终端异常脱网的场景,提高了发现无线网络质差的效率,能够为无线网络优化,提升用户体验提供依据和辅助信息。Embodiments of the present disclosure provide an off-network detection method, an off-network detection device, and a storage medium. The off-network detection method provided by the embodiments of the present disclosure does not rely on the data provided by the base station to find out the poor quality of the off-network in the wireless network. Based on the signaling between the base station and the core network to detect the off-network situation, so it is not limited by the functions of the base station, network and terminal, has good versatility, and can be used in a wide range and for a long time to detect terminal occurrences in the wireless network The scene of abnormal disconnection improves the efficiency of finding poor wireless network quality, and can provide basis and auxiliary information for wireless network optimization and user experience improvement.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施例中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software, firmware, hardware, and an appropriate combination thereof. In hardware embodiments, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components cooperate to execute. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

应当理解,在本公开说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be understood that the term "and/or" used in the present disclosure and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. It should be noted that, as used herein, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.

上述本公开实施例序号仅仅为了描述,不代表实施例的优劣。以上所述,仅为本公开的具体实施例,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。The serial numbers of the above-mentioned embodiments of the present disclosure are for description only, and do not represent the advantages and disadvantages of the embodiments. The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope of the present disclosure. Modifications or replacements should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be determined by the protection scope of the claims.

Claims (10)

一种脱网检测方法,包括:An off-net detection method, comprising: 在核心网在针对终端发起异常终端上下文释放之前的预设时间内,收到来自所述终端的相关信令链路建立请求的情况下,确定所述终端发生了脱网。When the core network receives a related signaling link establishment request from the terminal within a preset time before initiating an abnormal terminal context release for the terminal, it is determined that the terminal is disconnected from the network. 根据权利要求1所述的脱网检测方法,还包括:The offline detection method according to claim 1, further comprising: 获取由所述核心网发起的异常终端上下文释放记录;以及Obtaining a record of abnormal terminal context release initiated by the core network; and 根据每一条所述异常终端上下文释放记录的释放时间以及所针对的终端的终端标识,当在所述释放时间之前的所述预设时间内,确定存在来自同一个所述终端的相关信令链路建立请求的情况下,确定所述终端发生了脱网。According to the release time of each abnormal terminal context release record and the terminal identifier of the targeted terminal, within the preset time before the release time, determine that there is a related signaling chain from the same terminal In the case of a path establishment request, it is determined that the terminal is disconnected from the network. 根据权利要求2所述的脱网检测方法,其中,所述获取由所述核心网发起的异常终端上下文释放记录,包括:The off-network detection method according to claim 2, wherein said obtaining the abnormal terminal context release record initiated by the core network comprises: 采集核心网呼叫控制网元周围各接口的信令数据,解析所述信令数据生成XDR;其中,所述XDR至少包括:由核心网发起的终端上下文释放的记录、终端标识、终端的相关信令链路建立请求的记录;以及Collect the signaling data of each interface around the core network call control network element, analyze the signaling data to generate XDR; wherein, the XDR includes at least: the record of the release of the terminal context initiated by the core network, the terminal identification, and the relevant information of the terminal make a record of the link establishment request; and 根据所述XDR筛选出由所述核心网发起的异常终端上下文释放记录。Screening out abnormal terminal context release records initiated by the core network according to the XDR. 根据权利要求3所述的脱网检测方法,其中,所述根据所述XDR筛选出由所述核心网发起的异常终端上下文释放记录,包括:The off-network detection method according to claim 3, wherein the screening out the abnormal terminal context release record initiated by the core network according to the XDR includes: 根据所述核心网发起的终端上下文释放的记录中包含的发起所述终端上下文释放的原因指示;以及According to the indication of the reason for initiating the release of the terminal context contained in the record of the release of the terminal context initiated by the core network; and 在确定所述原因指示不是成功切换或取消切换中的任一个的情况下,确定所述由核心网发起的终端上下文释放为异常终端上下文释放。In a case where it is determined that the cause indication is not any one of successful handover or canceled handover, it is determined that the release of the terminal context initiated by the core network is an abnormal release of the terminal context. 根据权利要求3所述的脱网检测方法,其中,The offline detection method according to claim 3, wherein, 所述周围各接口包括:第一接口和第二接口,所述第一接口为核心网呼叫控制网元与基站之间的接口,所述第二接口为所述核心网呼叫控制网元与核心网其他网元之间的接口,且所述第二接口携带了所述终端标识;The surrounding interfaces include: a first interface and a second interface, the first interface is the interface between the core network call control network element and the base station, and the second interface is the interface between the core network call control network element and the core an interface between other network elements in the network, and the second interface carries the terminal identifier; 所述解析所述信令数据生成XDR,包括:The analyzing the signaling data to generate XDR includes: 根据解析所述第一接口的信令数据得到的解析结果以及所述第二接口的参数得到的终端标识,生成所述XDR。The XDR is generated according to the analysis result obtained by analyzing the signaling data of the first interface and the terminal identifier obtained from the parameters of the second interface. 根据权利要求5所述的脱网检测方法,其中,对于4G网络,所述核心网呼叫控制网元为MME,所述第一接口为MME与所述基站之间的S1MME接口;所述第二接口为所述MME与XGW之间的S11接口,其中,所述S11接口携带了所述终端标识。The off-network detection method according to claim 5, wherein, for a 4G network, the core network call control network element is an MME, and the first interface is an S1MME interface between the MME and the base station; the second The interface is an S11 interface between the MME and the XGW, wherein the S11 interface carries the terminal identifier. 根据权利要求5所述的脱网检测方法,其中,对于5G网络,所述核心网呼叫控制网元为AMF,所述第一接口为所述AMF与所述基站之间的N2接口;所述第二接口为所述AMF与SMF之间的N11接口,其中,所述N11接口携带了所述终端标识。The off-network detection method according to claim 5, wherein, for a 5G network, the core network call control network element is an AMF, and the first interface is an N2 interface between the AMF and the base station; the The second interface is an N11 interface between the AMF and the SMF, where the N11 interface carries the terminal identifier. 根据权利要求1-7中任一项所述的脱网检测方法,其中,在确定所述终端发生了脱网之后,还包括:The off-network detection method according to any one of claims 1-7, wherein, after determining that the terminal is off-network, further comprising: 根据所述核心网针对所述终端发起的异常终端上下文释放所对应的基站信息,确定发生了脱网的基站;以及Determine the base station that has gone offline according to the base station information corresponding to the abnormal terminal context release initiated by the terminal by the core network; and 根据来自所述终端的相关信令链路建立请求所对应的小区信息,确定所述终端重新接入网络的新驻留小区。According to the cell information corresponding to the relevant signaling link establishment request from the terminal, determine the new camping cell where the terminal re-accesses the network. 一种脱网检测设备,所述脱网检测设备包括处理器、存储器、存储在所述存储器上并可被所述处理器执行的计算机程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,其中所述计算机程序被所述处理器执行时,实现如权利要求1至8中任一项所述的脱网检测方法的步骤。An off-network detection device, the off-network detection device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and used to realize the communication between the processor and the memory A data bus connected for communication, wherein when the computer program is executed by the processor, the steps of the off-network detection method according to any one of claims 1 to 8 are realized. 一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至8中任一项所述的脱网检测方法的步骤。A storage medium for computer-readable storage, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any one of claims 1 to 8 A step of the off-grid detection method described in one item.
PCT/CN2022/127857 2021-12-03 2022-10-27 Disconnection detection method, disconnection detection device, and storage medium Ceased WO2023098352A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111470425.5A CN116233876A (en) 2021-12-03 2021-12-03 Off-network detection method, off-network detection device and storage medium
CN202111470425.5 2021-12-03

Publications (1)

Publication Number Publication Date
WO2023098352A1 true WO2023098352A1 (en) 2023-06-08

Family

ID=86587790

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127857 Ceased WO2023098352A1 (en) 2021-12-03 2022-10-27 Disconnection detection method, disconnection detection device, and storage medium

Country Status (2)

Country Link
CN (1) CN116233876A (en)
WO (1) WO2023098352A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118488448A (en) * 2024-06-04 2024-08-13 北京九栖科技有限责任公司 5G private network signaling attack detection method based on multidimensional statistical analysis
CN119134509A (en) * 2024-11-11 2024-12-13 广东电网有限责任公司茂名供电局 A method and system for evaluating the possibility of large-scale inverter-type interface distributed power sources being disconnected from the grid

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009135410A1 (en) * 2008-05-07 2009-11-12 华为技术有限公司 Network-quitting method for multi-host system, network side management device and network system
CN108271195A (en) * 2016-12-31 2018-07-10 中国移动通信集团福建有限公司 Based on the soft or hard signalling correlated analysis method and equipment adopted
CN108377502A (en) * 2017-02-07 2018-08-07 中国移动通信集团福建有限公司 Weak coverage cell recognition methods based on subscriber signaling and system
CN109168137A (en) * 2018-11-02 2019-01-08 中国联合网络通信集团有限公司 The recognition methods of abnormal pull-off network and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009135410A1 (en) * 2008-05-07 2009-11-12 华为技术有限公司 Network-quitting method for multi-host system, network side management device and network system
CN108271195A (en) * 2016-12-31 2018-07-10 中国移动通信集团福建有限公司 Based on the soft or hard signalling correlated analysis method and equipment adopted
CN108377502A (en) * 2017-02-07 2018-08-07 中国移动通信集团福建有限公司 Weak coverage cell recognition methods based on subscriber signaling and system
CN109168137A (en) * 2018-11-02 2019-01-08 中国联合网络通信集团有限公司 The recognition methods of abnormal pull-off network and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG XI: "LTE Coverage Evaluation Method Based on Signaling of S1-MME Interface and its Application", DIANXIN-JISHU = TELECOMMUNICATION TECHNOLOGY, BEIJING : RENMIN YOUDIAN CHUBANSHE, CN, vol. 2017, no. 4, 1 January 2017 (2017-01-01), CN , pages 68 - 70, XP093069176, ISSN: 1000-1247, DOI: 10.3969/j.issn.1000-1247.2017.04.019 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118488448A (en) * 2024-06-04 2024-08-13 北京九栖科技有限责任公司 5G private network signaling attack detection method based on multidimensional statistical analysis
CN119134509A (en) * 2024-11-11 2024-12-13 广东电网有限责任公司茂名供电局 A method and system for evaluating the possibility of large-scale inverter-type interface distributed power sources being disconnected from the grid
CN119134509B (en) * 2024-11-11 2025-02-28 广东电网有限责任公司茂名供电局 A method and system for evaluating the possibility of large-scale inverter-type interface distributed power sources being disconnected from the grid

Also Published As

Publication number Publication date
CN116233876A (en) 2023-06-06

Similar Documents

Publication Publication Date Title
JP7548375B2 (en) Wireless terminal, wireless station, and method thereof
US11070967B2 (en) Network nodes and methods performed therein for enabling communication in a communication network
US10506552B2 (en) Core network node, radio network node, wireless device and methods performed therein
CN103384382B (en) Method for radio link management, user equipment and base station
US9326167B2 (en) Radio link failure report filtering
CN110430594B (en) Method and device for measuring unauthorized frequency
CN107333311B (en) Method for preventing LTE terminal from repeatedly initiating tracking area updating process in idle state
US8768305B1 (en) Reestablishing a mobile device radio resource control connection
US20200044915A1 (en) Radio resource configuration method and device, user equipment and network element
TW202123767A (en) Systems and methods for managing radio bearer compatibility in a communication network
EP3378254B1 (en) Network node, radio access node and methods performed therein
JP7607139B2 (en) Information processing method, information processing device, network side device, and readable storage medium
WO2023098352A1 (en) Disconnection detection method, disconnection detection device, and storage medium
CN106162692A (en) Road measuring method and device is minimized under a kind of connected state
CN103298023A (en) Method and device for detecting terminal heartbeat
US9591689B2 (en) System and method for detachment in wireless communication system
CN108347725A (en) Communication means and equipment
CN109640275B (en) Cell reselection method and device and broadband cluster system
CN106507399B (en) paging failure processing method and device
US20230319937A1 (en) Methods and Apparatuses for a Remote UE to Communicate with Via a Relay UE
CN111526536A (en) Information reporting method, device, terminal and network side equipment
CN101534530B (en) Method, system and control device for cell re-configuration of user equipment
WO2013143437A1 (en) Neighbor relationship configuration method, device, and system
CN102833781B (en) The processing method and system of a kind of terminal traffic
CN104811967B (en) A Mobile Robustness Optimization Method, Base Station and Terminal in Multiple Coverage Scenarios

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22900157

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22900157

Country of ref document: EP

Kind code of ref document: A1