Call abnormity processing method and device, medium and equipment
By automatically switching the call mode when the RTT call is abnormal and canceling the display of the text input box, the problem that the user cannot transmit the text information without knowing it is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202510176639.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-05-16
AI Technical Summary
Without knowing that the RTT call is abnormal, the user may continue to enter text information through the RTT input box, but in fact, the text information cannot be transmitted to the other party participating in the call, thereby affecting the user experience.
When the current call establishment status is detected as a preset abnormal state, the mode switching trigger event is obtained and the call mode of the current call is switched from the coexistence communication mode to the voice communication mode. When the call mode is detected to switch to the voice communication mode, cancel the text input box in the coexistence communication mode.
By automatically switching the call mode and canceling the display of the text input box, the user is reminded that there are abnormalities in the current call, avoiding the user from continuing to enter text information without knowing it, thereby improving the user experience.
Smart Images

Figure CN120017643A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to the field of call exception processing technology, and in particular to a call exception processing method, device, medium and equipment. Background Art
[0002] Real-time text transmission technology (RTT) is the inheritance and upgrade of the current TTY technology. On smart terminals with voice services (Voice over LTE, VoLTE) based on IP multimedia systems, one or more real-time text communication channels are provided, allowing users to send and receive text messages during voice calls. Real-time text transmission technology does not require operators to establish corresponding service centers, and users do not need to purchase additional terminals, and calls do not need to be transferred by service centers. Compared with the original technical solutions that provide teletypewriter services (TeleTYpe, TTY) or related topic model (Correlated Topic Model, CTM) services, real-time text transmission technology has the advantages of low construction cost, no usage threshold and consistent with the native call experience.
[0003] However, when an RTT call (i.e., a voice call based on real-time text transmission technology) is established between call devices of different operators, the RTT call establishment usually fails due to incompatibility issues between the operators of the two call parties. For example, when an RTT call is attempted to be established between a device with a DISH card (referring to a SIM card provided by the DISH Network operator) and a device with a TMO card (referring to a SIM card of the T-Mobile USA operator) or a VZW card (referring to a SIM card of the Verizon Wireless operator), the RTT call cannot be established normally. At the same time, although the RTT call fails to be established normally, the device with the DISH card still pops up an RTT input box on the user interface for the user to enter text, but the text information entered into the RTT input box cannot be normally transmitted to the peer device with the TMO card or VZW card inserted. This will cause the user to continue to enter text information through the RTT input box without knowing it, but the text information cannot actually be transmitted to the other party participating in the call, thereby affecting the user experience. Summary of the invention
[0004] The embodiments of the present application provide a method, device, medium and equipment for handling call anomalies. The method for handling call anomalies provided in the embodiments of the present application is used to solve the problem that a user may continue to input text information through the RTT input box without knowing that the RTT call is abnormal, but the text information cannot actually be transmitted to the other party participating in the call, thereby affecting the user experience.
[0005] An embodiment of the present application provides a method for handling call abnormalities, the method comprising:
[0006] When it is detected that the establishment state of the current call is a preset abnormal state, a mode switching trigger event is obtained;
[0007] According to the mode switching triggering event, switching the call mode of the current call from the coexistence communication mode to the voice communication mode, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0008] When it is detected that the call mode of the current call is switched to the voice communication mode, the text input box in the coexistence communication mode is cancelled.
[0009] Correspondingly, another aspect of the embodiment of the present application further provides a call exception processing device, the call exception processing device comprising:
[0010] An event acquisition module, used to acquire a mode switching trigger event when detecting that the establishment state of the current call is a preset abnormal state;
[0011] A mode switching module, configured to switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching triggering event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0012] The cancel operation module is used to cancel the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode.
[0013] Correspondingly, another aspect of the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute the call exception handling method as described above.
[0014] Correspondingly, another aspect of the embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the call abnormality handling method as described above.
[0015] The embodiment of the present application provides a method, device, medium and equipment for handling call anomalies. The method obtains a mode switching trigger event when detecting that the establishment state of the current call is a preset abnormal state; according to the mode switching trigger event, the call mode of the current call is switched from the coexistence communication mode to the voice communication mode, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist; and when detecting that the call mode of the current call is switched to the voice communication mode, the text input box displayed in the coexistence communication mode is cancelled. The call anomaly handling method provided by the embodiment of the present application provides the ability to switch the call mode of the current call from the coexistence communication mode to the voice communication mode when detecting that the establishment state of the current call is abnormal, and automatically cancels the text input box displayed in the coexistence communication mode when detecting that the call mode of the current call is switched to the voice communication mode, so as to solve the problem that the user continues to input text information through the text input box without knowing that the current call is abnormal, but the text information cannot actually be transmitted to the other party participating in the call, thereby affecting the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.
[0017] Figure 1 A flowchart of a method for handling call anomalies provided in an embodiment of the present application.
[0018] Figure 2 Detailed flowchart of S101 in the embodiment of the present application.
[0019] Figure 3 Schematic diagram of another detailed process of S101 in the embodiment of the present application.
[0020] Figure 4 Another flowchart of the call exception handling method provided in an embodiment of the present application.
[0021] Figure 5 This is a detailed flowchart of S204 in the embodiment of the present application.
[0022] Figure 6 A schematic diagram of the structure of a call exception handling device provided in an embodiment of the present application.
[0023] Figure 7 Another structural schematic diagram of the call exception handling device provided in an embodiment of the present application.
[0024] Figure 8A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0026] An embodiment of the present application provides a method for handling call exceptions. The method provides the ability to switch the call mode of the current call from the coexistence communication mode to the voice communication mode when it is detected that the establishment state of the current call is abnormal, and automatically cancels the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode, so as to solve the problem that the user continues to enter text information through the text input box without knowing that the current call is abnormal, but the text information cannot be actually transmitted to the other party participating in the call, thereby affecting the user experience.
[0027] The term "and / or" in this application can be a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.
[0028] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments described here can be implemented in a sequence other than the content illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or television set comprising a series of steps or modules need not be limited to the steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or television sets. The naming or numbering of the steps in the present application does not mean that the steps in the method flow must be performed in the time / logic sequence indicated by the naming or numbering, and the process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved. The division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.
[0029] The call exception handling method involved in the embodiment of the present application is mainly applied to electronic devices, which may be smart phones, tablet computers, laptop computers, desktop computers, and servers, etc., which are not limited here. Optionally, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or an IoT cloud (Internet of Things cloud) that provides the ability to store, process and manage data generated by an IoT TV, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms, which are not limited here.
[0030] For ease of understanding, the specific process in the embodiments of the present application is described below. Figure 1 , Figure 1A flowchart of an embodiment of a method for handling call anomalies provided in an embodiment of the present application.
[0031] exist Figure 1 In the illustrated embodiment, the method can be applied to an electronic device supporting voice services (Voice over LTE, VoLTE) and real-time text transmission technology (Real Time Text, RTT), and specifically includes the following steps:
[0032] S101, when it is detected that the establishment state of the current call is a preset abnormal state, a mode switching trigger event is obtained.
[0033] It should be explained that the establishment status of the current call includes a normal state and an abnormal state, and the abnormal state can be subdivided according to the specific abnormal type. For example, the preset abnormal state mentioned in this embodiment is the abnormal state corresponding to the specified abnormal type concerned by this solution. The preset abnormal state is only distinguished from the abnormal state of other abnormal types, and the preset abnormal state will be further explained below.
[0034] In this embodiment, the current call takes an RTT call as an example. The RTT call is a voice call that supports real-time text transmission technology (RTT), so that the user can send and receive text messages during the voice call based on the real-time text transmission technology while using the voice call function. It should be noted that on an electronic device that supports RTT calls, the user can start the RTT call in the following ways:
[0035] Automatic start: RTT calls can be started automatically without any user intervention. For example, when a user dials a service that supports RTT calls, it will automatically switch from a regular voice call to an RTT call.
[0036] Manual activation: Users are required to manually activate the RTT call function before or after a voice call is established. This can be done through the settings menu, call options, or a specific function button.
[0037] Regardless of whether it is automatically or manually enabled, once the RTT call is started, the user can see the text input box on the current call interface and edit and transmit text information based on the text input box.
[0038] It should be noted that in the process of establishing an RTT call, the establishment status of the voice call may become abnormal due to specific or unknown factors, resulting in the inability of the two parties involved in the voice call to use the voice call function to communicate normally. For example, when an RTT call is established between call devices of different operators, the RTT call establishment usually fails due to incompatibility issues between the operators of the two call parties. For example, when an RTT call is attempted to be established between a device with a DISH card (referring to the SIM card provided by the DISH Network operator) and a device with a TMO card (referring to the SIM card of the T-Mobile USA operator) or a VZW card (referring to the SIM card of the Verizon Wireless operator), the RTT call will not be established normally.
[0039] Meanwhile, in the above example, although the RTT call cannot be established normally, the device with the DISH card inserted will still pop up a text input box on the user interface for the user to enter text, but the text information entered into the text input box cannot be normally transmitted to the other end device with the TMO card or VZW card inserted. This will cause the user to continue to enter text information through the text input box without knowing it, but the text information cannot actually be transmitted to the other party participating in the call, thus affecting the user experience.
[0040] In order to solve the above problem, the mode switching trigger event can be obtained to downgrade the current abnormal RTT call to a regular voice call, and then cancel the display of the text input box. This can not only remind the user that there is an abnormality in the current RTT call, but also prevent the user from continuing to enter text information through the text input box without knowing it.
[0041] S102: Switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching triggering event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist.
[0042] In this embodiment, continuing to take the RTT call as an example, the call mode corresponding to the RTT call is the coexistence communication mode, and the call mode corresponding to the conventional voice call is the voice communication mode.
[0043] In the coexistence communication mode, users can use both voice communication and text communication services for communication. In the voice communication mode, users can only use the voice communication service for communication. When it is detected that the establishment state of the current call is a preset abnormal state, the call mode of the current call is switched from the coexistence communication mode to the voice communication mode, so that the text input box in the coexistence communication mode is not displayed, which can not only remind the user that there is an abnormality in the current RTT call, but also prevent the user from continuing to enter text information through the text input box without knowing it.
[0044] S103: when it is detected that the call mode of the current call is switched to the voice communication mode, canceling the display of the text input box in the coexistence communication mode.
[0045] In this embodiment, when it is detected that the call mode of the current call is switched to the voice communication mode, the text input box in the coexistence communication mode is automatically cancelled to solve the problem that the user continues to enter text information through the text input box without knowing that the current call is abnormal, but the text information cannot actually be transmitted to the other party involved in the call, thereby affecting the user experience.
[0046] In some embodiments, Figure 2 As shown, the S101 specifically includes:
[0047] S1011, when it is detected that the establishment state of the current call is a preset abnormal state, generating a prompt message instructing the user to modify the call mode;
[0048] S1012: In response to a mode switching operation performed based on the prompt information, obtain a mode switching triggering event triggered by the mode switching operation.
[0049] In this embodiment, when it is detected that the establishment state of the current call is a preset abnormal state, the user can be reminded of the abnormality of the current call in the form of a prompt message, and the prompt message can be further used to suggest the user to actively switch the call mode of the current call from the coexistence communication mode to the voice communication mode, thereby canceling the display of the text input box. In actual operation, the prompt message can be displayed on the user's current call interface, and a mode switching confirmation / cancel button can be provided for the user to operate. When the user clicks the mode switching confirmation button, the system will respond to the user's mode switching operation, and obtain a mode switching trigger event triggered according to the mode switching operation, and perform subsequent operations based on the mode switching trigger event.
[0050] In some embodiments, Figure 3 As shown, the S101 specifically includes:
[0051] S1013: When it is detected that the establishment state of the current call is a preset abnormal state, a mode switching triggering event triggered according to the detection behavior of the abnormal state is obtained.
[0052] In this embodiment, when it is detected that the establishment state of the current call is a preset abnormal state, a mode switching trigger event can be automatically triggered according to the abnormal state detection behavior, and the mode switching trigger event is obtained to perform subsequent operations. Compared with the method that requires the user to manually modify the communication mode, the automatic switching communication mode method can achieve a senseless operation.
[0053] In some embodiments, Figure 4 As shown, before S101, the method further includes the following steps:
[0054] S201, monitoring whether the establishment of the current call fails;
[0055] S202, if yes, further determining the failure reason of the abnormal establishment of the current call;
[0056] S203: If the failure reason is that the two parties participating in the current call belong to different types of operators, it is determined that the establishment state of the current call is a preset abnormal state.
[0057] It is mentioned in the previous text that abnormal states can be specifically subdivided according to the abnormal type, and a preset abnormal state applicable to this solution is proposed. Therefore, in order to correctly trigger the control logic set by this solution, it is first necessary to determine that the establishment state of the current call is an abnormal state and a preset abnormal state. In this embodiment, by monitoring whether the establishment of the current call fails, if so, the failure reason of the abnormal establishment of the current call is further determined. If the failure reason is that the two parties participating in the current call belong to different types of operators, the establishment state of the current call is determined to be a preset abnormal state.
[0058] It should be noted that if the cause of failure is determined to be other reasons, such as network abnormality or the other party participating in the current call ending the call, the control logic set by this solution is not applicable. Because under such failure reasons, even if the call mode of the current call is switched from co-existence communication mode to voice communication mode, the abnormal problem cannot be repaired. Therefore, call abnormalities caused by other abnormal types are not considered within the scope of this solution.
[0059] In some embodiments, Figure 4 As shown, after S202, the method further includes the following steps:
[0060] S204, obtaining the network signaling corresponding to the current call, and determining the reason for the abnormal failure of establishing the current call according to the target field carried by the network signaling.
[0061] In order to determine the cause of failure in establishing the current call abnormally, in this embodiment, the network signaling corresponding to the current call, such as SIP (Session Initiation Protocol) signaling, can be obtained, and the cause of failure in establishing the previous call abnormally can be determined according to the target field carried by the network signaling.
[0062] In some embodiments, Figure 5 As shown, the S204 specifically includes:
[0063] S2041, obtaining media stream description information contained in the network signaling;
[0064] S2042, if the first target field representing the media stream type in the media stream description information is a text stream, and the second target field representing the port number information is a preset value, it is determined that the reason for the abnormal failure of establishing the current call is that the two parties involved in the current call belong to different types of operators respectively.
[0065] In this embodiment, the network signaling takes SIP signaling as an example. SIP signaling includes a series of request and response messages, each of which includes a header field and an optional message body. By analyzing the field information carried by the SIP signaling, the cause of the abnormal call establishment can be determined. For example, the user is not found, the network is unreachable, the operator is incompatible, etc. In actual applications, SIP signaling analysis is usually automatically completed by a network monitoring tool, a SIP proxy server, or a SIP user agent (such as a phone, a softphone client, etc.).
[0066] Specifically, by obtaining the media stream description information contained in the network signaling; if the first target field representing the media stream type in the media stream description information is a text stream, and the second target field representing the port number information is a preset value, then it is determined that the reason for the abnormal failure of establishing the current call is that the two parties involved in the current call belong to different types of operators respectively.
[0067] Exemplarily, when the media stream description information is "m=text 0", m represents the media stream description information; text, i.e., the first target field, represents that the media stream type is a text stream; 0, i.e., the second target field, represents the port number information. It should be explained that the numerical value corresponding to the port number information is normally a value greater than 0. When the numerical value corresponding to the port number information is 0, it indicates that the media stream is disabled or not used. In this case, the two parties involved in the call cannot send text messages to each other through the text input box. According to the setting, when the media stream description information is "m=text 0", it means that the two parties involved in the current call belong to different types of operators.
[0068] In some embodiments, after canceling the display of the text input box in the coexistence communication mode, the method further includes:
[0069] When it is detected that the call mode of the current call is switched from the voice communication mode to the coexistence communication mode, a text input box in the coexistence communication mode is displayed.
[0070] In this embodiment, the user can actively switch the call mode of the current call from the voice communication mode to the coexistence communication mode as needed, and when it is detected that the call mode of the current call is switched from the voice communication mode to the coexistence communication mode, the text input box in the coexistence communication mode is displayed.
[0071] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0072] In specific implementation, the present application is not limited by the execution order of the various steps described. If no conflict occurs, some steps can be performed in other orders or simultaneously.
[0073] As can be seen from the above, the call abnormality handling method provided by the embodiment of the present application obtains a mode switching trigger event when it is detected that the establishment state of the current call is a preset abnormal state; according to the mode switching trigger event, the call mode of the current call is switched from the coexistence communication mode to the voice communication mode, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist; when it is detected that the call mode of the current call is switched to the voice communication mode, the text input box displayed in the coexistence communication mode is cancelled. Utilizing the call abnormality handling method provided by the embodiment of the present application, by providing the ability to switch the call mode of the current call from the coexistence communication mode to the voice communication mode when it is detected that the establishment state of the current call is abnormal, and automatically canceling the text input box displayed in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode, the problem of the user continuing to input text information through the text input box without knowing that the current call is abnormal, but the text information cannot actually be transmitted to the other party participating in the call, thereby affecting the user experience.
[0074] An embodiment of the present application also provides a call exception processing device, which can be integrated into an electronic device.
[0075] See also Figure 6 , Figure 6 A schematic diagram of the structure of a call exception processing device provided in an embodiment of the present application. The call exception processing device 30 may include:
[0076] An event acquisition module 31 is used to acquire a mode switching trigger event when detecting that the establishment state of the current call is a preset abnormal state;
[0077] A mode switching module 32, configured to switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching triggering event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0078] The cancel operation module 33 is used to cancel the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode.
[0079] In some embodiments, the event acquisition module 31 is used to generate a prompt message instructing the user to modify the call mode when it is detected that the establishment state of the current call is a preset abnormal state; respond to the mode switching operation based on the prompt message, and obtain the mode switching trigger event triggered according to the mode switching operation.
[0080] In some embodiments, the event acquisition module 31 is used to acquire a mode switching trigger event triggered according to the detection behavior of the abnormal state when it is detected that the establishment state of the current call is a preset abnormal state.
[0081] In some embodiments, the device also includes a monitoring module for monitoring whether the establishment of the current call fails; if so, further determining the reason for the abnormal failure of the establishment of the current call; if the reason for the failure is that the two parties involved in the current call belong to different types of operators, then determining that the establishment status of the current call is a preset abnormal state.
[0082] In some embodiments, the device further includes a determination module for obtaining network signaling corresponding to the current call, and determining the cause of the abnormal failure in establishing the current call according to a target field carried by the network signaling.
[0083] In some embodiments, the determination module is used to obtain the media stream description information contained in the network signaling; if the first target field representing the media stream type in the media stream description information is a text stream, and the second target field representing the port number information is a preset value, then it is determined that the reason for the abnormal failure to establish the current call is that the two parties involved in the current call belong to different types of operators respectively.
[0084] In some embodiments, the apparatus further comprises a display operation module, configured to display a text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched from the voice communication mode to the coexistence communication mode.
[0085] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.
[0086] As can be seen from the above, the call abnormality processing device 30 provided in the embodiment of the present application, wherein the event acquisition module 31 is used to acquire a mode switching trigger event when it is detected that the establishment state of the current call is a preset abnormal state; the mode switching module 32 is used to switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching trigger event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist; the cancellation operation module 33 is used to cancel the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode. The call abnormality processing device 30 provided in the embodiment of the present application provides the ability to switch the call mode of the current call from the coexistence communication mode to the voice communication mode when it is detected that the establishment state of the current call is abnormal, and automatically cancels the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode, so as to solve the problem that the user continues to input text information through the text input box without knowing that the current call is abnormal, but the text information cannot actually be transmitted to the other party participating in the call, thereby affecting the user experience.
[0087] An embodiment of the present application also provides a call exception processing device, which can be integrated into an electronic device.
[0088] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same entity or several entities.
[0089] See also Figure 7 , Figure 7 Another structural diagram of a call exception processing device provided in an embodiment of the present application, the call exception processing device 30 includes a memory 120, one or more processors 180, and one or more applications, wherein the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include an event acquisition module 31, a mode switching module 32, and a cancellation operation module 33. For example, the structure and connection relationship of the above components may be as follows:
[0090] The memory 120 can be used to store applications and data. The applications stored in the memory 120 include executable codes. The applications can be composed of various functional modules. The processor 180 executes various functional applications and data processing by running the applications stored in the memory 120. In addition, the memory 120 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
[0091] The processor 180 is the control center of the device, and uses various interfaces and lines to connect various parts of the entire terminal, and executes various functions of the device and processes data by running or executing applications stored in the memory 120, and calling data stored in the memory 120, so as to monitor the device as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs.
[0092] Specifically in this embodiment, the processor 180 will load the executable code corresponding to the process of one or more applications into the memory 120 according to the following instructions, and the processor 180 will run the application stored in the memory 120 to implement various functions:
[0093] An event acquisition instruction is used to acquire a mode switching trigger event when it is detected that the establishment state of the current call is a preset abnormal state;
[0094] A mode switching instruction, used to switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching triggering event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0095] The cancel operation instruction is used to cancel the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode.
[0096] In some embodiments, the event acquisition instruction is used to generate a prompt message instructing the user to modify the call mode when it is detected that the establishment state of the current call is a preset abnormal state; in response to a mode switching operation performed based on the prompt message, obtain a mode switching trigger event triggered according to the mode switching operation.
[0097] In some embodiments, the event acquisition instruction is used to acquire a mode switching trigger event triggered according to the detection behavior of the abnormal state when it is detected that the establishment state of the current call is a preset abnormal state.
[0098] In some embodiments, the program also includes a monitoring instruction for monitoring whether the establishment of the current call fails; if so, further determining the abnormal failure reason for the establishment of the current call; if the failure reason is that the two parties involved in the current call belong to different types of operators, then determining that the establishment status of the current call is a preset abnormal state.
[0099] In some embodiments, the program further includes a determination instruction for obtaining network signaling corresponding to the current call, and determining the cause of failure in establishing the current call abnormally according to a target field carried by the network signaling.
[0100] In some embodiments, the determination instruction is used to obtain the media stream description information contained in the network signaling; if the first target field representing the media stream type in the media stream description information is a text stream, and the second target field representing the port number information is a preset value, then it is determined that the reason for the failure to establish the current call abnormally is that the two parties involved in the current call belong to different types of operators respectively.
[0101] In some embodiments, the program further includes a display operation instruction for displaying a text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched from the voice communication mode to the coexistence communication mode.
[0102] The present application also provides an electronic device. Figure 8 , Figure 8 The electronic device 1200 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device can be used to implement the abnormal call processing method provided in the above embodiment. The electronic device 1200 can be a television, a smart phone, or a tablet computer.
[0103] like Figure 8 As shown, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one is shown in the figure) computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, and a power supply 190. Those skilled in the art will understand that Figure 8The structure of the electronic device 1200 shown in the figure does not constitute a limitation on the electronic device 1200, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0104] The RF circuit 110 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other televisions. The RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, etc. The RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other televisions via a wireless network.
[0105] The memory 120 can be used to store software programs and modules, such as the program instructions / modules corresponding to the call exception handling method in the above embodiment. The processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120. The vibration reminder mode can be automatically selected according to the current scene of the electronic device to handle the call exception, which can not only ensure that scenes such as meetings are not disturbed, but also ensure that users can perceive incoming calls, thereby improving the intelligence of the electronic device. The memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 120 may further include a memory remotely arranged relative to the processor 180, and these remote memories may be connected to the electronic device 1200 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0106] The input unit 130 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also known as a touch display screen or a touch pad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface 131 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131, the input unit 130 may further include other input devices 132. Specifically, the other input devices 132 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.
[0107] The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device 1200, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides corresponding visual output on the display panel 141 according to the type of touch event. Although in Figure 8 In the embodiment, the touch-sensitive surface 131 and the display panel 141 are implemented as two independent components to realize the input and output functions. However, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize the input and output functions.
[0108] The electronic device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and / or the backlight when the electronic device 1200 is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the electronic device 1200, they will not be repeated here.
[0109] The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the electronic device 1200. The audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external headset and the electronic device 1200.
[0110] The electronic device 1200 can help users send and receive emails, browse web pages, and access streaming media through the transmission module 170 (such as a Wi-Fi module), which provides users with wireless broadband Internet access. Figure 8 The transmission module 170 is shown, but it is understandable that it is not an essential component of the electronic device 1200 and can be omitted as needed without changing the essence of the invention.
[0111] The processor 180 is the control center of the electronic device 1200. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, it executes various functions of the electronic device 1200 and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 180.
[0112] The electronic device 1200 also includes a power supply 190 for supplying power to various components. In some embodiments, the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can realize functions such as managing discharge and power consumption. The power supply 190 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0113] Although not shown, the electronic device 1200 may also include a camera (such as a front camera, a rear camera), a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, and the electronic device 1200 also includes a memory 120, and one or more programs, wherein one or more programs are stored in the memory 120, and are configured to be executed by one or more processors 180. One or more programs include instructions for performing the following operations:
[0114] An event acquisition instruction is used to acquire a mode switching trigger event when it is detected that the establishment state of the current call is a preset abnormal state;
[0115] A mode switching instruction, used to switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching triggering event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0116] The cancel operation instruction is used to cancel the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode.
[0117] In some embodiments, the event acquisition instruction is used to generate a prompt message instructing the user to modify the call mode when it is detected that the establishment state of the current call is a preset abnormal state; in response to a mode switching operation performed based on the prompt message, obtain a mode switching trigger event triggered according to the mode switching operation.
[0118] In some embodiments, the event acquisition instruction is used to acquire a mode switching trigger event triggered according to the detection behavior of the abnormal state when it is detected that the establishment state of the current call is a preset abnormal state.
[0119] In some embodiments, the program also includes a monitoring instruction for monitoring whether the establishment of the current call fails; if so, further determining the abnormal failure reason for the establishment of the current call; if the failure reason is that the two parties involved in the current call belong to different types of operators, then determining that the establishment status of the current call is a preset abnormal state.
[0120] In some embodiments, the program further includes a determination instruction for obtaining network signaling corresponding to the current call, and determining the cause of failure in establishing the current call abnormally according to a target field carried by the network signaling.
[0121] In some embodiments, the determination instruction is used to obtain the media stream description information contained in the network signaling; if the first target field representing the media stream type in the media stream description information is a text stream, and the second target field representing the port number information is a preset value, then it is determined that the reason for the failure to establish the current call abnormally is that the two parties involved in the current call belong to different types of operators respectively.
[0122] In some embodiments, the program further includes a display operation instruction for displaying a text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched from the voice communication mode to the coexistence communication mode.
[0123] The embodiment of the present application also provides an electronic device, which may be a smart phone, a television, a computer, or other device.
[0124] As can be seen from the above, the embodiment of the present application provides an electronic device 1200, and the electronic device 1200 performs the following steps:
[0125] When it is detected that the establishment state of the current call is a preset abnormal state, a mode switching trigger event is obtained;
[0126] According to the mode switching triggering event, switching the call mode of the current call from the coexistence communication mode to the voice communication mode, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0127] When it is detected that the call mode of the current call is switched to the voice communication mode, the text input box in the coexistence communication mode is cancelled.
[0128] The present application also provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is executed on a computer, the computer performs the following steps:
[0129] When it is detected that the establishment state of the current call is a preset abnormal state, a mode switching trigger event is obtained;
[0130] According to the mode switching triggering event, switching the call mode of the current call from the coexistence communication mode to the voice communication mode, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist;
[0131] When it is detected that the call mode of the current call is switched to the voice communication mode, the text input box in the coexistence communication mode is cancelled.
[0132] It should be noted that, for the call exception handling method described in the present application, ordinary testers in the field can understand that the whole or part of the process of implementing the call exception handling method described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process may include the process of the embodiment of the call exception handling method. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0133] For the call exception handling device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
[0134] The above is a detailed introduction to the abnormal call handling method, device, medium and equipment provided in the embodiments of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application; at the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for handling abnormal calls, characterized in that: include: When it is detected that the establishment state of the current call is a preset abnormal state, a mode switching trigger event is obtained; According to the mode switching triggering event, switching the call mode of the current call from the coexistence communication mode to the voice communication mode, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist; When it is detected that the call mode of the current call is switched to the voice communication mode, the text input box in the coexistence communication mode is cancelled.
2. The abnormal call processing method according to claim 1, characterized in that: The method of acquiring a mode switching trigger event when detecting that the establishment state of the current call is a preset abnormal state includes: When it is detected that the establishment state of the current call is a preset abnormal state, a prompt message is generated to instruct the user to modify the call mode; In response to a mode switching operation performed based on the prompt information, a mode switching triggering event triggered by the mode switching operation is acquired.
3. The method for handling abnormal calls according to claim 1, wherein: The method of acquiring a mode switching trigger event when detecting that the establishment state of the current call is a preset abnormal state includes: When it is detected that the establishment state of the current call is a preset abnormal state, a mode switching triggering event triggered according to the detection behavior of the abnormal state is obtained.
4. The method for handling abnormal calls according to claim 1, wherein: Before acquiring the mode switching triggering event when detecting that the establishment state of the current call is a preset abnormal state, the method further includes: Monitor whether the establishment of the current call fails; If yes, further determining the failure reason of the abnormal establishment of the current call; If the failure reason is that the two parties participating in the current call belong to different types of operators, the establishment state of the current call is determined to be a preset abnormal state.
5. The method for handling abnormal calls according to claim 4, characterized in that: After further determining the failure reason of the abnormal establishment of the current call, the method further includes: Obtain the network signaling corresponding to the current call, and determine the reason for the abnormal failure of establishing the current call according to the target field carried by the network signaling.
6. The method for handling abnormal calls according to claim 5, characterized in that: The determining, according to the target field carried by the network signaling, the failure reason for the abnormal establishment of the current call includes: Obtaining media stream description information contained in the network signaling; If the first target field representing the media stream type in the media stream description information is a text stream, and the second target field representing the port number information is a preset value, it is determined that the reason for the abnormal failure of establishing the current call is that the two parties involved in the current call belong to different types of operators.
7. The method for handling abnormal calls according to claim 1, wherein: After canceling the display of the text input box in the coexistence communication mode, the method further includes: When it is detected that the call mode of the current call is switched from the voice communication mode to the coexistence communication mode, a text input box in the coexistence communication mode is displayed.
8. A call abnormality processing device, characterized in that: The abnormal call processing device comprises: An event acquisition module, used to acquire a mode switching trigger event when detecting that the establishment state of the current call is a preset abnormal state; A mode switching module, configured to switch the call mode of the current call from the coexistence communication mode to the voice communication mode according to the mode switching triggering event, wherein the coexistence communication mode is a call mode in which voice communication and text communication coexist; The cancel operation module is used to cancel the display of the text input box in the coexistence communication mode when it is detected that the call mode of the current call is switched to the voice communication mode.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the call exception handling method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the call abnormality processing method according to any one of claims 1 to 7.