WO2021147806A1 - Emergency call method, and electronic apparatus - Google Patents

Emergency call method, and electronic apparatus Download PDF

Info

Publication number
WO2021147806A1
WO2021147806A1 PCT/CN2021/072436 CN2021072436W WO2021147806A1 WO 2021147806 A1 WO2021147806 A1 WO 2021147806A1 CN 2021072436 W CN2021072436 W CN 2021072436W WO 2021147806 A1 WO2021147806 A1 WO 2021147806A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
call
emergency
alarm station
information
Prior art date
Application number
PCT/CN2021/072436
Other languages
French (fr)
Chinese (zh)
Inventor
宁杰
吴杰
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021147806A1 publication Critical patent/WO2021147806A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the field of electronic equipment, and more specifically, to an emergency call method and electronic equipment.
  • An emergency call is a behavior of asking for help initiated by a user through a mobile terminal when encountering danger, and is a guarantee for personal and property safety at a critical moment.
  • emergency situations such as emergency medical assistance, traffic accidents, and natural disasters
  • the importance of emergency calls continues to increase, and the laws and regulations of various countries have made corresponding requirements for emergency calls.
  • emergency calls may need to be initiated in any scenario, and often the harsher the environment, the stronger the user’s appeal for emergency calls. For example, when a fire occurs, the user wants to initiate an emergency call as quickly as possible. When being held hostage, I hope to initiate an alarm without being discovered. Therefore, for emergency calls, you can't just design according to the mode of ordinary telephones.
  • the current emergency call scheme has complicated operations and cannot meet the rapid call in emergency situations.
  • the present application provides an emergency call method and electronic equipment, which helps users to quickly initiate an emergency call in an emergency.
  • an emergency call method is provided.
  • the method is applied to an electronic device, the electronic device includes a display screen, and the method includes: when the electronic device is in a locked screen state, detecting the user's first call on the display screen.
  • An operation in response to the first operation, the electronic device displays an emergency call interface through the display screen, the emergency call interface includes one or more emergency call numbers and prompt information, the prompt information is used to prompt the first preset duration
  • the electronic device displays a lock screen interface through the display screen.
  • the user can slide the graphic with one hand at any position on the screen without any subsequent operations to implement an emergency call.
  • the embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
  • that the electronic device is in the locked state may include that the electronic device is in the on-screen state or the off-screen state.
  • the electronic device when the electronic device is in the off-screen state and in the locked-screen state, the electronic device can first enter the on-screen state after detecting that the user has clicked the power button (at this time, the electronic device is still in the locked state). Screen status). At this time, after the electronic device detects the user's first operation (for example, the user makes a preset gesture on the display screen), it displays the emergency call interface on the display screen.
  • the method further includes: when the electronic device and the alarm station call connection is established, the electronic device The earpiece and microphone of the electronic device are automatically turned off; the electronic device detects the second operation of the user pressing the volume up key; in response to the second operation, the electronic device turns on the earpiece and the microphone of the electronic device.
  • the user can initiate an emergency call in complete concealment, and the electronic device can automatically turn off the earpiece and microphone sound when the call connection is established, which helps to ensure that the user will not be discovered when operating the mobile phone in an emergency.
  • the normal call mode can be restored by pressing the volume up key by adding one step during an emergency call, and the original scene mode can be restored by unlocking it once after the call, without affecting the user experience.
  • the method further includes: the electronic device sends first information to the alarm station, and the first The information includes one or more of dual-tone multi-frequency DTMF encoding information, short messages, or instant messaging IM information, and the first information is used to remind the user that the user is currently in an emergency situation.
  • a user when a user initiates an emergency call, he can synchronously send short messages, DTMF code information or IM information to the alarm station or emergency contact, so that multiple parties can alarm at the same time and increase the success rate and timeliness of the alarm.
  • the method further includes: after the call connection between the electronic device and the alarm station is disconnected, if the electronic device does not send a second message to the alarm station Information and the electronic device did not receive the third message sent by the alarm station. After a second preset period of time since the call connection is disconnected, the electronic device automatically initiates a redial to the alarm station, and the second information is used for Instructing the electronic device to disconnect the call connection, and the third information is used to instruct the alarm station to disconnect the call connection.
  • the emergency call self-healing solution realizes that in an emergency call, the electronic device can automatically initiate a redial to the alarm station when it determines that the user is not hanging up or the alarm station is not hanging up. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
  • the electronic device can start from the second alarm when the call is hung up. After setting the time length, it will automatically initiate a redial to the alarm station.
  • the method further includes: after the electronic device is disconnected from the alarm station, if the electronic device sends fourth information to the alarm station Or the electronic device receives the fourth information sent by the alarm station, and after a second preset period of time since the call connection is disconnected, the electronic device automatically initiates redialing to the alarm station, and the fourth information is used to indicate The disconnection of the call connection is caused by the timeout of the real-time transport protocol RTP.
  • the emergency call self-healing solution realizes that in an emergency call, the electronic device can automatically initiate a redial to the alarm station when the electronic device determines that the hangup is caused by the RTP timeout. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
  • the method further includes: after the call connection between the electronic device and the alarm station is disconnected, the electronic device is automatically adjusted to a vibration mode or a silent mode.
  • the electronic device when the call connection between the electronic device and the alarm station is disconnected, the electronic device can be automatically adjusted to the vibration mode or the silent mode, which can avoid the user's call caused by the alarm station or other contacts due to environmental reasons. danger.
  • the electronic device if it detects that the user unlocks, it can automatically restore the original mode (such as the normal mode) from the vibration mode or the silent mode.
  • the original mode such as the normal mode
  • the priority order of the one or more emergency numbers is set at the factory or set for the user.
  • the user can set the correspondence between the preset gesture and the emergency call number, or set the priority order of the emergency number display, so that the user can quickly dial the corresponding emergency number in an emergency, reducing the emergency call
  • the operation steps and time realize the purpose of initiating emergency calls quickly, conveniently and safely.
  • the electronic device when the call connection between the electronic device and the alarm station is established, the electronic device can automatically switch to the power saving mode, and resume after the call hangs up. This can save the power of the electronic device and ensure that the user can complete an emergency call in an emergency.
  • a device in a second aspect, is provided, the device is included in an electronic device, and the device has the function of realizing the above aspects and the behavior of the electronic device in the possible implementation manners of the above aspects.
  • the function can be realized by hardware, or the corresponding software can be executed by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above-mentioned functions.
  • an electronic device including: one or more processors; a memory; one or more application programs; and one or more computer programs.
  • one or more computer programs are stored in the memory, and the one or more computer programs include instructions.
  • the electronic device is caused to execute the emergency call method in any one of the possible implementations of the foregoing aspects.
  • the technical solution provides an electronic device including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the electronic device executes An emergency call method in any of the possible implementations of any of the above aspects.
  • the present technical solution provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the emergency call method in any one of the possible implementations of any of the foregoing aspects.
  • the present technical solution provides a computer program product that, when the computer program product runs on an electronic device, causes the electronic device to execute an emergency call method in any one of the above-mentioned possible designs.
  • the present technical solution provides a chip system including at least one processor, and when program instructions are executed in the at least one processor, any possible method in the first aspect can be used in an electronic device The above functions are realized.
  • FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
  • Fig. 2 is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application.
  • Fig. 3 is a schematic diagram of a set of GUIs provided by an embodiment of the present application.
  • Fig. 4 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • Fig. 5 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • Fig. 6 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
  • Fig. 8 is a schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
  • Fig. 9 is another schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
  • FIG. 10 is another schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
  • FIG. 11 is another schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
  • FIG. 12 is a schematic flowchart of a method for redialing after a dropped call in a CS call scenario provided by an embodiment of the present application.
  • FIG. 13 is a schematic flowchart of a method for redialing after a dropped call in a VoLTE call scenario provided by an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of an emergency call method provided by an embodiment of the present application.
  • the electronic device may be a portable electronic device that also contains other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, and a wearable electronic device with wireless communication function (such as a smart watch) Wait.
  • portable electronic devices include, but are not limited to, carrying Or portable electronic devices with other operating systems.
  • the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194, and user
  • An identification module subscriber identification module, SIM
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • different processing units may be independent components, or may be integrated in one or more processors.
  • the electronic device 100 may also include one or more processors 110.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 may be a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. In this way, repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 100 in processing data or executing instructions is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous transceiver (universal asynchronous transceiver) interface.
  • asynchronous receiver/transmitter, UART) interface mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface and/or USB interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices.
  • the USB interface 130 can also be used to connect earphones and play audio through the earphones.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100.
  • the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • IR infrared technology
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode, or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode
  • FLED flexible light-emitting diode
  • mini light-emitting diode miniled
  • MicroLed Micro-oLed
  • quantum dot light emitting diode QLED
  • the electronic device 100 may include one or more display screens 194.
  • the display screen 194 in FIG. 1 may be bent.
  • the above-mentioned display screen 194 can be bent means that the display screen can be bent to any angle in at least a part of the area, and can be maintained at this angle.
  • the display screen 194 can be folded in half from the middle. You can also fold up and down from the middle.
  • the display screen 194 of the electronic device 100 may be a flexible screen.
  • the flexible screen has attracted much attention due to its unique characteristics and great potential.
  • flexible screens have the characteristics of strong flexibility and bendability, and can provide users with new interactive methods based on bendable characteristics, which can meet more users' needs for electronic devices.
  • the foldable display screen on the electronic device can be switched between a small screen in a folded configuration and a large screen in an unfolded configuration at any time. Therefore, users use the split screen function on electronic devices equipped with foldable display screens more and more frequently.
  • the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • the camera 193 is used to capture still images or videos.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can run the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute the emergency call methods, various applications, and data processing provided in some embodiments of the present application.
  • the electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, X, Y, and Z axes
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, etc.
  • the gyroscope sensor and the acceleration sensor can upload the detected data, and the state detection service determines the current form of the flexible screen according to the detected data, thereby sending the current form of the flexible screen to the display strategy service.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, etc.
  • Distance sensor 180F used to measure distance.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the fingerprint sensor may include an under-screen fingerprint sensor located under the side screen.
  • the under-screen fingerprint sensor may be located in a certain area of the side screen. When the user unlocks through the side screen, it can be in this area. Press or touch; or, when the user is unlocking the fingerprint, he can press or touch any area on the side screen, so that the fingerprint sensor under the screen can detect the user's fingerprint information and perform the fingerprint information. check.
  • the temperature sensor 180J is used to detect temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • Fig. 3 is a set of graphical user interfaces (GUI) of the mobile phone. From (a) in Fig. 3 to (d) in Fig. 3, the process of a user making an emergency call is shown.
  • GUI graphical user interfaces
  • the GUI is the off-screen display interface of the mobile phone.
  • the mobile phone shown in Fig. 3(a) can be in the off-screen state and in the locked-screen state.
  • the mobile phone detects the user's operation of clicking the power button, it can display the GUI as shown in Fig. 3(b).
  • the lock screen state in the embodiment of the present application may be the case where the mobile phone is locked, and the locked case includes but is not limited to: user setting password, fingerprint recognition or face recognition, etc.
  • the user can click the power button after completing the operation on the desktop of the mobile phone, and the mobile phone enters the locked screen state after detecting the user's click on the power button; or, the mobile phone for a period of time If no user operation is detected, it will automatically enter the lock screen state.
  • the phone is in the lock screen state, its screen can be off or on.
  • the mobile phone can be lit and prompted to enter a password. At this time, the mobile phone is still locked, but its touch screen is lit; exemplary, another user inputs After the password is wrong, the phone is still locked, but the touch screen is still on.
  • the non-lock screen state is relative to the locked screen state.
  • the user can unlock the electronic device by inputting a password, fingerprint recognition, or facial recognition. After unlocking, the phone enters the non-lock screen state.
  • the mobile phone can be in the on-screen state and in the locked-screen state.
  • the mobile phone detects the user's gesture of "X" on the display, the mobile phone can display the GUI as shown in Figure 3(c).
  • FIG. 3 is the emergency call display interface of the mobile phone.
  • multiple emergency call numbers can be displayed on the emergency call display interface. Among them, “alarm telephone 110", “fire alarm telephone 119" and “emergency 120" are displayed in sequence from top to bottom.
  • the emergency call display interface also displays an automatic countdown, and the mobile phone will automatically initiate an alarm after a preset period of time (for example, 3 seconds) after entering the emergency call display interface. If the user wants to make another emergency call, he can click on the emergency call 120 before the preset time period ends.
  • the GUI as shown in (d) in FIG. 3 can be displayed.
  • the electronic device in the embodiment of the present application may also be in an unlocked state.
  • the mobile phone When the mobile phone is in the off-screen state and not locked, when the mobile phone detects that the user clicks the power button and other operations, it can enter the bright-screen display interface of the mobile phone. Later, if the user detects the user's sliding preset gesture under the bright screen display interface of the mobile phone, the emergency call display interface as shown in (c) in FIG. 3 can be displayed.
  • the user can also directly slide a preset gesture on the off-screen display interface shown in (a) of FIG. 3 to enter the emergency call display interface.
  • the user in an emergency, can quickly initiate an emergency call without unlocking or entering an emergency number, and can directly initiate dialing by selecting a number.
  • the embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
  • Figure 4 shows another set of GUIs provided by an embodiment of the present application.
  • the GUI is the emergency call display interface of the mobile phone.
  • multiple emergency call numbers can be displayed on the emergency call display interface. Among them, “alarm telephone 110", “fire alarm telephone 119" and “emergency 120" are displayed in sequence from top to bottom.
  • the emergency call display interface also displays an automatic countdown, and the mobile phone will automatically initiate an alarm after a preset period of time (for example, 3 seconds) after entering the emergency call display interface.
  • the GUI is another display interface for emergency calls of the mobile phone.
  • the mobile phone at the end of the countdown of 3 seconds, if the mobile phone does not detect the user's click on any emergency call number, the mobile phone can automatically initiate an alarm after the countdown ends.
  • the GUI is a display interface for dialing the alarm call 110.
  • the mobile phone can automatically make an alarm call.
  • the user can slide the graphic with one hand at any position on the screen without any subsequent operations to implement an emergency call.
  • the embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
  • Figure 4 illustrates the process of the mobile phone automatically initiating an alarm after the countdown of 3 seconds ends.
  • the user can also set the priority of the emergency call number. The following describes the process for the user to set the display order and display priority of each emergency number on the emergency call display interface in conjunction with the GUI shown in FIG. 5 and FIG. 6.
  • Figure 5 shows another set of GUIs provided by an embodiment of the present application.
  • the GUI is the lock screen interface of the mobile phone.
  • the lock screen interface can include the prompt message "The current interface signs X to initiate an alarm" and can prompt the user to make custom settings.
  • the GUI as shown in (b) of FIG. 5 can be displayed.
  • the GUI is a display interface for customized emergency call settings.
  • the display interface includes two setting options: gesture setting and priority setting.
  • gesture setting When the mobile phone detects that the user clicks on the control 502, it can display the GUI as shown in (c) in FIG. 5.
  • the mobile phone can ask the user to unlock, and then enter the corresponding setting interface after unlocking. Or, after the mobile phone detects that the user clicks "Customize", it directly enters the corresponding setting interface.
  • the GUI is a gesture setting interface.
  • the gesture setting interface includes alarm call gesture settings, fire alarm call gesture settings, emergency call gesture settings, emergency contact phone gesture settings and custom settings, and so on.
  • the mobile phone detects that the user clicks on the control 503, it can display the GUI as shown in (d) in FIG. 5.
  • the GUI is a gesture setting display interface for the alarm call.
  • the display interface includes multiple gestures "X", “9” and "///”.
  • the alarm call gesture can be set to "X”.
  • the mobile phone can enter the emergency call display interface and display the alarm call first, and other emergency call numbers can be displayed after the alarm call. If after the countdown is over, the mobile phone does not detect the user's operation to select one of the emergency numbers, the mobile phone can automatically select the alarm call to initiate dialing.
  • users can also set fire alarm call gestures, emergency call gestures, and so on.
  • the user can set the fire alarm call gesture to "9".
  • the mobile phone detects that the user makes a "9" under the lock screen interface, it can enter the emergency call display interface and display the fire alarm number first, and other emergency call numbers can be displayed after the fire alarm call. If after the countdown is over, the mobile phone does not detect the user's operation to select one of the emergency numbers, the mobile phone can automatically select the fire alarm phone to initiate dialing.
  • the user may only set the corresponding relationship between the type of each emergency call number (for example, an alarm call, a fire call, or an emergency call) and a preset gesture, instead of setting the corresponding relationship between a specific number and the preset gesture.
  • the mobile phone can query the globalized parameter list built in the mobile phone according to the public land mobile network (PLMN) currently on the network, and match the corresponding alarm number as the highest priority emergency number, such as 110 in China and 112 in Germany.
  • PLMN public land mobile network
  • the United States is 911.
  • Figure 6 shows another set of GUIs provided by an embodiment of the present application.
  • the GUI is a display interface for customized emergency call settings.
  • the display interface includes two setting options: gesture setting and priority setting.
  • gesture setting When the mobile phone detects that the user clicks on the control 601, it can display the GUI as shown in (b) in FIG. 6.
  • this GUI is a display interface for priority setting of emergency call numbers.
  • the display interface includes a prompt message "When the preset gesture X is swiped on the lock screen interface, the sequence of emergency calls is displayed.” The user can select emergency call number 1, emergency call number 2, emergency call number 3, and emergency call number 4 on the display interface.
  • the mobile phone detects the user's operation of clicking the emergency call number 1, it can display the GUI as shown in (c) in FIG. 6.
  • this GUI is a display interface for emergency call number 1.
  • the user can select a phone number from the alarm phone, fire alarm phone, emergency center phone, custom phone, or mobile phone address book as the emergency call number 1.
  • the alarm call can be set as the emergency call number 1.
  • the mobile phone detects that the user has clicked the control 602 corresponding to the alarm call, the alarm call can be set as the emergency call number 1.
  • the mobile phone detects that the user makes an "X" under the lock screen, it can enter the emergency call display interface and display the alarm call at the emergency call number 1.
  • the user can set the correspondence between the preset gesture and the emergency call number, or set the priority order of the emergency number display, so that the user can quickly dial the corresponding emergency number in an emergency, reducing the emergency call
  • the operation steps and time realize the purpose of initiating emergency calls quickly, conveniently and safely.
  • users need to keep silent when calling for help urgently (for example, criminals are in front of them, dangerous animals are nearby, etc.) to avoid danger caused by sounds from themselves and their mobile phones. At this time, they need to send out the help message silently and allow The user perceives the success of the help-seeking process, and at the same time allows the sound of environmental hazards to be transmitted to the alarm station for help.
  • a silent call for help solution is added to the embodiments of the present application, and the default is mute when receiving a callback of the emergency number after dialing the emergency number.
  • the downlink audio data is turned off by default, that is, the ringback tone during the call and the voice of the other party cannot be heard after the call is established.
  • the user can press the volume up button again to Normal call.
  • the original scene mode will be adjusted to the vibration mode (or silent mode), and prompts can be displayed on the interface.
  • the user turns on the call hide switch, after dialing, he actively hides (deletes the dial record) and places the call in the background invisible, and cannot be transferred back to the front desk with normal GUI operations, but supports special operations to call back to the front desk to avoid emergency calls for help Recording and call situations are dangerous to users.
  • Fig. 7 shows another GUI provided by an embodiment of the present application.
  • the GUI is a display interface for dialing the alarm call 110.
  • the display interface includes the prompt message "In silent mode, press the volume up button to hear the other party's voice".
  • the mobile phone can automatically turn off the downlink audio data. If the other party is connected to the phone, the user will not hear the other party's voice through the handset and speaker.
  • the mobile phone detects that the user presses the volume up button, the mobile phone can open the downstream audio data, and the user can hear the other party's voice.
  • FIG. 7 is the display interface after the user dials the emergency number.
  • the display interface includes the prompt message "It has been adjusted to the vibration mode, and the original mode will be restored after unlocking.”
  • the mobile phone After the mobile phone initiates a silent emergency call, it enters the emergency dialing interface. At this time, the mobile phone defaults to receiving voice messages from the other party in silent mode. The mobile phone will turn off the sound of the receiver and speaker at the local end, that is, when the call is successfully ringing, it will not be heard Ring back tone. After the other party answers and establishes the call, the voice of the other party cannot be heard, and the call and call interface prompts "In silent mode, please press the volume up button to hear the other party's voice". After the phone detects that the user presses the volume up button, the call returns to normal.
  • all subsequent incoming calls can be forced to be adjusted to the vibration mode (for example, there may be a friend or the police calling back). It is also prompted on the interface that the original scene mode (for example, the normal mode) is not restored until the environment is considered safe and the user can operate the electronic device after unlocking once.
  • the original scene mode for example, the normal mode
  • the emergency help desk finds that the call is silent, causing the risk of false hang-up.
  • the switch is set to allow the mobile phone to send dual tone multifrequency (DTMF) information to alert the alarm station .
  • DTMF dual tone multifrequency
  • DTMF technology uses 2 different SINE audio codes to express each number on the mobile phone keyboard.
  • Table 1 shows the mapping relationship between numbers and audio codes on the mobile phone keyboard in the DTMF technology.
  • 26 English letters can be corresponded to 9-square buttons.
  • the number button 6 corresponds to 3 letters of MNO
  • the number button 7 corresponds to 4 letters of PQRS.
  • the SOS code gives the letter corresponding to the number button, and the SOS code is 767. As long as the dual-frequency SINE wave corresponding to 767 is sent, SOS information can be embedded in the link to notify the alarm center.
  • the mobile phone in order to prevent the emergency call from being hung up silently, can automatically send the DTMF information of the SOS to the alarm station after the call link is connected.
  • the corresponding DTMF code can be used to silently send out detailed information for help, and a single number or a combination of multiple numbers can be used to send emergency help messages along the road in silent mode.
  • the system can automatically retransmit this information several times to ensure that it is successfully received by the alarm center.
  • Table 2 shows that a single number key is used to correspond to an emergency help event.
  • the user can dial the emergency call number and the call link is connected, by pressing the data button 1, the mobile phone can send the corresponding DTMF code information to the alarm station, so that the alarm station can not hear the user's voice. Can clarify the scene where the current user is.
  • the mobile phone can also add information alarms that are initiated synchronously with the voice emergency call.
  • Information alerting methods initiated by mobile phones include but are not limited to the following:
  • the content of emergency help information can include user-definable content in advance. For example, if seeking medical emergency help, it includes name, known disease, address or location information, etc.
  • the mobile phone in order to keep the emergency call continuous for a long time, after the emergency call is connected, the mobile phone can automatically enter the power saving mode. Until the emergency call ends, it will return to the original mode.
  • the user can initiate an emergency call in complete concealment without being discovered. If the user still has the ability to operate the electronic device, the normal call mode can be restored by pressing the volume up key by adding one step during an emergency call, and the original scene mode can be restored by unlocking it once after the call, without affecting the user experience. Moreover, when a silent emergency call is initiated, a short message will be sent to the alarm station or emergency contact simultaneously to achieve simultaneous alarm from multiple parties and increase the success rate and timeliness of the alarm.
  • the embodiment of the present application also proposes an emergency call self-healing scheme, that is, the call is not hung up by the opposite end or the local end from the signaling point of view, and the electronic device considers it to be an involuntary call drop scenario by the user. , At this time, the electronic device will automatically redial the last emergency number after a countdown of N seconds, and initiate an emergency call again.
  • the electronic device performs self-healing when it determines that the emergency call is dropped, and automatically initiates an emergency redial.
  • the embodiment of the present application divides emergency call scenarios into the following four types:
  • the interface displays an emergency call, and the signaling takes the normal call flow of CS;
  • the signaling takes the VoLTE emergency call process.
  • CC_CONNECT indicates that the call is established
  • CC_DISCONNECT indicates that the call is disconnected, including the local end initiates a hangup or the opposite end initiates a hangup.
  • the 200 OK corresponding to INVITE indicates that the other party answers and establishes the call
  • BYE indicates the hang-up initiated by the local end or the opposite end.
  • a CS call refers to a call initiated to an electronic device with a network format of 2G or 3G
  • a VoLTE call refers to a call initiated to an electronic device with a network format of 4G or 5G.
  • Figures 8 to 11 show four schematic diagrams of redialing during a dropped call during an emergency call provided in an embodiment of the present application.
  • Figures 8 and 9 show that after the electronic device establishes a connection with the alarm station, if it is not the electronic device or the call connection that the alarm station hangs up. Then the electronic device will neither send nor receive the CC_DISCONNECT, so after N seconds (for example, 5 seconds) after the call is hung up, the electronic device can automatically initiate a redial to the alarm station.
  • Figures 10 and 11 show that after the electronic device establishes a connection with the alarm station, the electronic device receives or sends a hang-up message whose hang-up reason is RTP timeout. Then, after N seconds from the end of the call, the electronic device can automatically initiate a redial to the alarm station.
  • FIG. 12 shows a schematic flowchart of a method 1200 for redialing a call in a CS call scenario provided in an embodiment of the present application according to an embodiment of the present application. As shown in FIG. 12, the method 1200 includes:
  • S1201 The electronic device initiates a CS call.
  • the mobile phone when the mobile phone detects that the user clicks on the emergency phone 120, the mobile phone can initiate a CS call.
  • the mobile phone when the mobile phone detects that the countdown is over, the mobile phone can initiate a CS call to the alarm phone 110.
  • S1202 The electronic device determines whether the interface displayed is an emergency call.
  • the electronic device judges whether the interface displayed is an emergency call, if the user is currently calling the international emergency call number "120", it can be considered that the current interface is displaying an emergency call; if the user is currently calling the international emergency call number If the current call is an emergency call number in areas such as "110" or "120", it can be considered that the current interface displayed is not an emergency call.
  • the electronic device if it receives CC_EMERGENCY_SETUP, it can determine that the number currently called is the emergency call number of the area (for example, "110" or "119"); if it does not receive CC_EMERGENCY_SETUP, it can determine the current calling number. The number is not an emergency call number for the area.
  • the electronic device can continue to determine the reason for the hung up, so as to determine whether it is necessary to automatically initiate a redial to the alarm station.
  • S1206 The electronic device judges whether CC_DISCONNECT is received or sent.
  • the electronic device may send CC_DISCONNECT to the opposite end.
  • the opposite end may send CC_DISCONNECT to the electronic device.
  • the electronic device can consider that the call hang-up is due to other reasons (such as poor signal quality) and is not caused by the user voluntarily. Then the electronic device can Redial is initiated automatically. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
  • the electronic device If the electronic device receives or sends CC_DISCONNECT, the electronic device stops detecting.
  • FIG. 13 shows a schematic flowchart of a method 1300 for redialing after a dropped call in a VoLTE call scenario provided by an embodiment of the present application. As shown in FIG. 13, the method 1300 includes:
  • S1301 The electronic device initiates a VoLTE call.
  • S1302 The electronic device determines whether the interface displayed is an emergency call.
  • S1306 The electronic device judges whether to receive or send a hang-up message whose hang-up cause is a real-time transport protocol (RTP) timeout.
  • RTP real-time transport protocol
  • the electronic device receives the information that the disconnection of the call is due to the timeout of the real-time transmission protocol RTP, then the electronic device can automatically initiate a reset to the alarm station. Or, the electronic device sends information to the alarm station that the disconnection of the call is due to the timeout of the real-time transmission protocol RTP, and the electronic device can also automatically initiate a redial to the alarm station. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
  • the electronic device stops the detection.
  • the electronic device will automatically initiate an emergency redial if the call is dropped due to abnormal reasons in all emergency calls, thereby helping to ensure the call success rate.
  • FIG. 14 shows a schematic flowchart of an emergency call method 1400 according to an embodiment of the present application.
  • the method 1400 may be executed by an electronic device (for example, a mobile phone), and the method 1400 includes:
  • the first operation may be an operation of the user making an "X" on the display screen.
  • the type of the first operation is not limited.
  • the first operation may be a preset gesture (for example, "X”, “9", “///”); or, the first operation may also be an air gesture.
  • the electronic device displays an emergency call interface through the display screen.
  • the emergency call interface includes one or more emergency call numbers and prompt information, and the prompt information is used to prompt the end of the first preset time period. After that, a call is automatically sent to the first emergency call number, and the one or more emergency numbers include the first emergency call number.
  • the emergency call interface includes three emergency numbers "110", “119” and "120” and prompt information, and the prompt information is "3 An alarm will be initiated automatically in seconds.”
  • the mobile phone when the mobile phone does not detect that the user clicks on any of the 3 emergency numbers after 3 seconds, the mobile phone can Automatically initiate a call to the emergency number "110" with the highest priority.
  • the user may complete the emergency call under the lock screen interface when making the emergency call, that is, it is not necessary for the electronic device to enter the non-lock screen state to complete the emergency call. Therefore, after the call connection between the electronic device and the alarm station is disconnected, the electronic device can continue to display the lock screen interface through the display screen.
  • the user can slide the graphic with one hand at any position on the screen without any subsequent operations to implement an emergency call.
  • the embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
  • the method 1400 further includes:
  • the electronic device When the communication connection between the electronic device and the alarm station is established, the electronic device automatically turns off the sound of the earpiece and microphone of the electronic device;
  • the electronic device detects a second operation of the user pressing the volume up key; in response to the second operation, the electronic device turns on the earpiece and microphone of the electronic device.
  • the electronic device when a call connection between the electronic device and the alarm station is established, the electronic device can automatically shut off the sound from the alarm station. And the display shows "in silent mode, please press the volume up button to hear the other party's voice". After the mobile phone detects the user's operation of pressing the volume up key, the mobile phone can play the sound from the alarm station through the earpiece or speaker.
  • the user can initiate an emergency call in complete concealment, and the electronic device can automatically turn off the earpiece and microphone sound when the call connection is established, which helps to ensure that the user will not be discovered when operating the mobile phone in an emergency.
  • the normal call mode can be restored by pressing the volume up key by adding one step during an emergency call, and the original scene mode can be restored by unlocking it once after the call, without affecting the user experience.
  • the method 1400 further includes:
  • the electronic device sends first information to the alarm station.
  • the first information includes one or more of dual-tone multi-frequency DTMF encoding information, short messages, or instant messaging IM information, and the first information is used to remind the user that the user is currently in In an emergency.
  • the mobile phone can automatically send the DTMF information of SOS to the alarm station after the call link is connected.
  • a user when a user initiates an emergency call, he can synchronously send short messages, DTMF code information or IM information to the alarm station or emergency contact, so that multiple parties can alarm at the same time and increase the success rate and timeliness of the alarm.
  • the method 1400 further includes:
  • the electronic device After the call connection between the electronic device and the alarm station is disconnected, if the electronic device does not send the second information to the alarm station and the electronic device does not receive the third information sent by the alarm station, disconnect from the call connection After the second preset period of time, the electronic device automatically initiates a redial to the alarm station, the second information is used to indicate that the electronic device has disconnected the call connection, and the third information is used to indicate that the alarm station is disconnected The call is connected.
  • the electronic device in a CS call, if the call connection between the electronic device and the alarm station is disconnected, the electronic device does not send CC_DISCONNECT to the alarm station and the electronic device does not receive the CC_DISCONNECT sent by the alarm station, then the electronic device can determine that it is The call is interrupted due to other reasons. Then the electronic device can automatically initiate a redial to the alarm station. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
  • the method 1400 further includes:
  • the electronic device After the call connection between the electronic device and the alarm station is disconnected, if the electronic device sends fourth information to the alarm station or the electronic device receives the fourth information sent by the alarm station, the call connection is disconnected After the second preset period of time, the electronic device automatically initiates a redial to the alarm station, and the fourth information is used to indicate that the disconnection of the call connection is caused by the timeout of the real-time transmission protocol RTP.
  • the electronic device receives the information that the disconnection of the call connection is caused by the timeout of the real-time transmission protocol RTP, then the electronic device can automatically The alarm station initiates redial; or, if the electronic device sends the information to the alarm station that the disconnection of the call is due to the timeout of the real-time transmission protocol RTP, the electronic device can also automatically initiate redial to the alarm station. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
  • an electronic device in order to implement the above-mentioned functions, includes hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
  • the electronic device may be divided into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • This embodiment also provides a computer storage medium in which computer instructions are stored.
  • the computer instructions are executed on an electronic device, the electronic device is caused to execute the above-mentioned related method steps to implement the emergency call method in the above-mentioned embodiment. .
  • This embodiment also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the emergency call element method in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the emergency call method in the foregoing method embodiments.
  • the electronic device, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods of the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Telephone Function (AREA)

Abstract

The present application provides an emergency call method and an electronic apparatus. The method is applicable to electronic apparatuses, and comprises: detecting, while an electronic apparatus is in a locked screen state, a first operation of a user on a display screen; the electronic apparatus displaying, in response to the first operation, an emergency call interface via the display screen, wherein the emergency call interface comprises one or more emergency call numbers and notification information, the notification information is used to notify that a call to a first emergency call number is to be automatically made after a first preset duration expires, and the one or more emergency numbers comprise the first emergency call number; after the first preset duration expires, automatically making a call to an alarm station if the electronic apparatus does not detect a user operation on the display screen; and after a call connection between the electronic apparatus and the alarm station is disconnected, the electronic apparatus displaying a locked screen interface via the display screen. Embodiments of the present application facilitate quick emergency calls for users in emergency conditions.

Description

一种紧急呼叫的方法和电子设备An emergency call method and electronic equipment
本申请要求于2020年1月22日提交中国专利局、申请号为202010074518.5、申请名称为“一种紧急呼叫的方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on January 22, 2020, the application number is 202010074518.5, and the application name is "a method and electronic device for emergency calling", the entire content of which is incorporated herein by reference Applying.
技术领域Technical field
本申请涉及电子设备领域,并且更具体地,涉及一种紧急呼叫的方法和电子设备。This application relates to the field of electronic equipment, and more specifically, to an emergency call method and electronic equipment.
背景技术Background technique
紧急呼叫是用户在遇到危险时,通过移动终端发起的求助行为,是在关键时刻人身财产安全的保障。另一方面,随着紧急医疗救助、交通事故、自然灾害等紧急情况的频发,紧急呼叫的重要性不断提高,而且各国的法律法规都对紧急呼叫做了相应的要求。An emergency call is a behavior of asking for help initiated by a user through a mobile terminal when encountering danger, and is a guarantee for personal and property safety at a critical moment. On the other hand, with the frequent occurrence of emergency situations such as emergency medical assistance, traffic accidents, and natural disasters, the importance of emergency calls continues to increase, and the laws and regulations of various countries have made corresponding requirements for emergency calls.
与一般的电话不同,在任何场景下都有可能需要发起紧急呼叫,而且往往环境越恶劣,用户对紧急呼叫的诉求越强烈,如在着火时,希望以最快速度发起紧急呼叫,在被匪徒挟持时,希望在不被发现的情况下发起报警等。所以,对于紧急呼叫,不能只按照普通电话的模式进行设计。目前的紧急呼叫方案存在操作繁琐,无法满足紧急情况下的快速呼叫。Unlike ordinary telephones, emergency calls may need to be initiated in any scenario, and often the harsher the environment, the stronger the user’s appeal for emergency calls. For example, when a fire occurs, the user wants to initiate an emergency call as quickly as possible. When being held hostage, I hope to initiate an alarm without being discovered. Therefore, for emergency calls, you can't just design according to the mode of ordinary telephones. The current emergency call scheme has complicated operations and cannot meet the rapid call in emergency situations.
发明内容Summary of the invention
本申请提供一种紧急呼叫的方法和电子设备,有助于用户在紧急情况下快速发起紧急呼叫。The present application provides an emergency call method and electronic equipment, which helps users to quickly initiate an emergency call in an emergency.
第一方面,提供了一种紧急呼叫的方法,该方法应用于电子设备,该电子设备包括显示屏,该方法包括:该电子设备处于锁屏状态时,在该显示屏上检测到用户的第一操作;响应于该第一操作,该电子设备通过该显示屏显示紧急呼叫界面,该紧急呼叫界面包括一个或者多个紧急呼叫号码和提示信息,该提示信息用于提示在第一预设时长结束后,自动向第一紧急呼叫号码发出呼叫,该一个或者多个紧急号码包括该第一紧急呼叫号码;在该第一预设时长结束后,若该电子设备没有在该显示屏上检测到用户点击该一个或者多个紧急呼叫号码中任意一个紧急呼叫号码的操作,自动向告警台发出呼叫,该告警台为该第一紧急呼叫号码对应的告警台;在该电子设备与该告警台的通话连接断开后,该电子设备通过该显示屏显示锁屏界面。In a first aspect, an emergency call method is provided. The method is applied to an electronic device, the electronic device includes a display screen, and the method includes: when the electronic device is in a locked screen state, detecting the user's first call on the display screen. An operation; in response to the first operation, the electronic device displays an emergency call interface through the display screen, the emergency call interface includes one or more emergency call numbers and prompt information, the prompt information is used to prompt the first preset duration After the end, automatically send a call to the first emergency call number, the one or more emergency numbers including the first emergency call number; after the first preset time period ends, if the electronic device does not detect on the display The user clicks the operation of any one of the one or more emergency call numbers to automatically send a call to the alarm station, which is the alarm station corresponding to the first emergency call number; in the electronic device and the alarm station After the call connection is disconnected, the electronic device displays a lock screen interface through the display screen.
在紧急场景下,用户需要快速进行紧急拨号时,通过滑动特殊图形进入拨号选项,然后选择想要的号码进行拨号,如果用户无法继续操作,则在预设时长倒计时结束后,电子设备可以自动选择最高优先级的号码自动发起呼叫。In an emergency scenario, when the user needs to quickly make an emergency dial, enter the dialing option by sliding the special graphic, and then select the desired number to dial. If the user cannot continue to operate, the electronic device can automatically select after the preset time countdown ends. The highest priority number automatically initiates the call.
本申请实施例中,用户可以通过在屏幕上任意位置单手滑动图形,后续无需任何操作,即可实现紧急呼叫。本申请实施例整体上减少了紧急呼叫的操作步骤和时间,实现了快速、便捷、安全的发起紧急呼叫的目的。In the embodiment of the present application, the user can slide the graphic with one hand at any position on the screen without any subsequent operations to implement an emergency call. The embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
在一些可能的实现方式中,该电子设备处于锁屏状态可以包括其处于亮屏状态或者熄屏状态。In some possible implementations, that the electronic device is in the locked state may include that the electronic device is in the on-screen state or the off-screen state.
在一些可能的实现方式中,当电子设备处于熄屏状态且处于锁屏状态时,所述电子设备检测到用户点击电源键的操作后可以先进入亮屏状态(此时,电子设备还是处于锁屏状态)。此时电子设备检测到用户的第一操作(例如,用户在显示屏上比划出预设手势)后,通过显示屏显示紧急呼叫界面。In some possible implementations, when the electronic device is in the off-screen state and in the locked-screen state, the electronic device can first enter the on-screen state after detecting that the user has clicked the power button (at this time, the electronic device is still in the locked state). Screen status). At this time, after the electronic device detects the user's first operation (for example, the user makes a preset gesture on the display screen), it displays the emergency call interface on the display screen.
结合第一方面,在第一方面的某些可能的实现方式中,该电子设备自动向告警台发出呼叫之后,该方法还包括:在该电子设备与该告警台通话连接建立时,该电子设备自动关闭该电子设备的听筒和麦克风的声音;该电子设备检测到用户按压音量上键的第二操作;响应于该第二操作,该电子设备打开该电子设备的听筒和麦克风的声音。With reference to the first aspect, in some possible implementation manners of the first aspect, after the electronic device automatically sends a call to the alarm station, the method further includes: when the electronic device and the alarm station call connection is established, the electronic device The earpiece and microphone of the electronic device are automatically turned off; the electronic device detects the second operation of the user pressing the volume up key; in response to the second operation, the electronic device turns on the earpiece and the microphone of the electronic device.
本申请实施例中,用户可以在完全隐蔽的情况下发起紧急呼叫,通话连接建立时电子设备可以自动关闭听筒和麦克风的声音,有助于保证用户在紧急情况下操作手机不会被发现。如果用户还有能力操作电子设备,在紧急通话中只要增加一步按音量上键即可恢复正常通话模式,通话结束后只要一次解锁即可恢复原来的情景模式,对用户体验无影响。In the embodiments of the present application, the user can initiate an emergency call in complete concealment, and the electronic device can automatically turn off the earpiece and microphone sound when the call connection is established, which helps to ensure that the user will not be discovered when operating the mobile phone in an emergency. If the user still has the ability to operate the electronic device, the normal call mode can be restored by pressing the volume up key by adding one step during an emergency call, and the original scene mode can be restored by unlocking it once after the call, without affecting the user experience.
结合第一方面,在第一方面的某些可能的实现方式中,该电子设备自动向该告警台发出呼叫之后,该方法还包括:该电子设备向该告警台发送第一信息,该第一信息包括双音多频DTMF编码信息、短消息或者即时通讯IM信息中的一种或者多种,该第一信息用于提示用户当前处于紧急情况中。With reference to the first aspect, in some possible implementations of the first aspect, after the electronic device automatically sends a call to the alarm station, the method further includes: the electronic device sends first information to the alarm station, and the first The information includes one or more of dual-tone multi-frequency DTMF encoding information, short messages, or instant messaging IM information, and the first information is used to remind the user that the user is currently in an emergency situation.
本申请实施例中,用户在发起紧急呼叫时,可以同步发送短信、DTMF编码信息或者IM信息到告警台或紧急联系人,实现多方同时报警,增加报警的成功率和时效性。In the embodiments of the present application, when a user initiates an emergency call, he can synchronously send short messages, DTMF code information or IM information to the alarm station or emergency contact, so that multiple parties can alarm at the same time and increase the success rate and timeliness of the alarm.
结合第一方面,在第一方面的某些可能的实现方式中,该方法还包括:在该电子设备与该告警台的通话连接断开后,若该电子设备没有向该告警台发送第二信息且该电子设备没有接收到该告警台发送的第三信息,从该通话连接断开起的第二预设时长后,该电子设备自动向该告警台发起重拨,该第二信息用于指示该电子设备断开了该通话连接,该第三信息用于指示该告警台断开了该通话连接。With reference to the first aspect, in some possible implementations of the first aspect, the method further includes: after the call connection between the electronic device and the alarm station is disconnected, if the electronic device does not send a second message to the alarm station Information and the electronic device did not receive the third message sent by the alarm station. After a second preset period of time since the call connection is disconnected, the electronic device automatically initiates a redial to the alarm station, and the second information is used for Instructing the electronic device to disconnect the call connection, and the third information is used to instruct the alarm station to disconnect the call connection.
本申请实施例中,通过紧急呼叫自愈方案,实现了在紧急通话中,电子设备判断不是用户挂断或者不是告警台挂断的情况下,可以向告警台自动发起重拨。这样有助于减少用户紧急呼叫的操作步骤和时间,实现了快速、便捷的发起紧急呼叫的目的。In the embodiment of the present application, the emergency call self-healing solution realizes that in an emergency call, the electronic device can automatically initiate a redial to the alarm station when it determines that the user is not hanging up or the alarm station is not hanging up. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
在一些可能的实现中,在该电子设备与该告警台的通话连接断开后,若该电子设备没有向该告警台发送该第二信息,则电子设备可以从通话挂断起的第二预设时长后,自动向告警台发起重拨。In some possible implementations, after the call connection between the electronic device and the alarm station is disconnected, if the electronic device does not send the second information to the alarm station, the electronic device can start from the second alarm when the call is hung up. After setting the time length, it will automatically initiate a redial to the alarm station.
结合第一方面,在第一方面的某些可能的实现方式中,该方法还包括:在该电子设备与该告警台的通话连接断开后,若该电子设备向该告警台发送第四信息或者该电子设备接收到该告警台发送的该第四信息,从该通话连接断开起的第二预设时长后,该电子设备自动向该告警台发起重拨,该第四信息用于指示该通话连接断开是由于实时传输协议RTP超时造成的。With reference to the first aspect, in some possible implementations of the first aspect, the method further includes: after the electronic device is disconnected from the alarm station, if the electronic device sends fourth information to the alarm station Or the electronic device receives the fourth information sent by the alarm station, and after a second preset period of time since the call connection is disconnected, the electronic device automatically initiates redialing to the alarm station, and the fourth information is used to indicate The disconnection of the call connection is caused by the timeout of the real-time transport protocol RTP.
本申请实施例中,通过紧急呼叫自愈方案,实现了在紧急通话中,电子设备判断是由于RTP超时才引起挂断的情况下,可以向告警台自动发起重拨。这样有助于减少用户紧急呼叫的操作步骤和时间,实现了快速、便捷的发起紧急呼叫的目的。In the embodiment of the present application, the emergency call self-healing solution realizes that in an emergency call, the electronic device can automatically initiate a redial to the alarm station when the electronic device determines that the hangup is caused by the RTP timeout. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
结合第一方面,在第一方面的某些可能的实现方式中,该方法还包括:在该电子设备与该告警台的通话连接断开后,该电子设备自动调整为震动模式或者静音模式。With reference to the first aspect, in some possible implementations of the first aspect, the method further includes: after the call connection between the electronic device and the alarm station is disconnected, the electronic device is automatically adjusted to a vibration mode or a silent mode.
本申请实施例中,当电子设备与告警台的通话连接断开后,电子设备可以自动调整为震动模式或者静音模式,这样可以避免由于环境的原因,告警台或者其他联系人来电对用户造成的危险。In the embodiment of the present application, when the call connection between the electronic device and the alarm station is disconnected, the electronic device can be automatically adjusted to the vibration mode or the silent mode, which can avoid the user's call caused by the alarm station or other contacts due to environmental reasons. danger.
在一些可能的实现方式中,若电子设备检测到用户进行解锁,则可以自动从震动模式或者静音模式恢复为原来的模式(例如普通模式)。In some possible implementations, if the electronic device detects that the user unlocks, it can automatically restore the original mode (such as the normal mode) from the vibration mode or the silent mode.
结合第一方面,在第一方面的某些可能的实现方式中,该一个或者多个紧急号码的优先级顺序为出厂时设置的或者为用户设置的。With reference to the first aspect, in some possible implementations of the first aspect, the priority order of the one or more emergency numbers is set at the factory or set for the user.
本申请实施例中,用户可以自己设置预设手势和紧急呼叫号码的对应关系,或者设置紧急号码显示的优先级顺序,这样在紧急情况下用户可以快速拨打对应的紧急号码,减少了紧急呼叫的操作步骤和时间,实现了快速、便捷、安全的发起紧急呼叫的目的。In the embodiment of this application, the user can set the correspondence between the preset gesture and the emergency call number, or set the priority order of the emergency number display, so that the user can quickly dial the corresponding emergency number in an emergency, reducing the emergency call The operation steps and time realize the purpose of initiating emergency calls quickly, conveniently and safely.
在一些可能的实现方式中,当电子设备和告警台之间的通话连接建立后,电子设备可以自动切换到省电模式,等通话挂断后恢复。这样可以节省电子设备的电量,保证在紧急情况下用户可以完成紧急呼叫。In some possible implementation manners, when the call connection between the electronic device and the alarm station is established, the electronic device can automatically switch to the power saving mode, and resume after the call hangs up. This can save the power of the electronic device and ensure that the user can complete an emergency call in an emergency.
第二方面,提供了一种装置,该装置包含在电子设备中,该装置具有实现上述方面及上述方面的可能实现方式中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a second aspect, a device is provided, the device is included in an electronic device, and the device has the function of realizing the above aspects and the behavior of the electronic device in the possible implementation manners of the above aspects. The function can be realized by hardware, or the corresponding software can be executed by hardware. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions.
第三方面,提供了一种电子设备,包括:一个或多个处理器;存储器;一个或者多个应用程序;以及一个或多个计算机程序。其中,一个或多个计算机程序被存储在存储器中,一个或多个计算机程序包括指令。当指令被电子设备执行时,使得电子设备执行上述任一方面任一项可能的实现中的紧急呼叫的方法。In a third aspect, an electronic device is provided, including: one or more processors; a memory; one or more application programs; and one or more computer programs. Among them, one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instruction is executed by the electronic device, the electronic device is caused to execute the emergency call method in any one of the possible implementations of the foregoing aspects.
第四方面,本技术方案提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述任一方面任一项可能的实现中的紧急呼叫的方法。In a fourth aspect, the technical solution provides an electronic device including one or more processors and one or more memories. The one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes. The computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes An emergency call method in any of the possible implementations of any of the above aspects.
第五方面,本技术方案提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述任一方面任一项可能的实现中的紧急呼叫的方法。In a fifth aspect, the present technical solution provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the emergency call method in any one of the possible implementations of any of the foregoing aspects.
第六方面,本技术方案提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述任一方面任一项可能的设计中的紧急呼叫的方法。In a sixth aspect, the present technical solution provides a computer program product that, when the computer program product runs on an electronic device, causes the electronic device to execute an emergency call method in any one of the above-mentioned possible designs.
第七方面,本技术方案提供了一种芯片***,该芯片***包括至少一个处理器,当程序指令在该至少一个处理器中执行时,使得上述第一方面任一项可能的方法在电子设备上的功能得以实现。In a seventh aspect, the present technical solution provides a chip system including at least one processor, and when program instructions are executed in the at least one processor, any possible method in the first aspect can be used in an electronic device The above functions are realized.
附图说明Description of the drawings
图1是本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
图2是本申请实施例提供的一种电子设备的软件结构示意图。Fig. 2 is a schematic diagram of the software structure of an electronic device provided by an embodiment of the present application.
图3是本申请实施例提供的一组GUI的示意图。Fig. 3 is a schematic diagram of a set of GUIs provided by an embodiment of the present application.
图4是本申请实施例提供的另一组GUI的示意图。Fig. 4 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
图5是本申请实施例提供的另一组GUI的示意图。Fig. 5 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
图6是本申请实施例提供的另一组GUI的示意图。Fig. 6 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
图7是本申请实施例提供的另一组GUI的示意图。Fig. 7 is a schematic diagram of another set of GUIs provided by an embodiment of the present application.
图8是本申请实施例提供的紧急呼叫过程中掉话重拨的示意图。Fig. 8 is a schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
图9是本申请实施例提供的紧急呼叫过程中掉话重拨的另一示意图。Fig. 9 is another schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
图10是本申请实施例提供的紧急呼叫过程中掉话重拨的另一示意图。FIG. 10 is another schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
图11是本申请实施例提供的紧急呼叫过程中掉话重拨的另一示意图。FIG. 11 is another schematic diagram of redialing during a dropped call during an emergency call provided by an embodiment of the present application.
图12是本申请实施例提供的CS通话场景中掉话重拨的方法的示意性流程图。FIG. 12 is a schematic flowchart of a method for redialing after a dropped call in a CS call scenario provided by an embodiment of the present application.
图13是本申请实施例提供的VoLTE通话场景中掉话重拨的方法的示意性流程图。FIG. 13 is a schematic flowchart of a method for redialing after a dropped call in a VoLTE call scenario provided by an embodiment of the present application.
图14是本申请实施例提供的紧急呼叫的方法的示意性流程图。FIG. 14 is a schematic flowchart of an emergency call method provided by an embodiment of the present application.
具体实施方式Detailed ways
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。还应当理解,在本申请以下各实施例中,“至少一个”、“一个或多个”是指一个、两个或两个以上。术语“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to also This includes expressions such as "one or more" unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one" and "one or more" refer to one, two, or more than two. The term "and/or" is used to describe the association relationship of associated objects, indicating that there can be three types of relationships; for example, A and/or B can mean: A alone exists, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the associated objects are in an "or" relationship.
以下介绍电子设备、用于这样的电子设备的用户界面、和使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能诸如个人数字助理和/或音乐播放器功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2021072436-appb-000001
Figure PCTCN2021072436-appb-000002
或者其它操作***的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。
The following describes an electronic device, a user interface for such an electronic device, and embodiments using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also contains other functions such as a personal digital assistant and/or a music player function, such as a mobile phone, a tablet computer, and a wearable electronic device with wireless communication function (such as a smart watch) Wait. Exemplary embodiments of portable electronic devices include, but are not limited to, carrying
Figure PCTCN2021072436-appb-000001
Figure PCTCN2021072436-appb-000002
Or portable electronic devices with other operating systems. The aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、指南针190、马达191、指示器192、摄像头193、显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。Exemplarily, FIG. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, compass 190, motor 191, indicator 192, camera 193, display screen 194, and user An identification module (subscriber identification module, SIM) card interface 195, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器 (application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的部件,也可以集成在一个或多个处理器中。在一些实施例中,电子设备100也可以包括一个或多个处理器110。其中,控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。在其他一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例性地,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。这样就避免了重复存取,减少了处理器110的等待时间,因而提高了电子设备100处理数据或执行指令的效率。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, different processing units may be independent components, or may be integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. Among them, the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions. In some other embodiments, a memory may be provided in the processor 110 to store instructions and data. Exemplarily, the memory in the processor 110 may be a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. In this way, repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the electronic device 100 in processing data or executing instructions is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路间(inter-integrated circuit,I2C)接口、集成电路间音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、用输入输出(general-purpose input/output,GPIO)接口、SIM卡接口和/或USB接口等。其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与***设备之间传输数据。该USB接口130也可以用于连接耳机,通过耳机播放音频。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous transceiver (universal asynchronous transceiver) interface. asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, SIM card interface and/or USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. The USB interface 130 can also be used to connect earphones and play audio through the earphones.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。充电管理模块140用于从充电器接收充电输入。充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。电源管理模块141用于连接电池142,充电管理模块140与处理器110。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes. The charging management module 140 is used to receive charging input from the charger. The charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
电子设备100的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(bluetooth,BT),全球导航卫星***(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
显示屏194用于显示图像、视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、迷 你发光二极管(mini light-emitting diode,miniled)、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode, or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED), flexible light-emitting diode (FLED), mini light-emitting diode (miniled), MicroLed, Micro-oLed, quantum dot light emitting diode, QLED) and so on. In some embodiments, the electronic device 100 may include one or more display screens 194.
在本申请的一些实施例中,当显示面板采用OLED、AMOLED、FLED等材料时,上述图1中的显示屏194可以被弯折。这里,上述显示屏194可以被弯折是指显示屏可以在至少部分区域部位被弯折到任意角度,并可以在该角度保持,例如,显示屏194可以从中部左右对折。也可以从中部上下对折。In some embodiments of the present application, when the display panel adopts OLED, AMOLED, FLED and other materials, the display screen 194 in FIG. 1 may be bent. Here, the above-mentioned display screen 194 can be bent means that the display screen can be bent to any angle in at least a part of the area, and can be maintained at this angle. For example, the display screen 194 can be folded in half from the middle. You can also fold up and down from the middle.
电子设备100的显示屏194可以是一种柔性屏幕,目前,柔性屏幕以其独特的特性和巨大的潜力而备受关注。柔性屏幕相对于传统屏幕而言,具有柔韧性强和可弯曲的特点,可以给用户提供基于可弯折特性的新交互方式,可以满足用户对于电子设备的更多需求。对于配置有柔性屏幕的电子设备而言,电子设备上的可折叠显示屏可以随时在折叠形态下的小屏和展开形态下大屏之间切换。因此,用户在配置有可折叠显示屏的电子设备上使用分屏功能,也越来越频繁。The display screen 194 of the electronic device 100 may be a flexible screen. At present, the flexible screen has attracted much attention due to its unique characteristics and great potential. Compared with traditional screens, flexible screens have the characteristics of strong flexibility and bendability, and can provide users with new interactive methods based on bendable characteristics, which can meet more users' needs for electronic devices. For an electronic device equipped with a flexible screen, the foldable display screen on the electronic device can be switched between a small screen in a folded configuration and a large screen in an unfolded configuration at any time. Therefore, users use the split screen function on electronic devices equipped with foldable display screens more and more frequently.
电子设备100可以通过ISP、摄像头193、视频编解码器、GPU、显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
摄像头193用于捕获静态图像或视频。外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The camera 193 is used to capture still images or videos. The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备100执行本申请一些实施例中所提供的紧急呼叫的方法,以及各种应用以及数据处理等。The internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions. The processor 110 can run the above-mentioned instructions stored in the internal memory 121 to enable the electronic device 100 to execute the emergency call methods, various applications, and data processing provided in some embodiments of the present application.
电子设备100可以通过音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、以及应用处理器等实现音频功能。例如音乐播放、录音等。The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
传感器模块180可以包括压力传感器180A、陀螺仪传感器180B、气压传感器180C、磁传感器180D、加速度传感器180E、距离传感器180F、接近光传感器180G、指纹传感器180H、温度传感器180J、触摸传感器180K、环境光传感器180L、骨传导传感器180M等。The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即X、Y和Z轴)的角速度。加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, X, Y, and Z axes) can be determined by the gyroscope sensor 180B. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, etc.
本申请实施例中,陀螺仪传感器和加速度传感器可以上传检测到的数据,由状态检测服务根据检测到的数据确定柔性屏幕当前的形态,从而将柔性屏幕当前的形态发送给显示策略服务。In the embodiment of the present application, the gyroscope sensor and the acceleration sensor can upload the detected data, and the state detection service determines the current form of the flexible screen according to the detected data, thereby sending the current form of the flexible screen to the display strategy service.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。Distance sensor 180F, used to measure distance.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode.
环境光传感器180L用于感知环境光亮度。指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The ambient light sensor 180L is used to sense the brightness of the ambient light. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
本申请实施例中,指纹传感器可以包括位于侧边屏幕下的屏下指纹传感器,屏下指纹传感器可以位于侧边屏幕的某个区域,当用户在通过侧边屏幕进行解锁时,可以在这个区域进行按压或者触摸;或者,用户在进行指纹解锁时,也可以在侧边屏幕上的任意一个区域进行按压或者触控,从而可以使得屏下指纹传感器检测到用户的指纹信息并对该指纹信息进行校验。In the embodiment of the present application, the fingerprint sensor may include an under-screen fingerprint sensor located under the side screen. The under-screen fingerprint sensor may be located in a certain area of the side screen. When the user unlocks through the side screen, it can be in this area. Press or touch; or, when the user is unlocking the fingerprint, he can press or touch any area on the side screen, so that the fingerprint sensor under the screen can detect the user's fingerprint information and perform the fingerprint information. check.
温度传感器180J用于检测温度。The temperature sensor 180J is used to detect temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。应用程序层可以包括一系列应用程序包。FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer. The application layer can include a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 2, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
视图***包括可视控件,例如显示文字的控件,显示图片的控件等。视图***可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
***库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
为了便于理解,本申请以下实施例将以具有图1和图2所示结构的手机为例,结合附图对本申请实施例提供的紧急呼叫的方法进行具体阐述。For ease of understanding, the following embodiments of the present application will take a mobile phone with the structure shown in FIG. 1 and FIG. 2 as an example, and describe the emergency call method provided by the embodiments of the present application in detail with reference to the accompanying drawings.
图3是手机的一组图形用户界面(graphical user interface,GUI),从图3中的(a)至图3中的(d)示出了用户拨打紧急呼叫电话的过程。Fig. 3 is a set of graphical user interfaces (GUI) of the mobile phone. From (a) in Fig. 3 to (d) in Fig. 3, the process of a user making an emergency call is shown.
如图3中的(a)所示的GUI,该GUI为手机的熄屏显示界面。图3中的(a)所示的手机可以处于熄屏状态且处于锁屏状态,当手机检测到用户点击电源键的操作后,可以显示如图3中的(b)所示的GUI。As shown in (a) in Figure 3, the GUI is the off-screen display interface of the mobile phone. The mobile phone shown in Fig. 3(a) can be in the off-screen state and in the locked-screen state. When the mobile phone detects the user's operation of clicking the power button, it can display the GUI as shown in Fig. 3(b).
应理解,本申请实施例中锁屏状态可以是对于手机上锁的情况,上锁的情况包括但不限于:用户设置密码、指纹识别或者脸部识别等。示例性的,当该手机处于上锁时,用户在手机的桌面上操作完成后,可以点击电源键,该手机检测到用户点击电源键的操作后,进入锁屏状态;或者,该手机一段时间内没有检测到用户操作,则自动进入锁屏状态。当手机处于锁屏状态时,其屏幕可以是熄灭的,也可以是点亮的。示例性的,用户按下电源键后,该手机可以点亮并提示其输入密码,此时该手机还是处于锁屏状态,但是其触摸显示屏是点亮的;示例性的,另一个用户输入密码错误后,此时该手机还是处于锁屏状态,但是其触摸显示屏还是点亮的。It should be understood that the lock screen state in the embodiment of the present application may be the case where the mobile phone is locked, and the locked case includes but is not limited to: user setting password, fingerprint recognition or face recognition, etc. Exemplarily, when the mobile phone is locked, the user can click the power button after completing the operation on the desktop of the mobile phone, and the mobile phone enters the locked screen state after detecting the user's click on the power button; or, the mobile phone for a period of time If no user operation is detected, it will automatically enter the lock screen state. When the phone is in the lock screen state, its screen can be off or on. Exemplarily, after the user presses the power button, the mobile phone can be lit and prompted to enter a password. At this time, the mobile phone is still locked, but its touch screen is lit; exemplary, another user inputs After the password is wrong, the phone is still locked, but the touch screen is still on.
非锁屏状态是相对于锁屏状态而言的,当电子设备处于锁屏状态时,用户可以通过输入密码、指纹识别或者脸部识别等方式对该电子设备进行解锁。解锁后,手机进入非锁屏状态。The non-lock screen state is relative to the locked screen state. When the electronic device is in the locked screen state, the user can unlock the electronic device by inputting a password, fingerprint recognition, or facial recognition. After unlocking, the phone enters the non-lock screen state.
参见图3中的(b)所示的GUI,该GUI为手机的锁屏界面。此时,手机可以处于亮屏状态且处于锁屏状态。当手机检测到用户在显示屏上比划出“X”的手势后,手机可以显 示如图3中的(c)所示的GUI。Refer to the GUI shown in (b) in Figure 3, which is the lock screen interface of the mobile phone. At this time, the mobile phone can be in the on-screen state and in the locked-screen state. When the mobile phone detects the user's gesture of "X" on the display, the mobile phone can display the GUI as shown in Figure 3(c).
参见图3中的(c)所示的GUI,该GUI为手机的紧急呼叫显示界面。如图3中的(c)所示,紧急呼叫显示界面上可以显示多个紧急呼叫号码。其中从上之下依次显示“报警电话110”、“火警电话119”和“急救120”。同时,该紧急呼叫显示界面上还显示自动倒计时,从进入紧急呼叫显示界面起预设时长(例如,3秒)后手机将自动发起报警。如果用户希望拨打其他紧急呼叫电话,那么可以在预设时长结束之前点击急救电话120。当手机检测到用户点击急救电话120的操作后,可以显示如图3中的(d)所示的GUI。Refer to the GUI shown in (c) in Figure 3, which is the emergency call display interface of the mobile phone. As shown in (c) in Figure 3, multiple emergency call numbers can be displayed on the emergency call display interface. Among them, "alarm telephone 110", "fire alarm telephone 119" and "emergency 120" are displayed in sequence from top to bottom. At the same time, the emergency call display interface also displays an automatic countdown, and the mobile phone will automatically initiate an alarm after a preset period of time (for example, 3 seconds) after entering the emergency call display interface. If the user wants to make another emergency call, he can click on the emergency call 120 before the preset time period ends. When the mobile phone detects that the user clicks on the emergency phone 120, the GUI as shown in (d) in FIG. 3 can be displayed.
参见图3中(d)所示的GUI,该GUI为拨打急救电话120的显示界面。Refer to the GUI shown in (d) in FIG. 3, which is a display interface for dialing the emergency phone 120.
应理解,本申请实施例中电子设备也可以处于未上锁状态。当手机处于熄屏状态且未上锁时,当手机检测到用户单击电源键等操作后可以进入手机的亮屏显示界面。之后如果用户在手机亮屏显示界面下检测到用户滑动预设手势后,可以显示如图3中的(c)所示的紧急呼叫显示界面。It should be understood that the electronic device in the embodiment of the present application may also be in an unlocked state. When the mobile phone is in the off-screen state and not locked, when the mobile phone detects that the user clicks the power button and other operations, it can enter the bright-screen display interface of the mobile phone. Later, if the user detects the user's sliding preset gesture under the bright screen display interface of the mobile phone, the emergency call display interface as shown in (c) in FIG. 3 can be displayed.
一个实施例中,用户也可以直接在图3中的(a)所示的熄屏显示界面上滑动预设手势,从而进入紧急呼叫显示界面。In an embodiment, the user can also directly slide a preset gesture on the off-screen display interface shown in (a) of FIG. 3 to enter the emergency call display interface.
本申请实施例中,用户在紧急情况下,可快速发起紧急呼叫,不需要解锁,也不需要输入紧急号码,可通过选择号码直接发起拨号。本申请实施例整体上减少了紧急呼叫的操作步骤和时间,实现了快速、便捷、安全的发起紧急呼叫的目的。In the embodiment of the present application, in an emergency, the user can quickly initiate an emergency call without unlocking or entering an emergency number, and can directly initiate dialing by selecting a number. The embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
图4示出了本申请实施例提供的另一组GUI。Figure 4 shows another set of GUIs provided by an embodiment of the present application.
参见图4中的(a)所示,该GUI为手机的紧急呼叫显示界面。如图4中的(a)所示,紧急呼叫显示界面上可以显示多个紧急呼叫号码。其中从上之下依次显示“报警电话110”、“火警电话119”和“急救120”。同时,该紧急呼叫显示界面上还显示自动倒计时,从进入紧急呼叫显示界面起预设时长(例如,3秒)后手机将自动发起报警。As shown in (a) in Figure 4, the GUI is the emergency call display interface of the mobile phone. As shown in Figure 4(a), multiple emergency call numbers can be displayed on the emergency call display interface. Among them, "alarm telephone 110", "fire alarm telephone 119" and "emergency 120" are displayed in sequence from top to bottom. At the same time, the emergency call display interface also displays an automatic countdown, and the mobile phone will automatically initiate an alarm after a preset period of time (for example, 3 seconds) after entering the emergency call display interface.
参见图4中的(b)所示,该GUI为手机的紧急呼叫另一显示界面。如图4中的(b)所示,在倒计时3秒结束时,如果手机没有检测到用户点击任意一个紧急呼叫号码的操作,则手机可以自动在倒计时结束后发起报警。As shown in (b) in Figure 4, the GUI is another display interface for emergency calls of the mobile phone. As shown in (b) in Figure 4, at the end of the countdown of 3 seconds, if the mobile phone does not detect the user's click on any emergency call number, the mobile phone can automatically initiate an alarm after the countdown ends.
参见图4中的(c)所示,该GUI为拨打报警电话110的显示界面。当倒计时结束时,手机可以自动拨打报警电话。As shown in (c) in FIG. 4, the GUI is a display interface for dialing the alarm call 110. When the countdown is over, the mobile phone can automatically make an alarm call.
在紧急场景下,用户需要快速进行紧急拨号时,则可以先点亮屏幕后,通过滑动特殊图形进入拨号选项。然后选择想要的号码进行拨号。如果用户无法继续操作,则在预设时长倒计时结束后,默认选择最高优先级的号码自动发起呼叫。In an emergency scenario, when the user needs to quickly make an emergency dialing, he can first turn on the screen and then slide a special graphic to enter the dialing option. Then select the desired number to dial. If the user cannot continue the operation, after the preset time countdown ends, the highest priority number is selected by default to automatically initiate the call.
本申请实施例中,用户可以通过在屏幕上任意位置单手滑动图形,后续无需任何操作,即可实现紧急呼叫。本申请实施例整体上减少了紧急呼叫的操作步骤和时间,实现了快速、便捷、安全的发起紧急呼叫的目的。In the embodiment of the present application, the user can slide the graphic with one hand at any position on the screen without any subsequent operations to implement an emergency call. The embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
以上结合图3和图4中的GUI介绍了用户通过在屏幕上滑动图形,手机可以快速进入紧急呼叫显示界面,并且在进入紧急呼叫显示界面后无需用户任何操作,即可实现紧急呼叫。图4介绍了手机在倒计时3秒结束后自动发起报警的过程,本申请实施例中用户也可以对紧急呼叫号码的优先级进行设置。下面结合图5和图6所示的GUI介绍用户设置紧急呼叫显示界面每个紧急号码显示顺序以及显示优先级的过程。The above combined with the GUI in Figures 3 and 4 introduced that the user can quickly enter the emergency call display interface by sliding the graphics on the screen, and after entering the emergency call display interface, the emergency call can be realized without any operation by the user. Figure 4 illustrates the process of the mobile phone automatically initiating an alarm after the countdown of 3 seconds ends. In the embodiment of the present application, the user can also set the priority of the emergency call number. The following describes the process for the user to set the display order and display priority of each emergency number on the emergency call display interface in conjunction with the GUI shown in FIG. 5 and FIG. 6.
图5示出了本申请实施例提供的另一组GUI。Figure 5 shows another set of GUIs provided by an embodiment of the present application.
参见图5中的(a)所示,该GUI为手机的锁屏界面。锁屏界面上可以包括提示信息“当前界面比划X发起报警”并且可以提示用户进行自定义设置。当手机检测到用户点击定义设置控件501的操作后,可以显示如图5中的(b)所示的GUI。As shown in (a) in Figure 5, the GUI is the lock screen interface of the mobile phone. The lock screen interface can include the prompt message "The current interface signs X to initiate an alarm" and can prompt the user to make custom settings. When the mobile phone detects that the user has clicked the operation of the definition setting control 501, the GUI as shown in (b) of FIG. 5 can be displayed.
参见图5中的(b)所示,该GUI为紧急呼叫自定义设置的显示界面。该显示界面上包括手势设置和优先级设置两个设置选项。当手机检测到用户点击控件502的操作后,可以显示如图5中的(c)所示的GUI。As shown in (b) in Figure 5, the GUI is a display interface for customized emergency call settings. The display interface includes two setting options: gesture setting and priority setting. When the mobile phone detects that the user clicks on the control 502, it can display the GUI as shown in (c) in FIG. 5.
应理解,用户在看到上述提示信息后,点击“自定义”,手机可以要求用户解锁,解锁后可进入相应的设置界面。或者,也可以是手机检测到用户点击“自定义”后,直接进入相应的设置界面。It should be understood that after seeing the above prompt message, the user clicks "Customize", the mobile phone can ask the user to unlock, and then enter the corresponding setting interface after unlocking. Or, after the mobile phone detects that the user clicks "Customize", it directly enters the corresponding setting interface.
参见图5中的(c)所示,该GUI为手势设置界面。其中,手势设置界面包括报警电话手势设置,火警电话手势设置,急救电话手势设置,紧急联系人电话手势设置和自定义设置等等。当手机检测到用户点击控件503的操作后,可以显示如图5中的(d)所示的GUI。As shown in (c) in Figure 5, the GUI is a gesture setting interface. Among them, the gesture setting interface includes alarm call gesture settings, fire alarm call gesture settings, emergency call gesture settings, emergency contact phone gesture settings and custom settings, and so on. When the mobile phone detects that the user clicks on the control 503, it can display the GUI as shown in (d) in FIG. 5.
参见图5中的(d)所示,该GUI为报警电话手势设置显示界面。该显示界面包括多个手势“X”、“9”和“///”。当手机检测到用户点击手势图形504的操作后,可以将报警电话手势设置为“X”。当下一次手机检测到用户在锁屏界面下比划出“X”后,可以进入紧急呼叫显示界面,并且优先显示报警电话,在报警电话之后可以显示其他紧急呼叫号码。如果在倒计时结束后,手机没有检测到用户选择其中一个紧急号码的操作,则手机可以自动选择报警电话发起拨号。As shown in (d) in Figure 5, the GUI is a gesture setting display interface for the alarm call. The display interface includes multiple gestures "X", "9" and "///". After the mobile phone detects the user's operation of clicking the gesture graphic 504, the alarm call gesture can be set to "X". When the next time the mobile phone detects that the user has made an "X" under the lock screen, it can enter the emergency call display interface and display the alarm call first, and other emergency call numbers can be displayed after the alarm call. If after the countdown is over, the mobile phone does not detect the user's operation to select one of the emergency numbers, the mobile phone can automatically select the alarm call to initiate dialing.
同样的,用户也可以设置火警电话手势、急救电话手势等等。例如,用户可以将火警电话手势设置为“9”。当手机检测到用户在锁屏界面下比划出“9”后,可以进入紧急呼叫显示界面,并且优先显示火警电话,在火警电话之后可以显示其他紧急呼叫号码。如果在倒计时结束后,手机没有检测到用户选择其中一个紧急号码的操作,则手机可以自动选择火警电话发起拨号。Similarly, users can also set fire alarm call gestures, emergency call gestures, and so on. For example, the user can set the fire alarm call gesture to "9". When the mobile phone detects that the user makes a "9" under the lock screen interface, it can enter the emergency call display interface and display the fire alarm number first, and other emergency call numbers can be displayed after the fire alarm call. If after the countdown is over, the mobile phone does not detect the user's operation to select one of the emergency numbers, the mobile phone can automatically select the fire alarm phone to initiate dialing.
一个实施例中,用户可以只设置每个紧急呼叫号码的类型(如,报警电话、火警电话或者急救电话)和预设手势的对应关系,而不用设置具体号码和预设手势的对应关系。手机可以根据当前驻网的公共陆地移动网(public land mobile network,PLMN),查询手机内置的全球化参数列表,匹配对应的报警号码作为最高优先级紧急号码,如中国为110,德国为112,美国为911。In one embodiment, the user may only set the corresponding relationship between the type of each emergency call number (for example, an alarm call, a fire call, or an emergency call) and a preset gesture, instead of setting the corresponding relationship between a specific number and the preset gesture. The mobile phone can query the globalized parameter list built in the mobile phone according to the public land mobile network (PLMN) currently on the network, and match the corresponding alarm number as the highest priority emergency number, such as 110 in China and 112 in Germany. The United States is 911.
图6示出了本申请实施例提供的另一组GUI。Figure 6 shows another set of GUIs provided by an embodiment of the present application.
参见图6中的(a)所示,该GUI为紧急呼叫自定义设置的显示界面。该显示界面上包括手势设置和优先级设置两个设置选项。当手机检测到用户点击控件601的操作后,可以显示如图6中的(b)所示的GUI。As shown in (a) in Figure 6, the GUI is a display interface for customized emergency call settings. The display interface includes two setting options: gesture setting and priority setting. When the mobile phone detects that the user clicks on the control 601, it can display the GUI as shown in (b) in FIG. 6.
参见图6中的(b)所示,该GUI为紧急呼叫号码优先级设置的显示界面。该显示界面上包括提示信息“当在锁屏界面滑动预设手势X后,显示紧急呼叫电话的先后顺序”。用户可以在该显示界面上选择紧急呼叫号码1、紧急呼叫号码2、紧急呼叫号码3以及紧急呼叫号码4对应的号码。当手机检测到用户点击紧急呼叫号码1的操作后,可以显示如图6中的(c)所示的GUI。As shown in (b) in Figure 6, this GUI is a display interface for priority setting of emergency call numbers. The display interface includes a prompt message "When the preset gesture X is swiped on the lock screen interface, the sequence of emergency calls is displayed." The user can select emergency call number 1, emergency call number 2, emergency call number 3, and emergency call number 4 on the display interface. When the mobile phone detects the user's operation of clicking the emergency call number 1, it can display the GUI as shown in (c) in FIG. 6.
参见图6中的(c)所示,该GUI为紧急呼叫号码1设置的显示界面。用户可以选择 报警电话、火警电话、急救中心电话、自定义电话或者手机通讯录中的某一个电话号码作为紧急呼叫号码1。参见图6中的(c),当手机检测到用户点击报警电话对应的控件602的操作后,可以将报警电话设置为紧急呼叫号码1。当下一次手机检测到用户在锁屏界面下比划出“X”后,可以进入紧急呼叫显示界面,在紧急呼叫号码1的位置显示报警电话。As shown in (c) in Figure 6, this GUI is a display interface for emergency call number 1. The user can select a phone number from the alarm phone, fire alarm phone, emergency center phone, custom phone, or mobile phone address book as the emergency call number 1. Referring to (c) in FIG. 6, when the mobile phone detects that the user has clicked the control 602 corresponding to the alarm call, the alarm call can be set as the emergency call number 1. When the next time the mobile phone detects that the user makes an "X" under the lock screen, it can enter the emergency call display interface and display the alarm call at the emergency call number 1.
本申请实施例中,用户可以自己设置预设手势和紧急呼叫号码的对应关系,或者设置紧急号码显示的优先级顺序,这样在紧急情况下用户可以快速拨打对应的紧急号码,减少了紧急呼叫的操作步骤和时间,实现了快速、便捷、安全的发起紧急呼叫的目的。In the embodiment of this application, the user can set the correspondence between the preset gesture and the emergency call number, or set the priority order of the emergency number display, so that the user can quickly dial the corresponding emergency number in an emergency, reducing the emergency call The operation steps and time realize the purpose of initiating emergency calls quickly, conveniently and safely.
应理解,以上通过图5和图6介绍了用户可以自定义设置紧急呼叫号码对应的手势或者优先级顺序的过程;也可以是紧急呼叫号码的优先级顺序就是出厂时设置好的,可以不需要用户进行设置。It should be understood that the above through Figure 5 and Figure 6 introduced the user can customize the emergency call number corresponding to the gesture or priority order of the process; it can also be that the priority order of the emergency call number is set at the factory, it is not necessary The user makes settings.
在某些情况下,用户紧急求助时需要保持静默(例如,犯罪分子就在眼前,危险动物在附近等),避免自己和手机发出声音带来危险,此时需要无声的发出求救信息并且能让用户感知到求救过程的成功与否,并同时能让环境危险源声音传出去到报警台,获得求助。In some cases, users need to keep silent when calling for help urgently (for example, criminals are in front of them, dangerous animals are nearby, etc.) to avoid danger caused by sounds from themselves and their mobile phones. At this time, they need to send out the help message silently and allow The user perceives the success of the help-seeking process, and at the same time allows the sound of environmental hazards to be transmitted to the alarm station for help.
本申请实施例中增加了静默求救方案,默认在拨打紧急号码后接收紧急号码的回拨时为静默(mute)。在盲操作场景下发起紧急呼叫后,默认关闭下行音频数据,即在呼叫过程中的回铃音和通话建立后对方的声音用户端都听不到,用户可以再按一次音量上键,就能正常通话。A silent call for help solution is added to the embodiments of the present application, and the default is mute when receiving a callback of the emergency number after dialing the emergency number. After an emergency call is initiated in a blind operation scenario, the downlink audio data is turned off by default, that is, the ringback tone during the call and the voice of the other party cannot be heard after the call is established. The user can press the volume up button again to Normal call.
为了充分保证用户在隐秘紧急呼叫的安全,在静默紧急呼叫通话结束后,会将原来的情景模式调整为震动模式(或者,静音模式),并可以在界面提示。同时如果用户打开了呼叫隐藏开关,在拨号后,主动隐藏(删除拨号记录)并将通话置于后台不可见,不可用常规GUI操作调回前台,但支持特殊操作调回前台,避免紧急求助通话记录和通话情况给用户带来危险。In order to fully ensure the safety of the user in the secret emergency call, after the silent emergency call ends, the original scene mode will be adjusted to the vibration mode (or silent mode), and prompts can be displayed on the interface. At the same time, if the user turns on the call hide switch, after dialing, he actively hides (deletes the dial record) and places the call in the background invisible, and cannot be transferred back to the front desk with normal GUI operations, but supports special operations to call back to the front desk to avoid emergency calls for help Recording and call situations are dangerous to users.
图7示出了本申请实施例提供的另一GUI。Fig. 7 shows another GUI provided by an embodiment of the present application.
参见图7中的(a)所示的GUI,该GUI为拨打报警电话110的显示界面。该显示界面上包括提示信息“静默模式下,请按音量上键听到对方声音”。在用户拨打紧急号码的过程中,手机可以自动关闭下行音频数据。如果对方接通了电话,用户不会通过听筒和扬声器听到对方的声音。而当手机检测到用户按音量上键后,手机可以打开下行音频数据,用户可以听到对方的声音。Referring to the GUI shown in (a) in FIG. 7, the GUI is a display interface for dialing the alarm call 110. The display interface includes the prompt message "In silent mode, press the volume up button to hear the other party's voice". When the user dials the emergency number, the mobile phone can automatically turn off the downlink audio data. If the other party is connected to the phone, the user will not hear the other party's voice through the handset and speaker. When the mobile phone detects that the user presses the volume up button, the mobile phone can open the downstream audio data, and the user can hear the other party's voice.
参见图7中的(b)所示的GUI,该GUI为用户拨打紧急号码结束后的显示界面。该显示界面上包括提示信息“已调整为振动模式,解锁后恢复原来的模式”。Refer to the GUI shown in (b) in Figure 7, which is the display interface after the user dials the emergency number. The display interface includes the prompt message "It has been adjusted to the vibration mode, and the original mode will be restored after unlocking."
当手机发起静默紧急呼叫后,进入紧急拨号界面,此时手机默认接收对方语音信息的方式为静默,手机会关闭本端的听筒和扬声器的声音,即在呼叫成功进行振铃时,不会听到回铃音。在对方接听建立通话后,也不能听到对方的声音,并在呼叫和通话界面提示“静默模式下,请按音量上键听到对方声音”。在手机检测到用户按音量上键后,通话恢复正常。After the mobile phone initiates a silent emergency call, it enters the emergency dialing interface. At this time, the mobile phone defaults to receiving voice messages from the other party in silent mode. The mobile phone will turn off the sound of the receiver and speaker at the local end, that is, when the call is successfully ringing, it will not be heard Ring back tone. After the other party answers and establishes the call, the voice of the other party cannot be heard, and the call and call interface prompts "In silent mode, please press the volume up button to hear the other party's voice". After the phone detects that the user presses the volume up button, the call returns to normal.
如果用户发起了紧急呼叫,那么后续所有来电都可以被强制调整为震动模式(例如,可能有朋友或警方回呼)。并在界面提示,直到有一次解锁后,此时认为环境已安全且用户可操作电子设备,才恢复原来的情景模式(例如,普通模式)。If the user initiates an emergency call, all subsequent incoming calls can be forced to be adjusted to the vibration mode (for example, there may be a friend or the police calling back). It is also prompted on the interface that the original scene mode (for example, the normal mode) is not restored until the environment is considered safe and the user can operate the electronic device after unlocking once.
一个实施例中,为了防止因为用户拨通后失去意识,紧急求助台发现通话无声,造成 误挂断风险,通过开关设置允许手机发送双音多频(dual tone multi frequency,DTMF)信息提示告警台。In one embodiment, in order to prevent the user from losing consciousness after dialing, the emergency help desk finds that the call is silent, causing the risk of false hang-up. The switch is set to allow the mobile phone to send dual tone multifrequency (DTMF) information to alert the alarm station .
DTMF技术是把手机键盘上每个数字用高低2种不同的SINE音频编码表示。示例性的,表1示出了DTMF技术中手机键盘上数字和音频编码的映射关系表。DTMF technology uses 2 different SINE audio codes to express each number on the mobile phone keyboard. Exemplarily, Table 1 shows the mapping relationship between numbers and audio codes on the mobile phone keyboard in the DTMF technology.
表1Table 1
11 22 33 AA 697Hz 697Hz
44 55 66 BB 770Hz770Hz
77 88 99 CC 852Hz852Hz
** 00 ## DD 941Hz941Hz
1209Hz1209Hz 1336Hz1336Hz 1477Hz1477Hz 1633Hz1633Hz  To
在此基础上,可以将26个英文字母与9宫格按键对应,比如数字按键6对应MNO 3个字母,数字按键7对应PQRS 4个字母。SOS的编码给出字母对应数字钮,SOS编码为767,只要发送767对应的双频SINE波即可在在链路中嵌入SOS信息,通知报警中心。On this basis, 26 English letters can be corresponded to 9-square buttons. For example, the number button 6 corresponds to 3 letters of MNO, and the number button 7 corresponds to 4 letters of PQRS. The SOS code gives the letter corresponding to the number button, and the SOS code is 767. As long as the dual-frequency SINE wave corresponding to 767 is sent, SOS information can be embedded in the link to notify the alarm center.
一个实施例中,为了防止紧急呼叫无声被误挂断,手机可以在通话链路接通后,自动发送SOS的DTMF信息至告警台。In one embodiment, in order to prevent the emergency call from being hung up silently, the mobile phone can automatically send the DTMF information of the SOS to the alarm station after the call link is connected.
一个实施例中,用户不方便发出声音时或无法发出声音时,可以用对应的DTMF编码静默的发出求助详细信息,通过单个数字或多个数字组合,实现无声模式下发送随路紧急求助信息,同时***可以自动重发数次这个信息,确保被告警中心接收成功。In one embodiment, when the user is inconvenient to make a sound or cannot make a sound, the corresponding DTMF code can be used to silently send out detailed information for help, and a single number or a combination of multiple numbers can be used to send emergency help messages along the road in silent mode. At the same time, the system can automatically retransmit this information several times to ensure that it is successfully received by the alarm center.
示例性的,表2示出了采用单个数字键对应紧急求助事件。Exemplarily, Table 2 shows that a single number key is used to correspond to an emergency help event.
表2Table 2
事件event 数字编码Digital code 发送频率Sending frequency 自动重发次数Automatic retransmission times
暴恐Violent 11 1分钟12次12 times a minute 3636
危险动物Dangerous animals 22 1分钟12次12 times a minute 3636
例如,用户在野外遇到危险动物时,用户不方便发出声音。此时用户可以在拨打紧急呼叫号码并且通话链路接通后,通过按下数据按键1,手机可以发送对应的DTMF编码信息至告警台,从而使得告警台在听不到用户声音的情况下也可以明确当前用户所处的场景。For example, when a user encounters a dangerous animal in the wild, it is inconvenient for the user to make a sound. At this time, the user can dial the emergency call number and the call link is connected, by pressing the data button 1, the mobile phone can send the corresponding DTMF code information to the alarm station, so that the alarm station can not hear the user's voice. Can clarify the scene where the current user is.
一个实施例中,手机还可以增加和语音紧急呼呼叫同步发起的信息告警。In one embodiment, the mobile phone can also add information alarms that are initiated synchronously with the voice emergency call.
手机发起的信息告警方式包括但不限于以下几种:Information alerting methods initiated by mobile phones include but are not limited to the following:
(1)扩充紧急呼叫数据库,为各个地区对应的紧急呼叫增加短信/即时通讯(instant messaging,IM)工具报警号码。(1) Expand the emergency call database, and add SMS/instant messaging (IM) tool alarm numbers for emergency calls in various regions.
(2)当用户发起静默紧急呼时,同步将报警信息发到对应的短信/IM报警号码。(2) When the user initiates a silent emergency call, the alarm information will be sent to the corresponding SMS/IM alarm number simultaneously.
(3)提供GUI界面供用户设置是否允许紧急呼叫时同步发送紧急求助信息,采集位置信息,姓名等敏感信息(紧急呼叫结束则关闭权限,清除数据)。(3) Provide a GUI interface for the user to set whether to allow the simultaneous sending of emergency help information during an emergency call, and collect sensitive information such as location information and name (when the emergency call ends, the authority will be closed and the data will be cleared).
(4)紧急求助信息内容可以包含用户可预先自定义内容,比如为医疗紧急求助,则包含姓名、已知疾病、住址或者位置信息等。(4) The content of emergency help information can include user-definable content in advance. For example, if seeking medical emergency help, it includes name, known disease, address or location information, etc.
一个实施例中,为了能长时间的保持紧急通话连续,在紧急通话接通后,手机可以自动进入省电模式。直到紧急通话结束,会恢复到原来的模式。In one embodiment, in order to keep the emergency call continuous for a long time, after the emergency call is connected, the mobile phone can automatically enter the power saving mode. Until the emergency call ends, it will return to the original mode.
本申请实施例中,用户可以在完全隐蔽的情况下发起紧急呼叫,不会被发现。如果用户还有能力操作电子设备,在紧急通话中只要增加一步按音量上键即可恢复正常通话模式,通话结束后只要一次解锁即可恢复原来的情景模式,对用户体验无影响。而且在发起静默紧急呼叫时,会同步发送短信到告警台或紧急联系人,实现多方同时报警,增加报警的成功率和时效性。In the embodiment of the present application, the user can initiate an emergency call in complete concealment without being discovered. If the user still has the ability to operate the electronic device, the normal call mode can be restored by pressing the volume up key by adding one step during an emergency call, and the original scene mode can be restored by unlocking it once after the call, without affecting the user experience. Moreover, when a silent emergency call is initiated, a short message will be sent to the alarm station or emergency contact simultaneously to achieve simultaneous alarm from multiple parties and increase the success rate and timeliness of the alarm.
针对紧急通话中通话异常挂断的情况,本申请实施例还提出了紧急呼叫自愈方案,即从信令上不是对端或本端挂断的电话,电子设备认为是非用户自愿的掉话场景,此时电子设备会倒计时N秒后自动重拨上次的紧急号码,重新发起紧急呼叫。In view of the abnormal call hanging up during an emergency call, the embodiment of the present application also proposes an emergency call self-healing scheme, that is, the call is not hung up by the opposite end or the local end from the signaling point of view, and the electronic device considers it to be an involuntary call drop scenario by the user. , At this time, the electronic device will automatically redial the last emergency number after a countdown of N seconds, and initiate an emergency call again.
某些发起紧急呼叫的场景,如在高山救援、交通事故、在快速行驶的交通工具上等,可能当前网络环境或用户对终端的可控制性都不好,在紧急通话中一旦出现异常掉话的情况,则难以重新发起紧急呼叫,导致紧急求助失败。因此,本申请实施例中,在电子设备端判断是紧急通话掉话时进行自愈,自动发起紧急重拨。对此,本申请实施例将紧急呼叫场景分为以下4种:In some scenarios where emergency calls are initiated, such as mountain rescue, traffic accidents, fast-moving vehicles, etc., the current network environment or the user's controllability of the terminal may not be good. Once an emergency call occurs, abnormal calls are dropped. Under the circumstances, it is difficult to re-initiate the emergency call, resulting in the failure of emergency help. Therefore, in the embodiment of the present application, the electronic device performs self-healing when it determines that the emergency call is dropped, and automatically initiates an emergency redial. In this regard, the embodiment of the present application divides emergency call scenarios into the following four types:
(1)界面显示的是紧急呼叫,信令走的是CS的普通呼叫流程;(1) The interface displays an emergency call, and the signaling takes the normal call flow of CS;
(2)信令走的是CS紧急呼叫流程;(2) The signaling goes through the CS emergency call process;
(3)界面显示的是紧急呼叫,信令走的是VoLTE的普通呼叫流程;(3) The interface displays an emergency call, and the signaling uses the VoLTE normal call process;
(4)信令走的是VoLTE紧急呼叫流程。(4) The signaling takes the VoLTE emergency call process.
其中,CS呼叫的信令流程中,CC_CONNECT表示通话建立,CC_DISCONNECT表示通话挂断,包括本端发起挂断或对端发起挂断。VoLTE呼叫的信令流程中,INVITE对应的200OK表示对方接听并建立通话,BYE表示本端或对端发起的挂断。Among them, in the signaling process of the CS call, CC_CONNECT indicates that the call is established, and CC_DISCONNECT indicates that the call is disconnected, including the local end initiates a hangup or the opposite end initiates a hangup. In the VoLTE call signaling process, the 200 OK corresponding to INVITE indicates that the other party answers and establishes the call, and BYE indicates the hang-up initiated by the local end or the opposite end.
应理解,本申请实施例中,CS呼叫是指针对网络制式为2G或者3G的电子设备发起的呼叫;VoLTE呼叫是指针对网络制式为4G或者5G的电子设备发起的呼叫。It should be understood that in the embodiments of the present application, a CS call refers to a call initiated to an electronic device with a network format of 2G or 3G; a VoLTE call refers to a call initiated to an electronic device with a network format of 4G or 5G.
图8至图11示出了本申请实施例提供的紧急呼叫过程中掉话重拨的四种示意图。图8和图9示出了电子设备在和告警台建立连接后,如果不是电子设备或者不是告警台挂断的通话连接。那么电子设备不会发送也不会收到CC_DISCONNECT,那么从通话挂断起的N秒(例如,5秒)后,电子设备可以自动发起对告警台的重拨。Figures 8 to 11 show four schematic diagrams of redialing during a dropped call during an emergency call provided in an embodiment of the present application. Figures 8 and 9 show that after the electronic device establishes a connection with the alarm station, if it is not the electronic device or the call connection that the alarm station hangs up. Then the electronic device will neither send nor receive the CC_DISCONNECT, so after N seconds (for example, 5 seconds) after the call is hung up, the electronic device can automatically initiate a redial to the alarm station.
图10和图11示出了电子设备在和告警台建立连接后,电子设备接收或者发送了挂断原因为RTP超时的挂断信息。那么从通话挂断起的N秒后,电子设备可以自动发起对告警台的重拨。Figures 10 and 11 show that after the electronic device establishes a connection with the alarm station, the electronic device receives or sends a hang-up message whose hang-up reason is RTP timeout. Then, after N seconds from the end of the call, the electronic device can automatically initiate a redial to the alarm station.
图12示出了本申请实施例提供的本申请实施例提供的CS通话场景中掉话重拨的方法1200的示意性流程图。如图12所示,该方法1200包括:FIG. 12 shows a schematic flowchart of a method 1200 for redialing a call in a CS call scenario provided in an embodiment of the present application according to an embodiment of the present application. As shown in FIG. 12, the method 1200 includes:
S1201,电子设备发起CS呼叫。S1201: The electronic device initiates a CS call.
示例性的,如图3中的(d)所示,当手机检测到用户点击急救电话120后,手机可以发起CS呼叫。Exemplarily, as shown in (d) of FIG. 3, when the mobile phone detects that the user clicks on the emergency phone 120, the mobile phone can initiate a CS call.
示例性的,如图4中的(c)所示,当手机检测到倒计时结束后,手机可以向报警电话110发起CS呼叫。Exemplarily, as shown in (c) of FIG. 4, when the mobile phone detects that the countdown is over, the mobile phone can initiate a CS call to the alarm phone 110.
S1202,电子设备判断界面显示的是否为紧急呼叫。S1202: The electronic device determines whether the interface displayed is an emergency call.
本申请实施例中,电子设备在判断界面显示的是否为紧急呼叫时,如果用户当前呼叫的是“120”这一国际通用的紧急呼叫号码,则可以认为当前界面显示的是紧急呼叫;如果 用户当前呼叫的是“110”或者“120”等地区紧急呼叫号码,则可以认为当前界面显示的不是紧急呼叫。In the embodiment of this application, when the electronic device judges whether the interface displayed is an emergency call, if the user is currently calling the international emergency call number "120", it can be considered that the current interface is displaying an emergency call; if the user is currently calling the international emergency call number If the current call is an emergency call number in areas such as "110" or "120", it can be considered that the current interface displayed is not an emergency call.
S1203,若电子设备判断界面显示的不是紧急呼叫,则电子设备确定是否接收到CC_EMERGENCY_SETUP。S1203: If the electronic device determines that the interface displayed is not an emergency call, the electronic device determines whether CC_EMERGENCY_SETUP is received.
本申请实施例中,电子设备如果接收到了CC_EMERGENCY_SETUP,则可以确定当前呼叫的号码为地区的紧急呼叫号码(例如,“110”或者“119”);如果没有接收到CC_EMERGENCY_SETUP,则可以确定当前呼叫的号码不是地区的紧急呼叫号码。In the embodiment of this application, if the electronic device receives CC_EMERGENCY_SETUP, it can determine that the number currently called is the emergency call number of the area (for example, "110" or "119"); if it does not receive CC_EMERGENCY_SETUP, it can determine the current calling number. The number is not an emergency call number for the area.
S1204,若电子设备确定没有接收到CC_EMERGENCY_SETUP,则停止检测。S1204: If the electronic device determines that the CC_EMERGENCY_SETUP is not received, it stops the detection.
S1205,若电子设备接收到了CC_EMERGENCY_SETUP,或者,电子设备判断界面显示的是紧急呼叫,则继续确定CS通话已经挂断。S1205: If the electronic device receives CC_EMERGENCY_SETUP, or the electronic device determines that the interface displays an emergency call, it continues to determine that the CS call has been hung up.
本申请实施例中,电子设备在确定CS通话已经挂断后,可以继续确定挂断的原因,从而可以判断是否需要自动向告警台发起重拨。In the embodiment of the present application, after determining that the CS call has been hung up, the electronic device can continue to determine the reason for the hung up, so as to determine whether it is necessary to automatically initiate a redial to the alarm station.
S1206,电子设备判断是否接收或者发送了CC_DISCONNECT。S1206: The electronic device judges whether CC_DISCONNECT is received or sent.
示例性的,如果用户自己挂断了通话,则电子设备可以向对端发送CC_DISCONNECT。Exemplarily, if the user hangs up the call by himself, the electronic device may send CC_DISCONNECT to the opposite end.
示例性的,如果对端挂断了通话,则对端可以向电子设备发送CC_DISCONNECT。Exemplarily, if the opposite end hangs up the call, the opposite end may send CC_DISCONNECT to the electronic device.
S1207,如果电子设备没有接收并且也没有发送CC_DISCONNECT,则电子设备可以自动重拨上次的紧急号码,重新发起紧急呼叫。S1207: If the electronic device does not receive and does not send CC_DISCONNECT, the electronic device can automatically redial the last emergency number and initiate an emergency call again.
本申请实施例中,如果电子设备没有接收并且也没有发送CC_DISCONNECT,则电子设备可以认为通话挂断的原因是由于其他原因(如信号质量差)造成的并非用户自愿挂断的,那么电子设备可以自动发起重拨。这样有助于减少用户紧急呼叫的操作步骤和时间,实现了快速、便捷的发起紧急呼叫的目的。In the embodiment of this application, if the electronic device does not receive and does not send CC_DISCONNECT, the electronic device can consider that the call hang-up is due to other reasons (such as poor signal quality) and is not caused by the user voluntarily. Then the electronic device can Redial is initiated automatically. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
如果电子设备接收或者发送了CC_DISCONNECT,则电子设备停止检测。If the electronic device receives or sends CC_DISCONNECT, the electronic device stops detecting.
图13示出了本申请实施例提供的本申请实施例提供的VoLTE通话场景中掉话重拨的方法1300的示意性流程图。如图13所示,该方法1300包括:FIG. 13 shows a schematic flowchart of a method 1300 for redialing after a dropped call in a VoLTE call scenario provided by an embodiment of the present application. As shown in FIG. 13, the method 1300 includes:
S1301,电子设备发起VoLTE呼叫。S1301: The electronic device initiates a VoLTE call.
S1302,电子设备判断界面显示的是否为紧急呼叫。S1302: The electronic device determines whether the interface displayed is an emergency call.
S1303,若电子设备判断界面显示的不是紧急呼叫,则电子设备确定是否接收到INVITE的contact中携带的sos。S1303: If the electronic device determines that the interface displayed is not an emergency call, the electronic device determines whether it has received the sos carried in the contact of the INVITE.
S1304,若电子设备确定没有接收到INVITE的contact中携带的sos,则停止检测。S1304: If the electronic device determines that it has not received the sos carried in the contact of the INVITE, it stops the detection.
S1305,若电子设备接收到了INVITE的contact中携带的sos,或者,电子设备判断界面显示的是紧急呼叫,则继续确定VoLTE通话已经挂断。S1305: If the electronic device receives the sos carried in the contact of the INVITE, or the electronic device determines that the interface displays an emergency call, it continues to determine that the VoLTE call has been hung up.
应理解,S1301-S1305的过程可以参考上述方法1200中S1201-S1205的过程,为了简洁,在此不再赘述。It should be understood that the process of S1301-S1305 may refer to the process of S1201-S1205 in the above method 1200, and for the sake of brevity, details are not described herein again.
S1306,电子设备判断是否接收或者发送了挂断原因为实时传输协议(real-time transport protocol,RTP)超时的挂断信息。S1306: The electronic device judges whether to receive or send a hang-up message whose hang-up cause is a real-time transport protocol (RTP) timeout.
S1307,若电子设备接收或者发送了挂断原因为RTP超时的挂断信息,则电子设备可以自动重拨上次的紧急号码,重新发起紧急呼叫。S1307: If the electronic device receives or sends a hang-up message whose hang-up reason is RTP timeout, the electronic device can automatically redial the last emergency number and initiate an emergency call again.
在VoLTE通话中,在该电子设备与该告警台的通话连接断开后,电子设备接收到了该通话连接断开是由于实时传输协议RTP超时造成的信息,那么电子设备可以自动向告警台 发起重拨;或者,电子设备向告警台发送了该通话连接断开是由于实时传输协议RTP超时造成的信息,电子设备也可以自动向告警台发起重拨。这样有助于减少用户紧急呼叫的操作步骤和时间,实现了快速、便捷的发起紧急呼叫的目的。In a VoLTE call, after the electronic device is disconnected from the alarm station, the electronic device receives the information that the disconnection of the call is due to the timeout of the real-time transmission protocol RTP, then the electronic device can automatically initiate a reset to the alarm station. Or, the electronic device sends information to the alarm station that the disconnection of the call is due to the timeout of the real-time transmission protocol RTP, and the electronic device can also automatically initiate a redial to the alarm station. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
若电子设备没有接收或者发送挂断原因为RTP超时的挂断信息,或者若电子设备接收或者发送了其他挂断信息,则电子设备停止检测。If the electronic device does not receive or send the hang-up message whose hang-up reason is RTP timeout, or if the electronic device receives or sends other hang-up information, the electronic device stops the detection.
本申请实施例的技术方案适用的场景包括但不限于以下几种:The applicable scenarios of the technical solutions of the embodiments of this application include but are not limited to the following:
(1)交通事故后,发起一次紧急呼叫,通话中异常掉话,但是用户已无法操作终端,此时自动发起重拨有利于用户的及时营救;(1) After a traffic accident, an emergency call is initiated, and the call is abnormally dropped during the call, but the user is no longer able to operate the terminal. At this time, automatic redialing is beneficial to the user's timely rescue;
(2)行驶的客车上发生劫持事件,用户只有一次报警机会且呼叫成功后,因移动中网络信号不好导致掉话,则可自动发起重拨。(2) When a hijacking event occurs on a traveling bus, the user has only one chance to alarm and the call is successful, and the call is dropped due to poor network signals while on the move, the redial can be initiated automatically.
本申请实施例中,通过紧急呼叫自愈方案,在所有紧急通话中由于非正常原因导致掉话,电子设备会自动发起紧急重拨,从而有助于保证呼叫成功率。In the embodiment of the present application, through the emergency call self-healing solution, the electronic device will automatically initiate an emergency redial if the call is dropped due to abnormal reasons in all emergency calls, thereby helping to ensure the call success rate.
图14示出了本申请实施例提供的紧急呼叫的方法1400的示意性流程图。如图14所示,方法1400可以由电子设备(例如,手机)执行,该方法1400包括:FIG. 14 shows a schematic flowchart of an emergency call method 1400 according to an embodiment of the present application. As shown in FIG. 14, the method 1400 may be executed by an electronic device (for example, a mobile phone), and the method 1400 includes:
S1401,该电子设备处于锁屏状态时,在该显示屏上检测到用户的第一操作。S1401: When the electronic device is in the lock screen state, the first operation of the user is detected on the display screen.
示例性的,如图3中的(b)所示,该第一操作可以为用户在显示屏上比划“X”的操作。Exemplarily, as shown in (b) of FIG. 3, the first operation may be an operation of the user making an "X" on the display screen.
本申请实施例中,对第一操作的类型并不作限定。第一操作可以为预设手势(例如,“X”、“9”、“///”);或者,第一操作也可以为隔空手势。In the embodiment of the present application, the type of the first operation is not limited. The first operation may be a preset gesture (for example, "X", "9", "///"); or, the first operation may also be an air gesture.
S1402,响应于该第一操作,该电子设备通过该显示屏显示紧急呼叫界面,该紧急呼叫界面包括一个或者多个紧急呼叫号码和提示信息,该提示信息用于提示在第一预设时长结束后,自动向第一紧急呼叫号码发出呼叫,该一个或者多个紧急号码包括该第一紧急呼叫号码。S1402. In response to the first operation, the electronic device displays an emergency call interface through the display screen. The emergency call interface includes one or more emergency call numbers and prompt information, and the prompt information is used to prompt the end of the first preset time period. After that, a call is automatically sent to the first emergency call number, and the one or more emergency numbers include the first emergency call number.
示例性的,如图3中的(c)所示的紧急呼叫界面,该紧急呼叫界面上包括3个紧急号码“110”、“119”和“120”和提示信息,该提示信息为“3秒后自动发起报警”。Exemplarily, as shown in Figure 3(c), the emergency call interface includes three emergency numbers "110", "119" and "120" and prompt information, and the prompt information is "3 An alarm will be initiated automatically in seconds."
S1403,在该第一预设时长结束后,若该电子设备没有在该显示屏上检测到用户点击该一个或者多个紧急呼叫号码中任意一个紧急呼叫号码的操作,自动向告警台发出呼叫,该告警台为该第一紧急呼叫号码对应的告警台。S1403: After the first preset time period expires, if the electronic device does not detect on the display screen that the user clicks on any one of the one or more emergency call numbers, it automatically sends a call to the alarm station, The alarm station is the alarm station corresponding to the first emergency call number.
示例性的,如图4中的(a)和(b)所示,当在3秒后手机没有检测到用户点击3个紧急号码中的任意一个紧急号码的操作,那么手机可以在3秒后自动向优先级最高紧急呼叫号码“110”发起呼叫。Exemplarily, as shown in Figure 4 (a) and (b), when the mobile phone does not detect that the user clicks on any of the 3 emergency numbers after 3 seconds, the mobile phone can Automatically initiate a call to the emergency number "110" with the highest priority.
S1404,在该电子设备与该告警台的通话连接断开后,该电子设备通过该显示屏显示锁屏界面。S1404: After the call connection between the electronic device and the alarm station is disconnected, the electronic device displays a lock screen interface through the display screen.
本申请实施例中,用户在进行紧急呼叫时可以是在锁屏界面下完成,也就是说并不需要电子设备进入非锁屏状态完成紧急呼叫。所以在电子设备与告警台的通话连接断开后,电子设备可以继续通过显示屏显示锁屏界面。In the embodiment of the present application, the user may complete the emergency call under the lock screen interface when making the emergency call, that is, it is not necessary for the electronic device to enter the non-lock screen state to complete the emergency call. Therefore, after the call connection between the electronic device and the alarm station is disconnected, the electronic device can continue to display the lock screen interface through the display screen.
在紧急场景下,用户需要快速进行紧急拨号时,通过滑动特殊图形进入拨号选项,然后选择想要的号码进行拨号,如果用户无法继续操作,则在预设时长倒计时结束后,电子设备可以自动选择最高优先级的号码自动发起呼叫。In an emergency scenario, when the user needs to quickly make an emergency dial, enter the dialing option by sliding the special graphic, and then select the desired number to dial. If the user cannot continue to operate, the electronic device can automatically select after the preset time countdown ends. The highest priority number automatically initiates the call.
本申请实施例中,用户可以通过在屏幕上任意位置单手滑动图形,后续无需任何操作, 即可实现紧急呼叫。本申请实施例整体上减少了紧急呼叫的操作步骤和时间,实现了快速、便捷、安全的发起紧急呼叫的目的。In the embodiment of the present application, the user can slide the graphic with one hand at any position on the screen without any subsequent operations to implement an emergency call. The embodiments of the present application reduce the operation steps and time of emergency calls as a whole, and realize the purpose of initiating emergency calls quickly, conveniently and safely.
可选地,该电子设备自动向告警台发出呼叫之后,该方法1400还包括:Optionally, after the electronic device automatically sends a call to the alarm station, the method 1400 further includes:
在该电子设备与该告警台通话连接建立时,该电子设备自动关闭该电子设备的听筒和麦克风的声音;When the communication connection between the electronic device and the alarm station is established, the electronic device automatically turns off the sound of the earpiece and microphone of the electronic device;
该电子设备检测到用户按压音量上键的第二操作;响应于该第二操作,该电子设备打开该电子设备的听筒和麦克风的声音。The electronic device detects a second operation of the user pressing the volume up key; in response to the second operation, the electronic device turns on the earpiece and microphone of the electronic device.
示例性的,如图6中的(a)所示,当电子设备与告警台的通话连接建立时,电子设备可以自动关闭来自于告警台的声音。并且通过显示屏显示“静默模式下,请按压音量上键听到对方声音”。在手机检测到用户按压音量上键的操作后,手机可以通过听筒或者扬声器播放来自于告警台的声音。Exemplarily, as shown in FIG. 6(a), when a call connection between the electronic device and the alarm station is established, the electronic device can automatically shut off the sound from the alarm station. And the display shows "in silent mode, please press the volume up button to hear the other party's voice". After the mobile phone detects the user's operation of pressing the volume up key, the mobile phone can play the sound from the alarm station through the earpiece or speaker.
本申请实施例中,用户可以在完全隐蔽的情况下发起紧急呼叫,通话连接建立时电子设备可以自动关闭听筒和麦克风的声音,有助于保证用户在紧急情况下操作手机不会被发现。如果用户还有能力操作电子设备,在紧急通话中只要增加一步按音量上键即可恢复正常通话模式,通话结束后只要一次解锁即可恢复原来的情景模式,对用户体验无影响。In the embodiments of the present application, the user can initiate an emergency call in complete concealment, and the electronic device can automatically turn off the earpiece and microphone sound when the call connection is established, which helps to ensure that the user will not be discovered when operating the mobile phone in an emergency. If the user still has the ability to operate the electronic device, the normal call mode can be restored by pressing the volume up key by adding one step during an emergency call, and the original scene mode can be restored by unlocking it once after the call, without affecting the user experience.
可选地,该电子设备自动向该告警台发出呼叫之后,该方法1400还包括:Optionally, after the electronic device automatically sends a call to the alarm station, the method 1400 further includes:
该电子设备向该告警台发送第一信息,该第一信息包括双音多频DTMF编码信息、短消息或者即时通讯IM信息中的一种或者多种,该第一信息用于提示用户当前处于紧急情况中。The electronic device sends first information to the alarm station. The first information includes one or more of dual-tone multi-frequency DTMF encoding information, short messages, or instant messaging IM information, and the first information is used to remind the user that the user is currently in In an emergency.
示例性的,手机可以在通话链路接通后,自动发送SOS的DTMF信息至告警台。Exemplarily, the mobile phone can automatically send the DTMF information of SOS to the alarm station after the call link is connected.
本申请实施例中,用户在发起紧急呼叫时,可以同步发送短信、DTMF编码信息或者IM信息到告警台或紧急联系人,实现多方同时报警,增加报警的成功率和时效性。In the embodiments of the present application, when a user initiates an emergency call, he can synchronously send short messages, DTMF code information or IM information to the alarm station or emergency contact, so that multiple parties can alarm at the same time and increase the success rate and timeliness of the alarm.
可选地,该方法1400还包括:Optionally, the method 1400 further includes:
在该电子设备与该告警台的通话连接断开后,若该电子设备没有向该告警台发送第二信息且该电子设备没有接收到该告警台发送的第三信息,从该通话连接断开起的第二预设时长后,该电子设备自动向该告警台发起重拨,该第二信息用于指示该电子设备断开了该通话连接,该第三信息用于指示该告警台断开了该通话连接。After the call connection between the electronic device and the alarm station is disconnected, if the electronic device does not send the second information to the alarm station and the electronic device does not receive the third information sent by the alarm station, disconnect from the call connection After the second preset period of time, the electronic device automatically initiates a redial to the alarm station, the second information is used to indicate that the electronic device has disconnected the call connection, and the third information is used to indicate that the alarm station is disconnected The call is connected.
示例性的,在CS通话中,如果电子设备与告警台之间的通话连接断开,电子设备没有向告警台发送CC_DISCONNECT且电子设备也没有接收到告警台发送的CC_DISCONNECT,那么电子设备可以判断是由于其他原因造成的通话中断。那么电子设备可以自动向告警台发起重拨。这样有助于减少用户紧急呼叫的操作步骤和时间,实现了快速、便捷的发起紧急呼叫的目的。Exemplarily, in a CS call, if the call connection between the electronic device and the alarm station is disconnected, the electronic device does not send CC_DISCONNECT to the alarm station and the electronic device does not receive the CC_DISCONNECT sent by the alarm station, then the electronic device can determine that it is The call is interrupted due to other reasons. Then the electronic device can automatically initiate a redial to the alarm station. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
可选地,该方法1400还包括:Optionally, the method 1400 further includes:
在该电子设备与该告警台的通话连接断开后,若该电子设备向该告警台发送第四信息或者该电子设备接收到该告警台发送的该第四信息,从该通话连接断开起的第二预设时长后,该电子设备自动向该告警台发起重拨,该第四信息用于指示该通话连接断开是由于实时传输协议RTP超时造成的。After the call connection between the electronic device and the alarm station is disconnected, if the electronic device sends fourth information to the alarm station or the electronic device receives the fourth information sent by the alarm station, the call connection is disconnected After the second preset period of time, the electronic device automatically initiates a redial to the alarm station, and the fourth information is used to indicate that the disconnection of the call connection is caused by the timeout of the real-time transmission protocol RTP.
示例性的,在VoLTE通话中,在该电子设备与该告警台的通话连接断开后,电子设备接收到了该通话连接断开是由于实时传输协议RTP超时造成的信息,那么电子设备可以自 动向告警台发起重拨;或者,电子设备向告警台发送了该通话连接断开是由于实时传输协议RTP超时造成的信息,电子设备也可以自动向告警台发起重拨。这样有助于减少用户紧急呼叫的操作步骤和时间,实现了快速、便捷的发起紧急呼叫的目的。Exemplarily, in a VoLTE call, after the call connection between the electronic device and the alarm station is disconnected, the electronic device receives the information that the disconnection of the call connection is caused by the timeout of the real-time transmission protocol RTP, then the electronic device can automatically The alarm station initiates redial; or, if the electronic device sends the information to the alarm station that the disconnection of the call is due to the timeout of the real-time transmission protocol RTP, the electronic device can also automatically initiate redial to the alarm station. This helps to reduce the operation steps and time of the user's emergency call, and realizes the purpose of initiating an emergency call quickly and conveniently.
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the above-mentioned functions, an electronic device includes hardware and/or software modules corresponding to each function. In combination with the algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the electronic device may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的紧急呼叫的方法。This embodiment also provides a computer storage medium in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device is caused to execute the above-mentioned related method steps to implement the emergency call method in the above-mentioned embodiment. .
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的紧急呼叫素的方法。This embodiment also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to implement the emergency call element method in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的紧急呼叫的方法。In addition, the embodiments of the present application also provide a device. The device may specifically be a chip, component or module. The device may include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the emergency call method in the foregoing method embodiments.
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the electronic device, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding method provided above. The beneficial effects of the method will not be repeated here.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. The function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各 个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Covered in the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (16)

  1. 一种紧急呼叫的方法,所述方法应用于电子设备,所述电子设备包括显示屏,其特征在于,所述方法包括:An emergency call method, the method is applied to an electronic device, the electronic device includes a display screen, and is characterized in that the method includes:
    所述电子设备处于锁屏状态时,在所述显示屏上检测到用户的第一操作;When the electronic device is in the lock screen state, the first operation of the user is detected on the display screen;
    响应于所述第一操作,所述电子设备通过所述显示屏显示紧急呼叫界面,所述紧急呼叫界面包括一个或者多个紧急呼叫号码和提示信息,所述提示信息用于提示在第一预设时长结束后,自动向第一紧急呼叫号码发出呼叫,所述一个或者多个紧急号码包括所述第一紧急呼叫号码;In response to the first operation, the electronic device displays an emergency call interface through the display screen. The emergency call interface includes one or more emergency call numbers and prompt information, and the prompt information is used to prompt the After the duration is set, automatically place a call to the first emergency call number, and the one or more emergency numbers include the first emergency call number;
    在所述第一预设时长结束后,若所述电子设备没有在所述显示屏上检测到用户点击所述一个或者多个紧急呼叫号码中任意一个紧急呼叫号码的操作,自动向告警台发出呼叫,所述告警台为所述第一紧急呼叫号码对应的告警台;After the first preset time period is over, if the electronic device does not detect on the display screen that the user clicks on any one of the one or more emergency call numbers, it will automatically send an alarm to the alarm station. Call, the alarm station is the alarm station corresponding to the first emergency call number;
    在所述电子设备与所述告警台的通话连接断开后,所述电子设备通过所述显示屏显示锁屏界面。After the call connection between the electronic device and the alarm station is disconnected, the electronic device displays a lock screen interface through the display screen.
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备自动向告警台发出呼叫之后,所述方法还包括:The method according to claim 1, wherein after the electronic device automatically sends a call to the alarm station, the method further comprises:
    在所述电子设备与所述告警台通话连接建立时,所述电子设备自动关闭所述电子设备的听筒和麦克风的声音;When the communication connection between the electronic device and the alarm station is established, the electronic device automatically turns off the sound of the earpiece and microphone of the electronic device;
    所述电子设备检测到用户按压音量上键的第二操作;The electronic device detects the second operation of the user pressing the volume up key;
    响应于所述第二操作,所述电子设备打开所述电子设备的听筒和麦克风的声音。In response to the second operation, the electronic device turns on the sound of the earpiece and microphone of the electronic device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述电子设备自动向所述告警台发出呼叫之后,所述方法还包括:The method according to claim 1 or 2, wherein after the electronic device automatically sends a call to the alarm station, the method further comprises:
    所述电子设备向所述告警台发送第一信息,所述第一信息包括双音多频DTMF编码信息、短消息或者即时通讯IM信息中的一种或者多种,所述第一信息用于提示用户当前处于紧急情况中。The electronic device sends first information to the alarm station, where the first information includes one or more of dual-tone multi-frequency DTMF encoding information, short messages, or instant messaging IM information, and the first information is used for Remind the user that he is currently in an emergency situation.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    在所述电子设备与所述告警台的通话连接断开后,若所述电子设备没有向所述告警台发送第二信息且所述电子设备没有接收到所述告警台发送的第三信息,从所述通话连接断开起的第二预设时长后,所述电子设备自动向所述告警台发起重拨,所述第二信息用于指示所述电子设备断开了所述通话连接,所述第三信息用于指示所述告警台断开了所述通话连接。After the call connection between the electronic device and the alarm station is disconnected, if the electronic device does not send the second information to the alarm station and the electronic device does not receive the third information sent by the alarm station, After a second preset time period from the disconnection of the call connection, the electronic device automatically initiates a redial to the alarm station, and the second information is used to indicate that the electronic device disconnected the call connection, The third information is used to indicate that the alarm station has disconnected the call connection.
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    在所述电子设备与所述告警台的通话连接断开后,若所述电子设备向所述告警台发送第四信息或者所述电子设备接收到所述告警台发送的所述第四信息,从所述通话连接断开起的第二预设时长后,所述电子设备自动向所述告警台发起重拨,所述第四信息用于指示所述通话连接断开是由于实时传输协议RTP超时造成的。After the call connection between the electronic device and the alarm station is disconnected, if the electronic device sends fourth information to the alarm station or the electronic device receives the fourth information sent by the alarm station, After a second preset time period from the disconnection of the call connection, the electronic device automatically initiates a redial to the alarm station, and the fourth information is used to indicate that the call connection is disconnected due to the real-time transmission protocol RTP Caused by timeout.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    在所述电子设备与所述告警台的通话连接断开后,所述电子设备自动调整为震动模式 或者静音模式。After the call connection between the electronic device and the alarm station is disconnected, the electronic device is automatically adjusted to a vibration mode or a silent mode.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述一个或者多个紧急号码的优先级顺序为出厂时设置的或者为用户设置的。The method according to any one of claims 1 to 6, wherein the priority order of the one or more emergency numbers is set at the factory or set by the user.
  8. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    显示屏;Display screen
    一个或多个处理器;One or more processors;
    一个或多个存储器;One or more memories;
    所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The one or more memories store one or more computer programs, the one or more computer programs including instructions, when the instructions are executed by the one or more processors, cause the electronic device to execute the following step:
    所述电子设备处于锁屏状态时,在所述显示屏上检测到用户的第一操作;When the electronic device is in the lock screen state, the first operation of the user is detected on the display screen;
    响应于所述第一操作,通过所述显示屏显示紧急呼叫界面,所述紧急呼叫界面包括一个或者多个紧急呼叫号码和提示信息,所述提示信息用于提示在第一预设时长结束后,自动向第一紧急呼叫号码发出呼叫,所述一个或者多个紧急号码包括所述第一紧急呼叫号码;In response to the first operation, an emergency call interface is displayed through the display screen. The emergency call interface includes one or more emergency call numbers and prompt information, and the prompt information is used to prompt after the first preset time period ends. , Automatically place a call to a first emergency call number, and the one or more emergency numbers include the first emergency call number;
    在所述第一预设时长结束后,若没有在所述显示屏上检测到用户点击所述一个或者多个紧急呼叫号码中任意一个紧急呼叫号码的操作,自动向告警台发出呼叫,所述告警台为所述第一紧急呼叫号码对应的告警台;After the end of the first preset time period, if the user's click on any one of the one or more emergency call numbers is not detected on the display screen, a call is automatically sent to the alarm station, the The alarm station is the alarm station corresponding to the first emergency call number;
    在所述电子设备与所述告警台的通话连接断开后,通过所述显示屏显示锁屏界面。After the call connection between the electronic device and the alarm station is disconnected, a lock screen interface is displayed on the display screen.
  9. 根据权利要求8所述的电子设备,其特征在于,所述电子设备还包括听筒和麦克风,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to claim 8, wherein the electronic device further comprises an earpiece and a microphone, and when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在所述电子设备与所述告警台通话连接建立时,自动关闭所述听筒和所述麦克风的声音;Automatically turn off the sound of the earpiece and the microphone when the communication connection between the electronic device and the alarm station is established;
    检测到用户按压音量上键的第二操作;The second operation of the user pressing the volume up key is detected;
    响应于所述第二操作,打开所述听筒和所述麦克风的声音。In response to the second operation, the earpiece and the microphone are turned on.
  10. 根据权利要求8或9所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to claim 8 or 9, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在自动向所述告警台发出呼叫之后,向所述告警台发送第一信息,所述第一信息包括双音多频DTMF编码信息、短消息或者即时通讯IM信息中的一种或者多种,所述第一信息用于提示用户当前处于紧急情况中。After automatically sending a call to the alarm station, send first information to the alarm station, where the first information includes one or more of dual-tone multi-frequency DTMF encoding information, short messages, or instant messaging IM information, The first information is used to remind the user that the user is currently in an emergency situation.
  11. 根据权利要求8至10中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to any one of claims 8 to 10, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在所述电子设备与所述告警台的通话连接断开后,若没有向所述告警台发送第二信息且没有接收到所述告警台发送的第三信息,从所述通话连接断开起的第二预设时长后,自动向所述告警台发起重拨,所述第二信息用于指示所述电子设备断开了所述通话连接,所述第三信息用于指示所述告警台断开了所述通话连接。After the call connection between the electronic device and the alarm station is disconnected, if the second information is not sent to the alarm station and the third information sent by the alarm station is not received, it starts from the disconnection of the call connection After the second preset period of time, the redial is automatically initiated to the alarm station, the second information is used to indicate that the electronic device has disconnected the call connection, and the third information is used to indicate the alarm station The call connection is disconnected.
  12. 根据权利要求8至10中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to any one of claims 8 to 10, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在所述电子设备与所述告警台的通话连接断开后,若向所述告警台发送第四信息或者接收到所述告警台发送的所述第四信息,从所述通话连接断开起的第二预设时长后,自动 向所述告警台发起重拨,所述第四信息用于指示所述通话连接断开是由于实时传输协议RTP超时造成的。After the call connection between the electronic device and the alarm station is disconnected, if the fourth information is sent to the alarm station or the fourth information sent by the alarm station is received, it starts from the disconnection of the call connection After the second preset period of time, redial is automatically initiated to the alarm station, and the fourth information is used to indicate that the disconnection of the call connection is caused by the real-time transport protocol RTP timeout.
  13. 根据权利要求8至12中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:The electronic device according to any one of claims 8 to 12, wherein when the instruction is executed by the one or more processors, the electronic device is caused to perform the following steps:
    在所述电子设备与所述告警台的通话连接断开后,所述电子设备自动调整为震动模式或者静音模式。After the call connection between the electronic device and the alarm station is disconnected, the electronic device is automatically adjusted to a vibration mode or a silent mode.
  14. 根据权利要求8至13中任一项所述的电子设备,其特征在于,所述一个或者多个紧急号码的优先级顺序为出厂时设置的或者为用户设置的。The electronic device according to any one of claims 8 to 13, wherein the priority order of the one or more emergency numbers is set at the factory or set by the user.
  15. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-7中任一项所述的紧急呼叫的方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the emergency call method according to any one of claims 1-7.
  16. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-7中任一项所述的紧急呼叫的方法。A computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the emergency call method according to any one of claims 1-7.
PCT/CN2021/072436 2020-01-22 2021-01-18 Emergency call method, and electronic apparatus WO2021147806A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010074518.5 2020-01-22
CN202010074518.5A CN113163052B (en) 2020-01-22 2020-01-22 Emergency call method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021147806A1 true WO2021147806A1 (en) 2021-07-29

Family

ID=76881589

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/072436 WO2021147806A1 (en) 2020-01-22 2021-01-18 Emergency call method, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN113163052B (en)
WO (1) WO2021147806A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615633A (en) * 2022-03-31 2022-06-10 华勤技术股份有限公司 Call processing method, device, equipment, medium and program product
CN115525198A (en) * 2022-01-17 2022-12-27 荣耀终端有限公司 Notification message processing method, electronic equipment and computer storage medium
CN116567171A (en) * 2021-09-03 2023-08-08 荣耀终端有限公司 Video call method and electronic equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766307B (en) * 2021-09-02 2024-05-10 华为技术有限公司 Calling system and calling method
CN113993092B (en) * 2021-11-02 2023-09-22 维沃移动通信有限公司 Emergency call method and device, mobile terminal and network equipment
CN115022456A (en) * 2022-05-29 2022-09-06 长沙锐思特光电科技有限公司 Method for rapidly switching users with different permissions by intelligent terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812990A (en) * 2012-11-15 2014-05-21 展讯通信(上海)有限公司 Terminal device and control method thereof
CN103945070A (en) * 2014-05-13 2014-07-23 上海斐讯数据通信技术有限公司 Emergency call method and emergency call device based on voice recognition
CN105554297A (en) * 2015-12-29 2016-05-04 小米科技有限责任公司 Information reminding method and apparatus and terminal
US20160239165A1 (en) * 2015-02-16 2016-08-18 Alibaba Group Holding Limited Novel communication and messaging system
CN107360330A (en) * 2017-08-31 2017-11-17 努比亚技术有限公司 Method for early warning and mobile terminal
CN109547649A (en) * 2019-01-23 2019-03-29 广东小天才科技有限公司 Emmergency call method, device, call terminal and the storage medium of call terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6477353A (en) * 1987-09-18 1989-03-23 Toshiba Corp Land mobile telephone system
CN103632492B (en) * 2013-06-08 2017-04-12 王琪杰 Vehicle-borne emergency call-for-help system and call-for-help method thereof
CN109413633A (en) * 2018-11-28 2019-03-01 深圳市南和移动通信科技股份有限公司 A kind of safety protecting method, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812990A (en) * 2012-11-15 2014-05-21 展讯通信(上海)有限公司 Terminal device and control method thereof
CN103945070A (en) * 2014-05-13 2014-07-23 上海斐讯数据通信技术有限公司 Emergency call method and emergency call device based on voice recognition
US20160239165A1 (en) * 2015-02-16 2016-08-18 Alibaba Group Holding Limited Novel communication and messaging system
CN105554297A (en) * 2015-12-29 2016-05-04 小米科技有限责任公司 Information reminding method and apparatus and terminal
CN107360330A (en) * 2017-08-31 2017-11-17 努比亚技术有限公司 Method for early warning and mobile terminal
CN109547649A (en) * 2019-01-23 2019-03-29 广东小天才科技有限公司 Emmergency call method, device, call terminal and the storage medium of call terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116567171A (en) * 2021-09-03 2023-08-08 荣耀终端有限公司 Video call method and electronic equipment
CN116567171B (en) * 2021-09-03 2024-04-23 荣耀终端有限公司 Video call method and electronic equipment
CN115525198A (en) * 2022-01-17 2022-12-27 荣耀终端有限公司 Notification message processing method, electronic equipment and computer storage medium
CN115525198B (en) * 2022-01-17 2023-07-07 荣耀终端有限公司 Method for processing notification message, electronic device and computer storage medium
CN114615633A (en) * 2022-03-31 2022-06-10 华勤技术股份有限公司 Call processing method, device, equipment, medium and program product
CN114615633B (en) * 2022-03-31 2023-10-03 华勤技术股份有限公司 Call processing method, device, apparatus, medium and program product

Also Published As

Publication number Publication date
CN113163052B (en) 2023-03-10
CN113163052A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
WO2021147806A1 (en) Emergency call method, and electronic apparatus
EP4024193A1 (en) Data transmission method and related devices
WO2020134872A1 (en) Message processing method, related device, and system
CN114173204B (en) Message prompting method, electronic equipment and system
US8572303B2 (en) Portable universal communication device
WO2020156230A1 (en) Method for presenting video on electronic device when incoming call comes, and electronic device
WO2021197139A1 (en) Service recommending method, electronic device, and system
WO2021036651A1 (en) Display method and electronic device
US20230422154A1 (en) Method for using cellular communication function, and related apparatus and system
WO2022037407A1 (en) Method and system for replying to message, and electronic device
CN115039378A (en) Audio output method and terminal equipment
EP4290346A1 (en) File management method, electronic device, and computer-readable storage medium
US20240086580A1 (en) Unlocking method and electronic device
WO2022022427A1 (en) Communication method and system and related apparatus
EP4163782A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
WO2024001940A1 (en) Vehicle searching method and apparatus, and electronic device
WO2024027199A1 (en) Risk identification method and electronic device
EP4273695A1 (en) Service anomaly warning method, electronic device and storage medium
WO2023020012A1 (en) Data communication method between devices, device, storage medium, and program product
WO2022179390A1 (en) Tiled display method, electronic device, and system
WO2022135254A1 (en) Text editing method, electronic device and system
WO2022042469A1 (en) Video telephone calling method, terminal device, and storage medium
CN115022458A (en) Method, system, electronic device and medium for processing loss of electronic device
CN112840680A (en) Position information processing method and related device
WO2023236646A1 (en) Incoming call display method and electronic devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21743865

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21743865

Country of ref document: EP

Kind code of ref document: A1