Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. 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 application.
Please refer to fig. 1, which is an application environment diagram of an emergency call implementation method according to an embodiment of the present application. As shown in fig. 1, when a user of a mobile communication terminal 100 needs to make an emergency call, a preset emergency call number is called according to a preset first call mode. If the call fails, the mobile communication terminal 100 may pair with other surrounding terminals 200 by using the emergency call implementation method provided in the following embodiments shown in fig. 2 to 5, obtain a second emergency call number and a second call mode corresponding to the second emergency call number from the other paired terminals 200, and perform the emergency call accordingly.
Please refer to fig. 2, which is a flowchart illustrating an implementation process of an emergency call implementation method according to an embodiment of the present application. The method can be applied to mobile communication terminals (hereinafter referred to as terminals), such as: the mobile communication terminal comprises mobile phones, tablet computers, portable computers, intelligent watches, intelligent glasses and other electronic devices with mobile communication functions and capable of processing data in a mobile process. As shown in fig. 2, the method mainly includes:
s201, calling a first emergency call number according to a first call mode when an emergency call task is triggered;
an emergency call refers to dialing an alarm or distress number such as 112, 110, 119, 120 with a cell phone. The urgency of these numbers has allowed countries to specify that anyone can use any network available at the time to dial them for help at any instance, free of charge.
The emergency call task may be triggered by the user pressing or clicking an emergency call button or menu. The buttons or keys may be physical keys or virtual keys. It can be understood that the emergency call task is triggered without the premise that a Subscriber Identity Module (SIM) card is inserted into the terminal, that is, whether the SIM card is inserted into the terminal or not, the user can trigger the emergency call task by performing a preset operation to implement the emergency call.
The first emergency call number and the corresponding first call mode are preset in the memory of the terminal and/or the inserted SIM card for emergency call.
In practical application, if the SIM card is inserted into the terminal, the emergency call is first performed according to the call mode and the emergency call number stored in the SIM card, if the call fails, the emergency call is performed according to the call mode and the emergency call number stored in the memory, and if the call still fails, step S202 is executed.
If the SIM card is not inserted in the terminal, the emergency call is made according to the call mode and the emergency call number stored in the memory, and if the call fails, step S202 is executed.
S202, if the calling of the first emergency calling number fails, a second emergency calling number and a corresponding second calling mode are obtained through other terminals;
and S203, calling the second emergency call number according to the second call mode.
Specifically, if the first emergency call number fails to be called, the first emergency call number is paired with other surrounding terminals, and then the second emergency call number and the corresponding second call mode are acquired from the other terminals which finish pairing. And making an emergency call according to the acquired second emergency call number and the corresponding second call mode.
It will be appreciated that an emergency call number may correspond to one or more calling modes, and that a calling mode may also correspond to one or more emergency call numbers. The calling mode refers to what path or network channel the emergency number is called through. An emergency call number and a corresponding call mode can be regarded as a set of information. Alternatively, all calling modes corresponding to one emergency calling number can be regarded as one group of information.
In this embodiment, when the emergency call task is triggered, if the first emergency call number fails to be called according to the first call mode, the second emergency call number and the corresponding second call mode are acquired through other surrounding terminals, and then the second emergency call number is called according to the acquired second call mode, so that even if the emergency call fails according to the pre-stored emergency call number and call mode, the user can be helped to break through regional restrictions with the assistance of other surrounding terminals, a more effective emergency call number and call mode can be obtained, and the emergency call can be performed according to the regional restrictions, thereby improving the success rate of the emergency call.
Please refer to fig. 3, which is a flowchart illustrating an emergency call implementation method according to another embodiment of the present application. The method can be applied to mobile communication terminals (hereinafter referred to as terminals), such as: the mobile communication terminal comprises mobile phones, tablet computers, portable computers, intelligent watches, intelligent glasses and other electronic devices with mobile communication functions and capable of processing data in a mobile process. As shown in fig. 3, the method mainly includes:
s301, when an emergency call task is triggered, calling a first emergency call number according to a first calling mode;
step S301 is similar to step S201 in the embodiment shown in fig. 2, and reference may be specifically made to relevant contents in the embodiment shown in fig. 2, which is not described herein again.
S302, if calling of the first emergency call number fails, when a collision event is detected, recording first time of the collision event and searching surrounding terminals to be paired through Bluetooth;
specifically, the motion data of the terminal collected by the motion sensor (such as a gravity sensor, an acceleration sensor, a gyroscope, and the like) within the preset time period may be obtained, and the motion data may be analyzed to obtain the motion direction and the speed change of the terminal within the preset time period. If the movement direction and speed change of the terminal in the preset time length meet the characteristic condition that the terminal collides with other objects, the collision event can be confirmed, the first time of the collision event is recorded, and surrounding terminals to be paired are searched through Bluetooth. For example: when the terminal moves along one direction within 2 seconds, the movement speed is increased sharply, and then the terminal moves along the opposite direction, the characteristic condition of the collision is considered to be met, the detection of the collision event is confirmed, and the time of the detection of the collision event is recorded as the first time of the occurrence of the collision event. In this embodiment, the crash event includes: the event that the terminal collides with other terminals and the event that the terminal is collided with other terminals.
Further, in order to avoid false triggering and starting of bluetooth search due to false collision, if calling of the first emergency call number fails, when a collision event occurring at a preset position of the mobile communication terminal is detected, or when the collision event comes from a preset direction, surrounding terminals to be paired are searched through bluetooth.
Optionally, in addition to the motion sensor, the body of the terminal may further include at least one collision detector, and if the first emergency call number is not called, when a collision event is detected by the collision detector, the first time of the collision event is recorded and the peripheral terminals to be paired are searched by bluetooth.
It can be understood that before searching for surrounding terminals to be paired through bluetooth, it is first detected whether bluetooth is turned on, if so, the surrounding terminals to be paired are searched through bluetooth, and if not, the surrounding terminals to be paired are searched through bluetooth after the bluetooth is turned on.
Optionally, before detecting whether a collision event occurs, a prompt message may be output to prompt the user to obtain an emergency call number and a corresponding call mode from other surrounding terminals in a collision mode, and prompt the user to start bluetooth.
S303, respectively sending a pairing request and a collision time acquisition request to each searched terminal to be paired;
s304, when response information returned based on the pairing request is received, if the response information contains second time of a collision event recorded by the terminal to be paired, and the time difference between the second time and the first time is smaller than a preset time difference, the terminal to be paired and a sender of the response information finish pairing according to the response information;
s305, acquiring a second emergency call number and a corresponding second call mode from the paired terminal;
and S306, calling the second emergency call number according to the second call mode.
Specifically, when detecting the occurrence of a collision event, the terminal records a first time of occurrence of the collision event. When terminals to be paired which can be paired are found around through Bluetooth, a pairing request and a collision time acquisition request are respectively sent to the found terminals to be paired. The collision time obtaining request is used for requesting a second time of the collision event recorded by the terminal to be paired.
The terminal to be paired can be preset with a number sharing module, the terminal to be paired detects whether a collision event occurs by calling the number sharing module, and if the collision event occurs, the second time of the collision event is recorded and the Bluetooth module is started. And when receiving a pairing request and a collision time acquisition request sent by the terminal through Bluetooth, the terminal to be paired returns response information containing second time of collision events recorded by the terminal to the terminal.
The terminal receives response information returned by each terminal to be paired, and if the response information does not contain the second time of collision recorded by the sender, the response information is ignored; if the response message contains the second time of the collision recorded by the sender, but the time difference between the second time and the first time of the collision of the terminal recorded by the terminal is not less than the preset time difference, ignoring the response message; and if the response message contains the second time of the collision recorded by the sender and the time difference between the second time and the first time of the collision of the terminal recorded by the terminal is less than the preset time difference, completing pairing with the sender of the response message according to the response message.
The terminal sends a sharing request of the emergency call number to the terminal completing the pairing, and the terminal completing the pairing sends the stored emergency call number and the corresponding call mode to the terminal according to the sharing request. Then, the terminal makes an emergency call according to the emergency call number returned by the paired terminal and the corresponding call mode (i.e., the second emergency call number and the corresponding second call mode).
Like this, through the mode of colliding, can help the user obtain second emergency call number and its corresponding second calling means from other terminals around more conveniently to the convenience that emergency call number acquireed has further been improved.
For details of this embodiment, reference may be made to the description of other embodiments.
In this embodiment, when the emergency call task is triggered, if the first emergency call number fails to be called according to the first call mode, the second emergency call number and the corresponding second call mode are acquired through other surrounding terminals, and then the second emergency call number is called according to the acquired second call mode, so that even if the emergency call fails according to the pre-stored emergency call number and call mode, the user can be helped to break through regional restrictions with the assistance of other surrounding terminals, a more effective emergency call number and call mode can be obtained, and the emergency call can be performed according to the regional restrictions, thereby improving the success rate of the emergency call.
Please refer to fig. 4, which is a flowchart illustrating an emergency call implementation method according to another embodiment of the present application. The method can be applied to mobile communication terminals (hereinafter referred to as terminals), such as: the mobile communication terminal comprises mobile phones, tablet computers, portable computers, intelligent watches, intelligent glasses and other electronic devices with mobile communication functions and capable of processing data in a mobile process. As shown in fig. 4, the method mainly includes:
s401, when an emergency call task is triggered, calling a first emergency call number according to a first calling mode;
step S401 is similar to step S201 in the embodiment shown in fig. 2, and reference may be specifically made to relevant contents in the embodiment shown in fig. 2, which is not described herein again.
S402, if the calling of the first emergency calling number fails, sending an emergency number acquisition request to other terminals in the same local area network;
optionally, the emergency number acquisition request may be sent to other terminals in the same lan in a broadcast manner. The same local area network may be, for example, a WIFI (wireless fidelity) local area network. The terminal can be a wireless hotspot and broadcasts the emergency number acquisition request to other terminals accessing the terminal. Or, the terminal may also be a non-wireless hotspot, and broadcasts the emergency number acquisition request to other terminals in the wireless local area network, including the wireless hotspot to which the terminal itself accesses.
S403, receiving a second emergency call number and a corresponding second call mode returned by other terminals;
s404, when only one other terminal returns a second emergency call number and a corresponding second call mode, calling the second emergency call number according to the second call mode;
s405, when second emergency call numbers and corresponding second call modes returned by a plurality of other terminals are received, the returned second emergency call numbers and the corresponding second call modes are aggregated;
s406, if a group of emergency call numbers and corresponding call modes are obtained after aggregation, calling the emergency call numbers obtained by aggregation according to the call modes obtained by aggregation;
and S407, if a plurality of groups of emergency call numbers and corresponding call modes are obtained after aggregation, carrying out emergency calls according to the emergency call numbers and the corresponding call modes of the groups in sequence from the largest number to the smallest number of the return calls until the call is successful.
Specifically, the returned second emergency call numbers and the corresponding second call modes are aggregated, that is, similar combination is performed on multiple groups of second emergency call numbers and corresponding second call modes returned by multiple other terminals. For example, assume that 3 other terminals return the second emergency call number and the corresponding second call mode. Wherein, the emergency call numbers and the corresponding call modes returned by the other terminals 1 are X1+ Y1, the emergency call numbers and the corresponding call modes returned by the other terminals 2 are X2+ Y2, and the emergency call numbers and the corresponding call modes returned by the other terminals 3 are X1+ Y1, and after the three groups of emergency call numbers and the corresponding call modes are aggregated, two groups of emergency call numbers and corresponding call modes are obtained: x1+ Y1, X2+ Y2. Where the number of returns of X1+ Y1 is 2 and the number of returns of X2+ Y2 is 1. Then, in order of the number of returns from high to low, the emergency call number X1 will be called first in the call mode Y1. If the calling fails, calling an emergency calling number X2 according to a calling mode Y2; if the call is successful, the emergency call is not carried out.
In this way, in a scenario where a plurality of other terminals return a plurality of sets of emergency call numbers and corresponding call modes, the plurality of sets of emergency call numbers and corresponding call modes are filtered and sorted by aggregation according to the number of the returned numbers, so that the efficiency of emergency calls can be further improved, and the speed of dialing the emergency call numbers can be increased.
Optionally, the mobile communication terminal may further be preset with a recording file, and the recording file is used for recording correspondence between different regions, corresponding emergency call numbers and corresponding call modes. The specific form of the record file may include, but is not limited to: database files, or text files, or other forms of files with information storage capabilities. When the call to the second emergency call number is failed according to the second call mode, the record file can be displayed, and the emergency call number pointed by the call instruction can be called according to the call instruction triggered by the user based on the content of the displayed record file and the call mode pointed by the call instruction. Or when the second emergency call number is failed to be called according to the second call mode, the corresponding emergency call numbers can be called one by one according to the call mode recorded in the record file until the call is successful, so as to ensure that the emergency call can be successfully realized finally.
The content in the log file can be obtained from information publishing platforms (such as websites, public numbers, microblogs and the like) of emergency call service operators of various countries.
Optionally, in another embodiment of the present application, if the first emergency call number fails to be called, the languages used by a plurality of other terminals around the terminal are acquired. Then, the current region of the mobile communication terminal is determined according to the acquired language with the highest usage rate in all the languages, for example, if 3 of 5 other terminals use japanese, 2 use english, and 1 use russian, the current region of the mobile communication terminal is determined to be japan according to japanese. And then, according to the determined region, acquiring a second emergency call number corresponding to the region and a corresponding second call mode by inquiring the record file. The method for acquiring the languages used by the other surrounding terminals is similar to the method for acquiring the second emergency call number and the corresponding second call mode from the other terminals in each embodiment, and details are not repeated here.
For details of this embodiment, reference may be made to the description of other embodiments.
In this embodiment, when the emergency call task is triggered, if the first emergency call number fails to be called according to the first call mode, the second emergency call number and the corresponding second call mode are acquired through other surrounding terminals, and then the second emergency call number is called according to the acquired second call mode, so that even if the emergency call fails according to the pre-stored emergency call number and call mode, the user can be helped to break through regional restrictions with the assistance of other surrounding terminals, a more effective emergency call number and call mode can be obtained, and the emergency call can be performed according to the regional restrictions, thereby improving the success rate of the emergency call.
Please refer to fig. 5, which is a flowchart illustrating an emergency call implementation method according to another embodiment of the present application. The method can be applied to mobile communication terminals (hereinafter referred to as terminals), such as: the mobile communication terminal comprises mobile phones, tablet computers, portable computers, intelligent watches, intelligent glasses and other electronic devices with mobile communication functions and capable of processing data in a mobile process. As shown in fig. 5, the method mainly includes:
s501, when an emergency call task is triggered, calling a first emergency call number according to a first calling mode;
step S501 is similar to step S201 in the embodiment shown in fig. 2, and reference may be specifically made to relevant contents in the embodiment shown in fig. 2, which is not described herein again.
S502, if the first emergency call number is not called, obtaining a plurality of groups of alternative emergency call numbers, corresponding alternative call modes, models of other terminals and used language information from other terminals through Bluetooth or a wireless local area network;
specifically, pairing with other terminals may be completed through bluetooth or a wireless local area network, and then multiple sets of candidate emergency call numbers, corresponding candidate call modes, models of the other terminals, and language information used may be acquired from the other terminals that have completed pairing. The language information used herein refers to the language of the user, such as chinese, english, russian, japanese, etc.
S503, according to the acquired model number and the used language information, determining a second emergency call number and a corresponding second call mode from the acquired multiple groups of alternative emergency call numbers and corresponding alternative call modes;
specifically, from the obtained multiple sets of candidate emergency call numbers and corresponding candidate call modes, candidate emergency call numbers and corresponding candidate call modes sent by other terminals of the target model are filtered, and the target model and the model of the mobile communication terminal belong to the same country. And then, determining the alternative emergency call number and the corresponding alternative call mode returned by the other terminal with the most number of the same languages in the remaining alternative emergency call numbers and the corresponding alternative call modes as a second emergency call number and a corresponding second call mode.
It can be understood that the models of the other terminals are target models, which indicates that the users of the other terminals and the user of the terminal belong to the same country, and the first emergency call number and the corresponding first call mode may also be pre-stored, so that the alternative emergency call numbers and the corresponding alternative call modes sent by the other terminals of the target models are filtered, and the accuracy of the finally obtained emergency call numbers and the corresponding call modes can be further improved. The other terminal with the largest number of the same languages is likely to be the terminal of the local user, so the accuracy of the alternative emergency call number and the corresponding alternative call mode provided by the terminal is higher. For example, assuming that there are 4 other terminals returning the alternative emergency call number and the corresponding alternative call method, 3 of them use russian and 1 uses japanese, the alternative emergency call number and the corresponding alternative call method returned by the other terminals using russian are determined as the second emergency call number and the corresponding second call method.
And S504, calling the second emergency call number according to the second call mode.
Optionally, if there are multiple groups of the finally determined second emergency call numbers and the corresponding second call modes, the emergency call is performed group by group according to the determination result until the call is successful. Alternatively, the emergency call may be performed according to the call method in the same scenario shown in other embodiments.
For details of this embodiment, reference may be made to the description of other embodiments.
In this embodiment, when the emergency call task is triggered, if the first emergency call number fails to be called according to the first call mode, the second emergency call number and the corresponding second call mode are acquired through other surrounding terminals, and then the second emergency call number is called according to the acquired second call mode, so that even if the emergency call fails according to the pre-stored emergency call number and call mode, the user can be helped to break through regional restrictions with the assistance of other surrounding terminals, a more effective emergency call number and call mode can be obtained, and the emergency call can be performed according to the regional restrictions, thereby improving the success rate of the emergency call.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device can be used to implement the emergency call implementation method provided in the embodiment shown in fig. 2. As shown in fig. 6, the electronic device includes: a first calling module 601, an obtaining module 602, and a second calling module 603.
The first calling module 601 is configured to call a first emergency call number according to a first calling mode when an emergency call task is triggered;
an obtaining module 602, configured to obtain, if the first emergency call number fails to be called, a second emergency call number and a corresponding second call mode through another terminal;
the second calling module 603 is configured to call the second emergency call number according to the second calling mode.
Optionally, the obtaining module 602 includes:
the detection module is used for detecting whether a collision event occurs or not if the first emergency call number is failed to be called;
a recording module for recording a first time at which a crash event occurs when the crash event is detected;
the searching module is used for searching surrounding terminals to be paired through Bluetooth;
the device comprises a first request module, a second request module and a third request module, wherein the first request module is used for respectively sending a pairing request and a collision time obtaining request to each searched terminal to be paired, and the collision time obtaining request is used for requesting the second time of a collision event recorded by the terminal to be paired;
the pairing module is used for completing pairing with a sender of the response information according to the response information if the response information contains the second time and the time difference between the second time and the first time is less than the preset time difference when the response information returned based on the pairing request is received;
and the first obtaining submodule is used for obtaining the second emergency call number and the corresponding second call mode from the paired terminal.
Optionally, the obtaining module 602 further includes:
and the second request module is used for sending an emergency number acquisition request to other terminals in the same local area network if the first emergency call number is failed to be called, and receiving the second emergency call number and a corresponding second call mode returned by the other terminals.
Optionally, the second calling module 603 includes:
the aggregation module is used for aggregating the returned second emergency call number and the corresponding second call mode when receiving the second emergency call number and the corresponding second call mode returned by the other terminals;
the calling sub-module is used for calling the emergency calling number obtained by aggregation according to the calling mode obtained by aggregation if a group of emergency calling numbers and corresponding calling modes are obtained after aggregation;
and the calling sub-module is also used for carrying out emergency calling according to the emergency calling numbers of the groups and the corresponding calling modes in sequence from the largest number to the smallest number of the returned numbers until the calling is successful if a plurality of groups of emergency calling numbers and corresponding calling modes are obtained after aggregation.
Optionally, the obtaining module 602 further includes:
a second obtaining sub-module, configured to, if the first emergency call number fails to be called, obtain multiple sets of alternative emergency call numbers, corresponding alternative call modes, models of the other terminals, and used language information from the other terminals through a bluetooth or a wireless local area network;
and the first determining module is used for determining the second emergency call number and the corresponding second call mode from the acquired multiple groups of alternative emergency call numbers and corresponding alternative call modes according to the acquired model number and the used language information.
Optionally, the first determining module is specifically configured to filter, from the obtained multiple sets of candidate emergency call numbers and corresponding candidate call modes, candidate emergency call numbers and corresponding candidate call modes sent by other terminals of a target model, where the target model and the model of the electronic device belong to the same country;
the first determining module is further specifically configured to determine, as the second emergency call number and the corresponding second call mode, the alternative emergency call number and the corresponding alternative call mode that are returned by the other terminal with the largest number of languages in the remaining alternative emergency call numbers and the corresponding alternative call modes.
Optionally, the obtaining module 602 further includes:
a third obtaining sub-module, configured to, if the first emergency call number fails to be called, obtain languages used by multiple other surrounding terminals;
the second determining module is used for determining the current region of the electronic device according to the language with the highest utilization rate in all the acquired languages;
and the query module is used for obtaining the second emergency call number corresponding to the region and a corresponding second call mode according to the region.
It should be noted that, in the embodiment of the electronic device illustrated in fig. 6, the division of the functional modules is only an example, and in practical applications, the above functions may be distributed by different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience of implementation of software, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to various embodiments provided in the present specification, and are not described in detail below.
For a specific process of each function module in the electronic device provided in this embodiment to implement each function, please refer to the specific contents described in the embodiments shown in fig. 2 to fig. 5, which is not described herein again.
In the electronic device provided by this embodiment, when the emergency call task is triggered, if the first emergency call number fails to be called according to the first call mode, the second emergency call number and the corresponding second call mode are acquired through other surrounding terminals, and then the second emergency call number is called according to the acquired second call mode, so that even if the emergency call fails according to the pre-stored emergency call number and call mode, the electronic device can help the user break through regional restrictions with the assistance of other surrounding terminals, obtain a more effective emergency call number and call mode, and accordingly perform the emergency call, thereby improving the success rate of the emergency call.
Referring to fig. 7, fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic apparatus described in this embodiment includes:
a memory 801, a processor 802 and a computer program stored on the memory 801 and operable on the processor 802, when the processor 802 executes the computer program, the method for implementing an emergency call as described in the embodiments of fig. 2 to 5 is implemented.
Further, the electronic device further includes:
at least one input device 803 and at least one output device 804.
The memory 801, the processor 802, the input device 803, and the output device 804 are connected by a bus 805.
The input device 803 may be a camera, a touch panel, a physical button, or the like. The output device 804 may specifically be a display screen.
The Memory 801 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 801 is used to store a set of executable program code, and the processor 802 is coupled to the memory 801.
Further, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium may be an electronic device configured in the foregoing embodiments, and the computer-readable storage medium may be a storage unit configured in the main control chip and the data acquisition chip in the foregoing embodiments. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the emergency call implementation method described in the embodiments of fig. 2 to 5.
For example, the electronic device may be any of various types of computer system apparatuses that are mobile or portable and perform wireless communication. In particular, the electronic apparatus may be a mobile phone or a smart phone (e.g., iPhone (TM) -based phone), a Portable game device (e.g., Nintendo DS (TM), PlayStation Portable (TM), Gameboy Advance (TM), iPhone (TM)), a laptop, a PDA, a Portable internet appliance, a music player and a data storage device, other handheld devices and a head-mounted device (HMD) such as a watch, a headset, a pendant, a headset, etc., and other wearable devices (e.g., electronic glasses, electronic clothes, an electronic bracelet, an electronic necklace, an electronic tattoo, an electronic device, or a smart watch).
The electronic apparatus may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controllers, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving picture experts group (MPEG-1 or MPEG-2) audio layer 3(MP3) players, portable medical devices, and digital cameras and combinations thereof.
In some cases, the electronic device may perform a variety of functions (e.g., playing music, displaying video, storing pictures, and receiving and sending telephone calls). If desired, the electronic apparatus may be a portable device such as a cellular telephone, media player, other handheld device, wristwatch device, pendant device, earpiece device, or other compact portable device.
As shown in fig. 8, the electronic device 10 may include control circuitry, which may include storage and processing circuitry 30. The storage and processing circuitry 30 may include memory, such as hard drive memory, non-volatile memory (e.g., flash memory or other electronically programmable erase limit memory used to form solid state drives, etc.), volatile memory (e.g., static or dynamic random access memory, etc.), and so forth, although the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 30 may be used to control the operation of the electronic device 10. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 30 may be used to run software within the electronic device 10 such as, for example, an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The electronic device 10 may also include input-output circuitry 42. The input-output circuitry 42 may be used to enable the electronic device 10 to enable input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuitry 42 may further include the sensor 32. The sensors 32 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 42 may also include one or more displays, such as display 14. The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display 14 may include an array of touch sensors (i.e., the display 14 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functionality for the electronic device 10. Audio components 36 in electronic device 10 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 38 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 38 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 38 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 38 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 10 may further include a battery, power management circuitry, and other input-output units 40. The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10, and may use output data of input-output circuitry 42 to enable receipt of status information and other outputs from electronic device 10.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the emergency call implementation method, the electronic device and the computer-readable storage medium provided by the present application, those skilled in the art will recognize that there are variations from the embodiments of the present application to the specific implementation and application scope, and that the present disclosure is not limited thereto.