CN111479003A - Emergency number dialing method, device, storage medium and mobile terminal - Google Patents
Emergency number dialing method, device, storage medium and mobile terminal Download PDFInfo
- Publication number
- CN111479003A CN111479003A CN202010250572.0A CN202010250572A CN111479003A CN 111479003 A CN111479003 A CN 111479003A CN 202010250572 A CN202010250572 A CN 202010250572A CN 111479003 A CN111479003 A CN 111479003A
- Authority
- CN
- China
- Prior art keywords
- emergency
- dialing
- preset identification
- target
- mapping table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013507 mapping Methods 0.000 claims abstract description 122
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72418—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides an emergency number dialing method, which comprises the following steps: acquiring an emergency number dialing instruction carrying a target emergency digit number input by a user, acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table includes mapping information of at least one emergency digit number and at least one preset identification number, when the number mapping table includes the target emergency digit number, determining that the preset identification number corresponding to the target emergency digit number is the target preset identification number, and then, emergency number dialing is performed according to the target preset identification number, so that when a user of the mobile terminal dials the same emergency number again, the preset identification number corresponding to the emergency digit number may be determined from a number mapping table, the preset identification number does not need to be determined by acquiring information fed back by the network, so that the time consumption of the emergency number dialing process is reduced.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for dialing an emergency number, a storage medium, and a mobile terminal.
Background
For emergency calls in an IMS (IP Multimedia Subsystem, which is an important way to solve the convergence of mobile and fixed networks and introduce differentiation services such as voice, data, and video triple convergence), in the existing networks of some countries, a number in a digital format is sent, and then a number in a URN (Uniform Resource Name) format corresponding to the number in the digital format is dialed according to information fed back by the network to dial the emergency number.
However, in the existing technology, each time an emergency call is made, the URN format number corresponding to the number format number needs to be determined by obtaining information fed back by the network, so that the time consumption of the emergency number dialing process is long.
Disclosure of Invention
The application provides an emergency number dialing method, an emergency number dialing device, a storage medium and a mobile terminal, and effectively solves the problem of long time consumption in the process of dialing an emergency number.
In order to solve the above problem, the present invention provides an emergency number dialing method, including:
acquiring an emergency number dialing instruction, wherein the emergency number dialing instruction carries a target emergency number input by a user;
acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number;
when the number mapping table comprises the target emergency digital number, determining a preset identification number corresponding to the target emergency digital number as a target preset identification number;
and dialing an emergency number according to the target preset identification number.
Further preferably, after the step of obtaining the number mapping table according to the emergency number dialing instruction, the method further includes:
when the target emergency digit number is not included in the number mapping table, sending an instruction for dialing the target emergency digit number;
receiving prompt information generated according to the instruction;
determining a preset identification number corresponding to the target emergency digital number as a preset identification number to be dialed according to the prompt information;
and carrying out emergency number dialing according to the preset identification number to be dialed.
Further preferably, after the step of dialing the emergency number according to the preset identification number to be dialed, the method further includes:
acquiring a mobile country code;
and storing the mobile country code, the target emergency digit number and the preset identification number to be dialed into the number mapping table according to a preset format.
Further preferably, after the step of dialing the emergency number according to the target preset identification number, the method further includes:
acquiring a sharing instruction;
and sharing the number mapping table according to the sharing instruction.
Further preferably, after the step of dialing the emergency number according to the target preset identification number, the method further includes:
acquiring an updating instruction, wherein the updating instruction carries the updated preset identification number;
deleting the preset identification number before updating, and storing the updated preset identification number.
In another aspect, the present invention further provides an emergency number dialing apparatus, including:
the first acquisition module is used for acquiring an emergency number dialing instruction, wherein the emergency number dialing instruction carries a target emergency number input by a user;
the second acquisition module is used for acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number;
a determining module, configured to determine, when the number mapping table includes the target emergency digit number, that a preset identification number corresponding to the target emergency digit number is a target preset identification number;
and the speed dialing module is used for dialing an emergency number according to the target preset identification number.
Further preferably, the emergency number dialing device further includes a common dialing module, and the common dialing module specifically includes:
a sending unit, configured to send an instruction to dial the target emergency digit number when the target emergency digit number is not included in the number mapping table;
the receiving unit is used for receiving the prompt information generated according to the instruction;
the determining unit is used for determining the preset identification number corresponding to the target emergency digital number as the preset identification number to be dialed according to the prompt information;
and the dialing unit is used for dialing the emergency number according to the preset identification number to be dialed.
Further preferably, the ordinary dialing module further includes:
a mobile country code acquisition unit for acquiring a mobile country code;
and the storage unit is used for storing the mobile country code, the target emergency digit number and the preset identification number to be dialed into the number mapping table according to a preset format.
Further preferably, the emergency number dialing apparatus further includes a sharing module, configured to:
acquiring a sharing instruction;
and sharing the number mapping table according to the sharing instruction.
Further preferably, the emergency number dialing apparatus further includes an updating module, configured to:
acquiring an updating instruction, wherein the updating instruction carries the updated preset identification number;
deleting the preset identification number before updating, and storing the updated preset identification number.
In another aspect, the present invention also provides a computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the emergency number dialing method as recited in any of the above.
In another aspect, the present invention further provides a mobile terminal, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing any of the steps in the emergency number dialing method.
The invention has the beneficial effects that: the invention provides an emergency number dialing method, which comprises the following steps: acquiring an emergency number dialing instruction carrying a target emergency digit number input by a user, acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table includes mapping information of at least one emergency digit number and at least one preset identification number, when the number mapping table includes the target emergency digit number, determining that the preset identification number corresponding to the target emergency digit number is the target preset identification number, and then, emergency number dialing is performed according to the target preset identification number, so that when a user of the mobile terminal dials the same emergency number again, the preset identification number corresponding to the emergency digit number may be determined from a number mapping table, the preset identification number does not need to be determined by acquiring information fed back by the network, so that the time consumption of the emergency number dialing process is reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments according to the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 2 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating an emergency number dialing method according to an embodiment of the present invention.
Fig. 4 is a schematic application scenario diagram of the emergency number dialing method according to the embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an emergency number dialing apparatus according to an embodiment of the present invention.
Fig. 6 is another schematic structural diagram of an emergency number dialing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention aims at solving the problem that the time consumption is long in the process of dialing the emergency number of the conventional mobile terminal.
The embodiment of the invention provides a mobile terminal which can be a smart phone or a tablet computer and the like. As shown in fig. 1, the mobile terminal 100 includes a processor 101, a memory 102. The processor 101 is electrically connected to the memory 102.
The processor 101 is a control center of the mobile terminal 100, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 101 in the mobile terminal 100 loads instructions corresponding to processes of one or more application programs into the memory 102, and the processor 101 runs the application programs stored in the memory 102, so as to implement various functions, such as an emergency number dialing method, as follows:
acquiring an emergency number dialing instruction, wherein the emergency number dialing instruction carries a target emergency digital number input by a user;
acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number;
when the number mapping table comprises a target emergency digital number, determining a preset identification number corresponding to the target emergency digital number as a target preset identification number;
and carrying out emergency number dialing according to the target preset identification number.
The mobile terminal 100 may implement any of the steps in the emergency number dialing method.
Fig. 2 is a block diagram illustrating a specific structure of the mobile terminal 100 according to an embodiment of the present invention. As shown in fig. 2, the mobile terminal 100 may include Radio Frequency (RF) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, audio circuitry 160, a transmission module 170 (e.g., wireless fidelity (WiFi), a wireless fidelity (wi-fi)), a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 120 may be configured to store software programs and modules, such as corresponding program instructions in the above audio power amplifier control method, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120, that is, obtains the frequency of the information transmission signal transmitted by the mobile terminal 100. Generating interference signals, and the like. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the mobile terminal 100 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The mobile terminal 100 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 100, detailed descriptions thereof are omitted.
The mobile terminal 100, which can assist the user in receiving requests, transmitting information, etc., through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although the transmission module 170 is shown in the drawings, it is understood that it does not belong to the essential constitution of the mobile terminal 100 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the mobile terminal 100, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile terminal. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal 100 may also include a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions in some embodiments. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 100 further includes a camera (e.g., a front camera, a rear camera, etc.), a bluetooth module, a flashlight, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal 100 is a touch screen display, and the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring an emergency number dialing instruction, wherein the emergency number dialing instruction carries a target emergency digital number input by a user;
acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number;
when the number mapping table comprises a target emergency digital number, determining a preset identification number corresponding to the target emergency digital number as a target preset identification number;
and carrying out emergency number dialing according to the target preset identification number.
In order to better use the mobile terminal 100 provided in the above embodiment, so that the user of the mobile terminal 100 may consume less time when dialing the same emergency number again, the present invention provides an emergency number dialing method, which is applied to the mobile terminal 100, and a flowchart of the emergency number dialing method is shown in fig. 3, and the specific steps may be as follows:
S1O1, an emergency number dialing instruction is obtained, and the emergency number dialing instruction carries a target emergency number input by a user.
It is easy to understand that the terminal user can trigger the terminal to generate the emergency number dialing instruction by specifying a gesture, a touch screen, voice, etc., or can trigger the terminal to generate the instruction by pressing a physical key on the terminal. For example, referring to fig. 4, fig. 4 is a schematic view of an application scenario of the emergency number dialing method according to an embodiment of the present invention, a terminal user dials an emergency number 998 by touching a virtual key on a display screen of a mobile terminal, and the terminal generates an emergency number dialing instruction carrying a number 998 according to an operation of the user.
S1O2, obtaining a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number.
It is easy to understand that the emergency number dialing instruction triggers the terminal processor to obtain a number mapping table stored in the terminal, and the number mapping table is searched and compared to determine whether a target emergency number carried in the emergency number dialing instruction is stored in the number mapping table, where the number mapping table stores a mapping relationship between at least one pair of emergency number and a preset identification number. It should be noted that the preset identification number is a number in the URN (Uniform Resource Name) format, and in an IMS (IP Multimedia Subsystem), the terminal needs to make an emergency call with the number in the URN format, so before making a call, the terminal needs to complete the conversion from the number in the digital format to the number in the URN format.
S1O3, when the number mapping table comprises the target emergency digital number, determining that a preset identification number corresponding to the target emergency digital number is the target preset identification number.
It is easy to understand that, when the terminal finds the target emergency digital number in the number mapping table, the corresponding preset identification number is the target preset identification number, and the terminal finally performs emergency number dialing by using the target preset identification number. For example, referring to fig. 4, after the terminal finds that the default identification number (i.e., URN format number) corresponding to the numeric number 998 is URN service, source, fire in the number mapping table, the terminal determines URN service, source, fire target default identification number.
It should be noted that, when the target emergency digit number is not saved in the number mapping table (for example, the terminal user dials the target emergency digit number for the first time, or the target emergency digit number is not included when sharing the number mapping table with other terminal users), the terminal dials the emergency digit number in a conventional manner and saves a new mapping relationship, so as to save the time for the terminal user to dial the target emergency digit number for the second time.
For example, after the step S1O2, the method may further include:
when the number mapping table does not include the target emergency digit number, sending an instruction for dialing the target emergency digit number;
receiving prompt information generated according to the instruction;
determining a preset identification number corresponding to the target emergency digital number as a preset identification number to be dialed according to the prompt information;
and carrying out emergency number dialing according to the preset identification number to be dialed.
It is easy to understand that, when the target emergency digit number (e.g. 998) is not stored in the number mapping table, the terminal sends an instruction (e.g. INVITE 998) to the network side to dial the target emergency digit number, and the network side generates a corresponding prompt message according to the instruction to notify the terminal of the preset identification number (i.e. URN format number) corresponding to the target emergency digit number.
Further, after the step of "performing emergency number dialing according to the preset identification number to be dialed", the method may further include:
acquiring a mobile country code;
and storing the mobile country code, the target emergency digit number and the preset identification number to be dialed into a number mapping table according to a preset format.
It is easy to understand that, after the terminal stores the set of mapping relationships in the number mapping table, when the user makes an emergency call to the target emergency digital number next time, the terminal finds the corresponding preset identification number in the number mapping table, and does not need to determine the corresponding preset identification number according to the prompt information fed back by the network side after sending an instruction for dialing the target emergency digital number to the network, thereby saving the time for the user to dial the target emergency digital number for the second time.
And S1O4, dialing an emergency number according to the target preset identification number.
It should be noted that, the terminal users may share their respective number mapping tables, so that when a user sharing the number mapping table makes a first emergency call to a certain number, the user may also perform speed dialing to save time.
For example, after the step S1O4, the method may further include:
acquiring a sharing instruction;
and sharing the number mapping table according to the sharing instruction.
It is easy to understand that, during sharing, the terminal of the shared number mapping table updates and stores the number mapping table of the terminal according to the number mapping tables of both parties, for example, the number mapping table a of the sharing party includes two mapping relationships of "998 and urn: service: source.fire" and "999 and urn: service: source.ambulance", and the number mapping table B of the shared party includes one mapping relationship of "998 and urn: service: source.fire", so that the shared party only stores one mapping relationship of "999 and urn: service: source.ambulance" during sharing.
It should be noted that, after the preset identification number is updated, if the preset identification number is already stored in the number mapping table of the terminal, the number mapping table is also updated accordingly.
For example, after the step S1O4, the method may further include:
acquiring an updating instruction, wherein the updating instruction carries an updated preset identification number;
and deleting the preset identification number before updating, and storing the updated preset identification number.
Different from the prior art, the invention provides an emergency number dialing method, which comprises the following steps: acquiring an emergency number dialing instruction carrying a target emergency digit number input by a user, acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table includes mapping information of at least one emergency digit number and at least one preset identification number, when the number mapping table includes the target emergency digit number, determining that the preset identification number corresponding to the target emergency digit number is the target preset identification number, and then, emergency number dialing is performed according to the target preset identification number, so that when a user of the mobile terminal dials the same emergency number again, the preset identification number corresponding to the emergency digit number may be determined from a number mapping table, the preset identification number does not need to be determined by acquiring information fed back by the network, so that the time consumption of the emergency number dialing process is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an emergency number dialing apparatus according to an embodiment of the present invention, applied to a mobile terminal 100, where the emergency number dialing apparatus may include:
(1) first acquisition module 10
The first obtaining module 10 is configured to obtain an emergency number dialing instruction, where the emergency number dialing instruction carries a target emergency number input by a user.
It is easy to understand that the terminal user can trigger the terminal to generate the emergency number dialing instruction by specifying a gesture, a touch screen, voice, etc., or can trigger the terminal to generate the instruction by pressing a physical key on the terminal.
(2) Second acquisition module 20
The second obtaining module 20 is configured to obtain a number mapping table according to the emergency number dialing instruction, where the number mapping table includes mapping information of at least one emergency number and at least one preset identification number.
It is easy to understand that the emergency number dialing instruction triggers the terminal processor to obtain a number mapping table stored in the terminal, and the number mapping table is searched and compared to determine whether a target emergency number carried in the emergency number dialing instruction is stored in the number mapping table, where the number mapping table stores a mapping relationship between at least one pair of emergency number and a preset identification number. It should be noted that the preset identification number is a number in the URN (Uniform Resource Name) format, and in an IMS (IP Multimedia Subsystem), the terminal needs to make an emergency call with the number in the URN format, so before making a call, the terminal needs to complete the conversion from the number in the digital format to the number in the URN format.
(3) Determination module 30
The determining module 30 is configured to determine, when the number mapping table includes the target emergency digit number, that the preset identification number corresponding to the target emergency digit number is the target preset identification number.
It is easy to understand that, when the terminal finds the target emergency digital number in the number mapping table, the corresponding preset identification number is the target preset identification number, and the terminal finally performs emergency number dialing by using the target preset identification number.
Further, referring to fig. 6, fig. 6 is another schematic structural diagram of an emergency number dialing apparatus according to an embodiment of the present invention, where the emergency number dialing apparatus further includes a normal dialing module 50, and the normal dialing module 50 specifically includes:
a sending unit 51, configured to send an instruction to dial a target emergency digit number when the target emergency digit number is not included in the number mapping table;
a receiving unit 52, configured to receive prompt information generated according to the instruction;
the determining unit 53 is configured to determine, according to the prompt information, that the preset identification number corresponding to the target emergency digit number is the preset identification number to be dialed;
and a dialing unit 54 for making an emergency number dialing according to the preset identification number to be dialed.
It is easy to understand that when the target emergency digit number is not saved in the number mapping table (for example, the terminal user dials the target emergency digit number for the first time or does not record the target emergency digit number when sharing the number mapping table with other terminal users), the terminal dials the emergency digit number in a conventional manner and saves the new mapping relationship to save the time for the terminal user to dial the target emergency digit number for the second time.
Specifically, when the target emergency digit number is not stored in the number mapping table (e.g., 998), the terminal sends an instruction (e.g., INVITE 998) to dial the target emergency digit number to the network side, and the network side generates a corresponding prompt message according to the instruction to notify the terminal of a preset identification number (i.e., a URN format number) corresponding to the target emergency digit number.
Further, with continuing reference to fig. 6, the ordinary dialing module 50 may further include:
a mobile country code acquisition unit 55 for acquiring a mobile country code;
the storing unit 56 is configured to store the mobile country code, the target emergency digit number, and the preset identification number to be dialed into the number mapping table according to a preset format.
It is easy to understand that, after the terminal stores the set of mapping relationships in the number mapping table, when the user makes an emergency call to the target emergency digital number next time, the terminal finds the corresponding preset identification number in the number mapping table, and does not need to determine the corresponding preset identification number according to the prompt information fed back by the network side after sending an instruction for dialing the target emergency digital number to the network, thereby saving the time for the user to dial the target emergency digital number for the second time.
(4) Speed dialing module 40
And the speed dialing module 40 is used for dialing an emergency number according to the target preset identification number.
It should be noted that, the terminal users may share their respective number mapping tables, so that when a user sharing the number mapping table makes a first emergency call to a certain number, the user may also perform speed dialing to save time.
For example, the emergency number dialing apparatus may further include a sharing module for:
acquiring a sharing instruction;
and sharing the number mapping table according to the sharing instruction.
It is easy to understand that, during sharing, the terminal of the shared number mapping table updates and stores the number mapping table of the terminal according to the number mapping tables of both parties, for example, the number mapping table a of the sharing party includes two mapping relationships of "998 and urn: service: source.fire" and "999 and urn: service: source.ambulance", and the number mapping table B of the shared party includes one mapping relationship of "998 and urn: service: source.fire", so that the shared party only stores one mapping relationship of "999 and urn: service: source.ambulance" during sharing.
It should be noted that, after the preset identification number is updated, if the preset identification number is already stored in the number mapping table of the terminal, the number mapping table is also updated accordingly.
For example, the emergency number dialing apparatus may further include an update module for:
acquiring an updating instruction, wherein the updating instruction carries an updated preset identification number;
and deleting the preset identification number before updating, and storing the updated preset identification number.
Different from the prior art, the invention provides an emergency number dialing method, which comprises the following steps: acquiring an emergency number dialing instruction carrying a target emergency digit number input by a user through a first acquisition module 10, acquiring a number mapping table according to the emergency number dialing instruction through a second acquisition module 20, wherein the number mapping table comprises mapping information of at least one emergency digit number and at least one preset identification number, determining the preset identification number corresponding to the target emergency digit number as the target preset identification number through a determination module 30 when the number mapping table comprises the target emergency digit number, and then performing emergency number dialing according to the target preset identification number through a quick dialing module 40, so that when a user of a mobile terminal dials the same emergency digit number again, the preset identification number corresponding to the emergency digit number can be determined from the number mapping table without determining the preset identification number through acquiring information fed back by a network, thereby reducing the time consuming emergency number dialing process.
In addition to the above embodiments, the present invention may have other embodiments. All technical solutions formed by using equivalents or equivalent substitutions fall within the protection scope of the claims of the present invention.
In summary, although the preferred embodiments of the present invention have been described above, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.
Claims (10)
1. An emergency number dialing method, comprising:
acquiring an emergency number dialing instruction, wherein the emergency number dialing instruction carries a target emergency number input by a user;
acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number;
when the number mapping table comprises the target emergency digital number, determining a preset identification number corresponding to the target emergency digital number as a target preset identification number;
and dialing an emergency number according to the target preset identification number.
2. The method of emergency number dialing according to claim 1, further comprising, after said step of obtaining a number mapping table according to said emergency number dialing instruction:
when the target emergency digit number is not included in the number mapping table, sending an instruction for dialing the target emergency digit number;
receiving prompt information generated according to the instruction;
determining a preset identification number corresponding to the target emergency digital number as a preset identification number to be dialed according to the prompt information;
and carrying out emergency number dialing according to the preset identification number to be dialed.
3. The method of dialing an emergency number according to claim 2, further comprising, after said step of dialing an emergency number according to said preset identification number to be dialed:
acquiring a mobile country code;
and storing the mobile country code, the target emergency digit number and the preset identification number to be dialed into the number mapping table according to a preset format.
4. The method of dialing an emergency number according to claim 1, further comprising, after said step of dialing an emergency number according to said target preset identification number:
acquiring a sharing instruction;
and sharing the number mapping table according to the sharing instruction.
5. The method of dialing an emergency number according to claim 1, further comprising, after said step of dialing an emergency number according to said target preset identification number:
acquiring an updating instruction, wherein the updating instruction carries the updated preset identification number;
deleting the preset identification number before updating, and storing the updated preset identification number.
6. An emergency number dialing apparatus, comprising:
the first acquisition module is used for acquiring an emergency number dialing instruction, wherein the emergency number dialing instruction carries a target emergency number input by a user;
the second acquisition module is used for acquiring a number mapping table according to the emergency number dialing instruction, wherein the number mapping table comprises mapping information of at least one emergency number and at least one preset identification number;
a determining module, configured to determine, when the number mapping table includes the target emergency digit number, that a preset identification number corresponding to the target emergency digit number is a target preset identification number;
and the speed dialing module is used for dialing an emergency number according to the target preset identification number.
7. The emergency number dialing apparatus according to claim 6, further comprising a general dialing module, wherein the general dialing module specifically includes:
a sending unit, configured to send an instruction to dial the target emergency digit number when the target emergency digit number is not included in the number mapping table;
the receiving unit is used for receiving the prompt information generated according to the instruction;
the determining unit is used for determining the preset identification number corresponding to the target emergency digital number as the preset identification number to be dialed according to the prompt information;
and the dialing unit is used for dialing the emergency number according to the preset identification number to be dialed.
8. The emergency number dialing apparatus of claim 7, wherein the normal dialing module further comprises:
a mobile country code acquisition unit for acquiring a mobile country code;
and the storage unit is used for storing the mobile country code, the target emergency digit number and the preset identification number to be dialed into the number mapping table according to a preset format.
9. A computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the method of emergency number dialing of any of claims 1 to 5.
10. A mobile terminal comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the emergency number dialing method of any one of claims 1 to 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010250572.0A CN111479003A (en) | 2020-04-01 | 2020-04-01 | Emergency number dialing method, device, storage medium and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010250572.0A CN111479003A (en) | 2020-04-01 | 2020-04-01 | Emergency number dialing method, device, storage medium and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111479003A true CN111479003A (en) | 2020-07-31 |
Family
ID=71750356
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010250572.0A Pending CN111479003A (en) | 2020-04-01 | 2020-04-01 | Emergency number dialing method, device, storage medium and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111479003A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112804677A (en) * | 2021-02-20 | 2021-05-14 | 深圳市广和通无线股份有限公司 | Call dialing control method, device, equipment and storage medium |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1870670A (en) * | 2005-05-23 | 2006-11-29 | 中兴通讯股份有限公司 | Automatic matching method for preset IP number of phone terminal |
| CN102104675A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Emergency service number setting system and method |
| US20150065077A1 (en) * | 2013-08-30 | 2015-03-05 | Lg Electronics Inc. | Mobile terminal and method for supporting emergency call |
| CN104539786A (en) * | 2014-11-24 | 2015-04-22 | 小米科技有限责任公司 | Terminal dialing method, device and equipment |
| CN104955011A (en) * | 2015-06-11 | 2015-09-30 | 努比亚技术有限公司 | Emergency number adapting method, device and terminal |
| CN106550347A (en) * | 2015-09-22 | 2017-03-29 | 中国电信股份有限公司 | Realize method, VoLTE terminals, base station and the system of called number completion |
| CN106792609A (en) * | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of calling of mobile terminal and emergency numbers |
| CN109756444A (en) * | 2017-11-01 | 2019-05-14 | 中国电信股份有限公司 | Method, system and the network server of called number translation |
| WO2019133054A1 (en) * | 2017-12-29 | 2019-07-04 | Blackberry Limited | Methods and systems for provisioning emergency numbers |
-
2020
- 2020-04-01 CN CN202010250572.0A patent/CN111479003A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1870670A (en) * | 2005-05-23 | 2006-11-29 | 中兴通讯股份有限公司 | Automatic matching method for preset IP number of phone terminal |
| CN102104675A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Emergency service number setting system and method |
| US20150065077A1 (en) * | 2013-08-30 | 2015-03-05 | Lg Electronics Inc. | Mobile terminal and method for supporting emergency call |
| CN104539786A (en) * | 2014-11-24 | 2015-04-22 | 小米科技有限责任公司 | Terminal dialing method, device and equipment |
| CN104955011A (en) * | 2015-06-11 | 2015-09-30 | 努比亚技术有限公司 | Emergency number adapting method, device and terminal |
| CN106550347A (en) * | 2015-09-22 | 2017-03-29 | 中国电信股份有限公司 | Realize method, VoLTE terminals, base station and the system of called number completion |
| CN106792609A (en) * | 2016-11-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of calling of mobile terminal and emergency numbers |
| CN109756444A (en) * | 2017-11-01 | 2019-05-14 | 中国电信股份有限公司 | Method, system and the network server of called number translation |
| WO2019133054A1 (en) * | 2017-12-29 | 2019-07-04 | Blackberry Limited | Methods and systems for provisioning emergency numbers |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112804677A (en) * | 2021-02-20 | 2021-05-14 | 深圳市广和通无线股份有限公司 | Call dialing control method, device, equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104683456B (en) | Method for processing business, server and terminal | |
| CN106658489B (en) | A terminal application processing method, device and mobile terminal | |
| CN107786424B (en) | Audio and video communication method, terminal and server | |
| CN106982097A (en) | Radio frequency interference elimination method, device, storage medium and terminal | |
| WO2019029618A1 (en) | Ims voice call network switching method, storage device and mobile terminal | |
| WO2019011324A1 (en) | Method for determining access method of mobile terminal, storage medium, and mobile terminal | |
| CN105933944A (en) | Optimized use method, device and mobile terminal of 4G network | |
| CN110572508A (en) | Address book synchronization method and device, storage medium and electronic equipment | |
| CN105792299A (en) | Optimal use method, device and mobile terminal of 3G network | |
| CN112003978A (en) | Conference management interface display method and device, storage medium and terminal equipment | |
| CN111368238A (en) | Status bar adjustment method, device, mobile terminal and storage medium | |
| CN111026457B (en) | Hardware configuration method and device, storage medium and terminal equipment | |
| CN111479003A (en) | Emergency number dialing method, device, storage medium and mobile terminal | |
| CN109831798B (en) | Signal acquisition method, system, storage medium and mobile terminal | |
| CN111885591A (en) | Network connection method, device, storage medium and terminal | |
| CN112799857A (en) | Application access method and device | |
| CN110062412A (en) | Wireless pairing method, system, storage medium and mobile terminal | |
| CN110022600A (en) | Adjusting method, device, storage medium and the mobile terminal of driving current | |
| CN112367425B (en) | Volume adjusting method and device and terminal | |
| CN116506450A (en) | File synchronization method and device, electronic equipment and storage medium | |
| CN111031588B (en) | Network search method, device, terminal device and storage medium | |
| CN105262894B (en) | The way of recording and device | |
| CN110995324B (en) | Bluetooth communication method, device, storage medium and terminal equipment | |
| CN109831771B (en) | Bluetooth searching method and device, mobile terminal and storage medium | |
| CN106487649A (en) | Group message prompt control method and terminal device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200731 |
|
| RJ01 | Rejection of invention patent application after publication |