Call control methods, devices, electronic equipment and storage media
By obtaining the emergency number calling scheme for the area where the terminal is located, the problem of calling scheme mismatch in the roaming state of the terminal is solved, and the success rate of emergency number calling and response speed are improved.
Patent Information
- Application Number
- CN202210471225.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-04-28
AI Technical Summary
When a terminal is roaming, the calling scheme stored in the terminal does not match the calling scheme of the area, causing emergency calls to fail to connect correctly.
The system obtains the emergency number calling scheme for the area where the terminal is located, including determining whether the calling scheme exists in the terminal. If it does not exist, it obtains it from the server and makes a call based on the obtained calling scheme when an emergency number calling instruction is detected.
It improved the success rate of emergency number calls, optimized emergency response speed, and enhanced the user's calling experience.
Smart Images

Figure CN117014847B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to, but is not limited to, the field of communication technology, and particularly to a call control method, apparatus, electronic device, and storage medium. Background Technology
[0002] In current call scenarios, mobile phones and other calling terminals often only use default calling methods to call the called party. For example, when calling a designated emergency number, the call is transmitted via an emergency link. However, if the terminal does not store the calling scheme for its current area—for example, when the user is roaming—the stored calling scheme may differ from the calling scheme corresponding to the current area. For instance, the transmission link for an emergency call might differ. Therefore, when making an emergency call, the call often fails to reach the correct emergency number platform, resulting in the call not connecting. Summary of the Invention
[0003] This disclosure presents a call control method, apparatus, electronic device, and storage medium.
[0004] According to a first aspect of the present disclosure, a call control method is provided, comprising:
[0005] A call scheme that obtains the corresponding emergency number based on the region where the terminal is located;
[0006] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the call scheme.
[0007] In one embodiment, the calling scheme for obtaining the corresponding emergency number based on the region where the terminal is located includes:
[0008] Determine if the terminal has a call plan for the emergency number corresponding to the area where the terminal is located;
[0009] If the calling scheme does not exist in the terminal, the calling scheme is obtained from the server.
[0010] In one embodiment, the method further includes:
[0011] The calling scheme is bound to the region where the terminal is located and then stored on the terminal.
[0012] In one embodiment, determining whether a calling scheme for an emergency number corresponding to the region where the terminal is located exists in the terminal includes:
[0013] Obtain the first region code of the mobile network currently accessed by the terminal;
[0014] Check if there is a calling scheme for the emergency number corresponding to the first area code in the terminal.
[0015] In one embodiment, obtaining the call plan from the server includes:
[0016] Obtain the calling plan for the emergency number corresponding to the first area code from the server.
[0017] In one embodiment, the method further includes:
[0018] If the calling scheme exists in the terminal, then determine whether the calling scheme is the first calling scheme that needs to be updated;
[0019] If the calling scheme is the first calling scheme, then obtain the most recently generated second calling scheme from the server.
[0020] In one embodiment, when a call instruction for an emergency number corresponding to the area where the terminal is located is detected, issuing a call to the emergency number based on the call scheme includes:
[0021] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the second call scheme.
[0022] In one embodiment, determining whether the calling scheme is a first calling scheme that needs to be updated includes:
[0023] Obtain the version identifier of the call scheme;
[0024] Based on the version identifier, query the server to see if the call scheme is the first call scheme that needs to be updated.
[0025] In one embodiment, making a call to the emergency number based on the calling scheme includes:
[0026] Obtain the call links and call routing network recorded in the call scheme;
[0027] After accessing the call routing network, a call to the emergency number is made through the call link in the call routing network.
[0028] In one embodiment, the calling scheme for obtaining the corresponding emergency number based on the region where the terminal is located includes:
[0029] After the terminal accesses the mobile network, the local public land mobile network (HPLMN) information recorded in the terminal is obtained.
[0030] Determine whether the first region code of the mobile network accessed by the terminal is consistent with the second region code in the HPLMN information;
[0031] If the first area code is inconsistent with the second area code, the corresponding emergency number calling scheme is obtained based on the area where the terminal is located.
[0032] In one embodiment, the method further includes:
[0033] If the first region code is the same as the second region code, then the third calling scheme bound to the HPLMN information in the terminal is obtained.
[0034] In one embodiment, when a call instruction for an emergency number corresponding to the area where the terminal is located is detected, issuing a call to the emergency number based on the call scheme includes:
[0035] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the third call scheme.
[0036] In one embodiment, determining whether a calling scheme for an emergency number corresponding to the region where the terminal is located exists in the terminal includes:
[0037] If a change in the region where the terminal is located is detected, it is determined whether the terminal has a calling scheme for the emergency number corresponding to the changed region.
[0038] In one embodiment, determining whether a calling scheme for an emergency number corresponding to the changed location of the terminal exists in the terminal if a change in the terminal's location is detected includes:
[0039] The first area code of the mobile network accessed by the terminal is obtained at preset time intervals;
[0040] If it is detected that the currently acquired first area code is different from the previously acquired first area code, then it is determined whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
[0041] According to a second aspect of the present disclosure, a call control device is provided, comprising:
[0042] The acquisition unit is used to obtain the corresponding emergency number call scheme based on the area where the terminal is located;
[0043] A calling unit is used to issue a call to the emergency number based on the calling scheme when a call instruction for the emergency number corresponding to the area where the terminal is located is detected.
[0044] In one embodiment, the acquiring unit is specifically used for:
[0045] Determine if the terminal has a call plan for the emergency number corresponding to the area where the terminal is located;
[0046] If the calling scheme does not exist in the terminal, the calling scheme is obtained from the server.
[0047] In one embodiment, the apparatus further includes:
[0048] A storage unit is used to bind the call scheme to the region where the terminal is located and store it in the terminal.
[0049] In one embodiment, the acquiring unit is specifically used for:
[0050] Obtain the first region code of the mobile network currently accessed by the terminal;
[0051] Check if there is a calling scheme for the emergency number corresponding to the first area code in the terminal.
[0052] In one embodiment, the acquiring unit is specifically used for:
[0053] Obtain the calling plan for the emergency number corresponding to the first area code from the server.
[0054] In one embodiment, the acquisition unit is further configured to:
[0055] If the calling scheme exists in the terminal, then determine whether the calling scheme is the first calling scheme that needs to be updated;
[0056] If the calling scheme is the first calling scheme, then obtain the most recently generated second calling scheme from the server.
[0057] In one embodiment, the calling unit is specifically used for:
[0058] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the second call scheme.
[0059] In one embodiment, the acquiring unit is specifically used for:
[0060] Obtain the version identifier of the call scheme;
[0061] Based on the version identifier, query the server to see if the call scheme is the first call scheme that needs to be updated.
[0062] In one embodiment, the calling unit is specifically used for:
[0063] Obtain the call links and call routing network recorded in the call scheme;
[0064] After accessing the call routing network, a call to the emergency number is made through the call link in the call routing network.
[0065] In one embodiment, the acquiring unit is specifically used for:
[0066] After the terminal accesses the mobile network, the local public land mobile network (HPLMN) information recorded in the terminal is obtained.
[0067] Determine whether the first region code of the mobile network accessed by the terminal is consistent with the second region code in the HPLMN information;
[0068] If the first area code is inconsistent with the second area code, the corresponding emergency number calling scheme is obtained based on the area where the terminal is located.
[0069] In one embodiment, the acquisition unit is further configured to:
[0070] If the first region code is the same as the second region code, then the third calling scheme bound to the HPLMN information in the terminal is obtained.
[0071] In one embodiment, the calling unit is specifically used for:
[0072] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the third call scheme.
[0073] In one embodiment, the acquiring unit is specifically used for:
[0074] If a change in the region where the terminal is located is detected, it is determined whether the terminal has a calling scheme for the emergency number corresponding to the changed region.
[0075] In one embodiment, the acquiring unit is specifically used for:
[0076] The first area code of the mobile network accessed by the terminal is obtained at preset time intervals;
[0077] If it is detected that the currently acquired first area code is different from the previously acquired first area code, then it is determined whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
[0078] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising:
[0079] processor;
[0080] Memory used to store the processor's executable instructions;
[0081] The processor is configured to implement the method described in any embodiment of this disclosure when running the executable instructions.
[0082] According to a fourth aspect of the present disclosure, a computer storage medium is provided, the computer storage medium storing a computer executable program, which, when executed by a processor, implements the methods described in any embodiment of the present disclosure.
[0083] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0084] In this embodiment, a calling scheme for an emergency number is obtained based on the region where the terminal is located. When a call instruction for an emergency number corresponding to the region where the terminal is located is detected, a call to the emergency number is initiated based on the calling scheme. Thus, by determining whether an emergency number calling scheme corresponding to the current region exists in the terminal before making a call, the corresponding emergency number calling scheme can be obtained in a timely manner. This facilitates the use of the correct calling method when calling an emergency number, improving the success rate of call connections, optimizing emergency response speed, and enhancing the user's call experience.
[0085] 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
[0086] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0087] Figure 1 This is a flowchart illustrating a call control method according to an exemplary embodiment.
[0088] Figure 2 This is a flowchart illustrating a call control method according to an exemplary embodiment.
[0089] Figure 3 This is a flowchart illustrating a call control method according to an exemplary embodiment.
[0090] Figure 4 This is a flowchart illustrating a call control method according to an exemplary embodiment.
[0091] Figure 5 This is a schematic diagram of the structure of a call control device according to an exemplary embodiment.
[0092] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0093] 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 the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0094] To facilitate understanding by those skilled in the art, this disclosure provides multiple embodiments to clearly illustrate the technical solutions of the embodiments of this disclosure. Of course, those skilled in the art will understand that the multiple embodiments provided in this disclosure can be executed individually, or in combination with the methods of other embodiments in this disclosure, or individually or in combination with some methods in other related technologies; this disclosure does not limit these aspects.
[0095] like Figure 1 As shown, this embodiment provides a call control method, the method including:
[0096] S110: A call scheme that obtains the corresponding emergency number based on the area where the terminal is located;
[0097] S120: When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the call scheme.
[0098] In this embodiment, the terminal can be an electronic device with calling capabilities, such as a mobile phone, landline, tablet computer, or smartwatch. Furthermore, the terminal can also be a device connected to an electronic device with calling capabilities for transmitting call content, such as an earphone, speaker, or microphone that connects to a mobile phone via Bluetooth, Wi-Fi, or ZigBee.
[0099] In one embodiment, the emergency number can be a preset emergency number corresponding to the area where the terminal is currently located, such as the police emergency number, ambulance emergency number, or other emergency phone number for the area where the terminal is currently located. Alternatively, the emergency number can be a user-preset emergency number, such as a preset emergency contact number recorded in the terminal.
[0100] In one embodiment, the terminal's location area can represent the country, region, or city where the terminal is currently located. A call scheme that retrieves the corresponding emergency number based on the terminal's location area can be implemented when the terminal is detected to be in roaming mode. For example, if the terminal's current location area is detected to be different from the area corresponding to the Home Public Land Mobile Network (HPLMN) information recorded on the SIM card in the terminal, it is determined that the terminal is in roaming mode.
[0101] In another embodiment, when the terminal is detected to be in a roaming state, a calling scheme for the corresponding emergency number is obtained based on the current area of the terminal. Alternatively, when a calling instruction for an emergency number is detected, the region to which the emergency number belongs can be determined. If the region to which the emergency number belongs is different from the region corresponding to the HPLMN information in the terminal, a calling scheme for the corresponding emergency number is obtained based on the region where the terminal is located and the region to which the emergency number belongs.
[0102] For example, when the region where the terminal is located is different from the region to which the emergency number belongs, a first calling scheme for the emergency number corresponding to the region where the terminal is located and a second calling scheme for the emergency number corresponding to the region to which the emergency number belongs are obtained. Accordingly, making a call to the emergency number based on the calling schemes includes: making a call to the emergency number based on the first calling scheme and the second calling scheme.
[0103] In one embodiment, an emergency number call instruction may carry the number to be called, as well as an indication that the number is an emergency number. For example, the call instruction may carry a preset flag bit, which is set to a preset value that indicates an emergency number call.
[0104] In one embodiment, the call instruction for an emergency number may also carry instruction information indicating the number to be called. The instruction information may be preset operation information indicating the number to be called, such as a double-click operation or a swipe operation at a preset location on the terminal to indicate a call to the emergency number.
[0105] In one embodiment, the instruction information may also be the content of the number to be called entered by the user, such as numbers. For example, if the user enters the number 1 to indicate calling the 110 emergency number, or enters the number 2 to indicate calling a preset emergency contact, etc.
[0106] In one embodiment, an emergency number calling scheme may include an emergency number calling link and / or an emergency number calling routing network. The calling link may include a link that supports making calls and establishing calls while offline, such as a dedicated link that only supports calls from emergency numbers like 110 or 119.
[0107] For example, the call link can be an emergency call link set up by the terminal or operator that only supports emergency number calls. When a SIM card is present in the terminal, a call to an emergency number can be made through the emergency call link set up by the operator corresponding to the SIM card. When no SIM card is present in the terminal, a call to an emergency number can be made through the emergency call link of the terminal device.
[0108] In one embodiment, the call link may further include a link that supports making calls and establishing calls while the network is active, such as a public link that supports both non-emergency and emergency calls. Non-emergency calls can be calls made to ordinary numbers, and emergency calls can be calls made to emergency numbers.
[0109] For example, a call link can be a normal call link set up by the terminal or operator that supports calls to emergency numbers and regular numbers.
[0110] In one embodiment, the call routing network for an emergency number can be a network that includes call links for transmitting calls and establishing conversations. For example, the call routing network may include a circuit-switched domain (CS domain) or an IP Multimedia Subsystem (IMS), etc.
[0111] In one embodiment, the emergency number calling scheme may include a mapping between emergency numbers and calling schemes. For example, it may include a call link or call routing network corresponding to each emergency number.
[0112] In another embodiment, the emergency number calling scheme may further include a region identifier for the region corresponding to the emergency number. For example, the region identifier for the region corresponding to the emergency number may be the Mobile Country Code (MCC) of the country where the emergency number is located.
[0113] In one embodiment, the mapping between emergency numbers and calling schemes can be recorded in a calling scheme list for emergency numbers. For example, the calling scheme list may include: emergency number + the calling link corresponding to the emergency number + the calling routing network corresponding to the emergency number.
[0114] In one embodiment, the emergency number call plan list may also include a call plan version identifier, such as recording the call plan version number in the call plan list to determine whether the call plan list is the latest version.
[0115] In this way, by determining whether there is an emergency number calling scheme corresponding to the current area in the terminal before making a call, the corresponding emergency number calling scheme can be obtained in a timely manner, which is conducive to using the correct calling method when calling an emergency number, improving the success rate of call connection, optimizing the response speed in emergency situations and improving the user's call experience.
[0116] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0117] In some embodiments, such as Figure 2 As shown, S110 may include:
[0118] S111: Determine if the terminal has a call plan for the emergency number corresponding to the area where the terminal is located;
[0119] S112: If the calling scheme does not exist in the terminal, then obtain the calling scheme from the server.
[0120] In this embodiment of the disclosure, the call scheme for the emergency number corresponding to the area where the terminal is located may include a call link supported by the area where the terminal is located for sending emergency number calls, and / or a call routing network in the area where the terminal is located for transmitting emergency number calls and establishing calls with emergency numbers, etc.
[0121] In one embodiment, determining whether a calling scheme for an emergency number corresponding to the region where the terminal is located may include: determining the region where the terminal is located based on the terminal's current geographical location information; and determining whether a calling scheme for an emergency number corresponding to the region where the terminal is located exists in the terminal.
[0122] For example, it can be determined whether there are emergency number calling schemes recorded in the terminal. If so, it can be determined whether the geographical location information corresponding to the recorded emergency number calling scheme is the same as the terminal's current geographical location information, or whether there is a preset association relationship with the terminal's current geographical location information. The preset association relationship can be that they belong to the same country or region, or that they are covered by the same mobile network.
[0123] In one embodiment, determining whether a calling scheme for an emergency number corresponding to the region where the terminal is located may further include: determining whether a calling scheme for an emergency number corresponding to the first region code exists in the terminal based on the first region code of the mobile network currently accessed by the terminal. For example, the first region code may be the MCC of the mobile network.
[0124] In one embodiment, the server can be a cloud server or similar entity that has established a connection with the terminal. Specifically, the server can be a server representing the region of the HPLMN information in the terminal, a server representing the terminal's current location, or a server representing the location of the emergency number, etc.
[0125] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0126] In some embodiments, such as Figure 3 As shown, the method further includes:
[0127] S130: The call scheme is bound to the region where the terminal is located and then stored in the terminal.
[0128] In this embodiment of the disclosure, after determining that there is no call plan for the emergency number corresponding to the current area in the terminal, and obtaining the call plan from the server, the obtained call plan for the emergency number is stored in the terminal for direct retrieval and use the next time an emergency number is called.
[0129] In one embodiment, S130 may include: binding the call scheme with the geographical location information of the area where the terminal is located and storing it in the terminal, or binding the call scheme with the MCC of the mobile network currently accessed by the terminal and storing it in the terminal.
[0130] This allows for quick matching and searching based on the terminal's location or the corresponding MCC when making the next emergency call or checking if a call plan exists, thereby improving the efficiency of call control.
[0131] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0132] In some embodiments, S111 may include:
[0133] Obtain the first region code of the mobile network currently accessed by the terminal;
[0134] Check if there is a calling scheme for the emergency number corresponding to the first area code in the terminal.
[0135] In this embodiment of the disclosure, the first region code can be a first Mobile Country Code (MCC). The MCC can be used to characterize the country or region to which the network is registered or home, and each country or region has a different MCC. Optionally, the first region code can also be other identifying information characterizing regional uniqueness.
[0136] In one embodiment, querying whether there is a calling scheme for an emergency number corresponding to the first area code in the terminal can be done by querying whether there is a calling scheme for an emergency number bound to or carrying the first area code in the terminal.
[0137] In one embodiment, querying whether there is a calling scheme for an emergency number corresponding to the first area code in the terminal can also be querying at least one emergency number corresponding to the first area code; determining whether there is a calling scheme for the at least one emergency number in the terminal.
[0138] In this way, the first area code of the mobile network can be used to more quickly and efficiently query whether there is a corresponding emergency number calling scheme in the terminal, thereby improving the efficiency of emergency calls.
[0139] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0140] In some embodiments, obtaining the call plan from the server includes:
[0141] Obtain the calling plan for the emergency number corresponding to the first area code from the server.
[0142] In this embodiment of the disclosure, the calling scheme for obtaining the emergency number corresponding to the first area code from the server can be either sending the first area code to the server, or sending the first area code to the server in a request instruction and receiving the emergency number returned by the server in response to the first area code or the request instruction.
[0143] In one embodiment, retrieving the calling scheme for the emergency number corresponding to the first area code from the server can be done by querying all emergency number calling schemes stored on the server that are associated with the first area code. For example, querying the calling scheme corresponding to at least one emergency number included in the country or region indicated by the first area code.
[0144] In one embodiment, obtaining the emergency number calling scheme corresponding to the first area code from the server can be done by obtaining the most recently generated emergency number calling scheme corresponding to the first area code from the server. For example, based on the generation time or update time of the emergency number calling scheme, or based on the version identifier of the emergency number calling scheme, the most recently generated, most recently updated, or latest version of the emergency number calling scheme corresponding to the first area code can be obtained from the server.
[0145] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0146] In some embodiments, the method further includes:
[0147] If the calling scheme exists in the terminal, then determine whether the calling scheme is the first calling scheme that needs to be updated;
[0148] If the calling scheme is the first calling scheme, then obtain the most recently generated second calling scheme from the server.
[0149] In this embodiment of the disclosure, after obtaining the most recently generated second call plan from the server, the second call plan can be stored in the terminal, for example, by binding it to the MCC of the current area or the currently accessed network.
[0150] In one embodiment, determining whether the call scheme is a first call scheme that needs to be updated may include determining whether it is a first call scheme that needs to be updated based on information such as the call scheme's generation time, acquisition time, update time, or version identifier.
[0151] Among them, the generation time can be the time when the call plan is edited and generated on the server or terminal, the acquisition time can be the time when the terminal acquires the call plan, the update time can be the time when the call plan is historically updated or most recently updated on the server or terminal, and the version identifier can be the identification information that represents the current version of the call plan, such as version number or serial number.
[0152] In one embodiment, determining whether the call scheme is a first call scheme that needs to be updated can be achieved by sending at least one of the scheme identifier of the call scheme, and the generation time, acquisition time, update time, or version identifier to the server to determine whether it is a first call scheme that needs to be updated. Here, the scheme identifier can indicate the identity information of the call scheme. For example, when the call scheme is a list of call schemes, the scheme identifier can be a list identity identifier (IdentityDocument, ID), etc.
[0153] In one embodiment, determining whether the call scheme is a first call scheme that needs to be updated can be done by comparing the first generation time of the call scheme with the second generation time of the call scheme corresponding to the scheme identifier in the server. If they are inconsistent, the call scheme is determined to be a first call scheme that needs to be updated.
[0154] In one embodiment, determining whether the call scheme is a first call scheme that needs to be updated can also be done by comparing the acquisition time of the call scheme with the second generation time of the call scheme corresponding to the scheme identifier in the server. If the acquisition time is before the second generation time, then the call scheme is determined to be a first call scheme that needs to be updated.
[0155] In one embodiment, determining whether the call scheme is a first call scheme that needs to be updated can also be done by comparing the first update time of the call scheme with the second update time of the call scheme corresponding to the scheme identifier in the server. If they are inconsistent, or the first update time is earlier than the second update time, then the call scheme is determined to be a first call scheme that needs to be updated.
[0156] In one embodiment, determining whether the call scheme is a first call scheme that needs to be updated can also be done by comparing the first version identifier of the call scheme with the second version identifier of the call scheme corresponding to the scheme identifier in the server. If they do not match, then the call scheme is determined to be a first call scheme that needs to be updated.
[0157] In this way, when the terminal stores relevant emergency number calling plans, it can promptly determine whether the calling plan is the latest calling plan, thereby providing more efficient plan updates and further improving the success rate of emergency number calls.
[0158] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0159] In some embodiments, S120 may include:
[0160] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the second call scheme.
[0161] In this embodiment of the disclosure, by sending a call to an emergency number through the updated second calling scheme, the call can more accurately match the emergency number calling method specified in the current area of the terminal, thereby improving the success rate of emergency number calls.
[0162] In one embodiment, the method may further include: storing a second calling scheme in the terminal instead of the first calling scheme.
[0163] In one embodiment, the method may further include: if a call to the emergency number based on the second calling scheme fails, marking the second calling scheme and sending the marked second calling scheme to the server; and receiving an updated second calling scheme issued by the server based on the marked second calling scheme.
[0164] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0165] In some embodiments, determining whether the call scheme is a first call scheme that needs to be updated includes:
[0166] Obtain the version identifier of the call scheme;
[0167] Based on the version identifier, query the server to see if the call scheme is the first call scheme that needs to be updated.
[0168] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0169] In some embodiments, S120 may include:
[0170] When a call instruction to an emergency number corresponding to the area where the terminal is located is detected, the call link and call routing network recorded in the call scheme are obtained;
[0171] After accessing the call routing network, a call to the emergency number is made through the call link in the call routing network.
[0172] In this embodiment of the disclosure, the call link may indicate the link that transmits the call to the emergency number. For example, the call link may include a link that supports making calls and establishing calls in an offline state, such as a dedicated link that only supports calls from emergency numbers such as 110 or 119.
[0173] For example, the call link can be an emergency call link set up by the terminal or operator that only supports emergency number calls. When a SIM card is present in the terminal, a call to an emergency number can be made through the emergency call link set up by the operator corresponding to the SIM card. When no SIM card is present in the terminal, a call to an emergency number can be made through the emergency call link of the terminal device.
[0174] In one embodiment, the call link may further include a link that supports making calls and establishing calls while the network is active, such as a public link that supports both non-emergency and emergency calls. Non-emergency calls can be calls made to ordinary numbers, and emergency calls can be calls made to emergency numbers.
[0175] For example, a call link can be a normal call link set up by the terminal or operator that supports calls to emergency numbers and regular numbers.
[0176] In one embodiment, the call routing network for an emergency number can be a network that includes call links for transmitting calls and establishing conversations. For example, the call routing network may include a circuit-switched domain (CS domain) or an IP Multimedia Subsystem (IMS), etc.
[0177] In one embodiment, after accessing the call routing network, making a call to the emergency number through the call link in the call routing network may include: determining whether the first call link recorded in the call scheme and the first call routing network are available in the area where the terminal is located; if at least one of the first call link and the first call routing network is unavailable, requesting the server to update the call scheme; based on the second call link and the second call routing network indicated by the updated call scheme, after accessing the second call routing network, making a call to the emergency number through the second call link in the second call routing network.
[0178] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0179] In some embodiments, such as Figure 4 As shown, S110 may include:
[0180] S113: After the terminal accesses the mobile network, obtain the local public land mobile network (HPLMN) information recorded in the terminal;
[0181] S114: Determine whether the first area code of the mobile network accessed by the terminal is consistent with the second area code in the HPLMN information;
[0182] S115: If the first area code is inconsistent with the second area code, then obtain the corresponding emergency number calling scheme based on the area where the terminal is located.
[0183] In this embodiment of the disclosure, HPLMN information can be recorded in a local storage file of the terminal, or in the terminal's SIM card. When multiple SSIM cards exist in the terminal, the HPLMN information of the SIM card currently accessing the mobile network or currently used for calls is obtained.
[0184] In one embodiment, the first area code can be the first MCC of the accessed mobile network, and the second area code can be the second MCC recorded in the HPLMN.
[0185] In one embodiment, the inconsistency between the first area code and the second area code can be due to the first area code and the second area code being different, or the first area code indicating a different country or region than the area indicated by the second area code, or the first area code indicating a different mobile network than the second area code indicating a different mobile network.
[0186] In one embodiment, the calling scheme for obtaining the corresponding emergency number based on the region where the terminal is located can be a calling scheme for obtaining the corresponding emergency number based on a first region code.
[0187] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0188] In some embodiments, the method may further include:
[0189] If the first region code is the same as the second region code, then the third calling scheme bound to the HPLMN information in the terminal is obtained.
[0190] In this embodiment of the disclosure, if the first region code is the same as the second region code, it indicates that the current terminal is located in the region indicated by the second region code, that is, the terminal is not in a roaming state.
[0191] In one embodiment, obtaining the third calling scheme bound to the HPLMN information in the terminal can be done by obtaining the third calling scheme bound to the HPLMN information recorded in the SIM card in the terminal, or by obtaining the third calling scheme bound to the HPLMN information from a server or the accessed mobile network.
[0192] In one embodiment, obtaining the third calling scheme bound to the HPLMN information in the terminal can be done by obtaining the third calling scheme bound to the first area code recorded in the SIM card in the terminal, or by obtaining the third calling scheme bound to the first area code from a server or the accessed mobile network.
[0193] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0194] In some embodiments, S120 may include:
[0195] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the third call scheme.
[0196] In this embodiment of the disclosure, making a call to the emergency number based on the third calling scheme may include: obtaining the call links and call routing network recorded in the third calling scheme; and after accessing the call routing network, making a call to the emergency number through the call links in the call routing network.
[0197] In one embodiment, obtaining the call links and call routing networks recorded in the third call scheme may include: obtaining the third call links and third call routing networks recorded in the third call scheme.
[0198] Accordingly, after accessing the call routing network, making a call to the emergency number through the call link in the call routing network may include: determining whether the third call link recorded in the call plan and the third call routing network are available in the area where the terminal is located; if at least one of the third call link and the third call routing network is unavailable, requesting the server to update the call plan; based on the fourth call link and the fourth call routing network indicated by the updated call plan, making a call to the emergency number through the fourth call link in the fourth call routing network after accessing the fourth call routing network.
[0199] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0200] In some embodiments, S111 may include:
[0201] If a change in the region where the terminal is located is detected, it is determined whether the terminal has a calling scheme for the emergency number corresponding to the changed region.
[0202] In this embodiment of the disclosure, detecting a change in the region where the terminal is located can be detected as a change in the country or region to which the terminal is located, or a change in the mobile network accessed by the terminal, etc.
[0203] In one embodiment, detecting a change in the region where the terminal is located could be detected as the network identifier of the mobile network accessed by the terminal being inconsistent with the network identifier detected last time, or the first region code of the mobile network accessed by the terminal being inconsistent with the first region code detected last time.
[0204] In one embodiment, if a change is detected in the first area code of the mobile network accessed by the terminal, it can be determined whether the changed first area code is consistent with the second area code in the HPLMN in the terminal. If they are inconsistent, it can be determined whether there is a calling scheme for the emergency number corresponding to the area where the terminal is located in the changed terminal.
[0205] In one embodiment, if a change in the region where the terminal is located is detected, it is determined whether there is a calling scheme for the emergency number corresponding to the changed region of the terminal in the terminal; if the calling scheme exists, it is determined whether the calling scheme is the first calling scheme that needs to be updated.
[0206] In this way, when a change in terminal location is detected, the corresponding emergency number calling scheme can be quickly responded to and detected, improving the timeliness of emergency number calling scheme detection and thus further improving the efficiency of emergency call processing.
[0207] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0208] In some embodiments, if a change in the location of the terminal is detected, determining whether there is a calling scheme for the emergency number corresponding to the changed location of the terminal in the terminal includes:
[0209] The first area code of the mobile network accessed by the terminal is obtained at preset time intervals;
[0210] If it is detected that the currently acquired first area code is different from the previously acquired first area code, then it is determined whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
[0211] In this embodiment of the disclosure, the preset time interval can be the acquisition cycle of the first region code. For example, the preset time interval can be to acquire the first region code once every 30 minutes, 1 hour, or 2 hours.
[0212] In one embodiment, if it is detected that the currently acquired first area code is different from the previously acquired first area code, then determining whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal may include: if it is detected that the currently acquired first area code is different from the previously acquired first area code, then determining whether the currently acquired first area code is the same as the previously acquired first area code; if they are the same, then re-acquiring the first area code of the currently accessed mobile network.
[0213] Thus, by comparing the code with the previously obtained first area code, for example, comparing it with the first area code obtained in the time before that, if they are the same, an error may occur in the current acquisition of the first area code due to the high frequency of repetition caused by changes in the terminal's location. Therefore, errors in the acquisition of the first area code can be reduced, leading to misoperation of the emergency number calling scheme, thereby further improving the success rate of emergency number calls.
[0214] In one embodiment, if it is detected that the currently acquired first area code is different from the previously acquired first area code, then determining whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal may include: if it is detected that the currently acquired first area code is different from the previously acquired first area code, and the currently acquired first area code is different from the second area code indicated by the HPLMN in the terminal, then determining whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
[0215] Therefore, by acquiring the first area code of the access network at a certain acquisition cycle, the detection frequency of the terminal accessing the network and the area can be increased, thereby reducing the inability to obtain the corresponding emergency number calling scheme in a timely manner when the terminal switches to other countries or regions or switches to roaming status. Thus, the success rate and efficiency of the terminal's emergency number calling can be improved.
[0216] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.
[0217] To better understand the embodiments of this disclosure, the following exemplary embodiment will be used to further illustrate the technical solution of this disclosure:
[0218] This embodiment provides a call control method, specifically including:
[0219] 1. After the User Equipment (UE) is powered on and registered to the network, it checks whether the MCC (Mobile Country Code) of the currently registered network is consistent with the MCC in the HPLMN of the SIM card. If they are inconsistent, it is determined that the UE is in international roaming.
[0220] 2. When a UE accesses international roaming, it checks the existence of a corresponding emergency number list (roaming_ecc_list) based on the currently registered network MCC. This list includes: version + MCC + the country's emergency number and the corresponding dialing scheme. The dialing scheme specifies whether the emergency number is dialed using emergency mode or normal call mode, and whether the call is preferentially made on the CS domain or the IMS domain.
[0221] For example, dialing schemes include:
[0222] normal call + CS prefer (meaning the emergency call should be made using the CS domain with priority as a normal call);
[0223] Normal call + IMS preferred (meaning the emergency call should be made via IMS with priority as a normal call);
[0224] emergency call+CS prefer (meaning the emergency call should be prioritized and made using the CS domain);
[0225] emergency call + IMS prefer (meaning the emergency call should be prioritized and IMS should be used to make the call).
[0226] 3. When accessing international roaming for the first time, if there is no corresponding roaming_ecc_list for the MCC, the UE will actively send a request to a specific cloud server to request the corresponding roaming_ecc_list for the MCC. The cloud server will then synchronize the roaming_ecc_list to the UE.
[0227] 4. For non-first-time international roaming access, there is a roaming_ecc_list corresponding to the MCC. The UE actively sends a request to a specific cloud server to query whether the roaming_ecc_list is up-to-date. If it is up-to-date, the UE does not send an update request for the roaming_ecc_list; otherwise, it sends a request to update the roaming_ecc_list.
[0228] 5. When a user dials an emergency number, the system will first check the dialing scheme corresponding to that number in the roaming_ecc_list and then use the corresponding scheme to dial.
[0229] 6. When a user roams between multiple countries, if the MCC of the registered network (non-HPLMN MCC) changes, the UE requests a new roaming_ecc_list from the cloud server network and deletes the original roaming_ecc_list.
[0230] 7. When the UE detects that the registered network is not roaming (i.e., in the local HOME network), the UE will delete the roaming_ecc_list.
[0231] Alternatively, you can wait until the terminal connects to the wireless network (Wi-Fi) before sending a request to the server to save on call charges.
[0232] like Figure 5 As shown, this embodiment provides a call control device, the device comprising:
[0233] The acquisition unit 10 is used to acquire the corresponding emergency number call scheme based on the area where the terminal is located;
[0234] The calling unit 20 is used to issue a call to the emergency number based on the calling scheme when a call instruction for the emergency number corresponding to the area where the terminal is located is detected.
[0235] In some embodiments, the acquisition unit 10 is specifically used for:
[0236] Determine if the terminal has a call plan for the emergency number corresponding to the area where the terminal is located;
[0237] If the calling scheme does not exist in the terminal, the calling scheme is obtained from the server.
[0238] In some embodiments, the apparatus further includes:
[0239] A storage unit is used to bind the call scheme to the region where the terminal is located and store it in the terminal.
[0240] In some embodiments, the acquisition unit 10 is specifically used for:
[0241] Obtain the first region code of the mobile network currently accessed by the terminal;
[0242] Check if there is a calling scheme for the emergency number corresponding to the first area code in the terminal.
[0243] In some embodiments, the acquisition unit 10 is specifically used for:
[0244] Obtain the calling plan for the emergency number corresponding to the first area code from the server.
[0245] In some embodiments, the acquisition unit 10 is further configured to:
[0246] If the calling scheme exists in the terminal, then determine whether the calling scheme is the first calling scheme that needs to be updated;
[0247] If the calling scheme is the first calling scheme, then obtain the most recently generated second calling scheme from the server.
[0248] In some embodiments, the calling unit 20 is specifically used for:
[0249] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the second call scheme.
[0250] In some embodiments, the acquisition unit 10 is specifically used for:
[0251] Obtain the version identifier of the call scheme;
[0252] Based on the version identifier, query the server to see if the call scheme is the first call scheme that needs to be updated.
[0253] In some embodiments, the calling unit 20 is specifically used for:
[0254] Obtain the call links and call routing network recorded in the call scheme;
[0255] After accessing the call routing network, a call to the emergency number is made through the call link in the call routing network.
[0256] In some embodiments, the acquisition unit 10 is specifically used for:
[0257] After the terminal accesses the mobile network, the local public land mobile network (HPLMN) information recorded in the terminal is obtained.
[0258] Determine whether the first region code of the mobile network accessed by the terminal is consistent with the second region code in the HPLMN information;
[0259] If the first area code is inconsistent with the second area code, the corresponding emergency number calling scheme is obtained based on the area where the terminal is located.
[0260] In some embodiments, the acquisition unit 10 is further configured to:
[0261] If the first region code is the same as the second region code, then the third calling scheme bound to the HPLMN information in the terminal is obtained.
[0262] In some embodiments, the calling unit 20 is specifically used for:
[0263] When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the third call scheme.
[0264] In some embodiments, the acquisition unit 10 is specifically used for:
[0265] If a change in the region where the terminal is located is detected, it is determined whether the terminal has a calling scheme for the emergency number corresponding to the changed region.
[0266] In some embodiments, the acquisition unit 10 is specifically used for:
[0267] The first area code of the mobile network accessed by the terminal is obtained at preset time intervals;
[0268] If it is detected that the currently acquired first area code is different from the previously acquired first area code, then it is determined whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
[0269] This disclosure also provides a communication device, including:
[0270] antenna;
[0271] Memory;
[0272] The processor, connected to both the antenna and the memory, is used to control the antenna to transmit and receive wireless signals by executing an executable program stored in the memory, and is capable of executing the steps of the call control method provided in any of the foregoing embodiments.
[0273] The communication device provided in this embodiment can be the aforementioned terminal or base station. The terminal can be various human-mounted or vehicle-mounted terminals. The base station can be various types of base stations, such as 4G base stations or 5G base stations.
[0274] The antenna can be any type of antenna, such as a 3G antenna, a 4G antenna, or a 5G antenna, etc.; the antenna may also include WiFi antennas or wireless charging antennas, etc.
[0275] The memory can include various types of storage media, which are non-transitory computer storage media that can continue to store information after the communication device loses power.
[0276] The processor can be connected to the antenna and memory via a bus or the like, for reading executable programs stored in the memory, such as at least one of the methods shown in any embodiment of this disclosure.
[0277] This disclosure also provides a non-transitory computer-readable storage medium storing an executable program, wherein when the executable program is executed by a processor, it implements the steps of the call control method provided in any of the foregoing embodiments, for example, at least one of the methods shown in any embodiment of this disclosure.
[0278] 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.
[0279] Figure 6 This is a block diagram illustrating an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0280] Reference Figure 6 The electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0281] Processing component 602 typically controls the overall operation of electronic device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 602 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0282] Memory 604 is configured to store various types of data to support the operation of device 600. Examples of this data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 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.
[0283] Power supply component 606 provides power to various components of electronic device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600.
[0284] Multimedia component 608 includes a screen that provides an output interface between the electronic device 600 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 608 includes a front-facing camera and / or a rear-facing camera. When the device 600 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.
[0285] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when electronic device 600 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 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0286] I / O interface 612 provides an interface between processing component 602 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.
[0287] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of electronic device 600. For example, sensor assembly 614 may detect the on / off state of device 600, the relative positioning of components such as the display and keypad of electronic device 600, changes in position of electronic device 600 or a component of electronic device 600, the presence or absence of user contact with electronic device 600, orientation or acceleration / deceleration of electronic device 600, and temperature changes of electronic device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0288] Communication component 616 is configured to facilitate wired or wireless communication between electronic device 600 and other devices. Electronic device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 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.
[0289] In an exemplary embodiment, the electronic device 600 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.
[0290] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 820 of an electronic device 600 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.
[0291] Other embodiments of the invention 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 the invention that follow the general principles of the invention 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 the invention are indicated by the following claims.
[0292] In some cases, any two of the above technical features can be combined to form a new method or technical solution if they do not conflict.
[0293] In some cases, any two of the above technical features can be combined to form a new equipment technical solution if they do not conflict.
[0294] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A call control method, characterized in that, The method includes: A call scheme for obtaining the corresponding emergency number based on the region where the terminal is located; the call scheme is used to indicate the call link selected during the emergency number call process, as well as the selection priority of the call routing network; When a call instruction to an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the call scheme; The call scheme for obtaining the corresponding emergency number based on the region where the terminal is located includes: Determine if the terminal has a calling plan for the emergency number corresponding to the area where the terminal is located; If the calling scheme does not exist in the terminal, the calling scheme is obtained from the server; The method further includes: If the calling scheme exists in the terminal, then determine whether the calling scheme is the first calling scheme that needs to be updated; If the calling scheme is the first calling scheme, then obtain the most recently generated second calling scheme from the server.
2. The method according to claim 1, characterized in that, The method further includes: The calling scheme is bound to the region where the terminal is located and then stored on the terminal.
3. The method according to claim 1, characterized in that, The method for determining whether a call scheme for an emergency number corresponding to the region where the terminal is located exists in the terminal includes: Obtain the first region code of the mobile network currently accessed by the terminal; Check if there is a calling scheme for the emergency number corresponding to the first area code in the terminal.
4. The method according to claim 3, characterized in that, Obtaining the call plan from the server includes: Obtain the calling plan for the emergency number corresponding to the first area code from the server.
5. The method according to claim 1, characterized in that, When a call instruction to an emergency number corresponding to the area where the terminal is located is detected, the step of issuing a call to the emergency number based on the call scheme includes: When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the second call scheme.
6. The method according to claim 1, characterized in that, Determining whether the call scheme is the first call scheme that needs to be updated includes: Obtain the version identifier of the call scheme; Based on the version identifier, query the server to see if the call plan is the first call plan that needs to be updated.
7. The method according to claim 1, characterized in that, The step of making a call to the emergency number based on the calling scheme includes: Obtain the call links and call routing network recorded in the call scheme; After accessing the call routing network, a call to the emergency number is made through the call link in the call routing network.
8. The method according to claim 1, characterized in that, The calling scheme for obtaining the corresponding emergency number based on the region where the terminal is located includes: After the terminal accesses the mobile network, the local public land mobile network (HPLMN) information recorded in the terminal is obtained. Determine whether the first region code of the mobile network accessed by the terminal is consistent with the second region code in the HPLMN information; If the first area code is inconsistent with the second area code, the corresponding emergency number calling scheme is obtained based on the area where the terminal is located.
9. The method according to claim 8, characterized in that, The method further includes: If the first region code is the same as the second region code, then the third calling scheme bound to the HPLMN information in the terminal is obtained.
10. The method according to claim 9, characterized in that, When a call instruction to an emergency number corresponding to the area where the terminal is located is detected, the step of issuing a call to the emergency number based on the call scheme includes: When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the third call scheme.
11. The method according to claim 1, characterized in that, The method for determining whether a call scheme for an emergency number corresponding to the region where the terminal is located exists in the terminal includes: If a change in the region where the terminal is located is detected, it is determined whether the terminal has a calling scheme for the emergency number corresponding to the changed region.
12. The method according to claim 11, characterized in that, If a change in the location of the terminal is detected, determining whether the terminal has a calling scheme for the emergency number corresponding to the changed location of the terminal includes: The first area code of the mobile network accessed by the terminal is obtained at preset time intervals; If it is detected that the currently acquired first area code is different from the previously acquired first area code, then it is determined whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
13. A call control device, characterized in that, The device includes: The acquisition unit is used to obtain the corresponding emergency number call scheme based on the area where the terminal is located; A calling unit is used to issue a call to the emergency number based on the calling scheme when a call instruction to the emergency number corresponding to the area where the terminal is located is detected; The acquisition unit is specifically used for: Determine if the terminal has a calling plan for the emergency number corresponding to the area where the terminal is located; If the calling scheme does not exist in the terminal, the calling scheme is obtained from the server; The acquisition unit is also used for: If the calling scheme exists in the terminal, then determine whether the calling scheme is the first calling scheme that needs to be updated; If the calling scheme is the first calling scheme, then obtain the most recently generated second calling scheme from the server.
14. The apparatus according to claim 13, characterized in that, The device further includes: A storage unit is used to bind the call scheme to the region where the terminal is located and store it in the terminal.
15. The apparatus according to claim 13, characterized in that, The acquisition unit is specifically used for: Obtain the first region code of the mobile network currently accessed by the terminal; Check if there is a calling scheme for the emergency number corresponding to the first area code in the terminal.
16. The apparatus according to claim 15, characterized in that, The acquisition unit is specifically used for: Obtain the calling plan for the emergency number corresponding to the first area code from the server.
17. The apparatus according to claim 13, characterized in that, The calling unit is specifically used for: When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the second call scheme.
18. The apparatus according to claim 13, characterized in that, The acquisition unit is specifically used for: Obtain the version identifier of the call scheme; Based on the version identifier, query the server to see if the call plan is the first call plan that needs to be updated.
19. The apparatus according to claim 13, characterized in that, The calling unit is specifically used for: Obtain the call links and call routing network recorded in the call scheme; After accessing the call routing network, a call to the emergency number is made through the call link in the call routing network.
20. The apparatus according to claim 13, characterized in that, The acquisition unit is specifically used for: After the terminal accesses the mobile network, the local public land mobile network (HPLMN) information recorded in the terminal is obtained. Determine whether the first region code of the mobile network accessed by the terminal is consistent with the second region code in the HPLMN information; If the first area code is inconsistent with the second area code, the corresponding emergency number calling scheme is obtained based on the area where the terminal is located.
21. The apparatus according to claim 20, characterized in that, The acquisition unit is also used for: If the first region code is the same as the second region code, then the third calling scheme bound to the HPLMN information in the terminal is obtained.
22. The apparatus according to claim 21, characterized in that, The calling unit is specifically used for: When a call instruction for an emergency number corresponding to the area where the terminal is located is detected, a call to the emergency number is initiated based on the third call scheme.
23. The apparatus according to claim 13, characterized in that, The acquisition unit is specifically used for: If a change in the region where the terminal is located is detected, it is determined whether the terminal has a calling scheme for the emergency number corresponding to the changed region.
24. The apparatus according to claim 23, characterized in that, The acquisition unit is specifically used for: The first area code of the mobile network accessed by the terminal is obtained at preset time intervals; If it is detected that the currently acquired first area code is different from the previously acquired first area code, then it is determined whether there is a calling scheme for the emergency number corresponding to the currently acquired first area code in the terminal.
25. An electronic device, characterized in that, The electronic device includes: a processor and a memory for storing computer services that can run on the processor, wherein the processor, when running the computer services, implements the method of any one of claims 1 to 12.
26. A storage medium, characterized in that, The storage medium contains computer-executable instructions, which are executed by a processor to implement the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Emergency call number self-adaptive method and device
CN106255057A
Emergency call method and terminal
CN107343270A
