Emergency call method, apparatus, electronic device, storage medium, and product
Patent Information
- Application Number
- CN202510182461.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2026-08-18
AI Technical Summary
[0003]然而,目前不同国家/地区的紧急呼叫号码不同,用户在紧急呼叫时,可能呼叫至错误的紧急呼叫号码,从而不能及时响应用户的紧急呼叫需求,导致用户的使用体验较差,并且可能影响用户的人身安全
[0043] The method described in this disclosure has the following advantages: the method provided in this disclosure can determine an accurate emergency call number and make an emergency call based on the accurate emergency call number, thereby responding to the user's emergency call needs in a timely manner, improving the user experience, and reducing the impact on the user's personal safety.
Smart Images

Figure CN122602131A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to an emergency call method, apparatus, electronic device, storage medium, and product. Background Technology
[0002] When users encounter life-threatening situations or other emergencies, such as sudden serious illness, accidents / natural disasters, or attacks, they can report the situation to rescue departments through emergency calls and receive timely assistance.
[0003] However, emergency call numbers differ across countries / regions. Users may dial the wrong emergency call number when making an emergency call, resulting in a failure to respond to their emergency needs in a timely manner, leading to a poor user experience and potentially endangering their personal safety. Summary of the Invention
[0004] To overcome the problems existing in the related technologies, this disclosure provides an emergency call method, apparatus, electronic device, storage medium, and product.
[0005] According to a first aspect of the present disclosure, an emergency call method is provided, comprising:
[0006] In response to an emergency call operation based on a first emergency call number, the type of the target satellite operator and the target call type of the first emergency call number are obtained; the target satellite operator is the satellite operator currently providing communication services to electronic devices;
[0007] Based on the type of the target satellite operator and the target call type, a second emergency call number is determined;
[0008] Make an emergency call based on the second emergency call number.
[0009] In some embodiments, determining the second emergency call number based on the type of the target satellite operator and the target call type includes:
[0010] In response to the target satellite operator being either a single terrestrial satellite operator or an independent satellite communications operator, the second emergency call number is determined based on the target call type.
[0011] In some embodiments, determining the second emergency call number based on the type of the target satellite operator and the target call type includes:
[0012] In response to the fact that the target satellite operator is a multi-terrestrial satellite operator, the current location information is obtained;
[0013] Based on the current location information, the target area is determined;
[0014] The second emergency call number is determined based on the target area and the target call type.
[0015] In some embodiments, after making an emergency call based on the second emergency call number, the method further includes:
[0016] In response to an emergency call being abnormally disconnected, the emergency call is transferred to a preset number.
[0017] In some embodiments, transferring the emergency call to a preset number includes:
[0018] In response to the electronic device being equipped with a call forwarding function, the emergency call is forwarded to a preset number set in the call forwarding function.
[0019] In some embodiments, transferring the emergency call to a preset number includes:
[0020] In response to the fact that the electronic device is not equipped with the call transfer function, the associated communication module of the communication module used for making emergency calls is determined;
[0021] The emergency call is transferred to the preset number corresponding to the associated communication module.
[0022] In some embodiments, the method further includes:
[0023] In response to the fact that the electronic device does not have the call forwarding function and the associated communication module does not exist, a prompt message is displayed; the prompt message is used to prompt the target object to set up the call forwarding function.
[0024] In some embodiments, prior to making an emergency call based on the second emergency call number, the method further includes:
[0025] In response to the electronic device being in a roaming scenario, determine the target call type of the electronic device;
[0026] The second emergency call number is determined based on the target call type and the current network on which the electronic device is hosted.
[0027] In some embodiments, determining the target call type of the electronic device includes:
[0028] Obtain first information; the first information includes a first emergency call number and a target identifier of the communication module; the target identifier includes a mobile network identifier and a mobile area identifier, or the target identifier includes a mobile area identifier, the mobile network identifier is used to distinguish different mobile networks, the mobile area identifier is used to distinguish different areas, and the first emergency call number is a number entered in response to triggering an emergency call;
[0029] Based on the first information, query the call type corresponding to the first information, and determine the call type as the target call type.
[0030] In some embodiments, determining the second emergency call number based on the target call type and the current network where the electronic device is hosted includes:
[0031] Obtain second information; the second information includes the target call type and the target identifier of the current network; the target identifier includes a mobile network identifier and a mobile region identifier, or the target identifier includes a mobile region identifier, wherein the mobile network identifier is used to distinguish different mobile networks and the mobile region identifier is used to distinguish different regions;
[0032] Based on the second information, query the emergency call number corresponding to the second information, and determine the emergency call number corresponding to the second information as the second emergency call number.
[0033] According to a second aspect of the present disclosure, an emergency call device is provided, comprising:
[0034] The acquisition module is configured to, in response to an emergency call operation based on a first emergency call number, acquire the type of the target satellite operator and the target call type of the first emergency call number; the target satellite operator is the satellite operator currently providing communication services to the electronic device;
[0035] The determination module is configured to determine a second emergency call number based on the type of the target satellite operator and the target call type of the first emergency call number;
[0036] The processing module is configured to make an emergency call based on the second emergency call number.
[0037] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0038] processor;
[0039] Memory used to store processor-executable instructions;
[0040] The processor is configured to perform the emergency call method as described in the first aspect of this disclosure.
[0041] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the emergency call method as described in the first aspect of the present disclosure.
[0042] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the emergency call method as described in the first aspect of the present disclosure.
[0043] The method described in this disclosure has the following advantages: the method provided in this disclosure can determine an accurate emergency call number and make an emergency call based on the accurate emergency call number, thereby responding to the user's emergency call needs in a timely manner, improving the user experience, and reducing the impact on the user's personal safety.
[0044] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0045] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0046] Figure 1 This is a flowchart illustrating an emergency call method according to an exemplary embodiment.
[0047] Figure 2 This is a flowchart illustrating an emergency call method according to an exemplary embodiment.
[0048] Figure 3 This is a flowchart illustrating an emergency call method according to an exemplary embodiment.
[0049] Figure 4 This is a flowchart illustrating an emergency call method according to an exemplary embodiment.
[0050] Figure 5 This is a flowchart illustrating an emergency call method according to an exemplary embodiment.
[0051] Figure 6 This is a flowchart illustrating an emergency call method according to an exemplary embodiment.
[0052] Figure 7 This is a block diagram illustrating an emergency call device according to an exemplary embodiment.
[0053] Figure 8 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0054] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0055] When users encounter life-threatening situations or other emergencies, such as sudden serious illness, accidents / natural disasters, or terrorist attacks, they can report the situation to rescue departments through emergency calls and receive timely assistance.
[0056] The International Telecommunication Union (ITU) has established a global standard for emergency telephone numbers, providing a unified set of rules for telephone systems worldwide. According to this standard, different countries and regions assign specific numbers for emergency calls, resulting in variations between countries / regions. For example, in China, "110" is for police, "120" for ambulance, and "119" for fire department. In the United States and Canada, "911" is a general-purpose number (fire department, ambulance, and police). In some EU countries, "112" is a general-purpose number (fire department, ambulance, and police).
[0057] Therefore, emergency call numbers differ in different countries / regions. When making an emergency call, a user may dial the wrong emergency call number, resulting in a failure to respond to the user's emergency call request in a timely manner, leading to a poor user experience and potentially affecting the user's personal safety.
[0058] To address the aforementioned problems, this disclosure provides an emergency call method. The method includes, in response to an emergency call operation based on a first emergency call number, obtaining the type of a target satellite operator and the target call type of the first emergency call number; the target satellite operator is the satellite operator currently providing communication services to the electronic device; a second emergency call number is determined based on the type of the target satellite operator and the target call type; and an emergency call is made based on the second emergency call number. The method provided by this disclosure can obtain the actual call type and satellite operator type based on the user's emergency call operation, thereby determining an accurate second emergency call number based on the call type and satellite operator type, and making an emergency call based on the second emergency call number. Thus, this disclosure can determine an accurate emergency call number and make an emergency call based on the accurate emergency call number, thereby responding promptly to the user's emergency call needs, improving the user experience, and reducing the impact on the user's personal safety.
[0059] The emergency call method provided in this disclosure is executed by an electronic device, which may specifically be a mobile phone, tablet computer, laptop, smart robot, vehicle system, smart wearable device, or other smart device.
[0060] Figure 1 This is a flowchart illustrating an emergency call method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 1 The method includes the following steps:
[0061] Step S101: In response to an emergency call operation based on a first emergency call number, obtain the type of the target satellite operator and the target call type of the first emergency call number; the target satellite operator is the satellite operator currently providing communication services to electronic devices.
[0062] The first emergency call number is the number corresponding to the emergency call operation. Optionally, the emergency call operation can be a manual operation performed by the user, such as manually entering the emergency call number on the dial pad of the electronic device in certain situations, or clicking the emergency call operation-related button; it can also be an automatically executed operation, such as an emergency call operation automatically executed when the electronic device detects that the user may have been involved in a car accident or that the electronic device detects that the user's body is in an emergency state.
[0063] In some embodiments, the 3rd Generation Partnership Project (3GPP) protocol defines the correspondence between call numbers and call types. For example, within China, "110" represents an emergency call, and its corresponding call type is emergency; "120" represents an ambulance call, and its corresponding call type is ambulance; "119" represents a fire call, and its corresponding call type is fire. Similarly, within the United States and Canada, "911" represents a general-purpose telephone number (fire, ambulance, and police), and its corresponding call type is general-purpose. Furthermore, within some EU countries, "112" represents a general-purpose telephone number (fire, ambulance, and police), and its corresponding call type is general-purpose. Accordingly, electronic devices can determine the target call type corresponding to the first emergency call number based on the correspondence between call numbers and call types. For example, when the first emergency call number is 120, the target call type is ambulance.
[0064] It should be noted that electronic devices can implement satellite communication services through a communication module installed within them. This communication module can be a smart card installed in the electronic device, such as a Subscriber Identity Module (SIM) card or an embedded SIM card. In some embodiments, information about the communication module of the electronic device can be determined, and based on this information, the type of target satellite operator can be identified.
[0065] Different satellite systems may correspond to different operators. For example, a satellite system may correspond to a single terrestrial operator, meaning the terrestrial operator provides satellite communication services only in one country / region. Alternatively, a satellite system may correspond to multiple terrestrial operators, meaning the terrestrial operator provides satellite communication services in multiple countries / regions. In some embodiments, based on the different operators corresponding to different satellite systems, satellite operators can be categorized into single-terrestrial satellite operators, independent satellite communication operators, and multi-terrestrial satellite operators. In some embodiments, satellite communication operators may include traditional satellite communication operators and low-Earth orbit satellite constellation operators. Satellite communication operators are primarily responsible for the launch, operation, and management of satellites, providing satellite communication services, while terrestrial satellite operators are primarily responsible for the construction and operation of terrestrial networks, including gateway stations, user stations, and network operation centers.
[0066] Step S102: Determine the second emergency call number based on the type of the target satellite operator and the target call type of the first emergency call number.
[0067] When the target satellite operator is a multi-terrestrial operator, it can provide satellite communication services in multiple countries / regions, and the emergency call numbers corresponding to the target call type may differ in different regions or countries. In some embodiments, a second emergency call number corresponding to the target call type can be determined based on the target call type and the type of the target satellite operator.
[0068] Step S103: Make an emergency call based on the second emergency call number.
[0069] In some embodiments, the electronic device may automatically make an emergency call based on a second emergency call number to meet the user's emergency needs.
[0070] The method provided in this disclosure can determine an accurate emergency call number and make an emergency call based on the accurate emergency call number, thereby responding to the user's emergency call needs in a timely manner, improving the user experience, and reducing the impact on the user's personal safety.
[0071] In some embodiments, the method for determining the second emergency call number may differ depending on the type of the target satellite operator. The following is an example... Figure 2 The illustrated embodiment describes the process of determining a second emergency call number based on the target call type and the type of the target satellite operator.
[0072] Figure 2 This is a flowchart illustrating an emergency call method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 2 The method includes the following steps:
[0073] Step S201: In response to an emergency call operation based on the first emergency call number, obtain the type of the target satellite operator and the target call type of the first emergency call number.
[0074] Step S201 is the same as step S101 in the above embodiment, and will not be described again here.
[0075] In step S202, in response to the target satellite operator being either a single terrestrial satellite operator or an independent satellite communication operator, a second emergency call number is determined based on the target call type.
[0076] In some embodiments, when the target satellite operator is a single terrestrial satellite operator or an independent satellite communication operator, meaning the target satellite operator provides satellite communication services in one country / region, there is no issue of the target satellite operator being located in different countries / regions. Therefore, in this case, the emergency call number corresponding to the target call type can be directly determined based on the correspondence between the target call type and the call type and emergency call number, and this emergency call number can be designated as the second emergency call number.
[0077] Step S203: In response to the target satellite operator being a multi-terrestrial satellite operator, obtain the current location information.
[0078] The current location information can be latitude and longitude information or coordinate information under a preset coordinate system, which can be set based on the actual situation.
[0079] When the target satellite operator is a multi-terrestrial satellite operator, it can provide satellite communication services in multiple countries / regions. However, since the correspondence between call types and emergency call numbers may differ across countries / regions, there is a risk of inaccurate identification of the emergency call number. For example, for the same call type, the emergency call number may differ between country A and country B.
[0080] In some embodiments, the current location information of an electronic device can be determined based on its positioning system. Optionally, the current location information can be determined using a Global Positioning System (GPS). Alternatively, the current location information can be determined using a satellite positioning system other than GPS.
[0081] Step S204: Determine the target area based on the current location information.
[0082] The target region refers to the country / region corresponding to the current location information. For example, given the current location information (116°23′17″E, 39°54′20″N), the target region can be determined to be China; while given the current location information (77°02′12″W, 38°53′42″N), the target region can be determined to be the United States.
[0083] Step S205: Determine the second emergency call number based on the target area and target call type.
[0084] In some embodiments, the correspondence between call types and emergency call numbers differs across regions. For example, in China, the emergency call number for first aid is 120, while in the United States, it is 911.
[0085] In some embodiments, a target correspondence between call types and emergency call numbers can be determined within a target area, and a second emergency call number corresponding to the target call type can be determined based on the target correspondence. For example, if the target area is the United States and the target call type is an alarm type, then the second emergency call number is 911; if the target area is China and the target call type is an alarm type, then the second emergency call number is 110; if the target area is Japan and the target call type is an alarm type, then the second emergency call number is 110.
[0086] Step S206: Make an emergency call based on the second emergency call number.
[0087] Step S206 is the same as step S103 in the above embodiment, and will not be described again here.
[0088] The method provided in this disclosure can determine the current location information of an electronic device when the target satellite operator is a multi-terrestrial satellite operator, and determine the target area based on the current location information. Then, based on the correspondence between the call type and the emergency call number in the target area, the method can determine the emergency call number corresponding to the target call type, thereby improving the accuracy of emergency calls, ensuring that the accurate emergency call number is dialed, and effectively protecting the personal safety of users.
[0089] In some embodiments, after an emergency call is made based on a second emergency call number, the call quality may degrade due to poor satellite signal or satellite network fluctuations, resulting in the emergency call being abnormally disconnected. It should be noted that abnormal disconnection can be automatic, such as when the electronic device detects poor call quality (high packet loss rate) or prolonged silence during the call (no data packets captured for an extended period), triggering an automatic disconnection mechanism to automatically disconnect the emergency call. Alternatively, abnormal disconnection can be manual, such as when the user notices poor call quality or needs to transfer the call to provide more information; the user can manually disconnect the call.
[0090] In some embodiments, in response to an emergency call being abnormally disconnected, the emergency call can be transferred to a preset number, thereby avoiding problems such as poor call quality and silent calls, and increasing the effectiveness of emergency calls. The following describes... Figure 3 The illustrated embodiment explains the process of transferring emergency calls to a preset number.
[0091] Figure 3 This is a flowchart illustrating an emergency call method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 3 The method includes the following steps:
[0092] Step S301: Determine whether the electronic device has a call forwarding function. If the electronic device has a call forwarding function (yes), proceed to step S302; if the electronic device does not have a call forwarding function (no), proceed to step S303.
[0093] Step S302: Transfer emergency calls to the preset number set in the call transfer function.
[0094] In some embodiments, the inclusion of a call forwarding function in an electronic device indicates that the call forwarding function is enabled and a preset number is pre-set within the call forwarding function. In some embodiments, during use, the electronic device can respond to user actions by configuring the call forwarding function. For example, a user can enable the call forwarding function and configure various settings within it, such as setting a preset number. The electronic device can then perform corresponding operations on these settings based on the user's actions.
[0095] In some embodiments, the preset number can be one number or multiple numbers. Optionally, when there are multiple preset numbers, call forwarding can be performed sequentially according to the order set by the preset numbers, or any number can be selected from the multiple numbers for call forwarding.
[0096] Step S303: Determine whether there is an associated communication module for the communication module used to make an emergency call. If there is an associated communication module for the communication module used to make an emergency call (Yes), proceed to step S304; if there is no associated communication module for the communication module used to make an emergency call (No), proceed to step S305.
[0097] In some embodiments, the absence of a call forwarding function on an electronic device includes situations where the electronic device does not include a call forwarding function, the call forwarding function in the electronic device is disabled, or the function is enabled but not configured. Accordingly, in response to the absence of a call forwarding function on the electronic device, the electronic device cannot forward calls based on a preset number configured in the call forwarding function.
[0098] In some embodiments, the electronic device uses a communication module to conduct satellite communication services for emergency calls. The electronic device can query the core network it resides in to determine if there is an associated communication module for making emergency calls. An associated communication module can refer to a communication module that is related to the main communication module; for example, when the main communication module is a SIM card, the associated communication module could be a secondary SIM card or a friend's SIM card associated with the SIM card.
[0099] Step S304: Transfer the emergency call to the preset number corresponding to the associated communication module.
[0100] In some embodiments, if there are multiple associated communication modules, an associated communication module can be selected arbitrarily from among the multiple associated communication modules, and the emergency call can be transferred to the preset number corresponding to that associated communication module.
[0101] Step S305: Display a prompt message; the prompt message is used to prompt the target object to set up the call forwarding function.
[0102] In some embodiments, in response to the electronic device not having a call forwarding function and not having an associated communication module for making emergency calls, a prompt message may be displayed to prompt the user to enable and configure the call forwarding function.
[0103] In some embodiments, when the electronic device does not include call forwarding functionality, an emergency call may be attempted again.
[0104] This disclosure does not limit the display area and display method of the prompt information. Optionally, the prompt information can be displayed on the screen of the electronic device as a pop-up window, or it can be displayed in the status bar of the electronic device as a notification message.
[0105] The method provided in this disclosure can transfer emergency calls to a preset number when an emergency call is abnormally disconnected, thereby improving the effectiveness of emergency calls, ensuring the smooth operation of emergency calls, and thus improving the user experience.
[0106] In some embodiments, when an electronic device is roaming, the user may dial the wrong emergency number because they are unfamiliar with the emergency call numbers in the roaming area, thus failing to accurately meet the user's emergency call needs. Therefore, to address this problem, this disclosure provides an emergency call method that can accurately make emergency calls when the electronic device is roaming, thereby helping the user receive appropriate assistance.
[0107] The embodiments disclosed herein can be applied to mobile communication scenarios, as described below. Figure 4 The illustrated embodiment describes the process of making an emergency call when an electronic device is in a roaming scenario.
[0108] Figure 4 This is a flowchart illustrating an emergency call method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 4 The method includes the following steps:
[0109] Step S401: In response to the electronic device being in a roaming scenario and an emergency call operation based on the first emergency call number, determine the target call type of the electronic device.
[0110] The following methods can be used to determine if an electronic device is in a roaming scenario:
[0111] In some embodiments, the network of the communication module used to make emergency calls and the current network used by the electronic device can be obtained. If the network of the communication module and the current network are different, it can be determined that the electronic device is in a roaming scenario.
[0112] In some embodiments, the roaming status of an electronic device can be determined by reading its usage status. For example, when an electronic device is in a roaming scenario, the network identifier in the status bar of the electronic device will display a non-roaming identifier, which can be used to determine that the electronic device is in a roaming scenario.
[0113] The details regarding the emergency call operation based on the first emergency call number can be found in step S101 of the above embodiments, and will not be repeated here.
[0114] In some embodiments, determining the target call type of an electronic device is used to characterize the target call type of a communication module in the electronic device used for making emergency calls. The determination process may include: obtaining first information; querying the call type corresponding to the first information based on the first information, and determining the call type as the target call type.
[0115] The first information includes a first emergency call number and a target identifier of the communication module. The target identifier includes a mobile network identifier and a mobile area identifier, or the target identifier includes a mobile area identifier. The mobile network identifier is used to distinguish different mobile networks, and the mobile area identifier is used to distinguish different areas. The first emergency call number is the number entered in response to triggering an emergency call. The preset database includes the correspondence between the target identifier, the emergency call number, and the call type.
[0116] In some embodiments, the mobile network identifier is used to identify the operator network to which the electronic device is connected, and the mobile area identifier can be used to identify the country / region where the electronic device is located. Optionally, the mobile network identifier can be the mobile network code (MNC), and the mobile country identifier can be the mobile country code (MCC).
[0117] In some embodiments, the call type corresponding to the first information can be directly queried from a preset database. The preset database includes a carrier-based database, which includes the correspondence between mobile network identifiers, mobile area identifiers, emergency call numbers, and call types; or, the preset database includes a country-based database, which includes the correspondence between mobile area identifiers, emergency call numbers, and call types. Furthermore, the preset database also includes a protocol-based database, which includes the common correspondence between emergency call numbers and call types under any country / region and any mobile network.
[0118] In some embodiments, the call type corresponding to the first information can be queried in a preset order from multiple databases included in the preset database. The preset order can be set and selected based on actual needs. For example, the preset order might be to query the operator database first, then the country database. Accordingly, when the preset order is to query the operator database first, then the country database, for the first information, the call type corresponding to the first information can be queried in the operator database. If the operator database includes the call type corresponding to the first information, the call type corresponding to the first information can be identified as the call type. If the operator database does not include the call type corresponding to the first information, the call type corresponding to the first information can be queried in the country database. If the operator database includes the call type corresponding to the first information, the call type corresponding to the first information can be identified as the call type. If the country database does not include the call type corresponding to the first information, an emergency call can be made based on the first emergency call number.
[0119] Step S402: Determine the second emergency call number based on the target call type and the current network where the electronic device is hosted.
[0120] In some embodiments, second information may be obtained; based on the second information, the emergency call number corresponding to the second information may be queried, and the emergency call number corresponding to the second information may be determined as the second emergency call number.
[0121] The second information includes the target call type and the target identifier of the current network; the target identifier includes the mobile network identifier and the mobile area identifier, or the target identifier includes the mobile area identifier. The mobile network identifier is used to distinguish different mobile networks, and the mobile area identifier is used to distinguish different areas. The preset database includes the correspondence between the target identifier, the emergency call number, and the call type.
[0122] In some embodiments, the emergency call number corresponding to the second information can be directly queried from a preset database.
[0123] In some embodiments, the emergency call number corresponding to the second information can be queried in multiple databases included in the preset database according to a preset order. The preset order can be set and selected based on actual needs. For example, the preset order could be to first query the operator database and then the country database. Accordingly, when the preset order is to first query the operator database and then the country database, for the second information, the emergency call number corresponding to the second information can be queried in the operator database. If the operator database includes the emergency call number corresponding to the second information, the emergency call number corresponding to the second information can be identified as the second emergency call number, and an emergency call can be made based on the second emergency call number. If the operator database does not include the emergency call number corresponding to the second information, the emergency call number corresponding to the second information can be queried in the country database. If the country database includes the emergency call number corresponding to the second information, the emergency call number corresponding to the second information can be identified as the second emergency call number, and an emergency call can be made based on the second emergency call number. If the country database does not include the emergency call number corresponding to the second information, an emergency call can be made based on the first emergency call number.
[0124] Additionally, it should be noted that during the query process for the call type corresponding to the first piece of information and the second emergency call number corresponding to the second piece of information, a protocol-based database can be added to the existing operator and country-based databases. The specific query process can be found above and will not be repeated here.
[0125] Step S403: Make an emergency call based on the second emergency call number.
[0126] Step S403 is the same as step S103 in the above embodiment, and will not be described again here.
[0127] In some embodiments, taking the preset order of first querying the operator database and then querying the country database as an example, through... Figure 5 The illustrated embodiment explains the emergency call process.
[0128] Step S501: In response to an emergency call operation based on the first emergency call number, determine whether the electronic device is in a roaming scenario. If the electronic device is in a roaming scenario, proceed to step S502; if the electronic device is not in a roaming scenario, proceed to step S511.
[0129] Step S502: Obtain first information, which includes a first emergency call number and a target identifier of the communication module.
[0130] Step S503: Query the call type corresponding to the first information in the operator database. If the operator database does not contain the call type corresponding to the first information, proceed to step S504; if the operator database does contain the call type corresponding to the first information, proceed to step S505.
[0131] In some embodiments, the first emergency call number and target identifier in the first information can be matched with information in the operator database, thereby enabling the query of the call type corresponding to the first information in the operator database.
[0132] Step S504: Query the call type corresponding to the first information in the country category database. If the country category database includes the call type corresponding to the first information, proceed to step S505; if the country category database does not include the call type corresponding to the first information, proceed to step S511.
[0133] Similarly, the first emergency call number and target identifier in the first information can be matched with information in the country database to query the call type corresponding to the first information in the country database.
[0134] Step S505: Determine the call type corresponding to the first information as the target call type.
[0135] Step S506: Obtain second information, which includes the target call type and the target identifier of the current network.
[0136] Step S507: Query the emergency call number corresponding to the second information in the operator database. If the operator database includes the emergency call number corresponding to the second information, proceed to step S509; if the operator database does not include the emergency call number corresponding to the second information, proceed to step S508.
[0137] Step S508: Query the emergency call number corresponding to the second information in the country database. If the country database includes the emergency call number corresponding to the second information, proceed to step S509; if the country database does not include the emergency call number corresponding to the second information, proceed to step S511.
[0138] Step S509: Determine the emergency call number corresponding to the second information as the second emergency call number.
[0139] Step S510: Make an emergency call based on the second emergency call number.
[0140] Step S511: Make an emergency call based on the first emergency call number.
[0141] The method provided in this disclosure can determine the emergency call number corresponding to the roaming location in mobile communication roaming scenarios, thereby dialing the accurate emergency call number and providing users with more timely assistance. Furthermore, by pre-setting a database within the electronic device, it is possible to achieve faster identification and quicker, more convenient replacement of the emergency call number for the roaming location based on the acquired first / second information, thus improving the user experience.
[0142] Figure 6 This is a flowchart illustrating an emergency call method according to an exemplary embodiment, executed by an electronic device, see [link to flowchart]. Figure 6 The method includes the following steps:
[0143] Step S601: In response to an emergency call operation based on the first emergency call number, obtain the type of the target satellite operator and the target call type of the first emergency call number.
[0144] In step S602, in response to the target satellite operator being either a single terrestrial satellite operator or an independent satellite communication operator, a second emergency call number is determined based on the target call type.
[0145] Step S603: In response to the target satellite operator being a multi-terrestrial satellite operator, obtain current location information.
[0146] Step S604: Determine the target area based on the current location information.
[0147] Step S605: Determine the second emergency call number based on the target area and target call type.
[0148] Step S606: Make an emergency call based on the second emergency call number.
[0149] In step S607, in response to an emergency call being abnormally disconnected and the electronic device being equipped with a call forwarding function, the emergency call is forwarded to a preset number set in the call forwarding function.
[0150] Step S608: In response to an emergency call being abnormally disconnected and the electronic device not having a call forwarding function, determine the associated communication module of the communication module used to make the emergency call.
[0151] Step S609: Transfer the emergency call to the preset number corresponding to the associated communication module.
[0152] In step S610, in response to the emergency call being abnormally disconnected and the electronic device not having a call forwarding function and no associated communication module, a prompt message is displayed.
[0153] Among them, steps S607, S608 and S610 are parallel steps. During the execution process, the appropriate step can be selected from the above three steps based on the actual situation.
[0154] Figure 7 This is a block diagram illustrating an emergency call device according to an exemplary embodiment, configured in an electronic device, see [link to relevant documentation]. Figure 7 The device includes:
[0155] The acquisition module 701 is configured to acquire the type of the target satellite operator and the target call type of the first emergency call number in response to an emergency call operation based on the first emergency call number; the target satellite operator is the satellite operator currently providing communication services to the electronic device;
[0156] Module 702 is configured to determine a second emergency call number based on the type of the target satellite operator and the target call type;
[0157] Processing module 703 is configured to make an emergency call based on a second emergency call number.
[0158] In some embodiments, the determining module 702 is configured to:
[0159] In response to whether the target satellite operator is a single terrestrial satellite operator or an independent satellite communications operator, a second emergency call number is determined based on the target call type.
[0160] In some embodiments, the determining module 702 is configured to:
[0161] In response to the target satellite operator being a multi-terrestrial satellite operator, current location information is obtained;
[0162] Based on the current location information, determine the target area;
[0163] Determine the second emergency call number based on the target area and target call type.
[0164] In some embodiments, the processing module 703 is further configured to:
[0165] In response to an emergency call being abnormally disconnected, the emergency call will be transferred to a preset number.
[0166] In some embodiments, the processing module 703 is configured to:
[0167] In response to the electronic device having a call forwarding function, emergency calls are forwarded to the preset number set in the call forwarding function.
[0168] In some embodiments, the processing module 703 is configured to:
[0169] In response to the fact that the electronic device is not equipped with a call transfer function, the associated communication module of the communication module used to make emergency calls is determined;
[0170] Emergency calls will be forwarded to the preset number corresponding to the associated communication module.
[0171] In some embodiments, the processing module 703 is configured to:
[0172] In response to the fact that the electronic device does not have a call forwarding function and there is no associated communication module, a prompt message is displayed; the prompt message is used to remind the target to set up the call forwarding function.
[0173] In some embodiments, the processing module 703 is further configured to:
[0174] In response to an electronic device being in a roaming scenario, determine the target call type of the electronic device;
[0175] Determine the second emergency call number based on the target call type and the current network on which the electronic device is hosted.
[0176] In some embodiments, the processing module 703 is configured to:
[0177] Obtain first information; the first information includes a first emergency call number and a target identifier of the communication module; the target identifier includes a mobile network identifier and a mobile area identifier, or the target identifier includes a mobile area identifier, the mobile network identifier is used to distinguish different mobile networks, the mobile area identifier is used to distinguish different areas, and the first emergency call number is the number entered in response to triggering an emergency call;
[0178] Based on the first information, query the call type corresponding to the first information and determine the call type as the target call type.
[0179] In some embodiments, the processing module 703 is configured to:
[0180] Obtain second information; the second information includes the target call type and the target identifier of the current network; the target identifier includes a mobile network identifier and a mobile area identifier, or the target identifier includes a mobile area identifier, the mobile network identifier is used to distinguish different mobile networks, and the mobile area identifier is used to distinguish different areas;
[0181] Based on the second information, query the emergency call number corresponding to the second information, and determine the emergency call number corresponding to the second information as the second emergency call number.
[0182] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0183] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the emergency call method in the above embodiments.
[0184] Figure 8 This is a block diagram of an electronic device 800 according to an exemplary embodiment.
[0185] Reference Figure 8 The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0186] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0187] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0188] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0189] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0190] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0191] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0192] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0193] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0194] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0195] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0196] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the emergency call method provided by an exemplary embodiment of this disclosure.
[0197] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the emergency call method described in the above embodiments.
[0198] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0199] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. An emergency call method characterized by, include: In response to an emergency call operation based on a first emergency call number, the type of the target satellite operator and the target call type of the first emergency call number are obtained; The target satellite operator is the satellite operator that currently provides communication services for electronic devices; Based on the type of the target satellite operator and the target call type, a second emergency call number is determined; Make an emergency call based on the second emergency call number.
2. The emergency call method of claim 1, wherein, The step of determining the second emergency call number based on the type of the target satellite operator and the target call type includes: In response to the target satellite operator being either a single terrestrial satellite operator or an independent satellite communications operator, the second emergency call number is determined based on the target call type.
3. The emergency call method according to claim 1, characterized in that, The step of determining the second emergency call number based on the type of the target satellite operator and the target call type includes: In response to the fact that the target satellite operator is a multi-terrestrial satellite operator, the current location information is obtained; Based on the current location information, the target area is determined; The second emergency call number is determined based on the target area and the target call type.
4. The emergency call method according to claim 1, characterized in that, After making an emergency call based on the second emergency call number, the method further includes: In response to an emergency call being abnormally disconnected, the emergency call is transferred to a preset number.
5. The emergency call method according to claim 4, characterized in that, The step of transferring the emergency call to a preset number includes: In response to the electronic device being equipped with a call forwarding function, the emergency call is forwarded to a preset number set in the call forwarding function.
6. The emergency call method according to claim 4, characterized in that, The step of transferring the emergency call to a preset number includes: In response to the fact that the electronic device is not equipped with the call transfer function, the associated communication module of the communication module used for making emergency calls is determined; The emergency call is transferred to the preset number corresponding to the associated communication module.
7. The emergency call method according to claim 6, further comprising: In response to the fact that the electronic device is not equipped with the call forwarding function and does not have the associated communication module, a prompt message is displayed; The prompt message is used to remind the target to set up the call forwarding function.
8. The emergency call method according to claim 1, characterized in that, Before making an emergency call based on the second emergency call number, the method further includes: In response to the electronic device being in a roaming scenario, determine the target call type of the electronic device; The second emergency call number is determined based on the target call type and the current network on which the electronic device is hosted.
9. The emergency call method according to claim 8, characterized in that, Determining the target call type of the electronic device includes: Obtain first information; the first information includes a first emergency call number and a target identifier of the communication module; the target identifier includes a mobile network identifier and a mobile area identifier, or the target identifier includes a mobile area identifier, the mobile network identifier is used to distinguish different mobile networks, the mobile area identifier is used to distinguish different areas, and the first emergency call number is a number entered in response to triggering an emergency call; Based on the first information, query the call type corresponding to the first information, and determine the call type as the target call type.
10. The emergency call method according to claim 8, characterized in that, Determining the second emergency call number based on the target call type and the current network where the electronic device is hosted includes: Obtain second information; the second information includes the target call type and the target identifier of the current network; the target identifier includes a mobile network identifier and a mobile region identifier, or the target identifier includes a mobile region identifier, wherein the mobile network identifier is used to distinguish different mobile networks and the mobile region identifier is used to distinguish different regions; Based on the second information, query the emergency call number corresponding to the second information, and determine the emergency call number corresponding to the second information as the second emergency call number.
11. An emergency call device, characterized in that, include: The acquisition module is configured to acquire the type of the target satellite operator and the target call type of the first emergency call number in response to an emergency call operation based on the first emergency call number; The target satellite operator is the satellite operator that currently provides communication services for electronic devices; The determination module is configured to determine a second emergency call number based on the type of the target satellite operator and the target call type of the first emergency call number; The processing module is configured to make an emergency call based on the second emergency call number.
12. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the emergency call method as described in any one of claims 1-10.
13. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the emergency call method as described in any one of claims 1-10.
14. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the emergency call method as described in any one of claims 1-10.