Anomaly determination method and apparatus, electronic device, and storage medium
Patent Information
- Application Number
- CN202310879090.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-07-17
AI Technical Summary
[0004]本申请提供一种异常确定方法、装置、电子设备及存储介质,解决了当主叫终端向被叫终端发起通话请求,被叫终端处于正在通话中,或者被叫终端主动挂断主叫终端发起的通话请求,又或者被叫终端预先将该被叫终端的通话状态设置为正在通话中时,该主叫终端均会播放相同提示音,此时,主叫终端可能不能准确、有效地确定出被叫终端是否处于异常,影响了异常确定的有效性的技术问题
[0019]In a sixth aspect, this application provides a computer-readable storage medium storing instructions that, when executed by an electronic device, enable the electronic device to perform any of the optional anomaly determination methods in the first aspect or any of the optional anomaly determination methods in the second aspect.
Smart Images

Figure CN116866475B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an anomaly determination method, apparatus, electronic device, and storage medium. Background Technology
[0002] Currently, the calling terminal can initiate a call request to the called terminal. When the calling terminal determines that the called terminal cannot communicate with the calling terminal, the calling terminal can play a prompt tone to explain why the called terminal cannot communicate with the calling terminal.
[0003] However, in the above methods, when the calling terminal initiates a call request to the called terminal, the called terminal is already in a call, or the called terminal actively hangs up the call request initiated by the calling terminal, or the called terminal has pre-set its call status to be in a call, the calling terminal will play a prompt tone similar to that of a call in progress. As a result, the calling terminal may not be able to accurately and effectively determine whether the called terminal is in an abnormal situation, which affects the effectiveness of abnormal situation determination. Summary of the Invention
[0004] This application provides an anomaly determination method, apparatus, electronic device, and storage medium, which solves the technical problem that when a calling terminal initiates a call request to a called terminal and the called terminal is in a call, or the called terminal actively hangs up the call request initiated by the calling terminal, or the called terminal has pre-set its call status to be in a call, the calling terminal will play the same prompt tone. In this case, the calling terminal may not be able to accurately and effectively determine whether the called terminal is in an anomaly, thus affecting the effectiveness of anomaly determination.
[0005] In a first aspect, this application provides an anomaly determination method applied to an electronic device, comprising: responding to a call request sent by a calling terminal, sending a status acquisition request to a called terminal, the call request including a first identifier, the first identifier being an identifier indicating that the called terminal is in a call state, the call request being used to request to conduct a call service with the called terminal, the status acquisition request being used to request to acquire the current state of the called terminal; receiving a status acquisition response sent by the called terminal, the status acquisition response including a second identifier, the second identifier being used to characterize the current state of the called terminal; and determining that the called terminal is in an abnormal state if the second identifier is different from the first identifier.
[0006] Optionally, the above-mentioned anomaly determination method further includes: when the called terminal is in an abnormal state, sending a prompt information acquisition instruction to the calling terminal, the prompt information acquisition instruction including the second identifier, the prompt information acquisition instruction being used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier, the prompt information being used to indicate that the called terminal is in an abnormal state.
[0007] In this application, when the called terminal is in an abnormal state, it indicates that the called terminal actively hangs up the caller's request. At this time, the electronic device can send a notification information retrieval request to the caller so that the caller can obtain the notification information, thereby enabling the user of the caller to effectively and quickly know that the called terminal is in an abnormal state.
[0008] Secondly, this application provides an anomaly determination method applied to a calling terminal, comprising: sending a call request to an electronic device, the call request including a first identifier, the first identifier being an identifier indicating that the called terminal is in a call state, the call request being used to request to conduct a call service with the called terminal; receiving a prompt information acquisition instruction sent by the electronic device, the prompt information acquisition instruction including a second identifier, the prompt information acquisition instruction being used to instruct the calling terminal to acquire prompt information corresponding to the second identifier, the prompt information being used to indicate that the called terminal is in an abnormal state, the prompt information acquisition instruction being sent by the electronic device to the calling terminal when the second identifier is different from the first identifier.
[0009] Optionally, the above-mentioned anomaly determination method further includes: sending a prompt information retrieval request to a target server, the prompt information retrieval request including the second identifier, the prompt information retrieval request being used to request the retrieval of prompt information corresponding to the second identifier; receiving a prompt information retrieval response sent by the target server, the prompt information retrieval response including the prompt information corresponding to the second identifier; and displaying the prompt information corresponding to the second identifier.
[0010] In this application, the calling terminal first sends a prompt information retrieval request to the target server. The prompt information retrieval request includes the second identifier. The target server includes a correspondence between multiple identifiers and multiple prompt information. At this time, the calling terminal can receive the prompt information retrieval response sent by the target server, thereby effectively and quickly enabling the calling terminal to display the prompt information corresponding to the second identifier.
[0011] Optionally, the above-mentioned anomaly determination method further includes: obtaining the account information corresponding to the calling terminal and the account information corresponding to the called terminal, wherein the account information corresponding to the calling terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the calling terminal, and the account information corresponding to the called terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the called terminal; based on the account information corresponding to the calling terminal and the account information corresponding to the called terminal, determining whether the calling terminal and the called terminal have normal call functionality respectively; the above-mentioned sending a call request to the electronic device may specifically include: sending the call request to the electronic device when both the calling terminal and the called terminal have normal call functionality.
[0012] In this application, the calling terminal can determine whether the calling terminal and the called terminal have normal call functions based on the account information of the calling terminal and the account information of the called terminal. If the calling terminal and the called terminal have normal call functions, it means that the calling terminal and the called terminal can use the call service normally. At this time, a call request is sent to the electronic device, and the call service can be carried out effectively.
[0013] Thirdly, this application provides an anomaly determination device, comprising: a sending module, a receiving module, and a determining module; the sending module is configured to send a status acquisition request to a called terminal in response to a call request sent by a calling terminal, the call request including a first identifier, the first identifier being an identifier indicating that the called terminal is in a call state, the call request being used to request to conduct a call service with the called terminal, and the status acquisition request being used to request to acquire the current state of the called terminal; the receiving module is configured to receive a status acquisition response sent by the called terminal, the status acquisition response including a second identifier, the second identifier being used to characterize the current state of the called terminal; the determining module is configured to determine that the called terminal is in an abnormal state if the second identifier is different from the first identifier.
[0014] Optionally, the sending module is further configured to send a prompt information acquisition instruction to the calling terminal when the called terminal is in an abnormal state. The prompt information acquisition instruction includes the second identifier and is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state.
[0015] Fourthly, this application provides an anomaly determination device, comprising: a sending module and a receiving module; the sending module is configured to send a call request to an electronic device, the call request including a first identifier, the first identifier being an identifier indicating that the called terminal is in a call state, the call request being used to request to conduct a call service with the called terminal; the receiving module is configured to receive a prompt information acquisition instruction sent by the electronic device, the prompt information acquisition instruction including a second identifier, the prompt information acquisition instruction being used to instruct the calling terminal to acquire prompt information corresponding to the second identifier, the prompt information being used to indicate that the called terminal is in an abnormal state, the prompt information acquisition instruction being sent by the electronic device to the calling terminal when the second identifier is different from the first identifier.
[0016] Optionally, the above-mentioned anomaly determination device further includes a display module; the sending module is further configured to send a prompt information acquisition request to the target server, the prompt information acquisition request including the second identifier, the prompt information acquisition request being used to request the acquisition of prompt information corresponding to the second identifier; the receiving module is further configured to receive a prompt information acquisition response sent by the target server, the prompt information acquisition response including prompt information corresponding to the second identifier; and the display module is configured to display the prompt information corresponding to the second identifier.
[0017] Optionally, the above-mentioned anomaly determination device further includes: an acquisition module and a determination module; the acquisition module is used to acquire the account information corresponding to the calling terminal and the account information corresponding to the called terminal, wherein the account information corresponding to the calling terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the calling terminal, and the account information corresponding to the called terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the called terminal; the determination module is used to determine whether the calling terminal and the called terminal have normal call functionality based on the account information corresponding to the calling terminal and the account information corresponding to the called terminal; the sending module is specifically used to send the call request to the electronic device when both the calling terminal and the called terminal have normal call functionality.
[0018] Fifthly, this application provides an electronic device, including: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the optional anomaly determination methods in the first aspect or any of the optional anomaly determination methods in the second aspect.
[0019] In a sixth aspect, this application provides a computer-readable storage medium storing instructions that, when executed by an electronic device, enable the electronic device to perform any of the optional anomaly determination methods in the first aspect or any of the optional anomaly determination methods in the second aspect.
[0020] The anomaly determination method, apparatus, electronic device, and storage medium provided in this application firstly involve a calling terminal sending a call request to an electronic device. This call request includes the calling terminal's preset (or expected) state of the called terminal (i.e., a first identifier). After receiving the call request from the calling terminal, the electronic device sends a state acquisition request to the called terminal. The electronic device then receives a state acquisition response from the called terminal, which includes the called terminal's current state (i.e., a second identifier). If the first identifier and the second identifier are different, the electronic device determines that the called terminal is in an abnormal state. Then, the calling terminal receives a prompt information acquisition request from the electronic device and acquires the prompt information. In this application, the electronic device first receives the state of the called terminal (i.e., the first identifier) preset (or expected) by the calling terminal, and then receives the current state of the called terminal (i.e., the second identifier). If the first identifier and the second identifier are different, the electronic device can effectively and accurately determine that the called terminal is in an abnormal state. At this time, the calling terminal receives the prompt information acquisition instruction sent by the electronic device, and then obtains the prompt information corresponding to the abnormal state, thereby effectively and accurately prompting the calling terminal that the called terminal is in an abnormal state. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0022] Figure 1 This is a schematic diagram of the network architecture of the anomaly determination system provided in the embodiments of this application;
[0023] Figure 2 A flowchart illustrating an anomaly determination method provided in an embodiment of this application;
[0024] Figure 3 A flowchart illustrating another anomaly determination method provided in an embodiment of this application;
[0025] Figure 4 This is a schematic diagram illustrating the process of obtaining account information provided in an embodiment of this application;
[0026] Figure 5 A flowchart illustrating another anomaly determination method provided in an embodiment of this application;
[0027] Figure 6 A flowchart illustrating another anomaly determination method provided in an embodiment of this application;
[0028] Figure 7 A schematic diagram illustrating the process by which a calling terminal obtains prompt information via MRFC and MRFP, as provided in an embodiment of this application.
[0029] Figure 8 A schematic diagram illustrating the specific process of anomaly determination provided in this application embodiment;
[0030] Figure 9 This is a schematic diagram of an anomaly determination device provided in an embodiment of this application;
[0031] Figure 10 This is a schematic diagram of another anomaly determination device provided in an embodiment of this application;
[0032] Figure 11 This is a schematic diagram of an anomaly determination device provided in an embodiment of this application;
[0033] Figure 12 This is a schematic diagram of another anomaly determination device provided in an embodiment of this application. Detailed Implementation
[0034] The anomaly determination method, apparatus, electronic device, and storage medium provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0035] The terms "first" and "second," etc., in the specification and drawings of this application are used to distinguish different objects, rather than to describe a specific order of objects. For example, "first identifier" and "second identifier," etc., are used to distinguish different identifiers, rather than to describe a specific order of identifiers.
[0036] Furthermore, the terms “comprising” and “having”, and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0037] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0038] In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0039] As described in the background art, in related technologies, when a calling terminal initiates a call request to a called terminal, and the called terminal is already in a call, or the called terminal actively hangs up the call request initiated by the calling terminal, or the called terminal has pre-set its call status to be in a call, the calling terminal will play the same prompt tone. In this case, the calling terminal may not be able to accurately and effectively determine whether the called terminal is in an abnormal state, affecting the effectiveness of the abnormality determination. Based on this, embodiments of this application provide an abnormality determination method, apparatus, electronic device, and storage medium. In this embodiment, the electronic device first receives the called terminal's preset (or expected) state of the called terminal (i.e., a first identifier), and then receives the called terminal's current state (i.e., a second identifier). If the first identifier and the second identifier are different, the electronic device can effectively and accurately determine that the called terminal is in an abnormal state. At this time, the calling terminal receives a prompt information acquisition instruction sent by the electronic device, and then obtains the prompt information corresponding to the abnormal state, thereby effectively and accurately prompting the calling terminal that the called terminal is in an abnormal state.
[0040] The anomaly determination method, apparatus, electronic device, and storage medium provided in this application can be applied to anomaly determination systems, such as... Figure 1 As shown, the anomaly detection system includes a called terminal 101, an electronic device 102, a calling terminal 103, and a target server 104. Typically, in practical applications, the connection between these devices or service functions can be wireless. To conveniently and intuitively illustrate the connection relationships between the devices, Figure 1 Solid lines are used to represent the meaning.
[0041] The called terminal 101 is used to receive a status acquisition request sent by the electronic device 102 and send a status acquisition response to the electronic device 102. The status acquisition request is used to request the current status of the called terminal 101. The status acquisition response includes an identifier, which is used to characterize the current status of the called terminal 101.
[0042] Electronic device 102 is used to send a call request to the calling terminal 103, which requests to conduct a call with the called terminal 101. Electronic device 102 is also used to send a status acquisition request to the called terminal 101, receive a status acquisition response from the called terminal 101, and send a prompt information acquisition instruction to the calling device 103, which instructs the calling terminal 103 to acquire prompt information.
[0043] The calling terminal 103 is used to send a call request to the electronic device 102, and is also used to receive a prompt information retrieval request sent by the electronic device 102, and to send a prompt information retrieval request to the target server 104. The prompt information retrieval request is used to request the retrieval of prompt information. The calling terminal 103 is also used to receive a prompt information retrieval response sent by the target server 104. The prompt information retrieval response includes prompt information. The calling terminal 103 is also used to display the prompt information.
[0044] The target server 104 is used to receive the prompt information retrieval request sent by the calling terminal 103, and also to send the prompt information retrieval response to the calling terminal 103.
[0045] For example, the electronic device executing the anomaly determination method provided in this application embodiment can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device, etc. This application does not impose any special limitations on the specific form of the electronic device. It can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device.
[0046] Optionally, the aforementioned electronic device may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN) acceleration services, as well as big data and artificial intelligence platforms.
[0047] The abnormal method, apparatus, electronic device, and storage medium provided in this application embodiment are applied in scenarios where anomalies are determined. In response to a call request sent by a calling terminal, the electronic device sends a status acquisition request to the called terminal. The call request includes a first identifier. Then, the electronic device receives a status acquisition response sent by the called terminal. The status acquisition response includes a second identifier. The first identifier is an identifier indicating that the called terminal is in a call state, and the second identifier is the current state of the called terminal. If the second identifier is different from the first identifier, the electronic device can accurately determine that the called terminal is not in a call state, that is, the called terminal actively hangs up the call request initiated by the calling terminal. At this time, the called terminal can be accurately and effectively determined to be in an abnormal state.
[0048] In combination with the above Figure 1 The anomaly determination system shown below will be described in its entirety from the perspective of the interaction between the electronic device and the calling terminal in the anomaly determination system. This will illustrate the process by which the electronic device determines whether the called terminal is in an abnormal state and the process by which the calling terminal obtains the corresponding prompt information based on the abnormal state of the called terminal.
[0049] like Figure 2 As shown, the anomaly determination method provided in this application embodiment may include S101-S105.
[0050] S101, The calling terminal sends a call request to the electronic device.
[0051] The call request includes a first identifier, which indicates that the called terminal is in a call state. The call request is used to request to conduct a call with the called terminal.
[0052] It is understandable that the first identifier is an identifier indicating that the called terminal is in a normal state when establishing a call with the calling terminal. The normal state is that it is in a call state. The first identifier is the state that the calling terminal presets (or expects) for the called terminal to be in when the calling terminal sends a call request.
[0053] Combination Figure 2 ,like Figure 3 As shown, the anomaly determination method provided in this application embodiment may further include: S1011-S1013.
[0054] S1011. The calling terminal obtains the account information corresponding to the calling terminal and the account information corresponding to the called terminal.
[0055] The account information corresponding to the calling terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the calling terminal. The account information corresponding to the called terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the called terminal.
[0056] In one implementation of this application, the calling terminal can locate its corresponding application service (AS) based on the proxy-call session control function (P-CSCF) and the serving-call session control function (S-CSCF). The calling terminal can then obtain its account information from the AS. Based on the calling terminal's S-CSCF and the interrogating-call session control function (I-CSCF), the called terminal's corresponding S-CSCF can be located, and based on the called terminal's S-CSCF, the called terminal's corresponding AS can be located. The calling terminal can then obtain the called terminal's account information from the AS.
[0057] The following example illustrates the process of obtaining the account information corresponding to the calling terminal and the account information corresponding to the called terminal provided in the embodiments of this application.
[0058] For example, such as Figure 4 As shown, the calling terminal finds the AS corresponding to the calling terminal through the P-CSCF and S-CSCF corresponding to the calling terminal, obtains the account information corresponding to the calling terminal from the AS of the calling terminal, and then finds the S-CSCF corresponding to the called terminal from the home subscriber server (HSS) based on the I-CSCF. Based on the S-CSCF corresponding to the called terminal, it finds the AS corresponding to the called terminal and obtains the account information corresponding to the called terminal from the AS of the called terminal.
[0059] For example, the AS can be a multi-media telephony application service (MMTEL AS) or a virtual private network application service (VPN AS).
[0060] S1012. The calling terminal determines whether the calling terminal and the called terminal have normal call functions based on the account information corresponding to the calling terminal and the account information corresponding to the called terminal.
[0061] Understandably, the calling terminal can determine whether it has activated the call service and whether it can use the call service normally based on the account information corresponding to the calling terminal. Similarly, the calling terminal can determine whether the called terminal has activated the call service and whether it can use the call service normally based on the account information corresponding to the called terminal.
[0062] Continue as Figure 3 As shown, the calling terminal sends a call request to the electronic device, which may specifically include: S1013.
[0063] S1013. When both the calling terminal and the called terminal have normal call functions, the calling terminal sends a call request to the electronic device.
[0064] It should be understood that when both the calling terminal and the called terminal have normal call functions, it means that both the calling terminal and the called terminal can use the call service normally. At this time, the calling terminal sends a call request to the electronic device, which is used to request to conduct a call service with the called terminal.
[0065] In this embodiment of the application, the calling terminal can determine whether the calling terminal and the called terminal have normal call functions based on the account information of the calling terminal and the account information of the called terminal. If the calling terminal and the called terminal have normal call functions, it means that the calling terminal and the called terminal can use the call service normally. At this time, a call request is sent to the electronic device, and the call service can be carried out effectively.
[0066] S102. In response to the call request sent by the calling terminal, the electronic device sends a status acquisition request to the called terminal.
[0067] The call request includes a first identifier, which indicates that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal, and the status acquisition request is used to request to obtain the current status of the called terminal.
[0068] It is understandable that after receiving a call request from the calling terminal, the electronic device sends a status retrieval request to the called terminal in order to obtain the current status of the called terminal.
[0069] S103. The electronic device receives the status acquisition response sent by the called terminal.
[0070] The status acquisition response includes a second identifier, which is used to characterize the current status of the called terminal.
[0071] It should be understood that the second identifier represents the current state of the called terminal when the calling terminal sends the call request.
[0072] S104. If the second identifier is different from the first identifier, the electronic device determines that the called terminal is in an abnormal state.
[0073] It should be understood that if the second identifier is different from the first identifier, it indicates that the called terminal is not currently in a call state. In this case, the electronic device can determine that the called terminal is in an abnormal state.
[0074] Understandably, when a calling terminal initiates a call request to a called terminal, the called terminal will be in a call state if it accepts the call request or if it is already in a call with another terminal (i.e., the called terminal is currently in a call). If the called terminal is not in a call state, it indicates that it is not engaged in a call with another terminal and has not accepted the call request from the calling terminal (i.e., the called terminal actively hung up the call request from the calling terminal). In this case, it can be determined that the called terminal is in an abnormal state.
[0075] S105. The calling terminal receives the prompt information sent by the electronic device to obtain the instruction.
[0076] The prompt information acquisition instruction includes a second identifier. The prompt information acquisition instruction is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state. The prompt information acquisition instruction is sent by the electronic device to the calling terminal when the second identifier is different from the first identifier.
[0077] In one implementation of this application, when the electronic device determines that the called terminal is in an abnormal state, it sends a prompt information retrieval instruction to the calling terminal. After receiving the prompt information retrieval instruction sent by the electronic device, the calling terminal retrieves the prompt information corresponding to the second identifier from the target server.
[0078] For example, the target server can be an AS.
[0079] The technical solutions provided by the above embodiments can bring at least the following beneficial effects: As can be seen from S101-S105:
[0080] First, the calling terminal sends a call request to the electronic device. This call request includes the calling terminal's preset (or expected) state of the called terminal (i.e., a first identifier). Then, after receiving the call request from the calling terminal, the electronic device sends a state acquisition request to the called terminal. The electronic device then receives a state acquisition response from the called terminal, which includes the called terminal's current state (i.e., a second identifier). If the first identifier and the second identifier are different, the electronic device determines that the called terminal is in an abnormal state. Then, the calling terminal receives a prompt information acquisition request from the electronic device and obtains the prompt information. In this embodiment, the electronic device first receives the state of the called terminal (i.e., the first identifier) preset (or expected) by the calling terminal, and then receives the current state of the called terminal (i.e., the second identifier). If the first identifier and the second identifier are different, the electronic device can effectively and accurately determine that the called terminal is in an abnormal state. At this time, the calling terminal receives the prompt information acquisition instruction sent by the electronic device, and then obtains the prompt information corresponding to the abnormal state, thereby effectively and accurately prompting the calling terminal that the called terminal is in an abnormal state.
[0081] Combination Figure 2 ,like Figure 5 As shown, the anomaly determination method provided in this application embodiment may further include: S106.
[0082] S106. When the called terminal is in an abnormal state, the electronic device sends a prompt message to the calling terminal to obtain an instruction.
[0083] The prompt information acquisition instruction includes the second identifier, which is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state.
[0084] It should be understood that when the called terminal is in an abnormal state, it means that the called terminal has actively hung up the call request from the calling terminal. At this time, the electronic device can send a notification information retrieval request to the calling terminal so that the calling terminal can obtain the notification information, thereby enabling the user of the calling terminal to effectively and quickly know that the called terminal is in an abnormal state.
[0085] Combination Figure 5 ,like Figure 6 As shown, the anomaly determination method provided in this application embodiment may further include: S107-S109.
[0086] S107. The calling terminal sends a request to the target server to obtain a prompt message.
[0087] The request for obtaining the prompt information includes the second identifier, and the request for obtaining the prompt information corresponding to the second identifier is used to request the prompt information.
[0088] Optionally, the target server includes a target mapping relationship, which includes the mapping relationship between multiple identifiers and multiple prompt messages.
[0089] S108. The calling terminal receives the prompt information sent by the target server and obtains the response.
[0090] The prompt information acquisition response includes the prompt information corresponding to the second identifier.
[0091] For example, the prompt message can be audio information.
[0092] S109. The calling terminal displays a prompt message corresponding to the second identifier.
[0093] Optionally, the calling terminal may play a prompt message corresponding to the second identifier.
[0094] In one implementation of this application, the calling terminal can obtain the prompt information corresponding to the second identifier through the multimedia resource function controller (MRFC) and the multimedia resource function processor (MRFP).
[0095] The following example illustrates the process by which the calling terminal obtains prompt information through MRFC and MRFP, as provided in the embodiments of this application.
[0096] For example, such as Figure 7As shown, after the electronic device determines that the called terminal is in an abnormal state, it sends a prompt information retrieval instruction to the calling terminal. After receiving the prompt information retrieval instruction, the calling terminal sends a prompt information retrieval request to the AS corresponding to the calling terminal. The prompt information retrieval request includes a second identifier. After receiving the prompt information retrieval request, the AS corresponding to the calling terminal searches for the prompt information corresponding to the second identifier in the MRFP or MRFC. Then, the AS corresponding to the calling terminal sends a prompt information retrieval response to the calling terminal. The prompt information retrieval response includes the prompt information corresponding to the second identifier.
[0097] In this embodiment of the application, the calling terminal first sends a prompt information acquisition request to the target server. The prompt information acquisition request includes the second identifier. The target server includes a correspondence between multiple identifiers and multiple prompt information. At this time, the calling terminal can receive the prompt information acquisition response sent by the target server, thereby effectively and quickly enabling the calling terminal to display the prompt information corresponding to the second identifier.
[0098] The following example illustrates the specific process of anomaly determination provided in the embodiments of this application.
[0099] For example, such as Figure 8 As shown, the calling terminal first sends a call request to the electronic device. The electronic device receives a first identifier included in the call request. Then, in response to the call request, the electronic device sends a status acquisition request to the called terminal. The called terminal sends a second identifier representing its current status to the electronic device. The electronic device then determines whether the first identifier and the second identifier are the same. If they are the same, the called terminal is in a normal state; if they are different, the called terminal is in an abnormal state. The electronic device then sends a prompt information acquisition instruction to the calling terminal. This prompt information acquisition instruction includes the second identifier. In response to the prompt information acquisition instruction sent by the electronic device, the calling terminal sends a prompt information acquisition request to the AS corresponding to it. In response to this request, the AS sends a prompt information to the calling device, causing the calling terminal to play the prompt information.
[0100] This application embodiment can divide electronic devices, calling terminals, etc., into functional modules according to the above method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0101] When dividing each function into modules according to its corresponding function. Figure 9 A possible structural schematic diagram of the anomaly determination device involved in the above embodiments is shown, such as... Figure 9 As shown, the anomaly determination device 20 may include: a sending module 201, a receiving module 202, and a determination module 203.
[0102] The sending module 201 is used to send a status acquisition request to the called terminal in response to a call request sent by the calling terminal. The call request includes a first identifier, which is an identifier that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal, and the status acquisition request is used to request to obtain the current status of the called terminal.
[0103] The receiving module 202 is used to receive a status acquisition response sent by the called terminal. The status acquisition response includes a second identifier, which is used to characterize the current status of the called terminal.
[0104] The determination module 203 is used to determine that the called terminal is in an abnormal state when the second identifier is different from the first identifier.
[0105] Optionally, the sending module 201 is further configured to send a prompt information acquisition instruction to the calling terminal when the called terminal is in an abnormal state. The prompt information acquisition instruction includes the second identifier and is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state.
[0106] When using integrated units, Figure 10 A possible structural schematic diagram of the anomaly determination device involved in the above embodiments is shown. For example... Figure 10 As shown, the anomaly determination device 30 may include a processing module 301 and a communication module 302. The processing module 301 can be used to control and manage the operation of the anomaly determination device 30. The communication module 302 can be used to support communication between the anomaly determination device 30 and other entities. Optionally, as... Figure 10 As shown, the anomaly determination device 30 may further include a storage module 303 for storing the program code and data of the anomaly determination device 30.
[0107] The processing module 301 can be a processor or a controller. The communication module 302 can be a transceiver, transceiver circuit, or communication interface, etc. The storage module 303 can be a memory.
[0108] In this configuration, when the processing module 301 is a processor, the communication module 302 is a transceiver, and the storage module 303 is a memory, the processor, transceiver, and memory can be connected via a bus. The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc.
[0109] When dividing each function into modules according to its corresponding function. Figure 11 A possible structural schematic diagram of the anomaly determination device involved in the above embodiments is shown, such as... Figure 11 As shown, the anomaly determination device 40 may include: a sending module 401 and a receiving module 402.
[0110] The sending module 401 is used to send a call request to an electronic device. The call request includes a first identifier, which is an identifier that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal.
[0111] The receiving module 402 is used to receive a prompt information acquisition instruction sent by the electronic device. The prompt information acquisition instruction includes a second identifier. The prompt information acquisition instruction is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state. The prompt information acquisition instruction is sent by the electronic device to the calling terminal when the second identifier is different from the first identifier.
[0112] Optionally, the above-mentioned anomaly determination device further includes a display module 403.
[0113] The sending module 401 is also used to send a prompt information acquisition request to the target server. The prompt information acquisition request includes the second identifier and is used to request the acquisition of prompt information corresponding to the second identifier.
[0114] The receiving module 402 is further configured to receive a prompt information acquisition response sent by the target server, the prompt information acquisition response including prompt information corresponding to the second identifier.
[0115] Display module 403 is used to display prompt information corresponding to the second identifier.
[0116] Optionally, the above-mentioned anomaly determination device further includes: an acquisition module 404 and a determination module 405.
[0117] The acquisition module 404 is used to acquire the account information corresponding to the calling terminal and the account information corresponding to the called terminal. The account information corresponding to the calling terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the calling terminal. The account information corresponding to the called terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the called terminal.
[0118] The determining module 405 is used to determine whether the calling terminal and the called terminal have normal call functions based on the account information corresponding to the calling terminal and the account information corresponding to the called terminal.
[0119] The sending module 401 is specifically used to send the call request to the electronic device when both the calling terminal and the called terminal have normal call functions.
[0120] When using integrated units, Figure 12 A possible structural schematic diagram of the anomaly determination device involved in the above embodiments is shown. For example... Figure 12 As shown, the anomaly determination device 50 may include a processing module 501 and a communication module 502. The processing module 501 can be used to control and manage the operation of the anomaly determination device 50. The communication module 502 can be used to support communication between the anomaly determination device 50 and other entities. Optionally, as... Figure 12 As shown, the anomaly determination device 50 may further include a storage module 503 for storing the program code and data of the anomaly determination device 50.
[0121] The processing module 501 can be a processor or a controller. The communication module 502 can be a transceiver, transceiver circuit, or communication interface, etc. The storage module 503 can be a memory.
[0122] In this configuration, when the processing module 501 is a processor, the communication module 502 is a transceiver, and the storage module 503 is a memory, the processor, transceiver, and memory can be connected via a bus. The bus can be a standard interconnect bus for peripheral components or an extended industry standard structure bus, etc. Buses can be categorized as address buses, data buses, control buses, etc.
[0123] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0124] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0125] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0126] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0127] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
[0128] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. An anomaly determination method, characterized in that, Applied to electronic devices, the method includes: After the calling terminal initiates a call request to the called terminal, if the calling terminal plays a call-in-progress tone, the calling terminal sends a status acquisition request to the called terminal in response to the call request. The call request includes a first identifier, which is an identifier that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal, and the status acquisition request is used to request to obtain the current status of the called terminal. The system receives a status acquisition response sent by the called terminal, the status acquisition response including a second identifier, the second identifier being used to characterize the current status of the called terminal; If the second identifier is different from the first identifier, the called terminal is determined to be in an abnormal state; the abnormal state is: the called terminal is not conducting call services with other terminals and has not accepted the call request from the calling terminal.
2. The anomaly determination method according to claim 1, characterized in that, The method further includes: When the called terminal is in an abnormal state, a prompt information acquisition instruction is sent to the calling terminal. The prompt information acquisition instruction includes the second identifier. The prompt information acquisition instruction is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state.
3. An anomaly determination method, characterized in that, Applied to a calling terminal, the method includes: After the calling terminal initiates a call request to the called terminal, if the calling terminal plays a call-in-progress tone, the calling terminal sends a call request to the electronic device. The call request includes a first identifier, which is an identifier that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal. The system receives a prompt information acquisition instruction sent by the electronic device. The prompt information acquisition instruction includes a second identifier. The prompt information acquisition instruction is used to instruct the calling terminal to acquire prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state. The prompt information acquisition instruction is sent by the electronic device to the calling terminal when the second identifier is different from the first identifier. The abnormal state is that the called terminal is not conducting call services with other terminals and has not accepted the call request from the calling terminal.
4. The anomaly determination method according to claim 3, characterized in that, The method further includes: Send a prompt information retrieval request to the target server. The prompt information retrieval request includes the second identifier. The prompt information retrieval request is used to request the retrieval of prompt information corresponding to the second identifier. Receive a prompt message sent by the target server to obtain a response, wherein the prompt message response includes a prompt message corresponding to the second identifier; Display the prompt message corresponding to the second identifier.
5. The anomaly determination method according to claim 3 or 4, characterized in that, The method further includes: Obtain the account information corresponding to the calling terminal and the account information corresponding to the called terminal, wherein the account information corresponding to the calling terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the calling terminal, and the account information corresponding to the called terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the called terminal; Based on the account information corresponding to the calling terminal and the account information corresponding to the called terminal, it is determined whether the calling terminal and the called terminal have normal call functions. Sending a call request to an electronic device includes: When both the calling terminal and the called terminal have normal call functionality, the call request is sent to the electronic device.
6. An anomaly detection device, characterized in that, Applied to electronic devices, including: a transmitting module, a receiving module, and a determining module; The sending module is configured to, in response to the call request sent by the calling terminal, send a status acquisition request to the called terminal when the calling terminal plays a call-in-progress tone after the calling terminal initiates a call request to the called terminal. The call request includes a first identifier, which is an identifier that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal, and the status acquisition request is used to request to obtain the current status of the called terminal. The receiving module is used to receive a status acquisition response sent by the called terminal. The status acquisition response includes a second identifier, which is used to characterize the current status of the called terminal. The determining module is used to determine that the called terminal is in an abnormal state when the second identifier is different from the first identifier; the abnormal state is that the called terminal is not conducting call services with other terminals and has not accepted the call request from the calling terminal.
7. The anomaly determination device according to claim 6, characterized in that, The sending module is further configured to send a prompt information acquisition instruction to the calling terminal when the called terminal is in an abnormal state. The prompt information acquisition instruction includes the second identifier and is used to instruct the calling terminal to acquire the prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state.
8. An anomaly detection device, characterized in that, Applied to the calling terminal, it includes: a sending module and a receiving module; The sending module is used to send a call request to an electronic device after the calling terminal initiates a call request to the called terminal and the calling terminal plays a call-in-progress tone. The call request includes a first identifier, which is an identifier that the called terminal is in a call state. The call request is used to request to conduct a call service with the called terminal. The receiving module is configured to receive a prompt information acquisition instruction sent by the electronic device. The prompt information acquisition instruction includes a second identifier. The prompt information acquisition instruction is used to instruct the calling terminal to acquire prompt information corresponding to the second identifier. The prompt information is used to indicate that the called terminal is in an abnormal state. The prompt information acquisition instruction is sent by the electronic device to the calling terminal when the second identifier is different from the first identifier. The abnormal state is that the called terminal is not conducting call services with other terminals and has not accepted the call request from the calling terminal.
9. The anomaly determination device according to claim 8, characterized in that, The anomaly detection device also includes a display module; The sending module is further configured to send a prompt information acquisition request to the target server, the prompt information acquisition request including the second identifier, the prompt information acquisition request being used to request the acquisition of prompt information corresponding to the second identifier; The receiving module is further configured to receive a prompt information acquisition response sent by the target server, wherein the prompt information acquisition response includes prompt information corresponding to the second identifier; The display module is used to display prompt information corresponding to the second identifier.
10. The anomaly determination device according to claim 8 or 9, characterized in that, The anomaly determination device further includes: an acquisition module and a determination module; The acquisition module is used to acquire account information corresponding to the calling terminal and account information corresponding to the called terminal. The account information corresponding to the calling terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the calling terminal. The account information corresponding to the called terminal includes one or more of the account identifier, service type, and business type of the account corresponding to the called terminal. The determining module is used to determine whether the calling terminal and the called terminal have normal call functions based on the account information corresponding to the calling terminal and the account information corresponding to the called terminal, respectively. The sending module is specifically used to send the call request to the electronic device when both the calling terminal and the called terminal have normal call functions.
11. An electronic device, characterized in that, The electronic device includes: processor; A memory configured to store processor-executable instructions; The processor is configured to execute the instructions to implement the exception determination method as described in any one of claims 1-2 or the exception determination method as described in any one of claims 3-5.
12. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is able to perform the anomaly determination method as described in any one of claims 1-2 or implement the anomaly determination method as described in any one of claims 3-5.
Citation Information
Patent Citations
Call control method and device, and computer readable storage medium
CN113489712A