An emergency call method, system, apparatus, electronic device, and storage medium
By generating a call initiation message and starting a redial timer in the vehicle system, the system automatically repeats the call to solve the problem of call failure in 2G and 3G networks for the vehicle emergency call system, ensuring timely response to emergency rescue and improving the safety performance of the vehicle system.
Patent Information
- Application Number
- CN202211702622.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-12-28
AI Technical Summary
Existing vehicle emergency call systems are prone to delays in rescue efforts due to call failures or dropped calls on 2G and 3G networks, and cannot automatically redial successfully.
By generating a call initiation message and starting a redial timer, and configuring the redial duration and number of times, the system automatically repeats calls to ensure emergency communication with public safety answering points.
It enables automatic redialing in emergency situations, ensuring timely emergency response and improving the safety performance of the vehicle system.
Smart Images

Figure CN115988684B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of emergency call, and in particular to an emergency call method, system, device, electronic equipment and storage medium. BACKGROUND
[0002] Since the 1990s, cars and communications have come together, and mobile communication devices based on 2G, 3G and 4G have been equipped in cars one after another. With these devices, we have gradually realized navigation and information pre-warning services based on communication capabilities. After having 2G cellular communication capabilities, intelligent transportation has done a meaningful thing in solving traffic safety, that is, the vehicle emergency call system (eCall, also often called "emergency rescue"). eCall uses mobile phones and satellite positioning functions to establish a telephone connection with the nearest rescue center (such as China's 122, the European Union's 112) after a traffic accident occurs, using the ability of 2G and 3G network to support circuit domain emergency call. In addition to voice connection, the vehicle eCall system also reports and transmits information about the accident location, accident type and vehicle.
[0003] The core idea of eCall is to use the vehicle satellite positioning system to obtain the position information of the vehicle, and after an accident occurs, the automatic alarm is triggered by the sensor or the user initiates an emergency call manually to report the alarm. At the same time of establishing a voice call, the vehicle position, driving direction, vehicle license plate and model, number of passengers and other information are automatically sent to the rescue center PSAP (Public Safety Answering Point) as the minimum data set (eCall minimum set of data, abbreviated as MSD), so that the rescue center can quickly locate the accident vehicle and organize rescue.
[0004] Since eCall uses the ability of 2G and 3G network to support circuit domain emergency call, and during the call process, it is inevitable that the call will fail due to various factors, such as call drop, etc. Once this happens, the existing ordinary phone can only be manually redialed, which is not conducive to the smooth development of rescue. SUMMARY
[0005] The present application provides an emergency call method, system, device, electronic equipment and storage medium to solve the problem of how the vehicle system makes automatic emergency call.
[0006] In a first aspect, the embodiments of the present application provide an emergency call method, comprising:
[0007] In response to an emergency call trigger event, a call message is generated and a first redial timer is started; the call message is used to initiate an emergency call with a public safety answering point; the first redial timer is configured with a first redial time length;
[0008] obtaining a call setup response of the emergency call;
[0009] if the call setup response indicates that the communication with the public safety answering point fails, starting an emergency call redial according to a preset redial rule within the first redial duration, so that the vehicle-mounted system successfully establishes the emergency call with the public safety answering point;
[0010] Optionally, the communication failure includes a cellular network connection establishment failure.
[0011] Correspondingly, if the call setup response indicates that the communication with the public safety answering point fails, starting an emergency call redial according to a preset redial rule within the first redial duration, includes:
[0012] determining that the first redial timer has not timed out, and starting a second redial timer; the second redial timer is configured with a first redial number and N second redial durations; N is greater than or equal to 2, the N second redial durations are not the same, and the second redial duration is less than the first redial duration;
[0013] determining a target second redial duration from the N second redial durations, determining a current redial duration of the second redial timer based on the target second redial duration, controlling the redial according to the current redial duration of the second redial timer, and after the redial ends and fails, increasing the redial number by one as a new redial number, and re-executing the steps of determining that the first redial timer has not timed out and starting the second redial timer, until the current redial number is greater than the first redial number of the second redial timer;
[0014] Optionally, before determining that the first redial timer has not timed out and starting the second redial timer, the method further includes:
[0015] determining whether the current redial number is zero;
[0016] if the current redial number is zero, obtaining a current call time of starting the first redial timer;
[0017] obtaining a current failure time; the current failure time is a time of the cellular network connection establishment failure;
[0018] Correspondingly, determining the current redial duration of the second redial timer based on the target second redial duration includes:
[0019] if a difference between the current failure time and the current call time is less than the target second redial duration, taking the difference as the current redial duration of the second redial timer;
[0020] Optionally, the N second redial durations are sorted, and the target second redial duration is determined from the N second redial durations according to a remainder obtained by taking the current redial number modulo N.
[0021] The current redial number is taken modulo N.
[0022] The target second redial duration is determined from the sorted N second redial durations according to the obtained remainder.
[0023] Optionally, the call establishment failure includes no one answering.
[0024] Correspondingly, if the call establishment response indicates that the communication with the public safety answering point fails to be established, an emergency call redial is started according to a preset redial rule within the first redial duration, including:
[0025] The current redial number is obtained, and it is determined whether the current redial number is less than the first redial number.
[0026] If the current redial number is less than the first redial number, a redial is immediately started, the current redial number is added by one to obtain a new redial number, and the steps of obtaining the current redial number and determining whether the current redial number is less than the first redial number are re-executed.
[0027] Optionally, if the call establishment response indicates that the communication with the public safety answering point is successfully established, the first redial timer is stopped, and the redial number of the second redial timer is reset.
[0028] In a second aspect, an embodiment of the present application provides an emergency call system, including a vehicle-mounted system and a public safety answering point.
[0029] The vehicle-mounted system is configured to generate a call initiation message and start a first redial timer in response to an emergency call trigger event; the call initiation message is used to initiate an emergency call with the public safety answering point; the first redial timer is configured with a first redial duration; a call establishment response of the emergency call is obtained; if the call establishment response indicates that the communication with the public safety answering point fails to be established, an emergency call redial is started according to a preset redial rule within the first redial duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established.
[0030] In a third aspect, an embodiment of the present application provides an emergency call device, including:
[0031] A response module is configured to generate a call initiation message and start a first redial timer in response to an emergency call trigger event; the call initiation message is used to initiate an emergency call with a public safety answering point; the first redial timer is configured with a first redial duration.
[0032] an obtaining module, configured to obtain a call establishment response of the emergency call;
[0033] a redialing module, configured to, if the call establishment response indicates that the communication with the public safety answering point fails, start an emergency call redialing according to a preset redialing rule within the first redialing duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established.
[0034] In a fourth aspect, an electronic device is provided, including a processor, a memory and a communication bus, wherein the processor and the memory complete mutual communication through the communication bus;
[0035] the memory is configured to store a computer program;
[0036] the processor is configured to execute the program stored in the memory, and implement the emergency call method in any one of the first aspect.
[0037] In a fifth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the emergency call method in any one of the first aspect.
[0038] The above technical solution provided by the embodiments of the present application has the following advantages compared with the prior art: the method provided by the embodiments of the present application, in response to an emergency call triggering event, generates a call initiation message and starts a first redialing timer; the call initiation message is used to initiate an emergency call with a public safety answering point; the first redialing timer is configured with a first redialing duration; a call establishment response of the emergency call is obtained; if the call establishment response indicates that the communication with the public safety answering point fails, an emergency call redialing is started according to a preset redialing rule within the first redialing duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established. The method can initiate an emergency call in response to an emergency call triggering event, and if the call establishment response indicates that the communication with the public safety answering point fails, an emergency call redialing is started according to a preset redialing rule, so that the emergency call between the vehicle-mounted system and the public safety answering point is automatically established, and thus the emergency rescue can be responded and processed in time, and the safety performance of the vehicle-mounted system is improved. BRIEF DESCRIPTION OF DRAWINGS
[0039] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
[0041] Figure 1 A system architecture diagram of an emergency call method provided for an embodiment of the present application;
[0042] Figure 2 A flowchart of an emergency call method provided for an embodiment of the present application;
[0043] Figure 3 A flowchart of an emergency call method in an originating stage provided for an embodiment of the present application;
[0044] Figure 4 A flowchart of an emergency call method in a call stage provided for an embodiment of the present application;
[0045] Figure 5 A structural diagram of an emergency call device provided for an embodiment of the present application;
[0046] Figure 6 A structural diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort fall within the protection scope of the present application.
[0048] The method provided in the embodiments of the present application can be applied to an electronic device, which can be a module capable of realizing a communication function or a terminal device containing the module, etc. The terminal device can be a mobile terminal or a smart terminal. The mobile terminal can be at least one of a mobile phone, a tablet computer, a notebook computer, etc. The smart terminal can be a smart car, a smart watch, a shared bicycle, a smart cabinet, etc. containing a wireless communication module. The module can be a wireless communication module, such as any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, etc.
[0049] The method provided in the embodiments of the present application can also be applied to, for example, Figure 1In the system architecture shown, the eCall system includes an in-vehicle system (IVS) supporting the eCall function and a public safety answering point (PSAP) supporting the eCall function, and the IVS and the PSAP are communicatively connected through a cellular network supporting a circuit domain voice service.
[0050] The in-vehicle system is configured to, in response to an emergency call trigger event, generate a call origination message and start a first redial timer, the call origination message being used to initiate an emergency call with the public safety answering point, and the first redial timer being configured with a first redial duration.
[0051] Next, the emergency call method is described in detail based on the system architecture or the electronic device, and the emergency call method can be applied to the IVS in the system architecture or the electronic device, such as Figure 2 An emergency call method includes:
[0052] In step 201, in response to an emergency call trigger event, a call origination message is generated and a first redial timer is started, the call origination message being used to initiate an emergency call with the public safety answering point, and the first redial timer being configured with a first redial duration.
[0053] The emergency call trigger event refers to an event that can trigger an emergency call, such as a car breakdown, a car crash, a car falling into water, etc. In response to the emergency call trigger event, a call origination message is generated and a first redial timer is started, wherein the call origination message is information for the first call based on the trigger event, and the first redial timer is used to set the total duration of redial, i.e., the total duration of redial is the first redial duration T1. It should be understood that if the emergency call initiated by the call origination message successfully establishes the emergency call between the IVS and the PSAP, redial is not needed, and the timing of the first redial timer is stopped.
[0054] In step 202, a call establishment response of the emergency call is obtained.
[0055] The IVS initiates an emergency call with the PSAP based on the call origination message, and the IVS can obtain the call establishment response of the emergency call to perform different processing according to the call establishment response. The call establishment response can have two cases: call establishment success or call establishment failure. If the call establishment is successful, the call with the PSAP can be successfully established, and the emergency rescue can be responded in time.
[0056] If the call establishment response indicates that the communication with the public safety answering point fails to be established, the emergency call redial is started according to the preset redial rule within the first redial duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established.
[0057] The method can initiate an emergency call in response to an emergency call triggering event, and if the call establishment response indicates that the communication with the public safety answering point fails to be established, the emergency call redial is started according to the preset redial rule, so that the emergency call between the vehicle-mounted system and the public safety answering point is automatically established, thereby ensuring that emergency rescue can be responded and handled in time, and improving the safety performance of the vehicle-mounted system.
[0058] If the call establishment response indicates that the communication with the public safety answering point fails to be established, redial is needed to make the emergency call between the IVS and the PSAP successfully established. The redial can be performed based on the preset redial rule. Of course, the redial is not unlimited redial, but can be performed within the first redial duration configured by the first redial timer.
[0059] If the call establishment fails, it can be that the cellular network connection fails to be established, or that the cellular network connection is successfully established but no one answers.
[0060] In the first case, the communication establishment failure is caused by the failure of the cellular network connection.
[0061] In the embodiment, the emergency call redial is started according to the preset redial rule within the first redial duration, including:
[0062] If the first redial timer is determined not to be timed out, the second redial timer is started. The second redial timer is configured with a first redial number and N second redial durations. N is greater than or equal to 2, the N second redial durations are different from each other, and the second redial duration is less than the first redial duration.
[0063] A target second redial duration is determined from the N second redial durations, and the current redial duration of the second redial timer is determined based on the target second redial duration. The redial is controlled according to the current redial duration of the second redial timer. After the redial ends and fails, the redial number is increased by one as a new redial number, and the steps of determining that the first redial timer is not timed out and starting the second redial timer are re-executed until the current redial number is greater than the first redial number of the second redial timer.
[0064] In this embodiment, first determine that the first redial timer does not expire, that is, from the start of the first redial timer, the time of the timing does not exceed the total duration T1. If it is not expired, start the second redial timer, the second redial timer can be determined according to the needs of the target second redial duration from the different N second redial durations, control the redial, if the redial is not successful, the redial number is increased by one, and the redial is repeated until the redial number is greater than the first redial number set by the second redial timer. Of course, each time the redial, the target second redial duration can be determined from the N second redial durations to control the redial according to the selected target second redial duration.
[0065] In this embodiment, the second redial timer can be configured as a timer common to the call-up stage and the call stage, and the second redial timer can also be a timer configured separately for the call-up stage and the call stage, such as the second redial timer for the call-up stage being T2 timer and the second redial timer for the call stage being T3 timer. When configured separately, the first redial number can be the call-up redial number corresponding to the T2 timer for the call-up stage and the call redial number corresponding to the T3 timer for the call stage.
[0066] The call-up stage refers to the stage of the redial when the IVS and the PSAP have not established communication, and the call stage refers to the stage of reconnection when the IVS and the PSAP establish communication successfully and the call is interrupted due to abnormality. The call-up stage and the call stage are only different in the scenario, and the steps of the emergency call are the same.
[0067] For example, in the call-up stage, N can be 5, when N is 5, the second redial duration includes the second duration T2, the third duration T3, the fourth duration T4, the fifth duration T5 and the sixth duration T6, T2, T3, T4, T5 and T6 can be set to different durations, for the convenience of configuring the redial interval, T2 < T3 < T4 < T5 < T6 can be set, of course, T6 < T1 is required. The first redial number is the total redial number set for the call-up stage, which can be set to a natural number, indicating a limited redial of the natural number, for example, setting 10 indicates redialing 10 times, setting 100 indicates redialing 100 times, or it can be set to unlimited redial, that is, redialing according to the second redial duration within the first redial duration T1. At this time, the first redial number can be set to 0 to indicate unlimited redial.
[0068] In the call stage, N can be 5, when N is 5, the second redial duration includes the seventh duration T7, the eighth duration T8, the ninth duration T9, the tenth duration T10 and the eleventh duration T11, T7, T8, T9, T10 and T11 can be set as different durations, for example, T7 < T8 < T9 < T10 < T11 can be set, of course, T11 < T1 is required. The first redial number is the total redial number of the set call stage, which can be set as a natural number, indicating a limited redial of the natural number of times, for example, 10 indicates redialing 10 times, 100 indicates redialing 100 times, or it can be set as an unlimited redial, that is, redialing according to the second redial duration within the first redial duration T1, at this time, the first redial number can be set as 0 to indicate unlimited redial.
[0069] In the embodiment, a plurality of second redial durations are set, and different durations can be selected for redialing according to needs in the call stage, for example, T2 with the shortest duration can be selected first, if the connection cannot be established after a certain number of times, it indicates that the current cellular network quality is poor, and the interval duration can be appropriately increased, for example, T3 is selected, if the connection cannot be established after a certain number of times, T4 can be selected, of course, the selection of the second redial duration of the call can be according to needs, and the specific scheme is not limited, and T2, T3, T4, T5 and T6 can be selected in sequence and in turn, and no limitation is made. The second redial duration is set in the call stage and the call stage, and details are not repeated.
[0070] It should be noted that the first redial duration of the first redial timer can be the preset total duration of the current emergency call, and the preset total duration can be regarded as the call cycle of the current emergency call. If the emergency call of the IVS and the PSAP cannot be established after the first redial duration T1 is exceeded, it indicates that the emergency call of the current call cycle fails.
[0071] It should be noted that the redial timer in the above embodiments is a general term, including any timing or timing method, as long as a signal can be output when the set duration arrives, it can be considered to belong to the scope of the redial timer.
[0072] In one embodiment, before determining that the first redial timer does not time out and starting the second redial timer, the method further comprises: judging whether the current redial number is zero; if the current redial number is zero, obtaining the current call time for starting the first redial timer; and obtaining the current failure time; the current failure time is the time when the cellular network connection fails to be established.
[0073] Correspondingly, determining the current redial duration of the second redial timer based on the target second redial duration comprises: if the difference between the current failure time and the current call time is less than the target second redial duration, taking the difference as the current redial duration of the second redial timer.
[0074] The current failure time can be the time when the call establishment fails or the time when the cellular network establishment failure is received. In this embodiment, if the current redial count is zero, the duration of the current redial can be determined based on the difference between the current failure time and the current call initiation time, so as to align the initial timing times of the first redial timer and the second redial timer, and improve the accuracy of redialing.
[0075] It should be understood that in any of the above embodiments, after generating the call initiation message, it is also necessary to record the current call initiation time and set the redial count to zero.
[0076] In one embodiment, the N second redial durations are sorted; determining a target second redial duration from the N second redial durations includes: taking the modulus of the current redial count with N; and determining the target second redial duration from the sorted N second redial durations according to the obtained remainder.
[0077] In this embodiment, different second redial durations of the second redial timer can be selected during each redial. Taking N as 5 in the above embodiment, and the second redial timer including T2, T3, T4, T5, and T6 as an example, the second redial durations are sorted, and T2 < T3 < T4 < T5 < T6. For example, during redialing, second redial durations with increasing intervals can be set. Take the modulus of the current redial count with 5. For example, if the current redial count is 0 and the remainder of the modulo operation is 0, then T2 can be selected first. At this time, the redial count during the call initiation phase (i.e., the call initiation redial count) is 0. If the redial is not successful, the call initiation redial count is 1, and the modulo remainder is 1, then T3 is selected to continue the redial. If the redial is not successful, the call initiation redial count is 2, and T4 is selected to continue the redial. It can be looped repeatedly. That is, if the redial with T6 is still not successful, the redial count is 5, the modulo remainder is 0, and T2 is reselected for redialing. There is no limit, which can avoid frequent calls when the signal is poor and unable to connect, and reduce the number of invalid redials.
[0078] It should be noted that selecting T2 when the remainder is 0 and selecting T3 when the remainder is 1 are only for illustrative purposes and are not specifically limited.
[0079] In the second case, the reason for the communication establishment failure is that no one answers the call.
[0080] In this embodiment, if the call establishment response indicates that the communication with the public safety answering point fails, then within the first redial duration, the emergency call redial is initiated according to the preset redial rule, including:
[0081] Obtain the current redial count and determine whether the current redial count is less than the first redial count;
[0082] If the current redial number is less than the first redial number, immediately start redial, add one to the current redial number as a new redial number, and re-execute the steps of obtaining the current redial number and determining whether the current redial number is less than the first redial number.
[0083] In the embodiment, if the first redial number is infinite redial, or is limited redial but the redial number is less than or equal to the limited redial number, immediately start redial, add one to the current redial number, and determine whether the current redial number is less than the first redial number. In the embodiment, since the communication failure reason is no one answering, continuous redial is required, and the second redial time interval is not required, so that the communication between the IVS and the PSAP can be immediately connected after a person on duty is present at the PSAP side, and the response speed is improved.
[0084] In one embodiment, if the call establishment response indication indicates that the communication with the public safety answering point is successfully established, the first redial timer is stopped, and the redial number of the second redial timer is reset, which can be reset to 0, so that the method is re-executed to establish the communication connection between the IVS and the PSAP after the call is abnormally interrupted.
[0085] In one embodiment, if the call establishment response indication indicates that the communication with the public safety answering point is successfully established, the first redial timer is stopped, and the redial number of the second redial timer is reset.
[0086] Next, the emergency call method is further described in one specific embodiment, such as Figure 3 The emergency call method in the call stage includes:
[0087] In step 301, the IVS configures related timers and redial parameters. The IVS defaults the eCall redial timer Timer1 to have a time length T1 (T1>T6, T1>T11), the call stage redial timer Timer2 to have a time length T2, T3, T4, T5, T6 (T2<T3<T4<T5<T6), the call stage redial timer Timer3 to have a time length T7, T8, T9, T10, T11 (T7<T8<T9<T10<T11), whether the redial is limited, and the limited redial number (a value greater than 0).
[0088] In step 302, after an accident occurs, the IVS triggers automatic alarm or manually initiates the emergency call eCall. After the accident occurs, the automatic alarm is triggered by the sensor on the IVS or the emergency call eCall is manually initiated by the user.
[0089] Step 303, the high-level application module initiates a call message to the cellular communication module. The eCall high-level application module on the IVS constructs an eCall call message and sends it to the cellular communication module on the IVS, records the current call time T_MO, records the call redial number as 0, the call redial number as 0, starts the redial timer Timer1, and the duration is T1.
[0090] Step 304, the cellular communication module attempts to establish a call with the PSAP using the cellular network. The cellular communication module on the IVS attempts to establish a voice call with the PSAP using the 2G or 3G circuit domain emergency call through the cellular network.
[0091] The cellular communication module on the IVS sends a call establishment response to the high-level application module, including but not limited to the following cases: 1. Call establishment failure, due to cellular network connection establishment failure; 2. Call establishment failure, due to no one answering; 3. Call establishment success.
[0092] Step 305, the high-level application module processes the call establishment response (connection establishment failure or no one answering) of the cellular communication module.
[0093] Step 306, the high-level application module determines whether the redial condition is met according to different situations, and decides whether to start the timer redial or redial immediately.
[0094] Step 307, redial success, the cellular module and the PSAP call establishment success.
[0095] Among steps 305 to 307, there are multiple processing cases, as follows:
[0096] (1) When the eCall high-level application module on the IVS processes the call establishment response as cellular network connection establishment failure, the details are as follows:
[0097] If the redial timer Timer1 has not timed out:
[0098] Get the current time T_Fail;
[0099] If the call redial number is 0 and the value of T_Fail minus T_MO is less than T2, start the redial timer Timer2, the timer duration is T2 minus the value of T_Fail minus T_MO, and the high-level application module waits for the redial timer Timer2 to time out;
[0100] If the call redial number is 0 and the value of T_Fail minus T_MO is greater than or equal to T2, immediately start the redial, the high-level application module starts the eCall redial, constructs an eCall call message and sends it to the cellular communication module on the IVS, and records the call redial number plus 1;
[0101] If the call re-dial number is greater than 0 and the limited re-dial is no (i.e. unlimited re-dial), start the re-dial timer Timer2, the timer duration is the value according to the call re-dial number modulo 5 (the remainder after a number is divided by 5, such as the modulo 5 value of 10 is 0, the modulo 5 value of 11 is 1), such as 0, the timer duration is T2, 1, the timer duration is T3, and so on. The high-level application module waits for the re-dial timer Timer2 to expire.
[0102] If the call re-dial number is greater than 0 and the limited re-dial is yes (i.e. limited re-dial), the call re-dial number is less than or equal to the limited re-dial number, start the re-dial timer Timer2, the timer duration is the value according to the call re-dial number modulo 5, such as 0, the timer duration is T2, 1, the timer duration is T3, and so on. The high-level application module waits for the re-dial timer Timer2 to expire.
[0103] If the call re-dial number is greater than 0 and the limited re-dial is yes (i.e. limited re-dial), the call re-dial number is greater than the limited re-dial number, do not start the re-dial, stop the re-dial timer Timer1, the IVS high-level application module waits to receive the eCall called message sent by the cellular communication module (i.e. the PSAP calls the IVS), resets the re-dial number (i.e. the call re-dial number) to 0, and jumps to step 309.
[0104] If the re-dial timer Timer1 expires: do not start the re-dial, the IVS high-level application module waits to receive the eCall called message sent by the cellular communication module (i.e. the PSAP calls the IVS), resets the call re-dial number to 0, and jumps to step 309.
[0105] Wherein, the high-level application module waits for the re-dial timer Timer2 to expire, as follows:
[0106] If the PASP calls the IVS during the waiting Timer2 expires (i.e. Timer2 has not expired), i.e. receives the eCall called message sent by the cellular communication module of the IVS (i.e. the PSAP calls the IVS), stop the re-dial timer Timer1 and Timer2, and jump to step 309;
[0107] If Timer2 expires, start the re-dial, the high-level application module starts the eCall re-dial, constructs the eCall call message and sends it to the cellular communication module on the IVS, and records the call re-dial number plus 1.
[0108] (2) When the eCall high-level application module on the IVS processes the call setup response as no one answers, as follows:
[0109] If the re-dial timer Timer1 does not expire:
[0110] A1, if the limited redial is no (i.e. unlimited redial), immediately start redial, high-level application module to start eCall redial, construct eCall call message sent to the cellular communication module on the IVS, and record the call redial number plus 1;
[0111] A2, if the limited redial is yes (i.e. limited redial), and the call redial number is less than or equal to the limited redial number, immediately start redial, high-level application module to start eCall redial, construct eCall call message sent to the cellular communication module on the IVS, and record the call redial number plus 1;
[0112] A3, if the limited redial is yes (i.e. limited redial), and the call redial number is greater than the limited redial number, do not start redial, stop the redial timer Timer1, IVS high-level application module waits to receive the eCall called answer message sent by the cellular communication module (i.e. PSAP calls IVS), reset the call redial number to 0, jump to step 309.
[0113] If the redial timer Timer1 expires, reset the call redial number to 0, at this time, the IVS high-level application module waits to receive the eCall called answer message sent by the cellular communication module (i.e. PSAP calls IVS), reset the call redial number to 0, jump to step 309.
[0114] Step 308, the high-level application module processes the call setup response (connection setup success) of the cellular communication module. Including IVS to PSAP call connection setup success, also includes IVS receives the called of PSAP. The eCall high-level application module on the IVS processes the call setup response (call setup success), stops the redial timer Timer1, resets the call redial number to 0, and jumps to step 309.
[0115] Step 309, the eCall call of IVS and PASP is established successfully, and the conversation or data transmission is normally carried out.
[0116] It can be understood that the above-mentioned emergency call method is also applicable to the case of call abnormal interruption.
[0117] In the call phase, such as Figure 4 :
[0118] Step 401, the eCall call of IVS and PASP is established successfully, and the conversation or data transmission is normally carried out. That is, step 309 of the call phase, indicating the normal state of the call.
[0119] Step 402, the cellular communication module has an abnormal conversation with the PSAP, and sends a call abnormal interruption message to the high-level application module.
[0120] Step 403: The high-level application module initiates a redial waiting timer based on the redial conditions, and initiates redial after the timer expires.
[0121] Step 404: During the waiting period, is the PASP caller received?
[0122] Step 405: The cellular communication module attempts to establish a call with the PSAP using the cellular network.
[0123] Step 406: The higher-level application module processes the call establishment response from the cellular communication module (connection establishment failure or no answer).
[0124] Step 407: The high-level application module determines whether the redial conditions are met based on different situations, and decides whether to start a timer to redial or to redial immediately.
[0125] Step 408: Redial successful, cellular module and PSAP call successfully established.
[0126] Step 409: The higher-level application module processes the call establishment response from the cellular communication module (connection established successfully).
[0127] Step 410: The eCall call between IVS and PASP is successfully established, and normal call or data transmission and reception can proceed.
[0128] Among them, steps 403 to 409 include various processing scenarios, and the specific processing methods are described in the above-mentioned call initiation stage.
[0129] This embodiment enables the eCall system to quickly and efficiently redial and restore the call when an eCall call anomaly occurs, thereby ensuring that emergency rescue can be responded to and handled in a timely manner, and improving the safety performance of the vehicle system.
[0130] Based on the same concept, this application provides an emergency call device. The specific implementation of this device can be found in the description of the method embodiments section; repeated details will not be repeated here. Figure 5 As shown, the device mainly includes:
[0131] Response module 501 is used to generate a call initiation message and start a first redial timer in response to an emergency call triggering event; the call initiation message is used to initiate an emergency call with the public safety answering point; the first redial timer is configured with a first redial duration;
[0132] The acquisition module 502 is used to acquire the call setup response of the emergency call;
[0133] The redial module 503 is configured to, if the call establishment response indicates that the communication with the public safety answering point fails, start an emergency call redial according to a preset redial rule within the first redial duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established.
[0134] The device can initiate an emergency call in response to an emergency call trigger event, start an emergency call redial according to a preset redial rule if the call establishment response indicates that the communication with the public safety answering point fails, and automatically establish the emergency call between the vehicle-mounted system and the public safety answering point, thereby ensuring that emergency rescue can be responded to and handled in a timely manner and improving the safety performance of the vehicle-mounted system.
[0135] Based on the same concept, the embodiments of the present application also provide an electronic device, as shown in the drawings, which mainly comprises a processor 601, a memory 602 and a communication bus 603, wherein the processor 601 and the memory 602 complete mutual communication through the communication bus 603. The memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps. Figure 6
[0136] In response to an emergency call trigger event, a call initiation message is generated and a first redial timer is started; the call initiation message is used to initiate an emergency call with the public safety answering point; and the first redial timer is configured with a first redial duration.
[0137] A call establishment response of the emergency call is obtained.
[0138] If the call establishment response indicates that the communication with the public safety answering point fails, an emergency call redial is started according to a preset redial rule within the first redial duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established.
[0139] The communication bus 603 mentioned in the above electronic device can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus 603 can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 6 In the above electronic device, only one thick line is used to represent the communication bus 603, but it does not mean that there is only one bus or only one type of bus.
[0140] The memory 602 can include a random access memory (RAM) and can also include a non-volatile memory such as at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor 601.
[0141] The aforementioned processor 601 can be a general-purpose processor including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
[0142] In yet another embodiment of the present application, a computer readable storage medium is also provided, and the computer readable storage medium stores a computer program. When the computer program runs on a computer, the computer is caused to execute the steps of the emergency call method described in the above embodiments:
[0143] In response to an emergency call trigger event, a call origination message is generated and a first redial timer is started; the call origination message is used to initiate an emergency call with the public safety answering point; and the first redial timer is configured with a first redial duration;
[0144] A call setup response of the emergency call is obtained;
[0145] If the call setup response indicates that the communication with the public safety answering point fails, an emergency call redial is started according to a preset redial rule within the first redial duration, so that the emergency call between the vehicle-mounted system and the public safety answering point is successfully established.
[0146] In the embodiments described above, all or some of the steps can be implemented by software, hardware or firmware, or any combination thereof. When implemented by software, all or some of the steps can be implemented in the form of one or more computer programs. The computer program can be stored in any computer readable medium, and loaded into the computer for execution. The computer readable medium includes: a computer storage medium and a computer communication medium. The computer storage medium includes: volatile memory and non-volatile memory. The computer storage medium includes: an electric medium, a magnetic medium, an optical medium, and a solid medium. The computer communication medium includes: computer communication networks and computer networks. The computer program can be loaded into many different computers and different computers can be caused to perform according to the computer program.
[0147] It should be noted that the relative terms, such as "first" and "second", etc., are used herein only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a list of elements does not only include those elements, but also includes other elements not explicitly listed, or further includes elements inherent in such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising the element.
[0148] The above description is merely one specific implementation of the application. Many modifications and variations of the described embodiments can be apparent to those skilled in the art without departing from the spirit or scope of the application. Thus, it is intended that the application cover modifications and variations of this implementation provided they come within the scope of the appended claims and their equivalents.
Claims
1. An emergency call method, characterized in that, include: In response to an emergency call trigger event, a call initiation message is generated and the first redial timer is started; The call initiation message is used to initiate an emergency call with a public safety response point; The first redial timer is configured with the first redial duration; Obtain the call setup response for the emergency call; If the call setup response indication fails to establish communication with the public safety answering point, then within the first redial duration, an emergency call redial is initiated according to the preset redial rules so that the emergency call between the vehicle system and the public safety answering point can be successfully established. Wherein, when communication establishment failure is a cellular network connection establishment failure, if the call establishment response indication fails to establish communication with the public safety answering point, then within the first redial duration, an emergency call redial is initiated according to preset redial rules, including: If the first redial timer has not expired, start the second redial timer; the second redial timer is configured with the first redial count and N second redial durations; N is greater than or equal to 2, the N second redial durations are not the same, and the second redial duration is less than the first redial duration. A target second redial duration is determined from N second redial durations, and the current redial duration of the second redial timer is determined based on the target second redial duration. Redialing is controlled according to the current redial duration of the second redial timer. After redialing ends and fails, the redial count is incremented by one as the new redial count, and the steps of determining that the first redial timer has not timed out and starting the second redial timer are re-executed until the current redial count is greater than the first redial count of the second redial timer. Before starting the second redial timer after determining that the first redial timer has not expired, the method further includes: Determine if the current redial count is zero; If the current redial count is zero, obtain the current call initiation time that started the first redial timer; Get the current failure time; the current failure time is the time when the cellular network connection establishment failed. Accordingly, determining the current redial duration of the second redial timer based on the target second redial duration includes: If the difference between the current failure time and the current call initiation time is less than the target second redial duration, the difference is used as the current redial duration of the second redial timer.
2. The method according to claim 1, characterized in that, Sort the N second redial durations; determining a target second redial duration from the N second redial durations includes: Modulo N on the current redial count; The target second redial duration is determined from the sorted N second redial durations based on the obtained remainder.
3. The method according to claim 1, characterized in that, When communication establishment fails (no answer), if the call establishment response indication fails to establish communication with the public safety answering point, then within the first redial duration, an emergency call redial is initiated according to preset redial rules, including: Get the current redial count and determine whether the current redial count is less than the first redial count; If the current redial count is less than the first redial count, redialing is initiated immediately, the current redial count is incremented by one to obtain the new redial count, and the steps of obtaining the current redial count and determining whether the current redial count is less than the first redial count are re-executed.
4. The method according to claim 1, characterized in that, If the call setup response indication successfully establishes communication with the public safety answering point, the first redial timer is stopped, and the redial count of the second redial timer is reset.
5. An emergency call system for executing the emergency call method as described in claim 1, characterized in that, Including in-vehicle systems and public safety answering points; The vehicle-mounted system is used to respond to an emergency call triggering event, generate a call initiation message and start a first redial timer; the call initiation message is used to initiate an emergency call with the public safety answering point; the first redial timer is configured with a first redial duration; and the call setup response of the emergency call is obtained; If the call setup response indication fails to establish communication with the public safety answering point, then within the first redial duration, an emergency call redial is initiated according to a preset redial rule to ensure that the emergency call between the vehicle system and the public safety answering point is successfully established.
6. An emergency call device for performing the emergency call method as described in claim 1, characterized in that, include: The response module is used to respond to an emergency call trigger event, generate a call initiation message, and start the first redial timer; The call initiation message is used to initiate an emergency call with a public safety answering point; the first redial timer is configured with a first redial duration. The acquisition module is used to acquire the call setup response of the emergency call; The redial module is used to initiate an emergency call redial within the first redial duration according to a preset redial rule if the call setup response indication fails to establish communication with the public safety answering point, so as to enable the emergency call between the vehicle system and the public safety answering point to be successfully established.
7. An electronic device, characterized in that, include: The processor, memory, and communication bus are used to communicate with each other. The memory is used to store computer programs; The processor is configured to execute the program stored in the memory to implement the emergency call method according to any one of claims 1-4.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the emergency call method according to any one of claims 1-4.
Citation Information
Patent Citations
Methods, devices, system and computer program products for supporting the re-establishment of an emergency communication
CN103416100A
Call setup timer triggered and terminated by different protocols
CN110383935A