CN109151795B - Emergency call method, mobile terminal and computer-readable storage medium - Google Patents

Emergency call method, mobile terminal and computer-readable storage medium Download PDF

Info

Publication number
CN109151795B
CN109151795B CN201811292693.0A CN201811292693A CN109151795B CN 109151795 B CN109151795 B CN 109151795B CN 201811292693 A CN201811292693 A CN 201811292693A CN 109151795 B CN109151795 B CN 109151795B
Authority
CN
China
Prior art keywords
call
historical
frequency
emergency call
short message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811292693.0A
Other languages
Chinese (zh)
Other versions
CN109151795A (en
Inventor
赵阳光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Nubia Technology Co ltd
Nubia Technology Co Ltd
Original Assignee
Nanchang Nubia Technology Co ltd
Nubia Technology Co Ltd
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 Nanchang Nubia Technology Co ltd, Nubia Technology Co Ltd filed Critical Nanchang Nubia Technology Co ltd
Priority to CN201811292693.0A priority Critical patent/CN109151795B/en
Publication of CN109151795A publication Critical patent/CN109151795A/en
Application granted granted Critical
Publication of CN109151795B publication Critical patent/CN109151795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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]
    • 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
    • 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
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Public Health (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an emergency call method, which comprises the following steps: when detecting that the first number is called twice within a preset time length, acquiring the interval time of the two calls, and determining whether the interval time of the two calls is smaller than a first preset value; when the interval time of the two calls is less than a first preset value, acquiring the historical call frequency of a first number in historical call data or acquiring the historical short message sending frequency of the first number in the historical short message data; determining whether a call to a first number is an emergency call; and when the calling of the first number is determined to be an emergency call, automatically calling the first number when the second calling of the first number is ended. The invention also discloses an emergency call terminal and a computer readable storage medium. The invention can automatically and repeatedly call the called party under the emergency call condition, and solves the problems that time is wasted by manual re-calling, and even the user loses the best time for rescue under the emergency condition.

Description

Emergency call method, mobile terminal and computer-readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an emergency call method, a mobile terminal, and a computer-readable storage medium.
Background
When a user calls a called party in an emergency, the called party may not be called for various reasons, in this case, the user can only select continuous calling, and when one calling is finished, the user can only manually make a second calling, which not only wastes time, but also delays the best time for the user to help if the user is in an emergency or even dangerous situation, and the user has to continue to manually make repeated calling after calling twice.
Disclosure of Invention
The invention mainly aims to provide an emergency call method, a mobile terminal and a computer readable storage medium, aiming at providing a method for automatically and repeatedly calling a called party in an emergency call situation, and solving the problem that time is wasted due to manual re-calling, so that a user loses the best rescue opportunity in the emergency situation.
To achieve the above object, the present invention provides an emergency call method, including the steps of:
when detecting that the first number is called twice within a preset time length, acquiring the interval time of the two calls, and determining whether the interval time of the two calls is smaller than a first preset value;
when the interval time of the two calls is less than a first preset value, acquiring the historical call frequency of the first number in the historical call data or acquiring the historical short message sending frequency of the first number in the historical short message data;
determining whether the call of the first number is an emergency call or not according to the historical call frequency of the first number or the historical short message sending frequency of the first number;
and when the calling of the first number is determined to be an emergency call, automatically calling the first number when the second calling of the first number is finished.
Preferably, the step of determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number includes:
determining whether the historical conversation frequency of the first number is greater than a second preset value or determining whether the historical short message sending frequency of the first number is greater than a third preset value;
and when the historical conversation frequency of the first number is greater than a second preset value or the historical short message sending frequency of the first number is greater than a third preset value, determining that the call of the first number is an emergency call.
Preferably, the step of determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number includes:
acquiring total historical call frequency in historical call data or acquiring total historical short message sending frequency in historical short message sending data;
calculating a first ratio of the first number to the total historical call frequency according to the historical call frequency of the first number, or calculating a second ratio of the first number to the total historical short message sending frequency according to the historical short message sending frequency of the first number;
determining whether the first ratio is greater than a fourth preset value or determining whether the second ratio is greater than a fifth preset value;
and when the first occupation ratio is greater than a fourth preset value or the second occupation ratio is greater than a fifth preset value, determining that the call of the first number is an emergency call.
Preferably, when it is determined that the call of the first number is an emergency call, before the step of automatically making the call of the first number when the second call of the first number is ended, the method further includes:
and when the calling of the first number is determined to be an emergency call, prolonging the calling time of the first number for the second time.
Preferably, after the step of automatically making the call to the first number when the call to the first number is determined to be an emergency call and the second call to the first number is ended, the method further includes:
if the calling time length of the first number is larger than a sixth preset value, a second number with the highest historical calling frequency except the first calling number is obtained;
and after the second number is acquired, automatically disconnecting the call of the first number and calling the second number.
Preferably, when it is determined that the call of the first number is an emergency call, the step of automatically making the call of the first number when the second call of the first number is ended includes:
and when the call of the first number is determined to be an emergency call, sending the call to a core network to automatically carry out the call of the first number when the second call of the first number is finished.
Preferably, the emergency call method further includes:
and acquiring historical conversation frequency and historical short message sending frequency from the terminal.
Preferably, the emergency call method further includes:
and obtaining historical conversation frequency and historical short message sending frequency from the telecommunication switch.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: a memory, a processor and an emergency call program stored on the memory and executable on the processor, the emergency call program when executed by the processor implementing the steps of the emergency call method as described above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon an emergency call program, which when executed by a processor, implements the steps of the emergency call method as described above.
When detecting that a first number is called twice within a preset time length, acquiring the interval time of the two calls, and determining whether the interval time of the two calls is smaller than a first preset value; when the interval time of the two calls is less than a first preset value, acquiring the historical call frequency of the first number in the historical call data or acquiring the historical short message sending frequency of the first number in the historical short message data; determining whether the call of the first number is an emergency call or not according to the historical call frequency of the first number or the historical short message sending frequency of the first number; when the call of the first number is determined to be an emergency call, the second call of the first number is ended. Through the mode, whether the call of the first number is an emergency call can be determined in the calling behavior, when the call of the first number is determined to be the emergency call, the first number is automatically and continuously called until the calling party hangs up autonomously, the called party is connected or the called party hangs up, time waste caused by the fact that the calling party manually carries out repeated calling of the first number is avoided, and the optimal time for user rescue is delayed if the user is in an emergency or even in a dangerous situation.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a first embodiment of an emergency call method according to the present invention;
fig. 4 is a flowchart illustrating an emergency call method according to a second embodiment of the present invention;
fig. 5 is a flowchart illustrating an emergency call method according to a third embodiment of the present invention;
fig. 6 is a flowchart illustrating an emergency call method according to a fourth embodiment of the present invention;
fig. 7 is a flowchart illustrating a fifth embodiment of an emergency call method according to the present invention;
fig. 8 is a flowchart illustrating an emergency call method according to a sixth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the above mobile terminal hardware structure, various embodiments of the mobile terminal of the present invention are provided.
Referring to fig. 1, in an embodiment of the mobile terminal of the present invention, the mobile terminal includes: a memory 109, a processor 110, and an emergency call program stored on the memory 109 and operable on the processor 110, the emergency call program when executed by the processor 110 implementing the steps of:
when detecting that the first number is called twice within a preset time length, acquiring the interval time of the two calls, and determining whether the interval time of the two calls is smaller than a first preset value;
when the interval time of the two calls is less than a first preset value, acquiring the historical call frequency of the first number in the historical call data or acquiring the historical short message sending frequency of the first number in the historical short message data;
determining whether the call of the first number is an emergency call or not according to the historical call frequency of the first number or the historical short message sending frequency of the first number;
and when the calling of the first number is determined to be an emergency call, automatically calling the first number when the second calling of the first number is finished.
Further, the emergency call program when executed by the processor 110 further implements the steps of: the step of determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number comprises the following steps:
determining whether the historical conversation frequency of the first number is greater than a second preset value or determining whether the historical short message sending frequency of the first number is greater than a third preset value;
and when the historical conversation frequency of the first number is greater than a second preset value or the historical short message sending frequency of the first number is greater than a third preset value, determining that the call of the first number is an emergency call.
Further, the emergency call program when executed by the processor 110 further implements the steps of: the step of determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number comprises the following steps:
acquiring total historical call frequency in historical call data or acquiring total historical short message sending frequency in historical short message sending data;
calculating a first ratio of the first number to the total historical call frequency according to the historical call frequency of the first number, or calculating a second ratio of the first number to the total historical short message sending frequency according to the historical short message sending frequency of the first number;
determining whether the first ratio is greater than a fourth preset value or determining whether the second ratio is greater than a fifth preset value;
and when the first occupation ratio is greater than a fourth preset value or the second occupation ratio is greater than a fifth preset value, determining that the call of the first number is an emergency call.
Further, the emergency call program when executed by the processor 110 further implements the steps of: when the call of the first number is determined to be an emergency call, before the step of automatically making the call of the first number when the second call of the first number is ended, the method further comprises the following steps:
and when the calling of the first number is determined to be an emergency call, prolonging the calling time of the first number for the second time.
Further, the emergency call program when executed by the processor 110 further implements the steps of: after the step of automatically making the call to the first number when the call to the first number is determined to be an emergency call and the second call to the first number is ended, the method further includes:
if the calling time length of the first number is larger than a sixth preset value, a second number with the highest historical calling frequency except the first calling number is obtained;
and after the second number is acquired, automatically disconnecting the call of the first number and calling the second number.
Further, the emergency call program when executed by the processor 110 further implements the steps of: when the call of the first number is determined to be an emergency call, and when the second call of the first number is finished, the step of automatically calling the first number comprises the following steps:
and when the call of the first number is determined to be an emergency call, sending the call to a core network to automatically carry out the call of the first number when the second call of the first number is finished.
Further, the emergency call program when executed by the processor 110 further implements the steps of: the emergency call method further comprises:
and acquiring historical conversation frequency and historical short message sending frequency from the terminal.
Further, the emergency call program when executed by the processor 110 further implements the steps of: the emergency call method further comprises:
and obtaining historical conversation frequency and historical short message sending frequency from the telecommunication switch.
The embodiment of the mobile terminal of the present invention is substantially the same as the embodiments of the emergency call method described below, and will not be described herein again.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The invention provides an emergency call method. Referring to fig. 3, fig. 3 is a flowchart illustrating an emergency call method according to a first embodiment of the present invention, where the emergency call method includes:
step S10, when detecting that the first number is called twice within the preset time length, obtaining the interval time of the two calls, and determining whether the interval time of the two calls is less than a first preset value;
the emergency call method of the embodiment is applied to a mobile terminal, when a user makes two calls to a first number in the mobile terminal within a preset time duration, the first number may be a micro signal code, a QQ number or a mobile phone number in the mobile terminal, obtains an interval time between the two calls, and determines whether the interval time between the two calls is smaller than a first preset value, for example, the first preset value is 5 seconds, determines whether the interval time between the two calls is smaller than 5 seconds, the first preset value is 3 seconds, determines whether the interval time between the two calls is smaller than 3 seconds, and the first preset value is 8 seconds, determines whether the interval time between the two calls is smaller than 8 seconds. Step S20, when the interval time of two calls is less than a first preset value, acquiring the historical call frequency of the first number in the historical call data or acquiring the historical short message sending frequency of the first number in the historical short message data; in the step, by comparing the interval time of two calls of the first number with a first preset value, when the interval time of the two calls is smaller than the first preset value, the historical call frequency or the historical short message sending frequency of the first number is obtained through historical call data or historical short message sending data in a terminal or a telecommunication switch, the historical call data or the historical short message sending frequency of the first number is obtained, the historical call data is all historical call records of a user before the current first number call, the historical short message sending data is all historical short message sending records of the user before the current first number call, and the historical call records and the historical short message recording data cannot be lost due to deletion of the user. For example, if the user has 5 history call records with the calling number, even if the user deletes the records of the previous two calls in the terminal, the history call frequency is still 5, the user has 3 history short message sending records with the calling number, the short message sending frequency is 3, and the problem that the frequency of obtaining the history short message sending is not accurate because the user deletes one history short message record is solved.
Step S30, determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number;
in the step, whether the call of the first number is an emergency call can be determined through setting a preset value, comparing the historical call frequency of the first number with the preset value or comparing the historical short message sending frequency of the first number with the preset value, and according to the comparison result. The historical conversation frequency reflects the intimacy degree of the user and the called number, when people have emergency, people generally contact with the most intimate people firstly, whether the current call of the first number is an emergency call is determined according to the time interval of two calls and the historical conversation frequency, and if the current call of the first number is not the emergency call, the calling party can actively select to hang up.
In this step, another embodiment of determining conditions may be set, in which the percentage of the total historical call frequency of the first number in all call numbers is calculated according to the historical call frequency of the first number, or the percentage of the total historical message frequency of the first number in all message codes is calculated according to the historical message sending frequency of the first number, the percentage is compared with a set preset value, when the percentage is greater than the preset value, an emergency call is determined, and when the percentage is less than the preset value, a non-emergency call is determined.
And step S40, when the call of the first number is determined to be an emergency call, automatically calling the first number when the second call of the first number is finished.
If the call of the first number is determined to be an emergency call, the terminal automatically makes a continuous call of the first number under the condition that the second call is ended and the called party is not connected or hung up, for example: automatically initiating a third call, and prolonging the third call time until the calling party hangs up autonomously, the called party is connected or the called party hangs up;
or the third calling time is not changed, when the third calling is finished and the called party is not connected or hung up, the fourth calling is automatically initiated, and the calling is automatically carried out by analogy until the calling party is automatically hung up, the called party is connected or the called party is hung up, the automatic calling mode is that the time interval of each calling is very short, the user perception is in the calling state all the time, and the calling times are not interrupted. The method for automatically calling avoids the waste of time caused by repeated manual dialing of a user, the calling party can hang up automatically if the called party is not connected all the time, and the terminal automatically carries out continuous calling until the called party is connected to obtain the time for rescue if the calling party is in an emergency or even a dangerous condition and is not hung up automatically.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating an emergency call method according to a second embodiment of the present invention. Based on the above-mentioned embodiment shown in fig. 3, step S30 may include:
step S31, determining whether the historical conversation frequency of the first number is greater than a second preset value or determining whether the historical short message sending frequency of the first number is greater than a third preset value;
selecting the historical call frequency of the first number according to the historical call frequency of the first number acquired in the step S20, and determining whether the historical call frequency of the first number is greater than a second preset value or determining whether the short message sending frequency of the first number is greater than a third preset value, for example: the second preset value is the conversation frequency for 40 times, and whether the historical conversation frequency of the first number is more than 40 times is determined; the second preset value is the call frequency of 20 times, and whether the historical call frequency of the first number is more than 20 times is determined; the third preset value is that the short message sending frequency is 30 times, and whether the historical short message sending frequency of the first number is more than 30 times is determined; the third preset value is a sending short message frequency of 50 times, and it is determined whether the historical sending short message frequency of the first number is greater than 50 times.
Step S32, when the historical conversation frequency of the first number is larger than a second preset value or the historical short message sending frequency of the first number is larger than a third preset value, determining that the call of the first number is an emergency call.
And if the historical conversation frequency of the first number is greater than a second preset value, determining that the current call is an emergency call, or determining that the current call is the emergency call when the historical short message sending frequency is greater than a third preset value.
And if the historical conversation frequency of the first number is not greater than a second preset value or the short message sending frequency of the first number is not greater than a third preset value, determining that the current call is a non-emergency call.
Further, referring to fig. 5, fig. 5 is a flowchart illustrating an emergency call method according to a third embodiment of the present invention. Based on the embodiment described in fig. 3 above, step S30 may include:
step S33, acquiring total historical call frequency in historical call data or acquiring total historical short message sending frequency in historical short message sending data;
and acquiring the total frequency of the historical call frequencies of all numbers, namely the total historical call frequency, or acquiring the total frequency of the historical short message sending frequencies of all numbers, namely the total historical short message sending frequency.
Step S34, calculating a first ratio of the first number in the total historical call frequency according to the historical call frequency of the first number, or calculating a second ratio of the first number in the total historical message frequency according to the historical message sending frequency of the first number;
according to the formula: the historical conversation frequency of the first number is divided into the total historical conversation frequency which is the first ratio; calculating a first ratio of historical conversation frequency of the first number;
or according to the formula: when the historical sending short message frequency of the first number is divided by the total historical sending frequency, the ratio is the second ratio; calculating a second ratio of the historical short message sending frequency of the first number;
step S35, determining whether the first ratio is greater than a fourth preset value, or determining whether the second ratio is greater than a fifth preset value;
according to whether the first occupation ratio of the first number calculated in the step S34 is greater than the fourth preset value or according to whether the second occupation ratio of the first number is greater than the fifth preset value. For example: the fourth preset value is 10% of the historical conversation frequency, and whether the first ratio of the first number is more than 10% is determined; the fourth preset value is 12% of historical conversation frequency, and whether the first ratio of the first number is more than 12% is determined; (ii) a The fifth preset value is that the short message sending frequency accounts for 8%, and whether the second proportion of the first number is more than 8% is determined; the fifth preset value is that the short message sending frequency accounts for 11%, and whether the second proportion of the first number is more than 11% is determined; it will be understood by those skilled in the art that the present invention has been described by way of illustration only, and not by way of limitation.
Step S36, when the first ratio is larger than a fourth preset value or the second ratio is larger than a fifth preset value, determining that the call of the first number is an emergency call;
and if the first proportion of the first number is larger than the fourth preset value, determining that the current call is an emergency call, or when the second proportion is larger than the fifth preset value, determining that the current call is the emergency call.
And if the first occupation ratio of the first number is not greater than the fourth preset value or the second occupation ratio of the first number is not greater than the fifth preset value, determining that the current call is a non-emergency call.
Further, referring to fig. 6, fig. 6 is a flowchart illustrating an emergency call method according to a fourth embodiment of the present invention. Based on the above-mentioned embodiment, before the step S40, the method further includes:
and step S50, when the call of the first number is determined to be an emergency call, prolonging the second call duration of the first number. First number
If it is determined that the call of the first number is an emergency call and the second call is not ended, the second call duration of the first number is extended, and when the second call with the extended call duration is ended, step S40 is executed.
Further, referring to fig. 7, fig. 7 is a flowchart illustrating an emergency call method according to a fifth embodiment of the present invention. Based on the above-mentioned embodiment, after the step S40, the method further includes:
step S60, if the calling time length of the first number is larger than a sixth preset value, a second number with the highest historical calling frequency except the first calling number is obtained;
if the calling of the first number is continued all the time, the calling party is not hung up autonomously, the called party is not connected or the called party is not hung up, and the calling duration of the first number is greater than a sixth preset value, the terminal automatically acquires the number with the highest historical conversation frequency except the first number, for example: the sixth preset value is the calling time of 10 minutes, and the terminal automatically acquires a second number with the highest historical conversation frequency except the first number; the sixth preset value is the call duration of 20 minutes, and the terminal automatically acquires a second number with the highest historical conversation frequency except the first number;
and step S70, after the second number is acquired, automatically disconnecting the call of the first number and calling the second number.
After the second number with the highest historical conversation frequency is obtained, automatically disconnecting the call of the first number and then automatically initiating the call of the second number; when the calling time length can reach more than the sixth preset value, the user is not actively hung up and the called party is not connected or hung up, namely the degree of emergency of the user can be determined, even if the user is possibly in a dangerous condition, the terminal automatically hangs up the call of the first number, and changes and dials the call of the second number with the highest historical calling frequency in the terminal, so as to obtain the best rescue opportunity for the user.
Further, referring to fig. 8, fig. 8 is a flowchart illustrating an emergency call method according to a sixth embodiment of the present invention. Based on the above-described embodiment, step S40 includes:
step S41, when the call of the first number is determined to be an emergency call, the call is sent to the core network to automatically perform the call of the first number when the second call of the first number is ended.
The first number is automatically called by sending the call to the core network.
Further, the emergency call method further includes:
and obtaining historical conversation frequency and historical short message sending frequency from the terminal.
When historical call frequency and historical short message sending frequency are obtained from the terminal, the historical call data are all historical call records of a user before the current first number call, the historical short message data are all historical short message sending records of the user before the current first number call, and the data of the historical call records and the historical short message sending records are not lost due to the fact that the user deletes the data in the terminal.
Further, the emergency call method further includes:
and acquiring historical conversation frequency and historical short message sending frequency from the telecommunication switch.
The historical conversation frequency and the historical short message sending frequency are obtained from the telecommunication switch, even if a certain conversation record is deleted by a user in the terminal, the data accuracy of the historical conversation frequency and the historical short message sending frequency is not influenced, and the steps are accurately determined.
The invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention has stored thereon an emergency call program which, when executed by a processor, implements the steps of the emergency call method as described above.
The method implemented when the emergency call program running on the processor is executed may refer to each embodiment of the emergency call method of the present invention, and details thereof are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An emergency call method, comprising the steps of:
when detecting that the first number is called twice within a preset time length, acquiring the interval time of the two calls, and determining whether the interval time of the two calls is smaller than a first preset value;
when the interval time of the two calls is less than a first preset value, acquiring the historical call frequency of the first number in the historical call data or acquiring the historical short message sending frequency of the first number in the historical short message data;
determining whether the call of the first number is an emergency call or not according to the historical call frequency of the first number or the historical short message sending frequency of the first number;
wherein, the step of determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number comprises:
determining whether the historical conversation frequency of the first number is greater than a second preset value or determining whether the historical short message sending frequency of the first number is greater than a third preset value;
when the historical conversation frequency of the first number is greater than a second preset value or the historical short message sending frequency of the first number is greater than a third preset value, determining that the call of the first number is an emergency call;
the step of determining whether the call of the first number is an emergency call according to the historical call frequency of the first number or the historical short message sending frequency of the first number comprises the following steps:
acquiring total historical call frequency in historical call data or acquiring total historical short message sending frequency in historical short message sending data;
calculating a first ratio of the first number to the total historical call frequency according to the historical call frequency of the first number, or calculating a second ratio of the first number to the total historical short message sending frequency according to the historical short message sending frequency of the first number;
determining whether the first ratio is greater than a fourth preset value or determining whether the second ratio is greater than a fifth preset value;
when the first occupation ratio is larger than a fourth preset value or the second occupation ratio is larger than a fifth preset value, determining that the call of the first number is an emergency call;
and when the calling of the first number is determined to be an emergency call, automatically calling the first number when the second calling of the first number is finished.
2. The emergency call method according to claim 1, wherein prior to the step of automatically making the call to the first number at the end of the second call to the first number when the call to the first number is determined to be an emergency call, further comprising:
and when the calling of the first number is determined to be an emergency call, prolonging the calling time of the first number for the second time.
3. The emergency call method according to claim 2, wherein after the step of automatically making the call to the first number at the end of the second call to the first number when the call to the first number is determined to be an emergency call, further comprising:
if the calling time length for automatically calling the first number is greater than a sixth preset value, acquiring a second number with the highest historical calling frequency except the first calling number;
and after the second number is acquired, automatically disconnecting the call of the first number and calling the second number.
4. The emergency call method according to claim 3, wherein the step of automatically making the call to the first number at the end of the second call to the first number upon determining that the call to the first number is an emergency call comprises:
and when the call of the first number is determined to be an emergency call, sending the call to a core network to automatically carry out the call of the first number when the second call of the first number is finished.
5. The emergency call method of claim 4, wherein the emergency call method further comprises:
and acquiring historical conversation frequency and historical short message sending frequency from the terminal.
6. The method of claim 4, wherein the emergency call method further comprises:
and obtaining historical conversation frequency and historical short message sending frequency from the telecommunication switch.
7. A mobile terminal, characterized in that the mobile terminal comprises: memory, a processor and an emergency call program stored on the memory and executable on the processor, the emergency call program when executed by the processor implementing the steps of the emergency call method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an emergency call program which, when executed by a processor, implements the steps of the emergency call method according to any one of claims 1 to 6.
CN201811292693.0A 2018-10-31 2018-10-31 Emergency call method, mobile terminal and computer-readable storage medium Active CN109151795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811292693.0A CN109151795B (en) 2018-10-31 2018-10-31 Emergency call method, mobile terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811292693.0A CN109151795B (en) 2018-10-31 2018-10-31 Emergency call method, mobile terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109151795A CN109151795A (en) 2019-01-04
CN109151795B true CN109151795B (en) 2021-02-05

Family

ID=64807476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811292693.0A Active CN109151795B (en) 2018-10-31 2018-10-31 Emergency call method, mobile terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109151795B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1093317B1 (en) * 1999-09-29 2004-08-18 Lg Electronics Inc. Method for establishing an emergency call from a mobile phone
CN1845561A (en) * 2005-04-06 2006-10-11 英华达(上海)电子有限公司 Mobile phone and method for realizing automatic urgent call function
WO2005036861A3 (en) * 2003-09-06 2007-10-18 Intrado Inc Method and systems for availing participants in a special number call event
CN101977366A (en) * 2010-10-18 2011-02-16 惠州Tcl移动通信有限公司 Mobile terminal emergency help method and device
CN102088516A (en) * 2011-02-17 2011-06-08 西安闻泰电子科技有限公司 Method for realizing emergency calling function for mobile phone
CN102656060A (en) * 2009-12-14 2012-09-05 大陆汽车有限责任公司 Emergency call receiving unit for task forces
CN103533523A (en) * 2013-10-19 2014-01-22 任明和 Mobile special service number system for providing emergency calls
CN106131343A (en) * 2016-08-25 2016-11-16 北京奇虎科技有限公司 SOS method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1093317B1 (en) * 1999-09-29 2004-08-18 Lg Electronics Inc. Method for establishing an emergency call from a mobile phone
WO2005036861A3 (en) * 2003-09-06 2007-10-18 Intrado Inc Method and systems for availing participants in a special number call event
CN1845561A (en) * 2005-04-06 2006-10-11 英华达(上海)电子有限公司 Mobile phone and method for realizing automatic urgent call function
CN102656060A (en) * 2009-12-14 2012-09-05 大陆汽车有限责任公司 Emergency call receiving unit for task forces
CN101977366A (en) * 2010-10-18 2011-02-16 惠州Tcl移动通信有限公司 Mobile terminal emergency help method and device
CN102088516A (en) * 2011-02-17 2011-06-08 西安闻泰电子科技有限公司 Method for realizing emergency calling function for mobile phone
CN103533523A (en) * 2013-10-19 2014-01-22 任明和 Mobile special service number system for providing emergency calls
CN106131343A (en) * 2016-08-25 2016-11-16 北京奇虎科技有限公司 SOS method and device

Also Published As

Publication number Publication date
CN109151795A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN109005574B (en) Cell selection method, mobile terminal and computer readable storage medium
CN109068167B (en) Screen recording interaction method, mobile terminal, wearable device and storage medium
CN110784898A (en) Network switching method, mobile terminal and computer readable storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN109246315B (en) Incoming call processing method in online game process, mobile terminal and readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN108234751B (en) Automatic danger detection method, mobile terminal and computer readable storage medium
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN109309762B (en) Message processing method, device, mobile terminal and storage medium
CN107347114B (en) Voice information receiving and sending control method and terminal
CN112866685A (en) Screen projection delay measuring method, mobile terminal and computer readable storage medium
CN112437472A (en) Network switching method, equipment and computer readable storage medium
CN109462829B (en) Call transfer method, device and computer readable storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN109104722B (en) Terminal access method, device and computer readable storage medium
CN109831241B (en) Rescue method, router and computer readable storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN108183833B (en) Response processing method and device and computer readable storage medium
CN107222933B (en) Communication method, terminal and computer readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN107733862B (en) Network signal prompting method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant