Emergency number dialing method and device and storage medium
By obtaining emergency semantic information and using preset correspondence to match the target emergency number, the problem of users not knowing emergency numbers in emergency situations is solved, and convenient emergency calls in different regions and roaming states are achieved.
Patent Information
- Application Number
- CN202410186376.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2025-08-22
AI Technical Summary
Users may not know or forget their emergency number in an emergency situation, resulting in the inability to make emergency calls, and the existing technology cannot effectively solve this problem.
By obtaining the emergency semantic information input by the user, the target emergency number is matched and dialed using the preset correspondence relationship, including determining the correspondence between the emergency number and the semantic information based on the SIM card's home location and the PLMN information of the current network, supporting emergency calls in the roaming state.
It realizes that without entering a specific emergency number, users can quickly dial the emergency number in the current region, provide convenient emergency call services, and adapt to the emergency call needs of different countries and roaming states.
Smart Images

Figure CN120529009A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a method, device, and storage medium for dialing an emergency number. Background Art
[0002] Emergency numbers are telephone numbers that need to be contacted quickly in an emergency, for emergency services such as help.
[0003] In the related art, emergency calls can only be made by dialing the local emergency number on a smart terminal. However, if the user does not know or forget the emergency number, it will result in being unable to dial the emergency number in an emergency, which is very inconvenient. Summary of the Invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device and storage medium for dialing an emergency number.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for dialing an emergency number is provided, comprising:
[0006] Acquire emergency semantic information input by a user, wherein the emergency semantic information is a language representation of an emergency number to be dialed by the user; determine a target digital sequence on the dial keypad that is triggered by the emergency semantic information; based on a first correspondence, match a target emergency number corresponding to the target digital sequence, and dial the target emergency number; wherein the first correspondence includes a correspondence between the emergency number and the digital sequence of the emergency semantic information.
[0007] In one embodiment, the correspondence between the digital sequence and the emergency number is determined in the following manner:
[0008] In response to a target user identity SIM card being inserted into a terminal, a target public land mobile network PLMN corresponding to the home location of the target user identity SIM card is obtained; based on a second correspondence between the PLMN and emergency semantic information, a digital sequence, and an emergency number, a third correspondence corresponding to the target public land mobile network PLMN is determined, the third correspondence including a correspondence between each emergency number corresponding to the target public land mobile network PLMN and the digital sequence of the emergency semantic information; and the third correspondence is determined as the first correspondence.
[0009] In one embodiment, the method further comprises:
[0010] In response to detecting that the terminal is currently residing in a roaming network, a roaming PLMN corresponding to the roaming network is determined; based on a second correspondence between the PLMN and emergency semantic information, a digital sequence, and an emergency number, a fourth correspondence corresponding to the roaming PLMN is determined, wherein the fourth correspondence includes a correspondence between each emergency number corresponding to the roaming PLMN and the digital sequence of the emergency semantic information; the fourth correspondence and the third correspondence are jointly determined as the first correspondence.
[0011] In one embodiment, dialing the target emergency number includes:
[0012] In response to determining that the target emergency number is a valid emergency number, the terminal is controlled to be in a state suitable for dialing an emergency number, and the target emergency number is dialed in the state.
[0013] In one embodiment, the first correspondence also includes emergency number type information, and the emergency number type information indicates whether the emergency number is a true emergency number or a false emergency number; dialing the target emergency number includes: in response to the target emergency number being a true emergency number, dialing the target emergency number using the emergency communication channel corresponding to the true emergency number; or, in response to the target emergency number being a false emergency number, dialing the target emergency number using a non-emergency communication channel.
[0014] In one embodiment, the method further comprises:
[0015] In response to the terminal currently residing in a roaming network, if dialing the target emergency number corresponding to the target digital sequence matched by the fourth correspondence fails, redialing the target emergency number corresponding to the target digital sequence matched by the third correspondence.
[0016] According to a second aspect of an embodiment of the present disclosure, there is provided an emergency number dialing device, comprising:
[0017] An acquisition unit, configured to acquire emergency semantic information input by a user on a terminal dialing keypad, wherein the emergency semantic information is a language representation of an emergency number to be dialed by the user;
[0018] A determination unit is used to determine the target digital sequence triggered by the emergency semantic information on the dial keypad; a processing unit is used to match the target emergency number corresponding to the target digital sequence based on a first correspondence, and dial the target emergency number; wherein the first correspondence includes the correspondence between the emergency number and the digital sequence of the emergency semantic information.
[0019] In one embodiment, the processing unit determines the correspondence between the digital sequence and the emergency number in the following manner:
[0020] In response to a target user identity SIM card being inserted into a terminal, a target public land mobile network PLMN corresponding to the home location of the target user identity SIM card is obtained; based on a second correspondence between the PLMN and emergency semantic information, a digital sequence, and an emergency number, a third correspondence corresponding to the target public land mobile network PLMN is determined, the third correspondence including a correspondence between each emergency number corresponding to the target public land mobile network PLMN and the digital sequence of the emergency semantic information; and the third correspondence is determined as the first correspondence.
[0021] In one embodiment, the processing unit is further configured to:
[0022] In response to detecting that the terminal is currently residing in a roaming network, a roaming PLMN corresponding to the roaming network is determined; based on a second correspondence between the PLMN and emergency semantic information, a digital sequence, and an emergency number, a fourth correspondence corresponding to the roaming PLMN is determined, wherein the fourth correspondence includes a correspondence between each emergency number corresponding to the roaming PLMN and the digital sequence of the emergency semantic information; the fourth correspondence and the third correspondence are jointly determined as the first correspondence.
[0023] In one embodiment, the processing unit dials the target emergency number in the following manner:
[0024] In response to determining that the target emergency number is a valid emergency number, the terminal is controlled to be in a state suitable for dialing an emergency number, and the target emergency number is dialed in the state.
[0025] In one embodiment, the first correspondence also includes emergency number type information, and the emergency number type information indicates whether the emergency number is a true emergency number or a false emergency number; dialing the target emergency number includes: in response to the target emergency number being a true emergency number, dialing the target emergency number using the emergency communication channel corresponding to the true emergency number; or in response to the target emergency number being a false emergency number, dialing the target emergency number using a non-emergency communication channel.
[0026] In one embodiment, the processing unit is further configured to:
[0027] In response to the terminal currently residing in a roaming network, if dialing the target emergency number corresponding to the target digital sequence matched by the fourth correspondence fails, redialing the target emergency number corresponding to the target digital sequence matched by the third correspondence.
[0028] According to a third aspect of an embodiment of the present disclosure, there is provided an emergency number dialing device, comprising:
[0029] A processor; a memory for storing processor-executable instructions; wherein the processor is configured to: execute the emergency number dialing method described in the first aspect or any one of the embodiments of the first aspect.
[0030] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal can perform the method described in the first aspect or any one of the implementations of the first aspect.
[0031] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the user enters emergency semantic information on the dialing keypad in the dialing interface, the terminal identifies the target emergency number corresponding to the emergency semantic information and makes an emergency call based on the target emergency number, enabling the user to make an emergency call without entering the emergency number, and providing the user with a convenient and intelligent emergency number dialing service.
[0032] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0034] Figure 1 The figure is a flow chart showing a method for dialing an emergency number according to an exemplary embodiment.
[0035] Figure 2 FIG. 1 is a schematic diagram showing emergency number dialing according to an exemplary embodiment.
[0036] Figure 3 The figure is a flow chart showing a method for matching emergency numbers according to an exemplary embodiment.
[0037] Figure 4 The figure is a flowchart showing a method for obtaining a target emergency number according to an exemplary embodiment.
[0038] Figure 5 The figure is a schematic diagram showing a process of obtaining a first correspondence based on a SIM card according to an exemplary embodiment.
[0039] Figure 6 The figure is a flowchart showing a method for obtaining a target emergency number according to an exemplary embodiment.
[0040] Figure 7The figure is a schematic diagram of a process of obtaining a first correspondence based on a SIM card and roaming information according to an exemplary embodiment of the present disclosure.
[0041] Figure 8 The figure is a schematic diagram showing an emergency number call according to an exemplary embodiment.
[0042] Figure 9 The figure is a flowchart showing a method for obtaining a target emergency number according to an exemplary embodiment.
[0043] Figure 10 The figure is a flow chart showing a method for dialing a target emergency number according to an exemplary embodiment.
[0044] Figure 11 The figure is a flowchart showing a method for obtaining a target emergency number according to an exemplary embodiment.
[0045] Figure 12 The figure is a schematic diagram of a process of dialing a target emergency number according to an exemplary embodiment of the present disclosure.
[0046] Figure 13 The figure is a block diagram of a device for dialing an emergency number according to an exemplary embodiment.
[0047] Figure 14 The figure is a block diagram showing a device for dialing an emergency number according to an exemplary embodiment. DETAILED DESCRIPTION
[0048] Exemplary embodiments are described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different drawings represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure.
[0049] In the accompanying drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be understood as limiting the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure. The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0050] The emergency number dialing method provided by the embodiment of the present disclosure is applied to the field of communication technology. The emergency number dialing method provided by the embodiment of the present disclosure is mainly used to accurately dial the emergency number.
[0051] In the disclosed embodiments, the emergency numbers are short numbers, corresponding to the default configuration specified by 3GPP. Each country and / or region may have specific emergency numbers. For example, in region A, numbers 1, 2, 3, and 4 are emergency numbers, but in region B, numbers 1 and 2 are not, while numbers 5 and 6 are. Users may not be able to access the emergency number in their area, resulting in an inability to make emergency calls.
[0052] In view of this, an embodiment of the present disclosure provides a method for dialing an emergency number, which uses the emergency semantic information of the number to be dialed to correspond to a digital sequence to dial the emergency number, so that without entering a specific emergency number, the emergency number of the current terminal network area or the terminal user identity module (Subscriber Identity Module, SIM) card location can be directly dialed to make a call, thereby shielding the differences in emergency numbers among operators in various countries.
[0053] Figure 1 FIG. 1 is a flow chart showing a method for dialing an emergency number according to an exemplary embodiment. Figure 1 As shown, the following steps are included.
[0054] In step S11 , a language keyword input by a user is obtained.
[0055] In the disclosed embodiment, the emergency semantic information is the language representation of the emergency number to be dialed by the user. The language representation can also be understood as a semantic representation. For example, the emergency semantic information entered by the user on the terminal dialing keypad can be a character string corresponding to the semantics of the emergency number to be dialed. For example, the semantics of the emergency number "number 1" is "keyword 1", and the pinyin character string corresponding to "keyword 1" is "guanjianci1". In one example, "keyword 1" is "ambulance". The language keyword corresponding to the emergency number "ambulance" can be "jiuhuche" or "ambulance", etc.
[0056] It should be understood that the emergency semantic information in the embodiments of the present disclosure can be a string entered by the user in the dialing interface, or it can be voice content containing emergency semantic information entered using a voice assistant in the electronic device. For example, it can be the pinyin string "guanjianci1" entered in the dialing interface, or it can be the instruction "Dial the phone number of keyword 1" issued to the voice assistant.
[0057] In step S12, the target emergency number to be dialed indicated by the emergency semantic information is matched, and the target emergency number is dialed.
[0058] In an embodiment of the present disclosure, in response to a user inputting emergency semantic information for dialing an emergency number on a terminal, the terminal can determine a target emergency number corresponding to the emergency semantic information and dial the target emergency number without the user having to enter the target emergency number on the dial keypad to make an emergency call.
[0059] In an embodiment of the present disclosure, if the user inputs emergency semantic information by entering a character string containing emergency semantic information on the dial keypad, an option to use a matching emergency number for an emergency call may be displayed on the dialing interface, or the user may automatically dial the emergency number after pressing the dial key. For example, the emergency number corresponding to "keyword 1" is "number 1". The user enters the pinyin character string "guanjianci1" of the emergency semantic information of "keyword 1" on the dial keypad and presses the dial key. The terminal can then dial the emergency number "number 1", allowing the user to make an emergency call without entering "number 1".
[0060] In the embodiment of the present disclosure, the dialing keyboard of the dialing interface can be a T9 keyboard with dialing numbers, letters and other symbols. Figure 2 As shown. When the user enters emergency semantic information on the terminal dial pad, the content that appears on the dial interface may be the corresponding digital sequence. In one example of the present disclosure, a correspondence between emergency semantic information, digital sequence, and emergency number can be created, which is subsequently referred to as the first correspondence. When the user enters emergency semantic information, the digital sequence and the target emergency number can be matched based on the first correspondence, and an emergency call can be made using the target emergency number.
[0061] Figure 3 FIG. 1 is a flow chart showing a method for matching an emergency number according to an exemplary embodiment. Figure 3 As shown, the following steps are included.
[0062] Figure 3 The steps in step S21 in Figure 1 The steps S11 in the embodiment are the same as those in the embodiment S11, which will not be described in detail here. Please refer to the relevant description of the above embodiment. Only the differences will be described below.
[0063] In step S22, a target digital sequence corresponding to the emergency semantic information triggered on the dial keypad is determined.
[0064] In the disclosed embodiment, since the dial pad uses the T9 keyboard layout, there is a fixed correspondence between letters and numbers. Therefore, when the letters of the emergency semantic information are entered on the dial pad, the corresponding numerical sequence is displayed. For example, after the user enters "Type 1", the dial input box displays the numerical information "5391".
[0065] In step S23, based on the first correspondence between the digital sequence and the emergency number, the target emergency number corresponding to the target digital sequence is matched, and the target emergency number is dialed.
[0066] In the embodiment of the present disclosure, the first corresponding relationship includes a corresponding relationship between the emergency number and the digital sequence of the emergency semantic information.
[0067] In the disclosed embodiment, when dialing a target emergency number, the target digit sequence is displayed. Figure 2 As shown, the target digital sequence corresponding to the emergency semantic information "police" of the emergency number "110" is "765423". After the user enters "police", the target digital sequence "765423" is displayed on the dial keypad, and "765423" is displayed when the emergency number is dialed.
[0068] In the embodiment of the present disclosure, the first correspondence between the digital sequence and the emergency number can be determined based on preset information preset in the electronic device database.
[0069] In one example, emergency numbers corresponding to Public Land Mobile Networks (PLMNs) supporting all operators and digital sequences corresponding to the emergency numbers are collected in advance, and the collected emergency number information is stored in a database on the modem side of the electronic device.
[0070] In the disclosed embodiment, emergency number type information may also be pre-collected. The emergency number type information indicates whether the emergency number is a true emergency number or a false emergency number. True emergency numbers are dialed using the emergency communication channel. False emergency numbers are dialed as ordinary numbers, i.e., using the non-emergency communication channel.
[0071] In an exemplary embodiment, all PLMNs of supported operators, emergency numbers corresponding to PLMNs, true and false emergency information, emergency number categories, digital sequences corresponding to default emergency number types, and digital sequences corresponding to emergency number types are collected in advance during the research and development stage, and the collected emergency number information is stored in a database located on the modem side of the terminal, as shown in Table 1.
[0072] Table 1
[0073]
[0074] In an embodiment of the present disclosure, when a user enters emergency semantic information on the dial pad, a target numeric sequence is displayed on the dial interface. For example, as shown in Table 1, when a user enters the pinyin string "guanjianci1" corresponding to the emergency semantic information of ID 1, the content displayed on the dial interface is the numeric sequence "48265426241" corresponding to ID 1. It should be understood that, in addition to the target numeric sequence corresponding to the emergency semantic information, the display content of the dial interface may also display other information related to the emergency semantic information or the corresponding emergency number. For example, the emergency number corresponding to the emergency semantic information or numeric sequence entered by the user may be displayed on the dial interface.
[0075] It should be understood that the correspondence between emergency numbers and digit sequences can be modified based on other conditions. For example, setting a correspondence between emergency numbers and digit sequences corresponding to the emergency semantic information of the current SIM card location and the resident network location can avoid incorrect emergency call operations caused by the presence of too many target digit sequences corresponding to target emergency numbers in other regions.
[0076] In an embodiment of the present disclosure, when a target emergency number is dialed using emergency semantic information, the corresponding target emergency number currently being dialed may be displayed in the call interface, displaying information to assist the user in determining the emergency number being dialed.
[0077] In the embodiment of the present disclosure, the first correspondence between the digital sequence of the emergency semantic information and the emergency number may be determined based on the public land mobile network (PLMN) information in the SIM card.
[0078] Figure 4 FIG. 1 is a flow chart showing a method for matching an emergency number according to an exemplary embodiment. Figure 4 As shown, the following steps are included.
[0079] In step S31, in response to a target subscriber identity SIM card being inserted into a terminal, target public land mobile network PLMN information corresponding to the home location of the target subscriber identity SIM card is obtained.
[0080] In the embodiment of the present disclosure, the target user identity identification SIM card can be understood as the SIM card actually used by the electronic device. When the terminal detects that the SIM card is inserted or replaced, the operator and country / region corresponding to the target user identity identification SIM card are determined by obtaining the target public land mobile network PLMN information corresponding to the target user identity identification SIM card. It should be understood that PLMN is a land-based wireless communication network that provides mobile phones and other mobile communication services to the public. The PLMN identifier consists of a mobile country code (MCC) and a mobile network code (MNC), which are used to identify different operators and countries / regions. Therefore, the operator and country / region corresponding to the current SIM card in the terminal can be obtained through the PLMN information.
[0081] In step S32, based on the correspondence between PLMN information, emergency semantic information, digital sequence and emergency number, a first correspondence between the digital sequence of the target public land mobile network PLMN information corresponding to the home location corresponding to the emergency semantic information and the emergency number is determined.
[0082] In the disclosed embodiment, for ease of description, the correspondence between the PLMN stored in the database and the emergency semantic information, the digital sequence, and the emergency number is referred to as the second correspondence. In the disclosed embodiment, the correspondence between each emergency number corresponding to the target public land mobile network PLMN and the digital sequence of the emergency semantic information is determined based on the second correspondence, which is subsequently referred to as the third correspondence. The third correspondence includes the correspondence between each emergency number corresponding to the target public land mobile network PLMN and the digital sequence of the emergency semantic information. The third correspondence is determined as the first correspondence.
[0083] In one example, a database stores emergency semantic information, digital sequences, and second correspondences between emergency numbers of m PLMNs, such as PLMN1, PLMN2...PLMNm. Each PLMN corresponds to n second correspondences. The value of n in the second correspondences corresponding to different PLMNs can be the same or different. Assume that the PLMN corresponding to the target user identity identification SIM card is PLMN1. Applying the embodiment of the present disclosure, the second correspondences between the n emergency semantic information, digital sequences, and emergency numbers corresponding to PLMN1 are matched in the database as the third correspondence. Furthermore, the first correspondence can be the second correspondence between the n emergency semantic information, digital sequences, and emergency numbers corresponding to PLMN1.
[0084] The first correspondence may not only include the digital sequence of the emergency semantic information corresponding to the location corresponding to the target public land mobile network PLMN information and the emergency number, but may also be additionally set based on actual needs, and may be stored in the database of the terminal in the form of a table. For example, the first correspondence may be set to include PLMN information, emergency number, emergency number type corresponding to the emergency number, a default digital sequence, and the digital sequence of the emergency semantic information corresponding to the location corresponding to the target public land mobile network PLMN information. Exemplarily, the saved first correspondence data may be "identity 1, number 1, false emergency, NA, 5391, 48265426241". By setting the first correspondence, the user can enter the emergency semantic information corresponding to the location of the SIM card to dial the emergency number.
[0085] Figure 5 FIG. 1 is a schematic diagram showing a process of obtaining a first correspondence based on a SIM card according to an exemplary embodiment of the present disclosure. Figure 5 As shown, in the embodiment of the present disclosure, the electronic device is taken as an example for explanation as a terminal. The terminal includes a terminal application layer (tele), a terminal modem (modem), and a database (databaseMgt). When the user inserts a SIM card into the terminal. The modem (modem) of the electronic device reads the PLMN information in the card, and then uses the PLMN information to query the database for the configuration of the emergency number. After obtaining the configuration of the third correspondence relationship between the SIM card and the PLMN information, the modem combines the emergency number in the SIM card and reports the emergency number and the corresponding digital sequence to the tele side for identification when the emergency number is dialed. After the modem side of the terminal receives the SIM card ready prompt issued by the SIM card side of the terminal, it reads the PLMN information on the SIM card side, queries and configures the emergency number corresponding to the configured PLMN in the database based on the PLMN information, and receives the emergency number and emergency sequence corresponding to the PLMN returned by the database. The modem side determines the locally stored emergency number and actual sequence through the emergency number returned in the database and the emergency number read from the SIM card, and reports the emergency number and digital sequence to the system application layer of the terminal. The terminal application layer locally stores the emergency number and digital sequence reported by the modem, and in response to the user inputting the emergency semantic information corresponding to the digital sequence, the emergency number corresponding to the digital sequence can be dialed.
[0086] In related technologies, the emergency call numbers corresponding to different countries may be different. When a user is in roaming status and is not aware of the emergency phone number of the roaming area, there may be a situation where the user cannot be connected to the local emergency service center, which cannot meet the user's need to make emergency calls while roaming.
[0087] In the embodiment of the present disclosure, the current region of the terminal can be determined based on the current network information of the terminal, and whether the current region is a roaming region can be determined, thereby determining the corresponding emergency number information.
[0088] In one example, it is detected whether the current network of the terminal is a roaming network. If it is determined that the current network is not a roaming network, the third corresponding relationship determined above can be used as the first corresponding relationship to determine the emergency number.
[0089] In one example, if the current resident network is determined to be a roaming network, the corresponding roaming PLMN of the roaming network is determined. A correspondence between each emergency number corresponding to the roaming PLMN and the digit sequence of the emergency semantic information is also determined, hereinafter referred to as the fourth correspondence. The fourth correspondence and the third correspondence are collectively referred to as the first correspondence.
[0090] Figure 6 FIG. 1 is a flow chart showing a method for obtaining a target emergency number according to an exemplary embodiment. Figure 6 As shown, the following steps are included.
[0091] In step S41, in response to detecting that the current network where the terminal resides is a roaming network, a roaming PLMN corresponding to the roaming network is determined.
[0092] In the disclosed embodiments, the current resident network of the terminal can generally be obtained by querying the network status of the terminal. Specifically, the current resident network of the terminal can be determined by checking the roaming status and roaming information of the terminal. For example, by obtaining the network status information of the terminal, it is determined whether the currently connected operator is consistent with the terminal's home operator. If they are inconsistent, it means that the terminal is in a roaming state, and the mobile country code (MCC) and mobile network code (MNC) in the current network are further obtained to determine the region to which the current resident network belongs; if they are consistent, it means that the terminal is in the SIM card's home network.
[0093] In step S42, a fourth correspondence corresponding to the roaming PLMN is determined based on the second correspondence between the PLMN and the emergency semantic information, the digit sequence, and the emergency number.
[0094] In the disclosed embodiment, the fourth correspondence includes a correspondence between each emergency number corresponding to the roaming PLMN and the digit sequence of the emergency semantic information. Based on the PLMN, the emergency semantic information, the digit sequence, and the emergency number, if the current resident network is a roaming network, and in response to receiving emergency semantic information input by the user, the emergency number corresponding to PLMN2 corresponding to the emergency semantic information in the fourth correspondence is output. For example, if the current resident network is determined to be a roaming network, the emergency number corresponding to PLMN1 is number 1, and the emergency number corresponding to PLMN2 is number 2, then, in response to a match between the user's emergency semantic information and the emergency semantic information in PLMN1 or PLMN2, the terminal determines, based on the determined fourth correspondence, number 2 corresponding to the emergency semantic information and dials the emergency number corresponding to the roaming location. Determining whether the resident network location is the location corresponding to the SIM card can be determined based on the current roaming status of the terminal. If the current network is detected to be a non-roaming network, the resident network location is determined to be the location corresponding to the SIM card. If the current network is detected to be a roaming network, the resident network location is determined to be not the location corresponding to the SIM card.
[0095] In an exemplary embodiment, the PLMN corresponding to the SIM card used by the terminal is PLMN1. The third corresponding relationship determined based on the second corresponding relationship is: the second corresponding relationship between the n emergency semantic information, digital sequence, and emergency number corresponding to PLMN1. In response to detecting that the current resident network of the terminal is a roaming network, the PLMN of the roaming network is determined to be PLMN2. Applying the embodiment of the present disclosure, the second corresponding relationship between the n emergency semantic information, digital sequence, and emergency number corresponding to PLMN2 is matched in the database as the fourth corresponding relationship.
[0096] Furthermore, the first correspondence can be a fourth correspondence merged on the basis of the third correspondence, namely, including: the correspondence between n emergency semantic information, digital sequences, and emergency numbers corresponding to PLMN1, and the correspondence between n emergency semantic information, digital sequences, and emergency numbers corresponding to PLMN2.
[0097] Figure 7 FIG. 1 is a schematic diagram of a process for obtaining a first correspondence based on a SIM card and roaming information according to an exemplary embodiment of the present disclosure. Figure 7As shown, in the embodiment of the present disclosure, the electronic device is taken as an example for explanation. The terminal includes a terminal application layer (tele), a terminal modem (modem), a database (databaseMgt), and a network (NW). After the modem completes registration with the NW, the modem side detects whether the network where the current terminal is located is a roaming network. If it is detected that the current network is a roaming network, the modem reads the emergency number configuration corresponding to the current resident PLMN in the databaseMgt. After obtaining the emergency number configuration corresponding to the current resident PLMN, the modem merges the previously matched emergency numbers and stores them again. After the modem stores the emergency number, it reports the emergency number update to the terminal application layer.
[0098] In the embodiment of the present disclosure, the call page after dialing using emergency semantic information can be consistent with the regular call page, or can display additional emergency call related content. Figure 8 The call interface shown may include a dial pad, a hands-free button, function buttons, a dial avatar, the emergency number "Number 1," and the number type "Emergency Call." After the user dials the target sequence of digits, the terminal selects the target emergency number corresponding to the target sequence of digits based on the fourth correspondence as the first correspondence, and displays the currently active emergency number and related information on the call interface.
[0099] In an embodiment of the present disclosure, if it is detected that the resident network location is the location corresponding to the SIM card, that is, the network area where the current terminal is located is the SIM location, then the first correspondence between the digital sequence based on the emergency semantic information corresponding to the SIM card and the emergency number can be used to realize the function of making an emergency call by inputting the emergency semantic information.
[0100] In the embodiment of the present disclosure, if it is detected that the current resident network location is different from the location corresponding to the SIM card, that is, the terminal is currently in roaming state, a second correspondence relationship needs to be generated based on the SIM information and the resident network information.
[0101] Figure 9 FIG. 1 is a flow chart showing a method for obtaining a target emergency number according to an exemplary embodiment. Figure 9 As shown, the following steps are included.
[0102] Figure 9 The steps in step S51 in Figure 1 The steps S11 in the embodiment are the same as those in the embodiment S11, which will not be described in detail here. Please refer to the relevant description of the above embodiment. Only the differences will be described below.
[0103] In step S52, the target emergency number to be dialed indicated by the emergency semantic information is matched, and in response to determining that the target emergency number is a valid emergency number, the terminal is controlled to be in a state that meets the requirements for dialing an emergency number, and the target emergency number is dialed in the state.
[0104] In the disclosed embodiments, a valid emergency number refers to a telephone number that can provide effective assistance in an emergency. It should be understood that any number that can be dialed and provides emergency assistance in the area where the call is made can be a valid emergency number. Furthermore, a state that is eligible for dialing an emergency number means that the terminal is able to dial the emergency number normally. For example, a state that is eligible for dialing an emergency number may be an unlocked state or a state not in airplane mode.
[0105] Figure 10 FIG. 1 is a flow chart showing a method for dialing a target emergency number according to an exemplary embodiment. Figure 10 As shown, the following steps are included.
[0106] Figure 10 The steps in step S61 in Figure 7 The steps S51 in the embodiment are the same as those in the embodiment S51, which will not be described in detail here. Please refer to the relevant description of the above embodiment. Only the differences will be described below.
[0107] In step S62a, in response to the target emergency number being a true emergency number, the target emergency number is dialed using the emergency communication channel corresponding to the true emergency number.
[0108] In the embodiment of the present disclosure, true emergency numbers and false emergency numbers are mainly divided according to whether the emergency communication channel is actually used to realize the call for emergency services. Whether different target emergency numbers are true emergency numbers can be pre-set. When the target emergency number is received, it can automatically determine whether the target emergency number is a true emergency number.
[0109] In the disclosed embodiments, an emergency communication channel refers to a communication channel established to facilitate rapid and efficient communication in emergency situations. Emergency communication channels are typically established to support tasks such as emergency rescue, crisis management, and security. Emergency communication channels can take the form of dedicated emergency communication networks, public emergency communication networks, emergency call centers, or emergency broadcast systems.
[0110] In the disclosed embodiment, if the target emergency number is a true emergency number, the number will not be carried when the emergency number is dialed, and the emergency channel corresponding to the number will be used to dial the emergency number. For example, the emergency number can be dialed using the Uniform Resource Locator (URL) or the Uniform Resource Name (URN) preset for the emergency number via an IP-based multimedia communication system (IMS).
[0111] In one example, dialing a real emergency number may convert the target emergency number into a URN, and then map the URN to a Voice over Internet Protocol (VoIP) protocol so that a voice call can be made through the URN.
[0112] In step S62b, in response to the target emergency number being a false emergency number, the target emergency number is dialed using a non-emergency communication channel.
[0113] In the disclosed embodiments, to avoid situations where the network signal complexity may be high due to regional equipment or environmental factors, making it impossible to dial an emergency number using the emergency communication channel, some emergency numbers may be false emergency numbers. Therefore, if the target emergency number is determined to be a false emergency number, the target emergency number is dialed using the non-emergency communication channel.
[0114] Figure 11 FIG. 1 is a flow chart showing a method for obtaining a target emergency number according to an exemplary embodiment. Figure 11 As shown, the following steps are included.
[0115] Figure 11 The steps S71 and S72 in Figure 6 Steps S41 and S42 are the same and will not be described again here. Please refer to the relevant description of the above embodiment. Only the differences will be described below.
[0116] In step S73, if the target emergency number corresponding to the target digit sequence matched by the fourth correspondence fails to be dialed, the target emergency number corresponding to the target digit sequence matched by the third correspondence is redialed.
[0117] In an embodiment of the present disclosure, in a scenario where the terminal network is a roaming network, if it is detected that the target emergency number obtained using the fourth correspondence, that is, the emergency number in the resident network corresponding to the target digital sequence, is used as the corresponding target emergency number and an emergency call cannot be made, then the target emergency number corresponding to the third correspondence, that is, the target emergency number in the SIM card, is used as the target emergency number to make an emergency call again. For example, in a scenario where the terminal network is a roaming network, the target emergency number corresponding to the target digital sequence corresponding to the emergency semantic information in the fourth correspondence is number x, and the target emergency number corresponding to the target digital sequence corresponding to the emergency semantic information in the third correspondence is number y. Then, when the user inputs the changed emergency semantic information, number x is first used for dialing. If the dialing fails, number y is tried for dialing.
[0118] In one exemplary embodiment, when a user inserts a SIM card, the terminal's modem reads the PLMN information stored on the card and then uses this information to query a database for emergency number configuration. After obtaining the corresponding configuration, the modem combines the emergency number stored on the SIM card and reports the emergency number and corresponding digit sequence to the system application layer for identification during emergency number dialing. Once the phone completes network residency, the modem detects whether the current residency is on a roaming network. If so, it queries the database using the PLMN of the current resided network to obtain the corresponding emergency number configuration. The newly added portion (the card-matching portion remains) is then reported to the system application layer and stored locally.
[0119] Figure 12 FIG. 1 is a schematic diagram showing a process of dialing a target emergency number according to an exemplary embodiment of the present disclosure. Figure 12As shown, in the embodiments of the present disclosure, an electronic device is used as a terminal for illustration. The terminal includes a terminal application layer (tele), a terminal modem (modem), and a network (NW). After a user dials a corresponding emergency number using a digit sequence on the tele side, the tele first determines whether the current digit sequence is an emergency number based on a first correspondence relationship. Specifically, the tele performs operations such as unlocking the terminal and disabling airplane mode, as needed for the emergency number, to enable the terminal to make the emergency call. The tele transmits the emergency number dialing action to the modem, along with the target digit sequence. The modem determines whether the corresponding emergency number is a true emergency number or a false emergency number based on the digit sequence. If the modem detects that the target emergency number is a true emergency number, it uses an emergency channel to dial the corresponding category to the network. If the modem detects that the target emergency number is a false emergency number, it uses a non-emergency channel to convert the digit sequence into an emergency number and dials the number to the network using a conventional dialing method. If it is detected that the emergency number dialing fails in the roaming scenario, that is, the emergency number dialing using the target digital sequence in the determined fourth correspondence fails, the terminal modem automatically switches to redialing based on the emergency number corresponding to the SIM card, that is, redialing using the target emergency number in the determined third correspondence.
[0120] On the dial pad, the user directly spells out emergency number keywords such as Type 1 or Type 2 or type related content in the local language (for example, Type 1, Type 2 in the local language represented by letters), and the corresponding numbers are generated and then broadcast directly. After receiving the broadcast request, the terminal application layer confirms that the number is a valid emergency number. If it is a special scenario such as the lock screen, it will also be transmitted to the modem side normally.
[0121] The modem queries the locally stored emergency number information based on the current resident plmn. If it is a false emergency, it obtains the corresponding actual emergency number and directly dials the corresponding number with a normal number. If it is a true emergency, it directly uses the corresponding category / url (IMS) to make an emergency call to the network end.
[0122] In a roaming scenario, if the call fails on multiple RATs of the resident network, the modem will try to use the corresponding plmn configuration of the SIM card and dial again using the corresponding number / category.
[0123] In the disclosed embodiments, emergency semantic information entered on the terminal dial pad is used to retrieve and dial a target emergency number that matches the emergency semantic information. This can mask differences in emergency numbers between carriers in different countries, enabling the correct emergency call to be dialed directly without entering the emergency number in situations where the number is forgotten or roaming, thereby improving the user experience and providing a more convenient and intelligent emergency calling experience.
[0124] Based on the same concept, an embodiment of the present disclosure also provides an emergency number dialing device.
[0125] It is understandable that the emergency number dialing device provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0126] Figure 13 FIG. 1 is a block diagram of an emergency number dialing device 100 according to an exemplary embodiment. Figure 13 The device includes an acquisition unit 101, a determination unit 102 and a processing unit 103.
[0127] The acquisition unit 101 is configured to acquire emergency semantic information input by a user on a terminal dialing keypad. The emergency semantic information is a language representation of an emergency number to be dialed by the user.
[0128] The determining unit 102 is configured to determine a target digit sequence triggered by the emergency semantic information on the dial keypad.
[0129] The processing unit 103 is configured to match a target emergency number corresponding to a target digital sequence based on a correspondence between digital sequences and emergency numbers, and dial the target emergency number.
[0130] In one embodiment, the processing unit 103 determines the correspondence between the digital sequence and the emergency number in the following manner:
[0131] In response to a target user identity SIM card being inserted into a terminal, target public land mobile network PLMN information of a home location corresponding to the target user identity SIM card is obtained; based on a correspondence between the PLMN information, emergency semantic information, a digital sequence, and an emergency number, a first correspondence between the digital sequence of the emergency semantic information corresponding to the home location corresponding to the target public land mobile network PLMN information and the emergency number is determined.
[0132] In one embodiment, the processing unit matches the target emergency number corresponding to the target digital sequence based on the correspondence between the digital sequence and the emergency number in the following manner:
[0133] The current resident network of the terminal is obtained; in response to the resident network location being the location corresponding to the SIM card, a target emergency number corresponding to the target digital sequence is matched based on the first corresponding relationship.
[0134] In one embodiment, the processing unit matches the target emergency number corresponding to the target digital sequence based on the correspondence between the digital sequence and the emergency number in the following manner:
[0135] Obtain the current resident network of the terminal; in response to the resident network location being the roaming location, match the target emergency number corresponding to the target digital sequence based on the second correspondence; the second correspondence is the correspondence between the digital sequence and the emergency number based on the emergency semantic information corresponding to the roaming location and the SIM card location.
[0136] In one embodiment, the processing unit determines the second correspondence in the following manner:
[0137] In response to detecting that the current network location of the terminal is a roaming location, based on the correspondence between the PLMN information, emergency semantic information, digital sequence, and emergency number in the resident network and the correspondence between the emergency semantic information, digital sequence, and emergency number in the SIM card, a second correspondence between the digital sequence of different emergency semantic information corresponding to the PLMN information of the roaming location and the emergency number is determined.
[0138] In one embodiment, the processing unit matches the target emergency number corresponding to the target digital sequence based on the second correspondence in the following manner:
[0139] If there is a target digital sequence in the second corresponding relationship, the emergency number in the resident network corresponding to the target digital sequence is determined as the corresponding target emergency number; in response to the emergency number in the resident network corresponding to the target digital sequence being unable to be called as the corresponding target emergency number, the emergency number in the SIM card is used as the target emergency number corresponding to the target digital sequence.
[0140] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0141] Figure 14 FIG2 is a block diagram of an apparatus 200 for dialing an emergency number according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0142] Reference Figure 14 , apparatus 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0143] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0144] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 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 memory, flash memory, magnetic disk, or optical disk.
[0145] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 200.
[0146] The multimedia component 208 includes a screen that provides an output interface between the device 200 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 can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0147] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC) that is configured to receive external audio signals when the device 200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, the audio component 210 further includes a speaker for outputting audio signals.
[0148] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0149] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200. The sensor assembly 214 can also detect changes in the position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200, and temperature changes of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0150] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0151] In an exemplary embodiment, the apparatus 200 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 above-described method.
[0152] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as the memory 204 including instructions, which can be executed by the processor 220 of the apparatus 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0153] It is understood that in this disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of related objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0154] It will be further understood that the terms "first," "second," and the like are used to describe various types of information, but such information should not be limited to these terms. These terms are used solely to distinguish information of the same type from one another and do not indicate a particular order or level of importance. In fact, the terms "first," "second," and the like are fully interchangeable. For example, first information could be referred to as second information, and similarly, second information could be referred to as first information without departing from the scope of this disclosure.
[0155] It is further understood that, unless otherwise specified, “connection” includes a direct connection where there are no other components between the two elements, and also includes an indirect connection where there are other elements between the two elements.
[0156] It is further understood that although operations are described in a particular order in the drawings in the embodiments of the present disclosure, this should not be construed as requiring that the operations be performed in the particular order shown or in a serial order, or that all of the operations shown be performed to obtain the desired results. In certain circumstances, multitasking and parallel processing may be advantageous.
[0157] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein.
[0158] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A method for dialing an emergency number, characterized in that: include: Acquire emergency semantic information input by the user, where the emergency semantic information is a language representation of the emergency number to be dialed by the user; Determining a target digital sequence corresponding to the emergency semantic information triggered on the dial keypad; Based on the first correspondence, matching a target emergency number corresponding to the target digital sequence, and dialing the target emergency number; The first corresponding relationship includes a corresponding relationship between the emergency number and the digital sequence of the emergency semantic information.
2. The method according to claim 1, characterized in that The correspondence between the digital sequence and the emergency number is determined in the following manner: In response to a target user identity identification SIM card being inserted into the terminal, obtaining a target public land mobile network PLMN corresponding to a home location of the target user identity identification SIM card; determining, based on a second correspondence between the PLMN and the emergency semantic information, the digital sequence, and the emergency number, a third correspondence corresponding to the target public land mobile network PLMN, the third correspondence including a correspondence between each emergency number corresponding to the target public land mobile network PLMN and the digital sequence of the emergency semantic information; The third corresponding relationship is determined as the first corresponding relationship.
3. The method according to claim 2, characterized in that The method further comprises: In response to detecting that the current resident network of the terminal is a roaming network, determining a roaming PLMN corresponding to the roaming network; Determining, based on a second correspondence between the PLMN and the emergency semantic information, the digital sequence, and the emergency number, a fourth correspondence corresponding to the roaming PLMN, the fourth correspondence including a correspondence between each emergency number corresponding to the roaming PLMN and the digital sequence of the emergency semantic information; The fourth corresponding relationship and the third corresponding relationship are jointly determined as the first corresponding relationship.
4. The method according to claim 1, wherein The dialing of the target emergency number includes: In response to determining that the target emergency number is a valid emergency number, the terminal is controlled to be in a state suitable for dialing an emergency number, and the target emergency number is dialed in the state.
5. The method according to any one of claims 1 to 4, characterized in that The first correspondence also includes emergency number type information, where the emergency number type information indicates whether the emergency number is a true emergency number or a false emergency number; The dialing of the target emergency number includes: In response to the target emergency number being a true emergency number, dialing the target emergency number using an emergency communication channel corresponding to the true emergency number; or In response to the target emergency number being a false emergency number, dialing the target emergency number using a non-emergency communication channel.
6. The method according to claim 3, characterized in that The method further comprises: In response to the terminal currently residing in a roaming network, if dialing the target emergency number corresponding to the target digital sequence matched by the fourth correspondence fails, redialing the target emergency number corresponding to the target digital sequence matched by the third correspondence.
7. An emergency number dialing device, characterized in that: include: An acquisition unit, configured to acquire emergency semantic information input by a user, wherein the emergency semantic information is a language representation of an emergency number to be dialed by the user; a determining unit, configured to determine a target digital sequence to be triggered on a dial keypad by the emergency semantic information; a processing unit, configured to match a target emergency number corresponding to the target digital sequence based on the first corresponding relationship, and dial the target emergency number; The first corresponding relationship includes a corresponding relationship between the emergency number and the digital sequence of the emergency semantic information.
8. The device according to claim 7, characterized in that The processing unit determines the correspondence between the digital sequence and the emergency number in the following manner: In response to a target user identity identification SIM card being inserted into the terminal, obtaining a target public land mobile network PLMN corresponding to a home location of the target user identity identification SIM card; determining, based on a second correspondence between the PLMN and the emergency semantic information, the digital sequence, and the emergency number, a third correspondence corresponding to the target public land mobile network PLMN, the third correspondence including a correspondence between each emergency number corresponding to the target public land mobile network PLMN and the digital sequence of the emergency semantic information; The third corresponding relationship is determined as the first corresponding relationship.
9. The device according to claim 8, characterized in that The processing unit is further configured to: In response to detecting that the current resident network of the terminal is a roaming network, determining a roaming PLMN corresponding to the roaming network; Determining, based on a second correspondence between the PLMN and the emergency semantic information, the digital sequence, and the emergency number, a fourth correspondence corresponding to the roaming PLMN, the fourth correspondence including a correspondence between each emergency number corresponding to the roaming PLMN and the digital sequence of the emergency semantic information; The fourth corresponding relationship and the third corresponding relationship are jointly determined as the first corresponding relationship.
10. The device according to claim 7, characterized in that The processing unit dials the target emergency number in the following manner: In response to determining that the target emergency number is a valid emergency number, the terminal is controlled to be in a state suitable for dialing an emergency number, and the target emergency number is dialed in the state.
11. The device according to any one of claims 7 to 10, characterized in that The first correspondence also includes emergency number type information, where the emergency number type information indicates whether the emergency number is a true emergency number or a false emergency number; The dialing of the target emergency number includes: In response to the target emergency number being a true emergency number, dialing the target emergency number using an emergency communication channel corresponding to the true emergency number; or In response to the target emergency number being a false emergency number, dialing the target emergency number using a non-emergency communication channel.
12. The device according to claim 9, characterized in that The processing unit is further configured to: In response to the terminal currently residing in a roaming network, if dialing the target emergency number corresponding to the target digital sequence matched by the fourth correspondence fails, redialing the target emergency number corresponding to the target digital sequence matched by the third correspondence.
13. An emergency number dialing device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 6.
14. A storage medium, characterized in that The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the method according to any one of claims 1 to 6.