Emergency call method and device
By obtaining exception codes and performing corresponding processing operations during the emergency call, the problem of terminal equipment interrupting emergency calls due to network abnormalities is solved, and the success rate of emergency calls is improved.
Patent Information
- Application Number
- CN202410196212.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-21
- Publication Date
- 2025-08-22
AI Technical Summary
In an emergency, the terminal equipment is unable to support voice call services due to network abnormalities, resulting in a threat to life and property.
By placing an emergency call to the target base station, obtaining an exception code, and performing corresponding processing operations based on the reasons for the exception, such as storing cell identification information that cannot provide voice services or switching to other core networks, ensuring that the emergency call connection is successful.
It improves the success rate of emergency calls and ensures the reliability and effectiveness of emergency communication.
Smart Images

Figure CN120529285A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an emergency call method, device, electronic device, and machine-readable storage medium. Background Art
[0002] In current technology, when a user uses a terminal to initiate an emergency call in an emergency situation, and the network to which the terminal is connected fails and cannot support voice call services, the terminal will directly interrupt the emergency call service, thereby posing a serious threat to people's lives and property. Summary of the Invention
[0003] The present disclosure provides an emergency call method, the method comprising:
[0004] Initiate an emergency call to the target base station for the target core network;
[0005] In response to the emergency call connection being abnormal, obtaining an abnormality code returned by the target base station; wherein the abnormality code is used to indicate the abnormal cause of the emergency call;
[0006] According to the abnormal cause of the emergency call indicated by the abnormal code, a processing operation corresponding to the abnormal cause is performed to ensure that the emergency call is successfully connected.
[0007] Optionally, the exception code includes a 503 exception code; the exception cause indicated by the 503 exception code includes that a target cell in the target core network used to establish a voice bearer with the terminal cannot provide a voice call service;
[0008] The executing of a processing operation corresponding to the abnormal cause includes:
[0009] Storing the identification information of the target cell in a blacklist; the blacklist includes identification information of cells that cannot provide voice call service;
[0010] Initiate an emergency call to the target core network to the target base station, and obtain identification information of at least one cell returned by the base station for establishing a voice bearer with the terminal;
[0011] From the at least one cell, a cell whose identification information is not included in the blacklist is selected as a cell to be switched, and the network is switched to the cell to be switched.
[0012] Optionally, the exception code includes an err31 exception code; the exception cause indicated by the err31 exception code includes that the target core network cannot provide voice call service;
[0013] The executing of a processing operation corresponding to the abnormal cause includes:
[0014] Acquire at least one core network available to the terminal; wherein the at least one core network includes other core networks other than the target core network;
[0015] An emergency call is initiated to the target base station for any core network of the at least one core network, so as to establish a temporary connection with the any core network and obtain an emergency call service.
[0016] Optionally, before obtaining the exception code returned by the target base station in response to the emergency call connection exception, the method further includes:
[0017] Determining whether the terminal establishes a voice bearer within a preset time period;
[0018] If the terminal fails to establish a voice bearer within a preset time period, it is determined that the emergency call connection is abnormal.
[0019] Optionally, the method further includes:
[0020] If the terminal establishes a voice bearer within a preset duration, determining whether a call duration after the voice bearer establishment is completed reaches a preset threshold;
[0021] If the call duration after the voice bearer is established does not reach a preset threshold, it is determined that the emergency call connection is abnormal.
[0022] Optionally, the method further includes:
[0023] A prompt message is output to the user through the user interface carried by the terminal; the prompt message is used to remind the user that the emergency call connection of the target core network is abnormal.
[0024] Optionally, the identification information of the target cell includes a TAC code and a PCI identifier.
[0025] The present disclosure also provides an emergency call device, the device comprising:
[0026] An initiating unit, configured to initiate an emergency call to a target base station for a target core network;
[0027] an acquiring unit, configured to acquire an exception code returned by the target base station in response to the emergency call connection being abnormal; wherein the exception code is used to indicate a cause of the abnormality of the emergency call;
[0028] The execution unit is configured to execute a processing operation corresponding to the abnormal cause of the emergency call indicated by the abnormal code, so as to successfully connect the emergency call.
[0029] The present disclosure further provides an electronic device, comprising a communication interface, a processor, a memory, and a bus, wherein the communication interface, the processor, and the memory are interconnected via the bus;
[0030] The memory stores machine-readable instructions, and the processor executes the emergency call method by calling the machine-readable instructions.
[0031] The present disclosure also provides a machine-readable storage medium, wherein the machine-readable storage medium stores machine-readable instructions, and when the machine-readable instructions are called and executed by a processor, the emergency call method is implemented.
[0032] The technical solution provided by the present disclosure may at least have the following beneficial effects:
[0033] Through the above embodiments, the terminal can initiate an emergency call to the target core network to the target base station, and can obtain the exception code returned by the target base station in response to the emergency call connection exception; since the exception code is used to indicate the abnormal cause of the emergency call, the processing operation corresponding to the abnormal cause can be performed according to the abnormal cause of the emergency call indicated by the exception code, so that the emergency call connection is successful, thereby improving the success rate of emergency calls when a network failure occurs. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0035] Figure 1 It is a system architecture diagram of an emergency call method shown in an exemplary embodiment.
[0036] Figure 2 The figure is a flow chart showing an emergency call method according to an exemplary embodiment.
[0037] Figure 3 The figure is a hardware structure diagram of an electronic device in which an emergency call device is located, showing an exemplary embodiment.
[0038] Figure 4 It is a block diagram of an emergency call device shown in an exemplary embodiment. DETAILED DESCRIPTION
[0039] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0040] It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this disclosure. In some other embodiments, the method may include more or fewer steps than those described in this disclosure. In addition, a single step described in this disclosure may be broken down into multiple steps for description in other embodiments; and multiple steps described in this disclosure may be combined into a single step for description in other embodiments.
[0041] In modern society, people are increasingly reliant on communication and network technologies. However, these technologies are not always perfect and are subject to various failures and anomalies, such as network congestion, signal interruptions, and hardware failures. When these anomalies occur, terminal devices may not be able to properly perform their communication tasks, including emergency calls. Emergency calls are crucial communications services that provide rapid assistance and rescue in emergencies.
[0042] Terminals typically initiate emergency calls to base stations, targeting the core network they access. Base stations are a crucial component of wireless communication systems, providing wireless communication services to mobile devices. They typically consist of antennas, wireless transmitters and receivers, signal processing equipment, and network connectivity devices, enabling communication with terminals via wireless signals. The core network, a crucial component of mobile communication systems, primarily facilitates data transmission and connectivity between mobile devices, serving as the backbone and core of the system.
[0043] However, when the core network accessed by the terminal or a cell in the core network accessed encounters an abnormality and cannot support voice call services, the terminal may interrupt the emergency call service due to the inability to connect to the communication network normally, thereby posing a serious threat to people's lives and property.
[0044] The following describes the emergency call method provided by the present disclosure through specific embodiments and in combination with specific application scenarios. The method improves the success rate of emergency calls by performing corresponding processing operations for abnormal situations detected during the emergency call process.
[0045] When implemented, an emergency call targeting the target core network can be initiated to the target base station;
[0046] Furthermore, in response to the emergency call connection exception, an exception code returned by the target base station may be obtained; wherein the exception code is used to indicate the abnormal cause of the emergency call;
[0047] Furthermore, according to the abnormal cause of the emergency call indicated by the abnormal code, a processing operation corresponding to the abnormal cause may be performed to ensure that the emergency call is successfully connected.
[0048] Through the above embodiments, the terminal can initiate an emergency call to the target core network to the target base station, and can obtain the exception code returned by the above target base station in response to the emergency call connection exception; since the exception code is used to indicate the abnormal cause of the above emergency call, the processing operation corresponding to the above abnormal cause can be performed according to the abnormal cause of the above emergency call indicated by the above exception code, so that the above emergency call connection is successful, thereby improving the success rate of emergency calls when network failures occur.
[0049] The present disclosure is described below through specific embodiments and in combination with specific application scenarios.
[0050] See Figure 1 , Figure 1 FIG. 1 is an architecture diagram of an emergency call method according to an exemplary embodiment. Figure 1 As shown, the terminal can establish a connection with the target base station, and the target base station can establish a connection with the target core network. The terminal can send an emergency call request for the target core network to the target base station in response to a dialing operation triggered by a user interface on the terminal. The target base station can forward the emergency call request to the target core network. After receiving the emergency call request, the target core network can determine at least one cell for establishing a voice bearer with the terminal, and return the identification information of the at least one cell to the terminal through the target base station. The terminal can select the target cell from the at least one cell to establish a voice bearer and communicate based on the voice bearer.
[0051] When the target core network or target cell cannot provide voice call service, the voice bearer cannot be established successfully, resulting in abnormal emergency call connection.
[0052] Specifically, the terminal may determine whether a voice bearer is established within a preset duration. If the voice bearer is not established within the preset duration, the terminal may determine that the emergency call connection is abnormal. If the voice bearer is established within the preset duration, the terminal may further determine whether the call duration after the voice bearer is established reaches a preset threshold. If the call duration after the voice bearer is established does not reach the preset threshold, the terminal may determine that the emergency call connection is abnormal.
[0053] Furthermore, the terminal may obtain an abnormality code returned by the target base station in response to the emergency call connection abnormality.
[0054] Furthermore, the terminal may determine the abnormal cause of the emergency call connection abnormality according to the abnormal code, and perform a processing operation corresponding to the abnormal cause according to the abnormal cause.
[0055] The above exception codes generally include two types of exception codes, 503 exception code and err31 exception code.
[0056] When the above-mentioned exception code is 503 exception code, the terminal can determine that the target cell in the target core network used to establish a voice bearer with the terminal cannot provide voice call service, and can store the identification information of the above-mentioned target cell in the blacklist, and re-initiate an emergency call to the above-mentioned target core network to the above-mentioned target base station to obtain the identification information of at least one cell returned by the above-mentioned base station for establishing a voice bearer with the terminal. Since the above-mentioned blacklist includes the identification information of cells that cannot provide voice call service, the terminal can select a cell whose identification information is not included in the above-mentioned blacklist from the above-mentioned at least one cell as the cell to be switched, and switch the network to the above-mentioned cell to be switched.
[0057] When the exception code is err31, the terminal can determine that the above-mentioned target core network cannot provide voice call service, and can obtain at least one core network available to the above-mentioned terminal. Since the at least one core network includes other core networks other than the above-mentioned target core network, the terminal can initiate an emergency call to the target base station for any core network in the above-mentioned at least one core network to establish a temporary connection with any of the above-mentioned core networks and obtain emergency call service.
[0058] Furthermore, the terminal may output prompt information to the user through the user interface carried therein, where the prompt information is used to prompt the user that the emergency call connection of the target core network is abnormal.
[0059] See Figure 2 , Figure 2 The figure is a flow chart showing an emergency call method according to an exemplary embodiment.
[0060] like Figure 2 As shown, the terminal can perform the following steps:
[0061] Step 202: Initiate an emergency call to a target base station for a target core network.
[0062] The terminal may establish a connection with the target base station, which may establish a connection with the target core network. The terminal may send an emergency call request to the target core network to the target base station, which may forward the emergency call request to the target core network, which may process the emergency call request.
[0063] The specific manner in which the terminal initiates an emergency call to the target base station can be set according to actual application requirements, and this disclosure does not limit this.
[0064] In an illustrated embodiment, the terminal may initiate an emergency call to a target core network to a target base station in response to a dialing operation triggered by a user on a user interface carried by the terminal.
[0065] For example, a user may make an emergency call through a user interface on a terminal, thereby triggering the terminal to initiate an emergency call to a target base station for a target core network.
[0066] Step 204: In response to the emergency call connection exception, obtain an exception code returned by the target base station; wherein the exception code is used to indicate the abnormal reason of the emergency call.
[0067] When an emergency call is abnormal, the base station will return the corresponding exception code according to the detected abnormal cause. The terminal can obtain the exception code and determine the abnormal cause through the exception code, which facilitates the subsequent execution of the processing operation corresponding to the abnormal cause, thereby improving the success rate of the emergency call.
[0068] The specific method for the terminal to determine that the emergency call connection is abnormal can be set according to actual needs, and this disclosure does not limit this.
[0069] It should be noted that the emergency call connection exception can occur during the voice bearer establishment process or after the voice bearer establishment is complete.
[0070] In an illustrated embodiment, before obtaining the exception code returned by the target base station in response to the emergency call connection exception, the terminal may determine that the emergency call connection is abnormal during the voice bearer establishment process in the following manner:
[0071] It is determined whether the terminal establishes a voice bearer within a preset time period. If the terminal does not establish a voice bearer within the preset time period, it is determined that the emergency call connection is abnormal.
[0072] Regarding the preset duration, it can be set according to actual needs, and this disclosure does not limit it.
[0073] For example, the preset time length may be one minute. If the terminal fails to establish a voice bearer within one minute, it may be determined that the emergency call connection is abnormal.
[0074] In one embodiment shown, the terminal may determine that the emergency call connection is abnormal after the voice bearer is established by:
[0075] If the above-mentioned terminal establishes a voice bearer within the preset time, it can be further determined whether the call duration after the above-mentioned voice bearer is established reaches a preset threshold. If the call duration after the above-mentioned voice bearer is established does not reach the preset threshold, it is determined that the above-mentioned emergency call connection is abnormal.
[0076] The call duration can be set according to actual needs and is not limited in this disclosure.
[0077] For example, the emergency call may be a 112 emergency call, and the preset duration may be fifteen minutes. If the call duration after the terminal establishes a voice bearer with the target cell is suddenly interrupted before fifteen minutes, it may be determined that the emergency call connection is abnormal.
[0078] In this way, not only the success rate of initiating emergency calls can be improved, but also the communication process of the emergency calls can be guaranteed.
[0079] Step 206 : Based on the abnormal cause of the emergency call indicated by the abnormal code, a processing operation corresponding to the abnormal cause is performed to successfully connect the emergency call.
[0080] The reasons for the abnormal emergency call connection are usually that the target core network cannot provide voice call service, and the target cell in the target core network used to establish a voice bearer with the terminal cannot provide voice call service.
[0081] The above-mentioned exception codes may include two types of exception codes: 503 and err31. The exception cause corresponding to the 503 exception code may include that the target cell in the target core network used to establish a voice bearer with the terminal is unable to provide voice call services. The exception cause corresponding to the err31 exception code may include that the target core network is unable to provide voice call services.
[0082] Since the base station can return a corresponding abnormality code to the terminal according to the detected abnormality cause, the terminal can perform corresponding processing operations based on the abnormality code to ensure a successful emergency call connection.
[0083] The specific steps included in the processing operation executed by the terminal can be set according to actual needs, and this disclosure does not limit this.
[0084] In an illustrated embodiment, when a target cell in the target core network used to establish a voice bearer with the terminal cannot provide a voice call service, the terminal may perform the following processing operations:
[0085] The identification information of the above-mentioned target cell is stored in a blacklist; the above-mentioned blacklist includes the identification information of cells that cannot provide voice call services; an emergency call is initiated to the above-mentioned target base station for the above-mentioned target core network, and the identification information of at least one cell returned by the above-mentioned base station for establishing voice bearer with the terminal is obtained; from the above-mentioned at least one cell, a cell whose identification information is not included in the above-mentioned blacklist is selected as the cell to be switched, and the network is switched to the above-mentioned cell to be switched.
[0086] Since the target cell used to establish a voice bearer with the terminal cannot provide voice services, the terminal can re-determine other cells that can be used to establish a voice bearer. Specifically, the terminal can re-initiate an emergency call to the target base station for the target core network, and the target core network can return the identification information of at least one cell used to establish a voice bearer with the terminal to the terminal through the base station. The terminal can obtain the identification information of the at least one cell. Since the at least one cell may include a target cell that cannot provide voice services, when the last emergency call determined that the target cell cannot provide voice services, the identification information of the target cell can be stored in a blacklist, and when the identification information of the at least one cell is obtained, a cell whose identification information is not included in the blacklist is selected from the at least one cell as the cell to be switched, the network is switched to the cell to be switched, and a voice bearer can be established with the cell to be switched.
[0087] For example, the identification information of the target cell may be cell_1, and the terminal may store the cell_1 in a blacklist. The terminal may initiate an emergency call to the target core network to the target base station, and obtain the identification information of at least one cell returned by the base station for establishing a voice bearer with the terminal. The identification information of the at least one cell may include cell_1, cell_2, and cell_3. The terminal may select a cell whose identification information is not included in the blacklist from the at least one cell as the cell to be switched, that is, the terminal may select cell_2 or cell_3 as the cell to be switched, may switch the network to the cell to be switched, and may establish a voice bearer with the cell to be switched.
[0088] The specific content of the identification information of the target cell may include the TAC (Tracking Area Code) and PCI (Physical Cell Identity) of the cell, which is not limited in the present disclosure.
[0089] It should be noted that the above-mentioned at least one cell may include a 4G cell or a 5G cell, and this disclosure does not limit this.
[0090] In this way, the abnormal problem that the cell accessed by the terminal cannot provide voice service can be solved, thereby improving the success rate of emergency calls.
[0091] In one embodiment shown, when the target core network cannot provide voice call service, the terminal may perform the following processing operations:
[0092] Obtain at least one core network available to the above-mentioned terminal; wherein the above-mentioned at least one core network includes other core networks other than the above-mentioned target core network; initiate an emergency call to the target base station for any core network in the above-mentioned at least one core network to establish a temporary connection with any of the above-mentioned core networks and obtain emergency call service.
[0093] When the target core network cannot provide voice call services, the terminal can only obtain emergency call services by initiating a Limited service call to other core networks and establishing a temporary connection with other core networks.
[0094] Limited service refers to a specific network connection state where the device cannot access all mobile network services. Specifically, when the device displays "Limited Service" status, users may not be able to make normal voice calls, send text messages, or use data services, but they can still receive emergency calls.
[0095] In the present disclosure, since different core networks are operated by different operators, the terminal cannot directly switch between different core networks, but can obtain emergency call services provided by other core networks by initiating a Limited service call.
[0096] Specifically, the terminal can search for at least one core network available at its location; wherein, the above-mentioned at least one core network includes other core networks other than the above-mentioned target core network, and the terminal can initiate an emergency call to the target base station for any one of the above-mentioned at least one core network to establish a temporary connection with any one of the above-mentioned core networks and obtain emergency call services.
[0097] For example, the above-mentioned target core network may be core network_1. When there is an abnormality in the core network_1, the terminal may search for at least one available core network at its location, wherein the at least one core network may include core network_2 and core network_3. The terminal may initiate an emergency call to core network_2 to the target base station to establish a temporary connection with the above-mentioned core network_2 and obtain emergency call services; the terminal may also initiate an emergency call to core network_3 to the target base station to establish a temporary connection with the core network_3 and obtain emergency call services.
[0098] In this way, the abnormal problem that the core network accessed by the terminal cannot provide voice services can be solved, thereby improving the success rate of emergency calls.
[0099] In one embodiment shown, prompt information is output to the user through a user interface carried by the terminal; the prompt information is used to inform the user that the emergency call connection of the target core network is abnormal.
[0100] The terminal can also output prompt information to the user through the onboard user interface to inform the user that the emergency call connection of the core network to which the terminal is connected is abnormal, thereby improving the integrity of the service.
[0101] The specific content of the prompt information can be set according to actual needs and is not limited in this disclosure. For example, the prompt information may include "The current network is abnormal and may affect your emergency call service."
[0102] Corresponding to the above-mentioned embodiment of the emergency call method, the present disclosure also provides an embodiment of an emergency call device.
[0103] See Figure 3 , Figure 3 This is a hardware structure diagram of an electronic device where an emergency call device is located, shown as an exemplary embodiment. At the hardware level, the device includes a processor 302, an internal bus 304, a network interface 306, a memory 308, and a non-volatile memory 310, and of course may also include hardware required for other services. One or more embodiments of the present disclosure can be implemented based on software, such as the processor 302 reading the corresponding computer program from the non-volatile memory 310 into the memory 308 and then running it. Of course, in addition to software implementation, one or more embodiments of the present disclosure do not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0104] See Figure 4 , Figure 4This is a block diagram of an emergency call device according to an exemplary embodiment. Figure 3 The electronic device shown in the figure is used to implement the technical solution of the present disclosure. The above device may include:
[0105] The initiating unit 402 is configured to initiate an emergency call to a target core network to a target base station;
[0106] The acquiring unit 404 is configured to acquire an exception code returned by the target base station in response to the emergency call connection exception; wherein the exception code is used to indicate the cause of the emergency call exception;
[0107] The execution unit 406 is configured to execute a processing operation corresponding to the abnormal cause of the emergency call indicated by the abnormal code, so as to successfully connect the emergency call.
[0108] In this embodiment, the above-mentioned exception code may include a 503 exception code; the exception cause indicated by the above-mentioned 503 exception code may include that the target cell in the above-mentioned target core network used to establish a voice bearer with the terminal cannot provide a voice call service;
[0109] The execution unit 406 may be specifically configured to:
[0110] Storing the identification information of the target cell in a blacklist; the blacklist includes identification information of cells that cannot provide voice call services;
[0111] Initiate an emergency call to the target core network to the target base station, and obtain identification information of at least one cell returned by the base station for establishing a voice bearer with the terminal;
[0112] From the at least one cell, a cell whose identification information is not included in the blacklist is selected as the cell to be switched, and the network is switched to the cell to be switched.
[0113] In this embodiment, the above-mentioned exception code may include an err31 exception code; the exception cause indicated by the above-mentioned err31 exception code may include that the above-mentioned target core network cannot provide voice call service;
[0114] The execution unit 406 may be specifically configured to:
[0115] Acquire at least one core network available to the terminal; wherein the at least one core network includes other core networks other than the target core network;
[0116] An emergency call is initiated to the target base station for any one of the at least one core network, so as to establish a temporary connection with any one of the core networks and obtain an emergency call service.
[0117] In this embodiment, the initiating unit 402 may be specifically configured to:
[0118] In response to a dialing operation triggered by a user through a user interface carried by a terminal, an emergency call is initiated to a target base station for a target core network.
[0119] In this embodiment, the apparatus may further include a determining unit configured to, in response to the emergency call connection exception, before obtaining the exception code returned by the target base station, perform the following steps:
[0120] Determining whether the terminal establishes a voice bearer within a preset time period;
[0121] If the terminal fails to establish a voice bearer within a preset time period, it is determined that the emergency call connection is abnormal.
[0122] In this embodiment, the above-mentioned determination unit may also be used to:
[0123] If the terminal establishes a voice bearer within the preset duration, determining whether the call duration after the voice bearer establishment is completed reaches a preset threshold;
[0124] If the call duration after the voice bearer is established does not reach a preset threshold, it is determined that the emergency call connection is abnormal.
[0125] In this embodiment, the above device may further include an output unit, configured to:
[0126] A prompt message is output to the user through the user interface carried by the terminal; the prompt message is used to inform the user that the emergency call connection of the target core network is abnormal.
[0127] In this embodiment, the identification information of the target cell includes a TAC code and a PCI identifier.
[0128] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0129] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without making any creative efforts.
[0130] The systems, devices, or modules described in the embodiments may be implemented by computer chips or physical devices, or by products having certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0131] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0132] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0133] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0134] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0135] The foregoing description describes specific embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0136] The terms used in one or more embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit one or more embodiments of the present disclosure. The singular forms "a," "the," and "the" used in one or more embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0137] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of one or more embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0138] The above description is merely a preferred embodiment of one or more embodiments of the present disclosure and is not intended to limit one or more embodiments of the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present disclosure shall be included in the scope of protection of one or more embodiments of the present disclosure.
[0139] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
Claims
1. An emergency call method, characterized in that: The method comprises: Initiate an emergency call to the target base station for the target core network; In response to the emergency call connection being abnormal, obtaining an abnormality code returned by the target base station; wherein the abnormality code is used to indicate the abnormal cause of the emergency call; According to the abnormal cause of the emergency call indicated by the abnormal code, a processing operation corresponding to the abnormal cause is performed to ensure that the emergency call is successfully connected.
2. The method according to claim 1, characterized in that The exception code includes a 503 exception code; the 503 exception code indicates that the target cell in the target core network used to establish a voice bearer with the terminal cannot provide a voice call service; The executing of a processing operation corresponding to the abnormal cause includes: Storing the identification information of the target cell in a blacklist; the blacklist includes identification information of cells that cannot provide voice call service; Initiate an emergency call to the target core network to the target base station, and obtain identification information of at least one cell returned by the base station for establishing a voice bearer with the terminal; From the at least one cell, a cell whose identification information is not included in the blacklist is selected as a cell to be switched, and the network is switched to the cell to be switched.
3. The method according to claim 1, characterized in that The exception code includes an err31 exception code; the err31 exception code indicates that the target core network cannot provide voice call service; The executing of a processing operation corresponding to the abnormal cause includes: Acquire at least one core network available to the terminal; wherein the at least one core network includes other core networks other than the target core network; An emergency call is initiated to the target base station for any core network of the at least one core network, so as to establish a temporary connection with the any core network and obtain an emergency call service.
4. The method according to claim 1, wherein Before obtaining the exception code returned by the target base station in response to the emergency call connection exception, the method further includes: Determine whether the terminal establishes a voice bearer within a preset time period; If the terminal fails to establish a voice bearer within a preset time period, it is determined that the emergency call connection is abnormal.
5. The method according to claim 4, characterized in that The method further comprises: If the terminal establishes a voice bearer within a preset duration, determining whether a call duration after the voice bearer establishment is completed reaches a preset threshold; If the call duration after the voice bearer is established does not reach a preset threshold, it is determined that the emergency call connection is abnormal.
6. The method according to claim 1, characterized in that The method further comprises: A prompt message is output to the user through the user interface carried by the terminal; the prompt message is used to remind the user that the emergency call connection of the target core network is abnormal.
7. The method according to claim 2, characterized in that The identification information of the target cell includes a TAC code and a PCI identifier.
8. An emergency call device, characterized in that: The device comprises: An initiating unit, configured to initiate an emergency call to a target base station for a target core network; an acquiring unit, configured to acquire an exception code returned by the target base station in response to the emergency call connection being abnormal; wherein the exception code is used to indicate a cause of the abnormality of the emergency call; The execution unit is configured to execute a processing operation corresponding to the abnormal cause of the emergency call indicated by the abnormal code, so as to successfully connect the emergency call.
9. A user equipment, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method according to any one of claims 1 to 7.
10. A machine-readable storage medium, characterized in that The machine-readable storage medium stores machine-readable instructions, and when the machine-readable instructions are called and executed by a processor, the method according to any one of claims 1 to 7 is implemented.