Ecall service abnormality recovery method, device, equipment and storage medium
Restoring the Ecall service by recording and using the Ecall service status information solves the problem that the Ecall service cannot be restored after being interrupted, improves the user experience, and ensures that the service can run normally after the process is restarted.
Patent Information
- Application Number
- CN202211139561.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-09-19
AI Technical Summary
The Ecall service cannot be restored after the process is interrupted, resulting in poor user experience, such as the interface staying, the phone cannot be connected, or the callback call from the rescue center cannot be automatically answered.
Record the status information of the Ecall service, and restore the Ecall service based on this information when restarting the process, including obtaining the status of the modem and the status of the Ecall service to control the recovery of the Ecall service from different states.
Improved the user experience of the Ecall service, ensuring that the service can be effectively restored after the process is restarted, and avoiding service interruptions and interface errors experienced by users.
Smart Images

Figure CN115525473B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method, device, equipment and storage medium for recovering an Ecall service exception. Background Art
[0002] Ecall (Emergency Call) is a service that establishes a telephone connection with the nearest rescue center through the mobile communication device configured in the vehicle in case of an emergency, such as a car crash, so as to obtain emergency rescue.
[0003] In the prior art, the Ecall service is attached to the Ecall process, and the Ecall process is a resident process in the system. When certain trigger conditions are met (such as a car crash), the Ecall process will start the corresponding state machine to execute the Ecall service (such as sending the vehicle location, calling the rescue center, etc.), thereby realizing the Ecall function. When the Ecall process is interrupted for various reasons, the system's daemon process will restart the Ecall process.
[0004] However, the inventor of the present application discovered that if the Ecall process is interrupted while executing the Ecall service, after the daemon process restarts the Ecall process, the Ecall process will not resume the execution of the Ecall service, but will monitor whether the trigger condition is met, and when the trigger condition is met, restart the state machine to execute the Ecall service. In other words, the restart of the Ecall process will not lead to the recovery of the Ecall service, and the user may suffer from a poor user experience, such as the interface staying on the dialing interface or the connection interface, the call cannot be connected, or the return call from the rescue center cannot be automatically answered, etc. Therefore, there is a need for improvement in the prior art. Summary of the invention
[0005] In view of this, the embodiments of the present invention provide a method, apparatus, device and storage medium for recovering an Ecall service exception, which can improve the user experience of the Ecall service.
[0006] Specifically, an embodiment of the present invention provides a method for recovering an emergency call Ecall service exception, including: receiving an Ecall trigger signal; executing the Ecall service through an Ecall process according to the Ecall trigger signal; when executing the Ecall service, recording first information, the first information including: the status of the Ecall service; and when restarting the Ecall process, restoring the Ecall service according to the first information.
[0007] The method of restoring the Ecall service according to the first information includes: obtaining the status of a modem when the Ecall service is in a connected state, an off state, or a waiting-for-callback state; and restoring the Ecall service according to the status of the modem and the status of the Ecall service.
[0008] The first information further includes: a call session ID between the Ecall service and the Modem service; and obtaining the state of the modem includes: obtaining the state of the Modem according to the call session ID.
[0009] The recovering of the Ecall service according to the state of the Modem and the state of the Ecall service includes: when the state of the Modem is a voice connection state and the state of the Ecall service is a connected state or a disconnected state, controlling the Ecall service to recover from the connected state or the disconnected state.
[0010] Among them, restoring the Ecall service according to the status of the Modem and the status of the Ecall service includes: when the status of the Modem is a non-voice connection state and the status of the Ecall service is a connected state, determining whether the Ecall service is an automatic Ecall or a manual Ecall, and restoring the Ecall service based on the determination result.
[0011] The first information further includes: a call type of the Ecall service, and the determining whether the Ecall service is an automatic Ecall or a manual Ecall includes: determining whether the Ecall service is an automatic Ecall or a manual Ecall according to the first information.
[0012] The resuming the Ecall service based on the determination result includes: when the Ecall service is an automatic Ecall, controlling the Ecall service to resume from a dialing state; and when the Ecall service is a manual Ecall, ending the Ecall service.
[0013] The method of restoring the Ecall service according to the state of the Modem and the state of the Ecall service includes: when the state of the Modem is a non-voice connection state and the state of the Ecall service is a hang-up state or a waiting for callback state, controlling the Ecall service to resume from the waiting for callback state.
[0014] The method of restoring the Ecall service according to the state of the Modem and the state of the Ecall service includes: when the state of the Modem is a voice connection state and the state of the Ecall service is a waiting for callback state, controlling the Ecall service to resume from a connected state.
[0015] Among them, according to the first information, restoring the Ecall service includes: when the state of the Ecall service is idle state, sending minimum data set state or dialing state, controlling the Ecall service to resume from idle state; and / or, when the state of the Ecall service is resource release state or exit state, ending the Ecall service.
[0016] In addition, an embodiment of the present invention also provides an Ecall service exception recovery device, including: a receiving module, used to receive an Ecall trigger signal; a first processing module, used to execute the Ecall service through the Ecall process according to the Ecall trigger signal; a storage module, used to record first information when executing the Ecall service, the first information at least including: the status of the Ecall service; and a second processing module, used to restore the Ecall service according to the first information when restarting the Ecall process.
[0017] Wherein, the first information also includes: call session ID.
[0018] The first information further includes: call session ID and call type.
[0019] In addition, an embodiment of the present invention further provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to implement the method of the embodiment of the present invention.
[0020] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. The computer program includes executable instructions. When the executable instructions are executed by a processor, the method according to the embodiment of the present invention is implemented.
[0021] Beneficial effects of the embodiments of the present invention:
[0022] In the embodiment of the present invention, when the Ecall service is executed, if the Ecall process is restarted due to various reasons, the Ecall service will be restored according to the recorded state of the Ecall service, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Other details and advantages of the present invention will become apparent from the detailed description provided below. It should be understood that the following drawings are merely illustrative and thus cannot be considered as limiting the present invention, and the following will be described in detail with reference to the drawings, wherein:
[0024] Figure 1 is a schematic structural diagram of an emergency rescue system according to an embodiment of the present invention;
[0025] Figure 2 It is a schematic diagram of the normal process of the Ecall service in an embodiment of the present invention;
[0026] Figure 3 It is a flowchart of a method for recovering an abnormal Ecall service according to an embodiment of the present invention;
[0027] Figure 4 It is a flowchart of a method for recovering an Ecall service exception according to another embodiment of the present invention;
[0028] Figure 5 It is a flowchart of a method for recovering an Ecall service exception according to another embodiment of the present invention;
[0029] Figure 6 is a flowchart of a method for recovering an Ecall service exception according to another embodiment of the present invention; and
[0030] Figure 7 It is a structural diagram of an Ecall service abnormality recovery device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and more understandable, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention.
[0032] like Figure 1 , which is a schematic diagram of the structure of an emergency rescue system according to an embodiment of the present invention. The emergency rescue system comprises: a T-BOX (Telematic-BOX, telematics box) 1 and a rescue center 2, wherein the T-BOX 1 is connected to the rescue center 2 via a wireless network, such as a 2G, 3G, 4G or 5G network connection, for example, Figure 1 In the embodiment, T-BOX1 can communicate with the base station through the 4G / 5G antenna in the antenna 6, thereby establishing a communication connection with the rescue center 2. In addition, the antenna 6 also includes a GNSS (Global Navigation Satellite System) antenna so that T-BOX1 can obtain location information.
[0033] Among them, T-BOX1 generally includes: a processor 10, a memory 11 and a modem 12, wherein the memory 11 stores executable instructions, and the executable instructions can be executed by the processor 10, so as to implement the Ecall service abnormality recovery method of the present application, for example, the following Figures 3 to 6 In addition, the modem 12 is mainly used to establish a communication connection with the base station via the 4G / 5G antenna, such as a voice connection.
[0034] In addition, T-BOX1 is also connected to a collision sensor 3, an IHU (Infotainment Head Unit) 4 and an Ecall button 5. The collision sensor 3 is used to generate a collision signal and send it to T-BOX1 when the vehicle collides, such as a car accident. After receiving the signal, T-BOX1 will initiate an Ecall service; in addition, when the user presses the Ecall button 5, T-BOX1 will also initiate an Ecall service; in particular, the Ecall initiated by T-BOX1 based on the collision signal of the collision sensor 3 is generally called an Acall (automatic Ecall), and the Ecall initiated by T-BOX1 based on the pressing of the Ecall button 5 is generally called a manual Ecall. IHU4 is connected to T-BOX1 and can be used to display a dialing interface, a call interface, etc. during the Ecall process; in addition, the user can also dial an Ecall or hang up an Ecall by operating the interface provided by IHU4 (such as a graphical user interface), which will not be described in detail here.
[0035] After T-BOX1 is powered on, the Ecall process is started as a resident process. At this time, the Ecall service will not be performed. When T-BOX1 receives an Ecall trigger signal, such as a collision signal from the collision sensor 3, a signal from the IHU4 or the Ecall button 5 indicating to dial an Ecall, the Ecall service is executed through the Ecall process, thereby realizing the Ecall function. Among them, the Ecall service is attached to the Ecall process, which can be regarded as a set of software-defined state machine states and behaviors matching the states. Its process can be referred to Figure 2 shown.
[0036] like Figure 2 As shown in FIG. 1 , it is a schematic diagram of the normal process of the Ecall service of an embodiment of the present invention, which starts from the idle state and is executed according to the process of 20-21-22-23-24-25-26-27-28, thereby completing an Ecall service. Figure 2As shown, IDLE is the initial state of the state machine. After the Ecall service starts, the state machine enters the state of sending the minimum set of data (MSD) from idle. In this state, the minimum set of data is sent to the rescue center, where the minimum set of data includes, for example, vehicle information and positioning information. Then, the state machine enters the dialing state, in which it actively calls the rescue center and notifies the IHU to switch to the call connection state. Then, the state machine enters the connected state, in which it notifies the IHU to switch to the call interface. Then, the state machine enters the hang-up state, in which it first requests the rescue center to hang up the call, and then notifies the IHU to exit the call interface after hanging up. Then, the state machine enters the waiting state for callback, in which the call from the rescue center can be automatically answered. Once the call is dialed, the state machine switches from the current waiting state for callback to the connected state, then enters the hang-up state, then enters the resource release state, releases the resources, and finally enters the exit state to exit the Ecall service.
[0037] In any of the above states, the Ecall process may be interrupted (or exited) for various reasons, resulting in the interruption of the Ecall service. For example, an unpredictable system error may affect the Ecall process and cause it to exit abnormally, or the user may long press the Ecall button to cause the Ecall process to exit. Since the Ecall process is a resident process, when the Ecall process exits, the system's daemon process will restart the Ecall process, but restarting the Ecall process will not cause the Ecall service to resume.
[0038] However, in actual applications, Ecall is completed by the cooperation of Ecall service, IHU and Modem service. For example, Modem service is responsible for actual dialing, calling and incoming call reminder, etc., IHU is responsible for displaying call status and initiating call and hang-up requests to Ecall, etc. Ecall service is responsible for notifying Modem service to dial, sensing the phone status of Modem service, notifying IHU of the current phone status (dialing, calling, waiting for callback, successful hang-up, etc.), sensing dialing and hang-up requests from IHU, and being responsible for opening and closing the speaker and microphone on IHU, etc. Therefore, when the Ecall process is restarted due to an exception, the Ecall service will be interrupted, while the Modem service and IHU will not be interrupted because the three of them run independently of each other. However, due to the lack of the Ecall service as a messenger, the information channel between the Modem service and the IHU will be broken, and there will be a mismatch between the status of the Modem service and the status displayed by the IHU; for users, they may feel that the call cannot be dialed or hung up, the IHU screen remains on the dialing interface or the call interface and cannot be exited, etc., which makes the user experience worse.
[0039] Therefore, when executing the Ecall service, the embodiment of the present invention records information such as the status of the Ecall service, and then when the Ecall process is restarted, the Ecall service can be restored based on the recorded information, thereby improving the user experience. Figures 3 to 6 The embodiment of the present invention illustrates the Ecall service abnormality recovery method.
[0040] like Figure 3 FIG. 1 is a flow chart of an embodiment of a method for recovering an abnormal Ecall service of the present invention. The recovery method can be executed in a device such as a T-BOX. Figure 3 As shown, the recovery method includes the following steps:
[0041] Step S30: Receive an Ecall trigger signal.
[0042] The Ecall trigger signal may be generated when a vehicle collision occurs; or, may be generated when an Ecall button is pressed or an Ecall dial icon in the IHU is triggered.
[0043] Step S32: Execute the Ecall service through the Ecall process according to the Ecall trigger signal received in step S30.
[0044] Among them, the Ecall process is a resident process in the system. When an Ecall trigger signal is monitored, the Ecall process starts the Ecall state machine to execute the Ecall service.
[0045] Step S34: When the Ecall service is executed in step S32, first information is recorded, and the first information at least includes: the status of the Ecall service.
[0046] The status of the Ecall service may include: Figure 2 The eight states shown in FIG. 1 are the idle state, the minimum data set sending state, the dialing state, the connected state, the hang-up state, the waiting callback state, the resource release state and the exit state. When executing the Ecall service, the Ecall service will transition between the above eight states. Figure 2 It should be noted that, when making records, some of the above states can also be combined to be recorded as one state, for example, idle, sending the minimum data set and dialing are all recorded as the first state, and resource release and exit are all recorded as the second state. For example, when the Ecall service executes to sending the minimum data set, the first information recorded at this time includes: the first state.
[0047] Step S36: When the Ecall process is restarted, the Ecall service is restored according to the first information recorded in step S34.
[0048] Among them, when executing the Ecall service, the Ecall process may be restarted due to system reasons or other abnormal conditions. In the traditional way, after the Ecall process is restarted, the Ecall state machine will not be started immediately, nor will Ecall services such as making calls be executed. Instead, the Ecall key signal, vehicle collision signal, or Ecall call signal from the IHU will be monitored. Once the relevant signal is detected, the Ecall state machine will be started and the relevant process will be executed.
[0049] In this embodiment, when the Ecall process is restarted, the recorded first information can be read in the initialization phase, and then the previous state of the Ecall state machine (that is, the state of the Ecall service) can be obtained based on the first information, and then the Ecall service can be restored in a targeted manner based on the obtained state.
[0050] For example, when the first information indicates that the state of the Ecall service is idle, sending the minimum data set state or dialing state, the Ecall service can be controlled to resume from the idle state. When the previous Ecall service is in one of the idle state, sending the minimum data set state and dialing state, it means that the user has the intention to make a call but has not made the call successfully. Therefore, after the Ecall process is restarted, the Ecall state machine is started to go through the complete call making process again.
[0051] For another example, when the Ecall service is in the resource release state or exit state, the Ecall service is terminated. When the previous Ecall service is in the resource release state or exit state, it indicates that the previous Ecall service process has ended, and only some operations to release memory resources have not been performed. After the Ecall process is restarted, the resources will be automatically cleaned up, so there is no need to do special processing, and the Ecall service process can be directly terminated.
[0052] In addition, after the Ecall service is executed, such as after the Ecall service is normally executed or after the Ecall service is restored and executed, the first information may be deleted to ensure the validity and integrity of the recovery strategy.
[0053] In this embodiment, by restoring the Ecall service according to the recorded first information, the communication bridge between the Modem service and the IHU can be re-established, thereby avoiding the mismatch between the state of the Modem and the state displayed by the IHU, thereby improving the user experience. Figures 4 to 6 , respectively, describes the recovery strategies for the Ecall service when it is in the connected state, the hung-up state, and the waiting-for-callback state.
[0054] like Figure 4 FIG. 1 is a flow chart of another embodiment of the method for recovering an abnormal Ecall service of the present invention. Figure 4 In the embodiment, when the Ecall process is restarted, how to restore the Ecall service is determined not only based on the previous state of the Ecall service, but also based on the state of the Modem. Further, how to restore the Ecall service can be determined based on whether the Ecall is automatically initiated or manually initiated, as shown below.
[0055] like Figure 4 As shown, the recovery method includes the following steps:
[0056] Step S40: Execute the Ecall service, record the first information, restart the Ecall process, and read the first information.
[0057] The relevant contents of step S40 can be found in Figure 3 The embodiments of the present invention are not described in detail here.
[0058] Step S41: According to the first information, determine whether the Ecall service is in the connected state. If yes, execute step S42.
[0059] Step S42: determine whether the Modem is in a voice connection state. If yes, execute step S43; otherwise, execute step S44.
[0060] The first information recorded in step S40 may also include: a call session ID between the Ecall service and the Modem service, that is, when recording the state of the Ecall service, the call session ID is recorded at the same time. Then, in step S42, the state of the Modem (voice connection state, non-voice connection state) may be obtained based on the recorded call session ID.
[0061] Step S43: Control the Ecall service to start executing from the connected state, that is, restore the Ecall service from the connected state.
[0062] Step S44, determine the call type of the Ecall service. If the Ecall service is automatic Ecall (ie, Acall), execute step S45; if the Ecall service is manual Ecall, execute step S46.
[0063] The first information recorded in step S40 may further include: the call type of the Ecall service. Then in step S44, it may be determined whether the previous Ecall service is a manual Ecall or an automatic Ecall based on the recorded call type.
[0064] Step S45: Control the Ecall service to start executing from the dialing state.
[0065] Step S46: End the Ecall service.
[0066] The end of the Ecall service here may include, for example: notifying the IHU to exit a related interface, such as a call interface; and deleting the first message, etc.
[0067] In this embodiment, when the previous Ecall service is in the connected state, it means that the Ecall call has been dialed and connected, but an abnormality occurred during the call, which may cause the call to be disconnected. After the Ecall process is restarted, when it is detected through the call session ID that the current Modem is still in the voice connection state (i.e., the call activation state), it will directly jump to the activation state to restore the Ecall service so that the system can respond to the hang-up request. On the contrary, if the current Modem is already in a non-voice connection state (i.e., not activated), the call type is further determined. If it is an Acall automatically dialed due to a car crash, etc., it is necessary to start the Ecall state machine and dial the phone immediately to increase the possibility of the injured passenger receiving timely assistance. If the Ecall is dialed by the user himself, the Ecall process can directly send a closing instruction to the IHU to close the IHU call interface, and the user can choose to redial the Ecall.
[0068] like Figure 5 FIG. 1 is a flow chart of another embodiment of the method for recovering an abnormal Ecall service of the present invention. Figure 5 In the embodiment, when the Ecall process is restarted, how to restore the Ecall service is determined not only based on the previous state of the Ecall service but also based on the state of the Modem, as shown below.
[0069] like Figure 5 As shown, the recovery method includes the following steps:
[0070] Step S50: execute the Ecall service, record the first information, restart the Ecall process, and read the first information.
[0071] The relevant contents of step S50 can be found in Figure 3 The embodiments of the present invention are not described in detail here.
[0072] Step S51: According to the first information, determine whether the state of the Ecall service is a hang-up state. If yes, execute step S52.
[0073] Step S52: determine whether the Modem is in a voice connection state. If yes, execute step S53; otherwise, execute step S54.
[0074] The first information recorded in step S50 may also include: a call session ID between the Ecall service and the Modem service, that is, when recording the state of the Ecall service, the call session ID is recorded. Then, in step S52, the state of the Modem (voice connection state, non-voice connection state) may be obtained based on the recorded call session ID.
[0075] Step S53: Control the Ecall service to start executing from the hang-up state, that is, restore the Ecall service from the hang-up state.
[0076] Step S54: Control the Ecall service to be executed from the waiting callback state, that is, restore the Ecall service from the waiting callback state.
[0077] In this embodiment, when the previous Ecall service is in the hang-up state, it indicates that the user intends to hang up the call. Then, after the Ecall process is restarted, it can detect whether the current modem is still in the voice connection state. If so, it will directly jump to the hang-up state and send a hang-up request to the rescue center to achieve the hang-up purpose. Otherwise, it means that the call has been hung up, and there is no need to send a hang-up request to the rescue center. It can directly enter the waiting for callback state to wait for the rescue center to call back.
[0078] like Figure 6 FIG. 1 is a flow chart of another embodiment of the method for recovering an abnormal Ecall service of the present invention. Figure 6 In the embodiment, when the Ecall process is restarted, how to restore the Ecall service is determined not only based on the previous state of the Ecall service but also based on the state of the Modem, as shown below.
[0079] like Figure 6 As shown, the recovery method includes the following steps:
[0080] Step S60: Execute the Ecall service, record the first information, restart the Ecall process, and read the first information.
[0081] The relevant contents of step S60 can be found in Figure 3 The embodiments of the present invention are not described in detail here.
[0082] Step S61: According to the first information, determine whether the state of the Ecall service is the waiting for callback state. If yes, execute step S62.
[0083] Step S62: Determine whether the Modem is in a voice connection state. If yes, go to step S63; otherwise, go to step S64.
[0084] The first information recorded in step S60 may also include: a call session ID between the Ecall service and the Modem service. Then in step S62, the state of the Modem (voice connection state, non-voice connection state) may be obtained based on the recorded call session ID.
[0085] Step S63: Control the Ecall service to start executing from the connected state, that is, restore the Ecall service from the connected state.
[0086] Step S64: Control the Ecall service to be executed from the waiting callback state, that is, restore the Ecall service from the waiting callback state.
[0087] In this embodiment, when the previous Ecall service is in the waiting callback state, it means that the user is waiting for the rescue center to call back to inform the rescue progress. After the Ecall process is restarted, it can detect whether the current modem is in the voice connection state. If so, it means that the rescue center has called back and automatically answered the call. At this time, the Ecall process needs to start the state machine and jump directly to the connected state. If the current modem is in a non-voice connection state, it means that the rescue center has not dialed in. In this case, the Ecall process needs to start the state machine and return to the waiting callback state. Once the rescue center calls in, the call can be automatically answered to ensure that the user can perceive the rescue progress in time.
[0088] Through the above embodiments, the Ecall service abnormality recovery method of the embodiment of the present invention is described. Figure 7 The Ecall service abnormality recovery device of the present invention is described. It should be noted that many details of the operation involved in the device have been described in detail in the aforementioned embodiments, and will not be repeated here for the sake of brevity.
[0089] like Figure 7 , which is a schematic diagram of the structure of an embodiment of the Ecall service abnormality recovery device 7 of the present invention. It includes: a receiving module 70, used to receive an Ecall trigger signal; a first processing module 72, used to execute the Ecall service through the Ecall process according to the Ecall trigger signal received by the receiving module 70; a storage module 73, used to store first information when the first processing module 72 executes the Ecall service, wherein the first information at least includes: the state of the Ecall service; and a second processing module 74, used to restore the Ecall service according to the first information when the Ecall process is restarted.
[0090] In addition, an embodiment of the present invention further provides an electronic device, which can be Figure 1 The T-BOX or other types of electronic devices shown in the figure include: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to implement the method of the embodiment of the present invention, such as Figures 3 to 6 The method shown.
[0091] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. The computer program includes executable instructions. When the executable instructions are executed by a processor, the method of the embodiment of the present invention is implemented. Figures 3 to 6 The method shown.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, controller, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0093] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for recovering from an abnormal emergency call Ecall service, characterized in that: include: Receive Ecall trigger signal; Executing the Ecall service through the Ecall process according to the Ecall trigger signal; When executing the Ecall service, recording first information, the first information comprising: a status of the Ecall service; and When the Ecall process is restarted, the Ecall service is restored according to the first information; Wherein, restoring the Ecall service includes: When the first information indicates that the state of the Ecall service is connected, if the state of the modem is a voice connection state, the Ecall service is restored from the connected state, otherwise the Ecall service is restored based on the call type of the Ecall service; When the first information indicates that the state of the Ecall service is a hang-up state, if the state of the modem is a voice connection state, the Ecall service is restored from the hang-up state, otherwise the Ecall service is restored from the waiting for callback state; When the first information indicates that the state of the Ecall service is the waiting callback state, if the state of the Modem is the voice connection state, the Ecall service is restored from the connected state, otherwise the Ecall service is restored from the waiting callback state.
2. The recovery method according to claim 1, characterized in that: The method further includes: acquiring the state of the Modem based on a call session ID between the Ecall service and the Modem service.
3. The recovery method according to claim 1, characterized in that: The call types of the Ecall service include: manual Ecall and automatic Ecall; The restoring the Ecall service based on the call type of the Ecall service includes: When the Ecall service is an automatic Ecall, controlling the Ecall service to recover from a dialing state; and when the Ecall service is a manual Ecall, ending the Ecall service.
4. The recovery method according to claim 1, characterized in that: The Ecall service recovery also includes: When the state of the Ecall service is an idle state, a state of sending a minimum data set, or a dialing state, controlling the Ecall service to resume from an idle state; And / or, when the state of the Ecall service is a resource release state or an exit state, the Ecall service is terminated.
5. An Ecall service abnormality recovery device, characterized in that: include: A receiving module, used for receiving an Ecall trigger signal; A first processing module, configured to execute the Ecall service through the Ecall process according to the Ecall trigger signal; a storage module, configured to record first information when executing the Ecall service, wherein the first information at least includes: a status of the Ecall service; and A second processing module is used to restore the Ecall service according to the first information when restarting the Ecall process; Wherein, restoring the Ecall service includes: When the first information indicates that the state of the Ecall service is connected, if the state of the modem is a voice connection state, the Ecall service is restored from the connected state, otherwise the Ecall service is restored based on the call type of the Ecall service; When the first information indicates that the state of the Ecall service is a hang-up state, if the state of the modem is a voice connection state, the Ecall service is restored from the hang-up state, otherwise the Ecall service is restored from the waiting for callback state; When the first information indicates that the state of the Ecall service is the waiting callback state, if the state of the Modem is the voice connection state, the Ecall service is restored from the connected state, otherwise the Ecall service is restored from the waiting callback state.
6. The recovery device according to claim 5, characterized in that The first information also includes: a call session ID and a call type, and the call session ID is used to obtain the state of the Modem.
7. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the executable instructions to implement the method according to any one of claims 1 to 4.
8. A computer-readable storage medium having a computer program stored thereon, the computer program comprising executable instructions, and when the executable instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Call service processing method and device
CN109426575A
Interaction method based on Internet of Vehicles call center
CN112738348A
ECALL call method based on vehicle-mounted terminal
CN114501384A
Vehicle-mounted calling method, vehicle-mounted calling equipment and vehicle
CN114793326A
PROACTIVE PROBE BY eCALL-ONLY IN-VEHICLE SYSTEM
US20120289180A1
